/* FreeTCG - Style Principal */
:root {
    --primary-color: #FFD700;
    --secondary-color: #FFA500;
    --accent-color: #FF6347;
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --card-bg: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a8a8a8;
    --border-color: #2a2a2a;
    --gradient-primary: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6347 0%, #FF4500 100%);
    --gradient-dark: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.8) 100%);
    --shadow-glow: 0 0 50px rgba(255, 215, 0, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 99, 71, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
    min-height: 100vh;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
        filter: brightness(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
        filter: brightness(1.1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Header */
.header {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideInDown 0.5s ease-out;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

@keyframes slideInDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    height: 100px;
    max-height: 120px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.3));
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.5));
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 215, 0, 0.1);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at top left, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 99, 71, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(255, 165, 0, 0.1) 0%, transparent 25%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    animation: fadeIn 1s ease-out;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 3px;
    filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.5));
    position: relative;
}


.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-subtitle strong {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-highlight {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    display: inline-block;
    padding: 0 10px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-stat {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
    z-index: 100;
    margin-top: 3rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 2s ease-in-out infinite;
}

@keyframes wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.hero-scroll-indicator span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.btn-glow {
    animation: glow 2s ease-in-out infinite;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    font-weight: 700;
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
    filter: brightness(1.1);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.btn-secondary:hover::before {
    width: 100%;
}

/* Cards Grid */
.cards-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.3));
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    animation: fadeIn 0.5s ease-out;
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: var(--shadow-card);
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-color);
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--gradient-dark);
    pointer-events: none;
}

.card:hover .card-image {
    transform: scale(1.15);
}

.card-content {
    padding: 1.5rem;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.02) 100%);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-game {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.card-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.free-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    animation: pulse 2s ease-in-out infinite;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 99, 71, 0.4);
}

/* Points System */
.points-display {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: glow 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    font-size: 0.9rem;
}

.points-icon {
    width: 20px;
    height: 20px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
}

/* Mobile Responsive */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle .close-icon {
    animation: rotateIn 0.3s ease;
}

@keyframes rotateIn {
    from { transform: rotate(-90deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
}

/* Overlay pour le menu mobile */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .header-content {
        padding: 0.75rem 1.5rem;
    }
    
    .logo {
        height: 80px;
        max-height: 100px;
    }
    
    .nav {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        padding: 0.75rem 1rem;
    }
    
    .logo {
        height: 60px;
        max-height: 80px;
    }
    
    /* Ajuster le padding du body pour compenser le header fixe */
    body {
        padding-top: 80px;
    }
    
    /* Hero adjustments */
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Features adjustments */
    .feature-card {
        padding: 2rem;
    }
    
    /* Steps adjustments */
    .steps-container::before {
        left: 30px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-content {
        width: 100%;
    }
    
    /* Testimonials adjustments */
    .testimonials-section::before {
        font-size: 10rem;
    }
    
    /* CTA adjustments */
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1rem;
        align-items: flex-start;
        z-index: 999;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .nav.nav-open {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-radius: 10px;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        display: block;
    }
    
    .nav-link:hover {
        background: rgba(255, 215, 0, 0.15);
        transform: translateX(5px);
    }
    
    .nav-link::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    /* Styles pour les éléments du menu en mobile */
    .language-selector {
        width: 100%;
        margin-top: 1rem;
    }
    
    .language-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 1rem;
        background: rgba(255, 215, 0, 0.1);
        border: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .language-dropdown {
        position: relative;
        top: 0;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .points-display {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
    
    .cart-link {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        gap: 0.5rem;
        background: rgba(255, 215, 0, 0.1);
        border: 1px solid rgba(255, 215, 0, 0.2);
        margin-top: 1rem;
    }
    
    .user-menu {
        width: 100%;
        margin-top: 1rem;
    }
    
    .user-menu-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 1rem;
        background: rgba(255, 215, 0, 0.1);
        border: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .user-dropdown {
        position: relative;
        top: 0;
        width: 100%;
        margin-top: 0.5rem;
        right: auto;
        left: auto;
    }
    
    .btn-header {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem;
    }
    
    .logo {
        height: 50px;
        max-height: 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }
    
    .card {
        border-radius: 15px;
    }
    
    .card-image {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Loading Animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Login Page Styles */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
}

.auth-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 215, 0, 0.03) 100%);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.auth-card > * {
    position: relative;
    z-index: 1;
}

.auth-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4285f4 0%, #357ae8 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
    position: relative;
    overflow: hidden;
}

.google-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.google-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(66, 133, 244, 0.5);
}

.google-btn:hover::before {
    left: 100%;
}

.auth-divider {
    text-align: center;
    margin: 2.5rem 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--card-bg);
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-list {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.features-list h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.features-list li::before {
    content: '✨';
    font-size: 1.2rem;
}

/* Floating Cards Animation */
.hero-bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 168px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 99, 71, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    animation: floatCard var(--duration, 15s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0;
    backdrop-filter: blur(5px);
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    filter: blur(20px);
}

.floating-card::after {
    content: '✨';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0.5;
}

@keyframes floatCard {
    0% {
        transform: translate(-100px, 100vh) rotate(-15deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translate(calc(100vw - 100px), -100px) rotate(15deg) scale(1.1);
        opacity: 0.4;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translate(100vw, 100vh) rotate(-15deg) scale(0.8);
        opacity: 0;
    }
}

/* Featured Cards Section */
.featured-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: rotate 40s linear infinite;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.featured-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-color);
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.5));
}

.featured-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--card-bg);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.3));
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 99, 71, 0.1) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23FFD700" opacity="0.03" x="0" y="0" width="2" height="2"/></svg>') repeat;
    background-size: 50px 50px;
    animation: slide 10s linear infinite;
}

@keyframes slide {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

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

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 215, 0, 0.03) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--dark-bg);
    position: relative;
}

.steps-container {
    margin-top: 3rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark-bg);
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    position: relative;
    z-index: 1;
}

.step-content {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 215, 0, 0.02) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    flex: 1;
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20rem;
    color: rgba(255, 215, 0, 0.05);
    font-family: Georgia, serif;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255, 215, 0, 0.03) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.testimonial-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.testimonial-card p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Final Section */
.cta-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 99, 71, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark-bg) 100%);
    padding: 3rem 2rem 1rem;
    margin-top: 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}