/* ==========================================================================
   DESIGN SYSTEM PREMIUM - CALENDRIER CHINOIS GROSSESSE
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Colors - Light Theme (Premium, Soft, Elegant) */
    --bg-primary: #FAFAFA;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F3EEF5;
    /* subtle lavender/pink */

    --text-primary: #1A1A24;
    --text-secondary: #4A4A5A;
    --text-muted: #828291;

    --accent-primary: #E96479;
    /* Vibrant Rose */
    --accent-secondary: #7DB9B6;
    /* Soft Teal for Boy */
    --accent-tertiary: #F5E9CF;
    /* Soft Gold */

    --border-color: rgba(26, 26, 36, 0.08);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E96479 0%, #D85266 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px rgba(233, 100, 121, 0.15);
    /* Tinted shadow */
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.05);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   DARK THEME (Sleek, Mysterious, High-end)
   ========================================================================== */
[data-theme="dark"] {
    --bg-primary: #0A0A0F;
    --bg-secondary: #12121A;
    --bg-tertiary: #1A1A24;

    --text-primary: #FFFFFF;
    --text-secondary: #A1A1B5;
    --text-muted: #646478;

    --border-color: rgba(255, 255, 255, 0.08);

    --gradient-glass: linear-gradient(135deg, rgba(26, 26, 36, 0.7) 0%, rgba(26, 26, 36, 0.3) 100%);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base size */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
    overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

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

.mt-8 {
    margin-top: 2rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   UI COMPONENTS (GLASSMORPHISM & PREMIUM EFFECTS)
   ========================================================================== */
.glass-panel {
    background: var(--gradient-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    padding: 2.5rem;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-bounce);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(233, 100, 121, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(233, 100, 121, 0.4);
    color: white;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(233, 100, 121, 0.1);
    background: var(--bg-primary);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
}

[data-theme="dark"] .header {
    background: rgba(10, 10, 15, 0.8);
}

.header.scrolled {
    padding: 1rem 0;
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-primary);
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu will need JS toggle in real prod if needed, keeping simple for now */
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-bounce);
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    /* Account for header */
    position: relative;
    overflow: hidden;
}

/* Decorative background blobs */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.5;
}

.hero::before {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--bg-tertiary);
}

.hero::after {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: rgba(233, 100, 121, 0.1);
}

[data-theme="dark"] .hero::after {
    background: rgba(233, 100, 121, 0.05);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-grid .badge,
    .hero-grid .btn {
        margin-left: 0;
        margin-right: auto;
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    border: 1px solid var(--border-color);
}

.premium-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-bounce);
}

.premium-img:hover {
    transform: scale(1.03);
}

.content-img-left {
    float: left; width: 45%; margin: 0 1.5rem 1rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}

.content-img-right {
    float: right; width: 45%; margin: 0 0 1rem 1.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .content-img-left, .content-img-right {
        float: none !important;
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   CALCULATOR SPECIFIC UI & ANIMATIONS
   ========================================================================== */
.calculator-form {
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
    }
}

.flex-1 {
    flex: 1;
}

.w-full {
    width: 100%;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.hidden {
    display: none !important;
}

.result-container {
    display: block;
    /* Managed by JS toggle class instead of inline display */
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(20px);
}

.result-container.active {
    opacity: 1;
    visibility: visible;
    height: auto;
    transform: translateY(0);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.result-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.result-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto 2rem;
    position: relative;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-glass);
    border: 4px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.8);
}

.result-container.active .result-circle {
    transform: scale(1);
}

/* Gender Themes handled via JS applying classes to the circle */
.result-circle.gender-boy {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 40px rgba(125, 185, 182, 0.4);
}

.result-circle.gender-girl {
    border-color: var(--accent-primary);
    box-shadow: 0 0 40px rgba(233, 100, 121, 0.4);
}

.result-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    z-index: 2;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gender-boy .result-text {
    background-image: linear-gradient(135deg, #7DB9B6, #4A8C89);
}

.gender-girl .result-text {
    background-image: var(--gradient-primary);
}

.result-details {
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Confetti wrapper for the wow effect */
.confetti-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f00;
    opacity: 0;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================================================================
   SWIPER PRÉNOMS (PHASE 2 - CPL)
   ========================================================================== */

.swiper-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 1rem;
}

.name-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    cursor: grab;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    transform-origin: 50% 100%;
    border: 2px solid var(--border-color);
    will-change: transform, opacity;
}

