/* ===========================================
   AXEL CLUB - Home Page Styles
   Elegant landing page with ice skating theme
   Sparkle & Rhinestone Effects
   =========================================== */

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--ice-dark) 0%, var(--ice-deep) 100%);
    padding: var(--space-sm) 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--ice-deep) 0%, var(--rose-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    position: relative;
}

/* Sparkle on logo */
.logo::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -10px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    animation: twinkle 2s ease-in-out infinite;
}

@media (min-width: 768px) {
    .logo {
        font-size: 1.8rem;
    }
}

.nav-links {
    display: none;
    list-style: none;
    gap: var(--space-md);
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: var(--space-lg);
    }
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: var(--space-xs) 0;
    font-size: 0.9rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ice-dark), var(--rose-gold));
    transition: var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--ice-deep);
}

/* Mobile menu toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--ice-deep);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--crystal-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: var(--transition-smooth);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ice-deep);
    padding: var(--space-sm);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(70px + var(--space-lg)) var(--space-sm) var(--space-lg);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        var(--ice-light) 0%,
        var(--pearl) 25%,
        var(--lavender) 50%,
        var(--pearl) 75%,
        var(--ice-light) 100%);
}

@media (min-width: 768px) {
    .hero {
        padding: calc(80px + var(--space-xl)) var(--space-md) var(--space-xl);
    }
}

/* Ice rink spotlight effect */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, var(--rhinestone-glow) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 60%, rgba(183, 110, 121, 0.15) 0%, transparent 35%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.9) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 25%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

/* Enhanced sparkle/glitter decorations - like sequins on a costume */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px),
        radial-gradient(circle, var(--silver) 1px, transparent 1px),
        radial-gradient(circle, var(--rose-gold) 1px, transparent 1px),
        radial-gradient(circle, var(--diamond) 0.5px, transparent 0.5px),
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 2px, transparent 2px);
    background-size: 100px 100px, 70px 70px, 90px 90px, 50px 50px, 150px 150px;
    background-position: 0 0, 35px 35px, 70px 20px, 25px 60px, 80px 80px;
    opacity: 0.5;
    pointer-events: none;
    animation: shimmerWave 15s linear infinite;
}

/* Floating sparkles overlay - like glitter falling on ice */
.sparkles-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle {
    position: absolute;
    border-radius: 50%;
    animation: floatSparkle 4s ease-in-out infinite;
}

/* Gold sparkles */
.sparkle:nth-child(1) {
    top: 15%; left: 10%;
    width: 6px; height: 6px;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold), 0 0 20px rgba(212, 175, 55, 0.6);
    animation-delay: 0s;
}

/* Silver sparkles */
.sparkle:nth-child(2) {
    top: 25%; left: 85%;
    width: 5px; height: 5px;
    background: var(--silver);
    box-shadow: 0 0 8px var(--silver), 0 0 15px rgba(192, 192, 192, 0.7);
    animation-delay: 0.7s;
}

/* Diamond sparkle */
.sparkle:nth-child(3) {
    top: 45%; left: 5%;
    width: 4px; height: 4px;
    background: var(--diamond);
    box-shadow: 0 0 12px var(--diamond), 0 0 25px rgba(185, 242, 255, 0.8);
    animation-delay: 1.4s;
}

/* Rose gold sparkle */
.sparkle:nth-child(4) {
    top: 65%; left: 90%;
    width: 6px; height: 6px;
    background: var(--rose-gold);
    box-shadow: 0 0 10px var(--rose-gold), 0 0 20px rgba(183, 110, 121, 0.6);
    animation-delay: 2.1s;
}

/* Large gold rhinestone */
.sparkle:nth-child(5) {
    top: 80%; left: 15%;
    width: 8px; height: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--champagne) 100%);
    box-shadow: 0 0 15px var(--gold), 0 0 30px rgba(212, 175, 55, 0.5);
    animation-delay: 2.8s;
}

/* Center diamond */
.sparkle:nth-child(6) {
    top: 35%; left: 50%;
    width: 10px; height: 10px;
    background: radial-gradient(circle, white 0%, var(--diamond) 50%, var(--ice-medium) 100%);
    box-shadow: 0 0 20px white, 0 0 40px var(--diamond);
    animation-delay: 3.5s;
    animation: diamondSparkle 3s ease-in-out infinite;
}

