/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ========================================
   FONT DECLARATIONS
   ======================================== */
@font-face {
    font-family: 'Moonhouse';
    src: url('fonts/moonhouse.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Binate';
    src: url('fonts/binate/Binate - Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Binate';
    src: url('fonts/binate/Binate - Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neuropol';
    src: url('fonts/Neuropol.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS VARIABLES / DESIGN SYSTEM
   ======================================== */
:root {
    /* Brand Colors */
    --color-indigo: #483999;
    --color-yellow: #E4DC56;
    --color-magenta: #D036A4;
    
    /* Typography */
    --font-heading: 'Moonhouse', sans-serif;
    --font-body: 'Binate', sans-serif;
    
    --font-size-xs: 14px;                      /* Small text: footer copyright, lang switch */
    --font-size-base: 16px;                    /* Body text: paragraphs, buttons, descriptions */
    --font-size-lg: 20px;                      /* Emphasis: card titles, large buttons */
    --font-size-xl: 24px;                      /* Sub-headers: sponsor tier titles */
    --font-size-2xl: clamp(28px, 4vw, 40px);   /* Headers: section titles, hero headings */
    
    /* Letter Spacing */
    --letter-spacing-heading: 0.04em;
    
    /* Background Colors */
    --bg-primary: #1a0f3d;  /* Much brighter purple background - 2x lighter */
    --bg-secondary: var(--color-indigo);  /* Solid brand Indigo - no transparency */
    --bg-secondary-hover: #5a48b3;  /* Lighter Indigo for hover - more vibrant */
    --bg-header: rgba(26, 15, 61, 0.95);  /* Brighter primary bg with slight transparency */
    --bg-footer: #12082a;  /* Brighter purple-black */
    --bg-hero: radial-gradient(ellipse at top, var(--color-indigo) 0%, #1a0f3d 60%, #0a0515 100%);  /* Bold Indigo center */
    
    /* Text Colors */
    --text-primary: var(--color-yellow);  /* Bright Yellow */
    --text-secondary: #c4b5f0;  /* Brighter lavender */
    --text-heading: var(--color-yellow);  /* Bold Yellow headings */
    --text-muted: rgba(228, 220, 86, 0.6);  /* Slightly brighter muted */
    --text-body: #ffffff;  /* Pure white for maximum readability */
    
    /* Border Colors */
    --border-color: rgba(228, 220, 86, 0.3);  /* More visible Yellow borders */
    --border-color-hover: var(--color-yellow);  /* Full Yellow on hover - bold */
    
    /* Button Colors */
    --btn-primary-bg: var(--color-magenta);
    --btn-primary-text: #ffffff;
    --btn-primary-outline-border: var(--color-magenta);
    --btn-primary-outline-text: var(--color-magenta);
    --btn-secondary-bg: var(--color-yellow);
    --btn-secondary-text: #0a0d1f;
    --btn-secondary-outline-border: var(--color-yellow);
    --btn-secondary-outline-text: var(--color-yellow);
    
    /* Accent Colors */
    --accent-glow: rgba(208, 54, 164, 0.3);
    --accent-magenta: var(--color-magenta);
    --accent-purple: #8B5CF6;
    
    /* Icon/Accent Colors */
    --icon-color: var(--color-magenta);
    --accent-color: var(--color-magenta);
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: var(--font-size-base);
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-heading);
    text-shadow: 0 0 40px rgba(228, 220, 86, 0.8), 0 0 80px rgba(208, 54, 164, 0.5);
}

h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: 24px;
}

h2 {
    font-size: var(--font-size-xl);
    margin-bottom: 16px;
}

h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 12px;
}

p {
    font-size: var(--font-size-base);
    margin-bottom: 16px;
    line-height: 1.7;
}

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

.section {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
}

/* ========================================
   HEADER / NAVIGATION - LAYOUT
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* left, center, right */
    position: relative; /* allow absolute centering of middle menu */
}

/* ========================================
   HEADER / NAVIGATION - BRAND STYLES
   ======================================== */
.site-header {
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    color: var(--text-primary);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-menu {
    display: none; /* mobile panel - populated and toggled by JS */
    align-items: center;
    gap: 20px;
}

/* Left: language group (desktop) */
.desktop-lang {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-right: 12px;
}

.desktop-menu {
    display: flex;
    gap: 24px;
    align-items: center;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Prevent the desktop navigation labels from wrapping into multiple
   lines (e.g. the French "À propos de @HACK"). Apply only on
   larger screens so mobile can still stack items naturally. */
@media (min-width: 769px) {
    .desktop-menu .nav-link {
        white-space: nowrap;
    }
}
/* Right: external links (desktop only) */
.desktop-external {
    display: flex;
    gap: 12px;
    align-items: center;
}

.desktop-external .external-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
}

.desktop-external .external-link:hover {
    color: var(--text-primary);
}

.mobile-hamburger {
    display: none; /* shown on mobile via media query */
    margin-left: 12px;
}

.nav-close {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.2s;
}

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

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: var(--font-size-xs);
    margin-left: 12px;
}

.lang-switch a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.lang-switch a[aria-current="page"] {
    font-weight: 700;
    color: var(--text-primary);
}

.lang-switch a:not([aria-current]) {
    opacity: 0.6;
}

.lang-switch a:hover {
    color: var(--text-primary);
    opacity: 1;
}

/* Navigation Overlay (mobile) */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-container {
        justify-content: flex-start;
    }

    /* Hide desktop groups on mobile - mobile panel will show them */
    .desktop-menu,
    .desktop-external,
    .desktop-lang {
        display: none;
    }

    .mobile-hamburger {
        display: block;
        margin-left: 0;
        order: -1; /* move hamburger to the left on mobile */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 20px 20px;
        overflow-y: auto;
        z-index: 1000;
        background: var(--bg-primary);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Mobile panel structure styling */
    .mobile-nav-panel {
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: 100%;
        padding-top: 12px;
    }

    .mobile-lang {
        display: flex;
        gap: 8px;
        align-items: center;
        padding: 8px 12px;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 8px 12px;
    }

    .mobile-menu .nav-link {
        display: block;
        padding: 10px 8px;
        border-radius: 6px;
        color: var(--text-body);
    }

    .mobile-menu .nav-link:hover {
        background: rgba(255,255,255,0.02);
    }

    .mobile-external {
        display: flex;
        gap: 12px;
        padding: 8px 12px;
        flex-wrap: wrap;
    }

    .mobile-external .external-link {
        padding: 8px 10px;
        border-radius: 6px;
        background: rgba(255,255,255,0.02);
        color: var(--text-secondary);
        text-decoration: none;
    }

    .mobile-external .external-link:hover {
        color: var(--text-primary);
        background: rgba(255,255,255,0.03);
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 16px;
        right: 16px;
        cursor: pointer;
        line-height: 1;
        background: none;
        border: none;
        font-size: 32px;
        color: var(--text-primary);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .nav-list,
    .mobile-menu .nav-list {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 20px;
    }
}

/* ========================================
   BUTTONS - LAYOUT STYLES (structure only)
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

 /* This is needed because binate font is drawn a little bit below the center of the line*/
.btn span {
    transform: translateY(-3px);
}

.btn-small {
    min-height: 40px;
    font-size: var(--font-size-base);
    padding: 10px 20px;
}

.btn-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.btn-large {
    min-height: 64px;
    font-size: var(--font-size-lg);
    padding: 16px 32px;
}

.btn-large .btn-icon {
    width: 30px;
    height: 30px;
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ========================================
   BUTTONS - BRAND STYLES (colors, fonts, effects)
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--color-magenta) 0%, #a026b3 50%, var(--color-magenta) 100%);
    background-size: 200% 200%;
    animation: pulse-glow 2s ease-in-out infinite, gradient-shift 6s ease-in-out infinite;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 4px 15px rgba(208, 54, 164, 0.3), 0 0 30px rgba(208, 54, 164, 0.1);
    color: var(--btn-primary-text);
    border: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(208, 54, 164, 0.4), 0 0 30px rgba(208, 54, 164, 0.3);
}

.btn:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(208, 54, 164, 0.3), 0 0 30px rgba(208, 54, 164, 0.1), 0 0 0 4px rgba(255, 255, 255, 0.8);
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(228, 220, 86, 0.4), 0 0 30px rgba(228, 220, 86, 0.3);
}

.btn-primary-outline {
    background: transparent;
    border: 2px solid var(--btn-primary-outline-border);
    border-radius: 8px;
    color: var(--btn-primary-outline-text);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn-primary-outline:hover {
    transform: translateY(-2px);
    background: rgba(208, 54, 164, 0.1);
    box-shadow: 0 0 20px rgba(208, 54, 164, 0.3);
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--btn-secondary-outline-border);
    border-radius: 8px;
    color: var(--btn-secondary-outline-text);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn-secondary-outline:hover {
    transform: translateY(-2px);
    background: rgba(228, 220, 86, 0.1);
    box-shadow: 0 0 20px rgba(228, 220, 86, 0.3);
}

/* Register button - bigger than regular large buttons */
#register-btn {
    min-height: 80px;
    min-width: 300px;
    font-size: 24px;
    padding: 20px 40px;
}

/* ========================================
   HERO SECTION - LAYOUT
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero headings - use semantic h1/h2, inherit base heading styles */
.hero-content h1,
.hero-content h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: 10px;
    color: var(--text-body)
}