.name-card:active {
    cursor: grabbing;
}

.name-card[data-theme="dark"] {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.name-card h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.name-card p.origin {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Tinder-like Swipe Animations */
.name-card.swipe-left {
    transform: translateX(-150%) rotate(-30deg) !important;
    opacity: 0;
}

.name-card.swipe-right {
    transform: translateX(150%) rotate(30deg) !important;
    opacity: 0;
}

/* Stacking logic */
.name-card.card-1 {
    transform: scale(1) translateY(0);
    z-index: 10;
}

.name-card.card-2 {
    transform: scale(0.95) translateY(10px);
    z-index: 9;
    opacity: 0.8;
}

.name-card.card-3 {
    transform: scale(0.9) translateY(20px);
    z-index: 8;
    opacity: 0.5;
}

.name-card.card-hidden {
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Feedback badges (Like/Nope) */
.swipe-feedback {
    position: absolute;
    top: 20px;
    padding: 5px 15px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    opacity: 0;
    border: 3px solid;
    transition: opacity 0.2s;
}

.feedback-like {
    right: 20px;
    color: #4caf50;
    border-color: #4caf50;
    transform: rotate(15deg);
}

.feedback-nope {
    left: 20px;
    color: #ff4b4b;
    border-color: #ff4b4b;
    transform: rotate(-15deg);
}


/* ==========================================================================
   AFFILIATE INLINE PRODUCTS (PHASE 3)
   ========================================================================== */

.inline-product {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin: 2rem 0;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-bounce), box-shadow 0.3s;
}

.inline-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.inline-product-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    flex-shrink: 0;
}

.inline-product-content {
    flex: 1;
}

.inline-product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.inline-product-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.inline-product-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inline-product-badge {
    display: inline-block;
    background: #FF9900;
    color: #111;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(255, 153, 0, 0.3);
}

.inline-product-rating {
    color: #ffc107;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
    .inline-product {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .inline-product-meta {
        justify-content: center;
    }
}/* ==========================================================================
   MODULE SWIPER PRÉNOMS (PHASE 2 - CPL)
   ========================================================================== */

#swiper-container {
    perspective: 1000px;
    margin: 2rem auto;
}

.name-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transform-origin: 50% 100%;
    border: 1px solid var(--border-color);
    background-image: linear-gradient(to bottom, #ffffff, #fafafa);
}

[data-theme='dark'] .name-card {
    background: var(--bg-secondary);
    background-image: linear-gradient(to bottom, var(--bg-secondary), var(--bg-tertiary));
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.name-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
    font-family: 'Playfair Display', serif;
}

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

/* Stacking Effect */
.card-1 { z-index: 3; transform: scale(1) translateY(0); opacity: 1; }
.card-2 { z-index: 2; transform: scale(0.95) translateY(15px); opacity: 0.8; }
.card-3 { z-index: 1; transform: scale(0.9) translateY(30px); opacity: 0.5; }

/* Feedback Stamps */
.swipe-feedback {
    position: absolute;
    top: 20px;
    padding: 0.5rem 1.5rem;
    border: 4px solid;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    opacity: 0;
    transform: rotate(-15deg);
    transition: opacity 0.2s;
}

.feedback-like {
    color: #4caf50;
    border-color: #4caf50;
    right: 20px;
    transform: rotate(15deg);
}

.feedback-nope {
    color: #ff4b4b;
    border-color: #ff4b4b;
    left: 20px;
}

/* Animations */
.swipe-left { transform: translateX(-150%) rotate(-30deg) !important; opacity: 0 !important; }
.swipe-right { transform: translateX(150%) rotate(30deg) !important; opacity: 0 !important; }

.btn-circular {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-circular:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   MOBILE NAVIGATION FIX
   ========================================================================== */
.header .container {
    flex-wrap: nowrap;
}
.header {
    position: relative;
    z-index: 1000;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 1000;
    margin-left: 1rem;
}
.header-controls {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 350px !important;
        height: 100vh !important;
        background: var(--bg-secondary) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2rem !important;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15) !important;
        transition: right 0.3s ease-in-out !important;
        z-index: 999 !important;
        margin: 0 !important;
    }

    .nav-links.nav-active {
        right: 0 !important;
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
        z-index: 998;
    }
    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}
