/* components.css - Reusable component styles */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Rainbow layered shapes - Perfect Circles */
.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    aspect-ratio: 1 / 1;
}

/* Outer layer - rainbow ring */
.shape:nth-child(1) {
    width: 210vmin;
    height: 210vmin;
    border: 180px solid rgba(255, 255, 255, 0.06);
    animation-delay: 0s;
    animation-duration: 15s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* Middle layer - rainbow ring */
.shape:nth-child(2) {
    width: 140vmin;
    height: 140vmin;
    border: 160px solid rgba(255, 255, 255, 0.06);
    animation-delay: 4s;
    animation-duration: 12s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
}

/* Inner layer - rainbow ring */
.shape:nth-child(3) {
    width: 70vmin;
    height: 70vmin;
    border: 120px solid rgba(255, 255, 255, 0.1);
    background-color: solid rgba(255, 255, 255, 0.1);
    animation-delay: 6s;
    animation-duration: 10s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
}

/* Enhanced floating animation for circles */
@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(-50%, -50%) rotate(90deg) scale(1.02);
    }

    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(0.98);
    }

    75% {
        transform: translate(-50%, -50%) rotate(270deg) scale(1.02);
    }
}

/* Rainbow glow effect */
.shape::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: inherit;
    filter: blur(25px);
    opacity: 0.4;
    z-index: -1;
    aspect-ratio: 1 / 1;
}

/* Responsive adjustments for smaller screens - Circles */
@media (max-width: 768px) {
    .shape:nth-child(1) {
        width: 110vmin;
        height: 110vmin;
        border-width: 18px;
    }

    .shape:nth-child(2) {
        width: 90vmin;
        height: 90vmin;
        border-width: 14px;
    }

    .shape:nth-child(3) {
        width: 70vmin;
        height: 70vmin;
        border-width: 10px;
    }
}

@media (max-width: 480px) {
    .shape:nth-child(1) {
        width: 100vmin;
        height: 100vmin;
        border-width: 15px;
    }

    .shape:nth-child(2) {
        width: 80vmin;
        height: 80vmin;
        border-width: 12px;
    }

    .shape:nth-child(3) {
        width: 60vmin;
        height: 60vmin;
        border-width: 8px;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .shape:nth-child(1) {
        width: 95vmin;
        height: 95vmin;
        border-width: 12px;
    }

    .shape:nth-child(2) {
        width: 75vmin;
        height: 75vmin;
        border-width: 10px;
    }

    .shape:nth-child(3) {
        width: 55vmin;
        height: 55vmin;
        border-width: 6px;
    }
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #FF6B9D, #E91E63);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.4);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #FF4081, #C2185B);
}

.nav-button {
    padding: 12px 25px;
    border: 2px solid #FF6B9D;
    border-radius: 25px;
    background: transparent;
    color: #FF6B9D;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-button:hover {
    background: #FF6B9D;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.nav-button.primary {
    background: linear-gradient(135deg, #FF6B9D, #E91E63);
    color: white;
    border-color: transparent;
}

.nav-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Feature Cards */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 30px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 157, 0.15);
    border-color: rgba(255, 107, 157, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-description {
    color: #666;
    line-height: 1.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(233, 30, 99, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 157, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B9D;
    display: block;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Music Toggle */
.music-toggle {
    position: fixed;
    top: 90px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
}

.music-toggle:hover {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
}

/* Confetti */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FF6B9D;
    animation: confettiFall 3s linear infinite;
    top: -20px;
}

.confetti-piece:nth-child(odd) {
    background: #E91E63;
    animation-delay: 0s;
}

.confetti-piece:nth-child(3n) {
    background: #C2185B;
    animation-delay: 0.2s;
}

.confetti-piece:nth-child(4n) {
    background: #FF4081;
    animation-delay: 0.4s;
}