.hero-content p {
    max-width: 600px;
    margin-bottom: 36px;
    font-size: var(--font-size-lg);
    opacity: 0.75;
}

/* ========================================
   HERO SECTION - BRAND STYLES
   ======================================== */
.hero-section {
    position: relative;
}

#hero-fog-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;

    background: url('img/hero.webp') center center / cover no-repeat;
    opacity: 0.75;
}

/* Hero logo - centered, prominent */
.hero-logo {
    width: clamp(200px, 40vw, 400px);
    height: auto;
    margin-bottom: 32px;
    filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s;
}

.hero-logo:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .hero-logo {
        width: clamp(180px, 50vw, 280px);
        margin-bottom: 24px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
}

.placeholder-text {
    font-style: italic;
    opacity: 0.5;
}

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
        gap: 32px;
    }
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-title {
    text-align: center;
}

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

.about-card-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    padding: 40px 48px;
    text-align: center;
}

.about-card a {
    color: var(--color-yellow);
    text-decoration: none;
    transition: color 0.2s;
}

.about-card a:hover {
    color: var(--color-magenta);
}

@media (max-width: 768px) {
    .about-card {
        padding: 28px 24px;
    }
}

.section-intro {
    text-align: center;
    margin-bottom: 32px;
    opacity: 0.85;
}