/* Silver dust */
.sparkle:nth-child(7) {
    top: 55%; left: 70%;
    width: 4px; height: 4px;
    background: var(--platinum);
    box-shadow: 0 0 8px var(--platinum), 0 0 15px rgba(229, 228, 226, 0.8);
    animation-delay: 0.3s;
}

/* Champagne sparkle */
.sparkle:nth-child(8) {
    top: 75%; left: 35%;
    width: 5px; height: 5px;
    background: var(--champagne);
    box-shadow: 0 0 10px var(--champagne), 0 0 20px rgba(247, 231, 206, 0.7);
    animation-delay: 1s;
}

/* Additional sparkles for more density */
.sparkle:nth-child(9) {
    top: 20%; left: 40%;
    width: 3px; height: 3px;
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold);
    animation-delay: 0.5s;
}

.sparkle:nth-child(10) {
    top: 60%; left: 20%;
    width: 4px; height: 4px;
    background: var(--silver);
    box-shadow: 0 0 8px var(--silver);
    animation-delay: 1.8s;
}

.sparkle:nth-child(11) {
    top: 40%; left: 75%;
    width: 3px; height: 3px;
    background: var(--rose-gold);
    box-shadow: 0 0 6px var(--rose-gold);
    animation-delay: 2.5s;
}

.sparkle:nth-child(12) {
    top: 85%; left: 60%;
    width: 5px; height: 5px;
    background: var(--diamond);
    box-shadow: 0 0 10px var(--diamond);
    animation-delay: 3.2s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 800px;
    }
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: var(--space-md);
    color: var(--ice-deep);
}

.hero h1 span {
    display: block;
    font-style: italic;
    color: var(--rose-gold);
    font-size: 0.55em;
    margin-top: var(--space-xs);
}

/* Glitter effect on main title - animation désactivée */
.hero h1 .glitter {
    color: var(--ice-deep);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Decorative skate icon with sparkle */
.hero-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, var(--ice-dark) 0%, var(--ice-deep) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-glow), 0 0 30px rgba(212, 175, 55, 0.2);
    position: relative;
}

@media (min-width: 768px) {
    .hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}

/* Rhinestone ring around icon */
.hero-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--gold), var(--silver), var(--rose-gold), var(--gold));
    z-index: -1;
    opacity: 0.8;
}

/* ===== Features Section ===== */
.features {
    padding: var(--space-xl) 0;
    background: var(--crystal-white);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--ice-light) 0%, transparent 100%);
}

.features h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    position: relative;
}

@media (min-width: 768px) {
    .features h2 {
        margin-bottom: var(--space-xl);
    }
}

.features h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--rose-gold), var(--gold));
    margin: var(--space-sm) auto 0;
    border-radius: var(--radius-full);
    animation: shimmerWave 2s linear infinite;
    background-size: 200% 100%;
}

@media (min-width: 768px) {
    .features h2::after {
        width: 80px;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 var(--space-sm);
}

@media (min-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
        padding: 0 var(--space-md);
    }
}

.feature-card {
    background: var(--pearl);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .feature-card {
        padding: var(--space-lg);
    }
}

/* Sparkle accent on feature cards */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--rose-gold), var(--silver), var(--gold));
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: var(--transition-smooth);
    animation: shimmerWave 3s linear infinite;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px var(--gold);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong), var(--shadow-sparkle);
    border-color: var(--ice-medium);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
    animation: twinkle 1.5s ease-in-out infinite;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-sm);
    background: linear-gradient(135deg, var(--ice-light) 0%, var(--ice-medium) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition-smooth);
    position: relative;
}

@media (min-width: 768px) {
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: var(--space-md);
        font-size: 2rem;
    }
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--ice-dark) 0%, var(--ice-deep) 100%);
    box-shadow: var(--shadow-sparkle);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    color: var(--ice-deep);
}

@media (min-width: 768px) {
    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: var(--space-sm);
    }
}