/* ========================================
   TEXT COLOR UTILITIES - BRAND STYLES
   ======================================== */
.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-heading {
    color: var(--text-heading);
}

.text-muted {
    color: var(--text-muted);
}

.text-body {
    color: var(--text-body);
}

/* ========================================
   BACKGROUND UTILITIES - BRAND STYLES
   ======================================== */
.bg-primary {
    background: var(--bg-primary);
}

.bg-secondary {
    background: var(--bg-secondary);
}

.bg-secondary:hover {
    background: var(--bg-secondary-hover);
}

.bg-header {
    background: var(--bg-header);
    backdrop-filter: blur(10px);
}

.bg-footer {
    background: var(--bg-footer);
}

.bg-hero {
    background: var(--bg-hero);
}

/* ========================================
   BORDER UTILITIES - BRAND STYLES
   ======================================== */
.border-default {
    border: 1px solid var(--border-color);
}

.border-radius-default {
    border-radius: 12px;
}

/* ========================================
   CARD BASE STYLES - BRAND
   ======================================== */
.bg-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.3s;
}

.bg-card:hover {
    transform: translateY(-4px);
    background: var(--bg-secondary-hover);
    border-color: var(--border-color-hover);
    box-shadow: 0 8px 30px rgba(208, 54, 164, 0.4), 0 0 50px rgba(228, 220, 86, 0.2);
}

.bg-card.no-hover {
    cursor: default;
}

.bg-card.no-hover:hover {
    transform: none;
    background: var(--bg-secondary);
    border-color: var(--border-color);
    box-shadow: none;
}

.prepare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.prepare-card {
    padding: 32px 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.prepare-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Brand style for icon color */
.prepare-icon {
    color: var(--icon-color);
}

/* ========================================
   TIMELINE (REMOVED BUT KEEPING FOR POTENTIAL FUTURE USE)
   ======================================== */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.timeline-day {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.timeline-day-title {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    margin-bottom: 12px;
    padding-left: 8px;
}

/* ========================================
   SPONSORS
   ======================================== */

#become-sponsor-container {
    display: flex;
    margin: 48px auto;
    justify-content: center;
}

.sponsor-tier {
    margin-bottom: 48px;
}

.sponsor-tier-title {
    text-align: center;
    margin-bottom: 24px;
    text-shadow: 0 0 25px rgba(228, 220, 86, 0.6);
}

.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.sponsor-grid-champion {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
}

.sponsor-card {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 400px;
    height: 120px;
}

.sponsor-champion-card {
    width: 500px;
    height: 200px;
}

.sponsor-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ========================================
   ORGANIZERS
   ======================================== */

.organizers-cta-container {
    display: flex;
    margin: 48px auto;
    justify-content: center;
}

/* ========================================
   COMMITTEE
   ======================================== */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.committee-card {
    padding: 24px;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.committee-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.placeholder-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.5;
}

.committee-name {
    font-size: 18px;
    margin-bottom: 8px;
}

.committee-role {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 12px;
}

.committee-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.committee-social a {
    text-decoration: none;
    transition: opacity 0.2s;
    color: var(--text-primary);
    opacity: 0.7;
}

.committee-social a:hover {
    opacity: 1;
}

/* ========================================
   STATS
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.stat-card {
    padding: 32px 20px;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.stat-value {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.8;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-placeholder {
    padding: 60px 20px;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* ========================================
   RULES OF ENGAGEMENT
   ======================================== */
.roe-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    justify-content: center;
}

.roe-tab {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    background: rgba(72, 57, 153, 0.3);
    color: var(--text-primary);
    transition: background 0.2s;
}

.roe-tab:hover {
    background: rgba(72, 57, 153, 0.5);
}

.roe-tab.active {
    background: var(--color-indigo);
    color: var(--text-body);
}

.roe-content {
    padding: 32px;
    min-height: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.roe-panel {
    display: none;
}

.roe-panel.active {
    display: block;
}

@media (max-width: 768px) {
    .roe-tabs {
        flex-direction: column;
    }

    .roe-tab {
        width: 100%;
        text-align: left;
    }
}

/* ========================================
   FOOTER - LAYOUT
   ======================================== */
.site-footer {
    padding: 48px 0 24px;
}

/* ========================================
   FOOTER - BRAND STYLES
   ======================================== */
.site-footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    width: 100px;
    height: auto;
}

/* Clean @ symbol font override */
.at-symbol {
    font-family: 'Neuropol';
}

.logo-technation {
    filter: brightness(0) invert(1);
}

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

.footer-list li {
    font-size: var(--font-size-base);
    margin-bottom: 8px;
}

.footer-list a {
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
    color: var(--text-secondary);
    opacity: 0.8;
}

.footer-list a:hover {
    color: var(--text-primary);
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: 0.7;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social img {
    width: 32px;
    height: 32px;
    display: block;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
}

.modal.show {
    display: block;
    z-index: 2000;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 6px;
    width: 90%;
    max-width: 420px;
}

.sponsorship-email {
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 4px 15px rgba(208, 54, 164, 0.3), 0 0 30px rgba(208, 54, 164, 0.1);
    }
    50% {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1), 0 4px 15px rgba(208, 54, 164, 0.3), 0 0 40px rgba(208, 54, 164, 0.2);
    }
}