.feature-card p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

@media (min-width: 768px) {
    .feature-card p {
        font-size: 0.95rem;
    }
}

/* ===== Stats Section ===== */
.stats-section {
    padding: var(--space-lg) 0;
    background: linear-gradient(135deg, var(--ice-deep) 0%, var(--ice-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .stats-section {
        padding: var(--space-xl) 0;
    }
}

/* Sparkle pattern overlay */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle, rgba(212, 175, 55, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.5;
    animation: shimmerWave 30s linear infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    position: relative;
}

@media (min-width: 768px) {
    .stat-item {
        padding: var(--space-lg);
    }
}

/* Sparkle on stat items */
.stat-item::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 20%;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: twinkle 2s ease-in-out infinite;
}

.stat-item:nth-child(2)::after { animation-delay: 0.5s; }
.stat-item:nth-child(3)::after { animation-delay: 1s; }
.stat-item:nth-child(4)::after { animation-delay: 1.5s; }

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    display: block;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, white 0%, var(--gold-light) 50%, var(--rose-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 1rem;
        letter-spacing: 2px;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    padding: var(--space-lg) var(--space-sm);
    text-align: center;
    background: var(--pearl);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-section {
        padding: var(--space-xl) var(--space-md);
    }
}

/* Decorative sparkles */
.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--gold);
    animation: twinkle 2s ease-in-out infinite;
}

.cta-section::before {
    top: 20%;
    left: 10%;
}

.cta-section::after {
    bottom: 25%;
    right: 15%;
    animation-delay: 1s;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .cta-content {
        max-width: 600px;
    }
}

.cta-content h2 {
    margin-bottom: var(--space-md);
}

.cta-content p {
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .cta-content p {
        font-size: 1.1rem;
    }
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, var(--ice-deep) 0%, #1a4a6e 50%, #0d3a5c 100%);
    color: white;
    padding: var(--space-lg) var(--space-sm) var(--space-md);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    footer {
        padding: var(--space-xl) var(--space-md) var(--space-lg);
    }
}

/* Sparkle accents in footer */
footer::before,
footer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

footer::before {
    top: 20px;
    right: 5%;
    width: 6px;
    height: 6px;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

footer::after {
    bottom: 30%;
    left: 8%;
    width: 4px;
    height: 4px;
    background: var(--silver);
    box-shadow: 0 0 8px var(--silver);
    animation-delay: 1.5s;
}

/* Footer content grid */
.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    align-items: start;
}

@media (min-width: 576px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md) var(--space-lg);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
        gap: var(--space-lg);
    }
}

/* Footer section base styles */
.footer-section {
    text-align: left;
}

.footer-section h4 {
    font-family: var(--font-display);
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    position: relative;
    display: inline-block;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .footer-section h4 {
        margin-bottom: var(--space-md);
        font-size: 1.1rem;
    }
}

/* Small sparkle after footer titles */
.footer-section h4::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--gold);
    animation: twinkle 2s ease-in-out infinite;
}

/* Footer brand section with extra styling */
.footer-brand {
    position: relative;
}

.footer-brand h4 {
    font-size: 1.2rem;
    background: linear-gradient(90deg, white, var(--gold-light), white);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerWave 4s linear infinite;
    padding-right: 0;
}

.footer-brand h4::after {
    display: none;
}

.footer-sparkle {
    display: none;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a {
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-xs);
}

/* Contact list styling */
.contact-list {
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 0.9rem;
    width: 20px;
    min-width: 20px;
    text-align: center;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-list a {
    word-break: break-word;
    font-size: 0.85rem;
}

@media (min-width: 992px) {
    .contact-list a {
        font-size: 0.9rem;
    }
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

@media (min-width: 768px) {
    .footer-bottom {
        padding-top: var(--space-lg);
    }
}

.footer-bottom-content {
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

.footer-credit {
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-top: 0.5rem;
}

.footer-credit:hover {
    color: var(--gold-light) !important;
}

@media (min-width: 768px) {
    .footer-bottom p {
        font-size: 0.9rem;
    }

    .footer-credit {
        font-size: 0.85rem !important;
    }
}
