:root {
    --primary: #003366; 
    --accent: #FFD700;  
    --vibrant-pink: #E91E63;
    --dark-bg: #0a0a0a;
    --glass: rgba(255, 255, 255, 0.1);
    --light-gray: #f8f9fa;
    --dark-text: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: white;
    overflow-x: hidden;
    color: var(--dark-text);
}

/* ====== CUSTOM SCROLLBAR ====== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 51, 102, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--vibrant-pink);
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
    width: 10px;
}

/* Firefox scrollbar */
* {
    scrollbar-color: var(--vibrant-pink) rgba(0, 51, 102, 0.05);
    scrollbar-width: thin;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section cards: rounded corners on desktop + phone */
.misiune-section,
.countdown-section,
.agenda-section,
.gallery-section,
.faq-section,
.hall-of-fame,
.why-us,
.testimonials-section,
.partners-section,
.jury-section {
    border-radius: 28px;
    margin: 14px 12px;
    overflow: hidden;
}

/* ====== ANIMATED BACKGROUND ====== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(233, 30, 99, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    animation: bgShift 15s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

/* ====== DASHBOARD NAVIGATION ====== */
.dashboard-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 2px solid rgba(255, 215, 0, 0.1);
    max-height: 70px;
    height: auto;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    gap: 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: auto;
    width: auto;
    margin-left: 10px;
    position: relative;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    max-height: 40px;
    max-width: 480px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.logo:hover .logo-img,
.logo:active .logo-img {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
    /* Fără scale ca logo-ul să nu se miște sub cursor */
}

/* ====== HAMBURGER BUTTON ====== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 3001;
    flex-shrink: 0;
    order: 4;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 3px;
    transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s ease;
}

body.dark-mode .hamburger-line {
    background: #FFD700;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ====== MOBILE MENU OVERLAY ====== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.97);
    z-index: 2999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

body.dark-mode .mobile-menu-overlay {
    background: rgba(10, 10, 10, 0.97);
}

.mobile-menu-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 8px 0;
}

.mobile-nav-link i {
    color: #FFD700;
    font-size: 1.1rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #FFD700;
    /* Fără scale ca linkul să nu se miște sub deget/cursor */
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #E91E63, #d81b60);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.35);
}

.mobile-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.5);
}

/* Responsive - Doar ecrane foarte înguste (telefoane): hamburger */
@media (max-width: 640px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none !important;
    }

    .nav-container > .cta-button {
        display: none !important;
    }

    .nav-container {
        padding: 10px 16px;
        gap: 0;
        justify-content: space-between;
    }

    .dashboard-nav {
        max-height: none;
    }
    
    .logo {
        margin-left: 0;
        flex: 1;
    }

    .logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .logo-img {
        height: 34px;
        max-height: 34px;
        max-width: calc(100vw - 130px);
        width: auto;
        object-fit: contain;
    }

    .theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        margin-left: auto;
        margin-right: 4px;
        flex-shrink: 0;
    }

    .hamburger {
        flex-shrink: 0;
    }
}

/* Tablet / jumătate ecran (641px - 1024px): doar iconițe în navbar, aerisit */
@media (min-width: 641px) and (max-width: 1024px) {
    .hamburger {
        display: none;
    }

    .nav-links {
        display: flex !important;
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
        margin: 0 8px;
    }

    /* Doar iconițele vizibile, textul ascuns – arată curat și nu se înghesuie */
    .nav-link {
        font-size: 0;
        padding: 10px 12px;
        gap: 0;
        border-radius: 8px;
        min-width: 44px;
        justify-content: center;
    }

    .nav-link i {
        font-size: 1.15rem;
        margin: 0;
    }

    .nav-link:hover {
        background: rgba(0, 51, 102, 0.08);
    }

    body.dark-mode .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-container {
        padding: 10px 20px;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .logo-img {
        height: 36px;
        max-height: 36px;
        max-width: 180px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.logo i {
    color: var(--vibrant-pink);
    font-size: 1.8rem;
    filter: drop-shadow(0 3px 8px rgba(233, 30, 99, 0.3));
}

/* Dark Mode - Logo */
body.dark-mode .logo-img {
    opacity: 0.95;
}

body.dark-mode .logo:hover .logo-img,
body.dark-mode .logo:active .logo-img {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--vibrant-pink) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.accent {
    color: var(--vibrant-pink);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    flex: 1;
    margin: 0;
    justify-content: center;
    flex-shrink: 1;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 0 2px;
}

.nav-link i {
    color: var(--vibrant-pink);
    font-size: 1.1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vibrant-pink), var(--accent));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--vibrant-pink);
    /* Fără translateY ca cursorul să nu mai „alunece” când e fix pe icoană */
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, var(--vibrant-pink), #d81b60);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 10px;
    margin-right: 10px;
    order: 3;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.35);
    background: linear-gradient(135deg, #d81b60, var(--vibrant-pink));
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--accent);
    color: var(--primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-right: 5px;
    margin-left: 10px;
    flex-shrink: 0;
    order: 2;
}

.theme-toggle:hover {
    background: var(--accent);
    color: white;
    /* Fără rotate ca butonul să nu se miște sub cursor */
}

body.dark-mode .theme-toggle {
    background: rgba(255, 215, 0, 0.15);
    color: var(--accent);
}

body.dark-mode .theme-toggle i::before {
    content: "\f186";
}

/* ====== HERO SECTION ====== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 8% 60px;
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #00509e 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    position: relative;
}

.hero-text-box {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 3.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .hero-highlight {
    color: var(--accent);
    text-shadow: 3px 3px 15px rgba(255, 215, 0, 0.4);
}

/* ====== IMMERSIVE HOME ANIMATION STATES ====== */
body.home-immersive .dashboard-nav .logo,
body.home-immersive .dashboard-nav .cta-button,
body.home-immersive .hero-subtitle,
body.home-immersive .hero-btns a,
body.home-immersive .hero-image-container,
body.home-immersive .section-title,
body.home-immersive .intro-text,
body.home-immersive .countdown-subtitle,
body.home-immersive .countdown-box,
body.home-immersive .agenda-intro,
body.home-immersive .agenda-table tbody tr,
body.home-immersive .gallery-button-container,
body.home-immersive .gallery-preview-grid img,
body.home-immersive .faq-item,
body.home-immersive .fame-card,
body.home-immersive .why-card,
body.home-immersive .testi-card,
body.home-immersive .footer-content .footer-section,
body.home-immersive .footer-bottom {
    opacity: 0;
    transform: translateY(50px);
}

body.home-immersive .dashboard-nav .logo,
body.home-immersive .dashboard-nav .cta-button {
    opacity: 1;
    transform: none;
}

body.home-immersive .hero-title {
    opacity: 1;
    transform: none;
}

body.home-immersive .hall-title {
    opacity: 1;
    transform: none;
}

body.home-immersive .hero-content.reveal,
body.home-immersive .hero-image-container.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

body.home-immersive .hero-text-box {
    animation: none;
}

/* Premium cursor spotlight for immersive cards */
body.home-immersive .spotlight-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body.home-immersive .spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    background: radial-gradient(
        220px circle at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(255, 215, 0, 0.24) 0%,
        rgba(233, 30, 99, 0.12) 35%,
        rgba(255, 255, 255, 0) 65%
    );
}

/* Light theme: softer yellow on card spotlight */
body:not(.dark-mode).home-immersive .spotlight-card::before {
    background: radial-gradient(
        220px circle at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(255, 230, 150, 0.14) 0%,
        rgba(233, 30, 99, 0.06) 35%,
        rgba(255, 255, 255, 0) 65%
    );
}

body.home-immersive .spotlight-card:hover::before {
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    background: #ffe500;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-animated:hover::before {
    left: 100%;
}

/* Hero Images */
.hero-image-container {
    position: relative;
    height: 500px;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.8s ease-out;
}

.floating-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: float 3s ease-in-out infinite;
}

.image-border {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 3px solid var(--accent);
    border-radius: 20px;
    animation: rotateBorder 8s linear infinite;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--vibrant-pink), #d81b60);
    padding: 30px;
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.4);
    transform: rotate(-15deg);
}

.badge-content {
    text-align: center;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.edition {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
}

.status {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    margin-top: 5px;
}

.pulse-badge {
    animation: pulseBadge 2s ease-in-out infinite;
}

/* ====== MISSION SECTION ====== */
.misiune-section {
    padding: 100px 8%;
    background: var(--light-gray);
}

.misiune-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.misiune-text {
    animation: slideInLeft 0.8s ease-out;
}

.section-title {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 700;
}

.section-title i {
    color: var(--vibrant-pink);
    margin-right: 10px;
    animation: sectionIconGlow 2.5s ease-in-out infinite alternate;
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}

.intro-text strong {
    color: var(--vibrant-pink);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-item:hover {
    transform: translateX(10px);
    border-left-color: var(--vibrant-pink);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vibrant-pink), #d81b60);
    animation: iconGlow 2.5s ease-in-out infinite alternate;
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
}

.misiune-image {
    animation: slideInRight 0.8s ease-out;
}

.image-frame.large {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.misiune-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Efecte hover pe imagini doar pe dispozitive cu hover (desktop), nu pe telefon */
@media (hover: hover) {
    .image-frame:hover .misiune-img {
        transform: scale(1.05);
    }
}

/* ====== HALL OF FAME SECTION ====== */
.hall-of-fame {
    padding: 100px 8%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.hall-of-fame-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.hall-title {
    overflow: hidden;
}

.hall-title-inner {
    display: inline-block;
}

.fame-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

@media (hover: hover) {
    .fame-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    }
}

.fame-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--accent);
    border-radius: 20px;
    pointer-events: none;
    clip-path: inset(0 100% 100% 0 round 20px);
    transition: clip-path 0.45s ease;
}

@media (hover: hover) {
    .fame-card:hover::before {
        clip-path: inset(0 0 0 0 round 20px);
    }
}

.fame-image-frame {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), #004080);
}

.fame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

@media (hover: hover) {
    .fame-card:hover .fame-image {
        transform: scale(1.05);
    }
}

.gold-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 4px solid var(--accent);
    border-radius: 15px;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.3);
    animation: frameGlow 3s ease-in-out infinite alternate;
}

.fame-content {
    padding: 40px 30px;
    text-align: center;
}

.fame-name {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--vibrant-pink) 40%, var(--accent) 70%, var(--primary) 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 5s ease-in-out infinite;
}

.fame-role {
    font-size: 1.1rem;
    color: var(--vibrant-pink);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fame-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ====== WHY US SECTION ====== */
.why-us {
    padding: 100px 8%;
    background: white;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-card {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8f4f8 100%);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease-out forwards;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--vibrant-pink);
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.15);
    background: white;
}

.why-icon {
    font-size: 3.5rem;
    color: var(--vibrant-pink);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    animation: whyIconGlow 3s ease-in-out infinite alternate;
}

.why-card:hover .why-icon {
    transform: scale(1.15) rotate(10deg);
    color: var(--accent);
}

.why-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ====== DARK MODE STYLES ====== */
body.dark-mode {
    background: #0a0a0a;
    color: #e0e0e0;
}

/* Dark Mode Custom Scrollbar */
body.dark-mode::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode::-webkit-scrollbar-thumb {
    background: var(--vibrant-pink);
}

body.dark-mode::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

body.dark-mode .dashboard-nav {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: rgba(255, 215, 0, 0.2);
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #000000 0%, #001a33 50%, #002655 100%);
}

body.dark-mode .misiune-section,
body.dark-mode .gallery-section,
body.dark-mode .impact-stats-section {
    background: #1a1a1a;
}

body.dark-mode .agenda-section,
body.dark-mode .partners-section,
body.dark-mode .jury-section,
body.dark-mode .faq-section,
body.dark-mode .why-us,
body.dark-mode .testimonials-section {
    background: #111111;
}

/* Program/Orar table - Dark Mode */
body.dark-mode .table-container {
    background: #1a1a1a;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

body.dark-mode .agenda-table thead {
    background: linear-gradient(135deg, #003366, #004080);
    color: #FFD700;
}

body.dark-mode .agenda-table tbody tr {
    background: #1a1a1a;
}

body.dark-mode .agenda-table tbody tr:hover {
    background: #252525;
}

body.dark-mode .agenda-table td {
    color: #FFD700;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .agenda-table td strong {
    color: #ffffff;
}

body.dark-mode .highlight-row {
    background: #1a1a1a;
}

body.dark-mode .highlight-row:hover {
    background: #252525;
}

body.dark-mode .time-badge {
    background: #252525;
    color: #FFD700;
}

body.dark-mode .time-badge.primary {
    background: linear-gradient(135deg, var(--accent), #ffe500);
    color: #1a1a1a;
}

body.dark-mode .agenda-intro {
    color: #FFD700;
}

body.dark-mode .section-title {
    color: var(--accent);
}

body.dark-mode .intro-text,
body.dark-mode .section-subtitle {
    color: #FFD700;
}

body.dark-mode .stat-card,
body.dark-mode .partner-card,
body.dark-mode .why-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.15);
    backdrop-filter: blur(10px);
    color: #e0e0e0;
}

body.dark-mode .jury-card {
    background: #1a1a1a;
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.1);
}

body.dark-mode .stat-card:hover,
body.dark-mode .partner-card:hover,
body.dark-mode .why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--vibrant-pink);
}

body.dark-mode .jury-card:hover {
    background: #242424;
    border-color: var(--vibrant-pink);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.25), inset 0 1px 0 rgba(255, 215, 0, 0.2);
}

body.dark-mode .feature-item,
body.dark-mode .testi-card,
body.dark-mode .faq-item {
    background: rgba(255, 215, 0, 0.03);
    border-color: rgba(255, 215, 0, 0.12);
}

body.dark-mode .faq-item:hover {
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.08);
}

body.dark-mode .faq-question {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06) 0%, rgba(233, 30, 99, 0.04) 100%);
    color: #FFD700;
    font-size: 1.02em;
    letter-spacing: 0.01em;
}

body.dark-mode .faq-question:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(233, 30, 99, 0.08) 100%);
    color: #fff;
}

body.dark-mode .faq-icon {
    color: #FFD700;
}

body.dark-mode .faq-item.active .faq-question {
    background: linear-gradient(135deg, #E91E63, #d81b60);
    color: #fff;
}

body.dark-mode .faq-item.active .faq-icon {
    color: white;
}

body.dark-mode .faq-item.active {
    border-color: rgba(233, 30, 99, 0.3);
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.15);
}

body.dark-mode .faq-answer {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 215, 0, 0.08);
}

body.dark-mode .faq-answer p {
    color: rgba(255, 255, 255, 0.88);
    font-style: italic;
    letter-spacing: 0.01em;
}

body.dark-mode .testi-card {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--vibrant-pink);
}

body.dark-mode .testi-card p {
    color: #FFD700;
}

body.dark-mode .testi-card h4 {
    color: #ffffff;
}

body.dark-mode .testi-role {
    color: #FFD700;
}

/* Why Us - card titles (Networking, Feedback, Vizibilitate) */
body.dark-mode .why-card h3 {
    color: #ffffff;
}

body.dark-mode .countdown-section {
    background: linear-gradient(135deg, #000000 0%, #001a33 100%);
}

body.dark-mode .hall-of-fame {
    background: #0f0f0f;
}

body.dark-mode .fame-card {
    background: #111111;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

body.dark-mode .jury-card h3 {
    color: var(--accent);
}

body.dark-mode .jury-role {
    color: #ff69b4;
}

body.dark-mode .jury-bio {
    color: #FFD700;
}

@media (hover: hover) {
    body.dark-mode .fame-card:hover {
        background: #141414;
        box-shadow: 0 28px 78px rgba(0, 0, 0, 0.68);
    }
}

body.dark-mode .fame-name {
    background: linear-gradient(135deg, #FFD700 0%, #E91E63 40%, #ffffff 70%, #FFD700 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 5s ease-in-out infinite;
}

body.dark-mode .fame-role {
    color: #ff69b4;
}

body.dark-mode .fame-description,
body.dark-mode .why-card p,
body.dark-mode .stat-label {
    color: #FFD700;
}

body.dark-mode .nav-link {
    color: #e0e0e0;
}

body.dark-mode .nav-link:hover {
    color: var(--accent);
}

body.dark-mode .logo-text {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, var(--accent), #ff69b4);
    background-clip: text;
    -webkit-background-clip: text;
}

/* ====== TESTIMONIALS SECTION ====== */
.agenda-section {
    padding: 100px 8%;
    background: white;
}

.agenda-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

.table-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: white;
}

.agenda-table {
    width: 100%;
    border-collapse: collapse;
}

.agenda-table thead {
    background: linear-gradient(135deg, var(--primary), #004080);
    color: white;
}

.agenda-table th {
    padding: 25px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

.agenda-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.agenda-table tbody tr {
    transition: all 0.3s ease;
}

.agenda-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05);
    transform: translateX(5px);
}

.time-badge {
    display: inline-block;
    background: var(--light-gray);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 100px;
    text-align: center;
}

.time-badge.primary {
    background: linear-gradient(135deg, var(--accent), #ffe500);
    color: var(--primary);
}

.highlight-row {
    background: rgba(233, 30, 99, 0.03);
}

.fade-in-table {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* ====== GALLERY SECTION ====== */
.gallery-section {
    padding: 100px 8%;
    background: white;
}

.gallery-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-text-side {
    animation: slideInLeft 0.8s ease-out;
    position: sticky;
    top: 100px;
}

.gallery-photo-side {
    animation: slideInRight 0.8s ease-out;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.text-side {
    animation: slideInLeft 0.8s ease-out;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--vibrant-pink);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--vibrant-pink);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.stat-animate {
    animation: countUp 0.8s ease-out forwards;
}

.image-stack {
    position: relative;
    height: 500px;
    animation: slideInRight 0.8s ease-out;
}

.image-frame {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.frame-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 350px;
    z-index: 2;
    animation: moveImageTop 0.8s ease-out;
}

.frame-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 300px;
    z-index: 1;
    opacity: 0.85;
    animation: moveImageBottom 0.8s ease-out;
}

.img-top, .img-bottom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials-section {
    padding: 100px 8%;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testi-card {
    background: var(--light-gray);
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid var(--vibrant-pink);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.testi-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    right: 20px;
    font-size: 120px;
    color: var(--accent);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.15);
    background: white;
}

.testi-stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testi-card p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    flex: 1;
}

.testi-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.testi-card h4 i {
    color: var(--vibrant-pink);
}

.testi-role {
    display: block;
    font-size: 0.9rem;
    color: #999;
    font-weight: 600;
}

.testi-animate {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* ====== FOOTER ====== */
.footer {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    color: white;
    padding: 60px 8% 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section {
    min-width: 0;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Col 1: Brand + Tagline - centered */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.footer-brand .footer-logo-img {
    height: 45px;
    width: auto;
    display: block;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.footer-brand .footer-logo:hover .footer-logo-img {
    opacity: 1;
    transform: scale(1.05);
}

.footer-tagline {
    font-style: italic;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* Col 2: Navigation */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:focus {
    outline: none;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Col 3: Socials (vertical, icon + text) */
.socials-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.socials-list li {
    margin-bottom: 12px;
}

.socials-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.socials-list a:focus {
    outline: none;
    text-decoration: none;
}

.socials-list a:hover {
    color: var(--accent);
}

.socials-list i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Col 4: Contact (centered) */
.footer-contact {
    text-align: center;
}

.footer-contact p {
    margin-bottom: 8px;
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--accent);
}

.footer a {
    text-decoration: none;
}

/* Legacy .socials for other pages (e.g. if used elsewhere) */
.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.socials a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-bottom .footer-gdpr-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    font-size: 0.95rem;
    margin-top: 8px;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-bottom .footer-gdpr-link:hover {
    color: var(--accent);
}

body.dark-mode .footer-bottom .footer-gdpr-link {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .footer-bottom .footer-gdpr-link:hover {
    color: var(--accent);
}

/* Dark Mode - Footer */
body.dark-mode .footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a2a3a 100%);
    color: #e0e0e0;
}

body.dark-mode .footer-section h4 {
    color: #FFD700;
}

body.dark-mode .footer-tagline {
    color: #FFD700;
}

body.dark-mode .footer-links a,
body.dark-mode .socials-list a {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .footer-links a:hover,
body.dark-mode .socials-list a:hover {
    color: #FFD700;
}

body.dark-mode .footer-contact-link {
    color: rgba(255, 255, 255, 0.95);
}

body.dark-mode .footer-contact-link:hover {
    color: #FFD700;
}

body.dark-mode .footer-section p {
    color: #FFD700;
}

body.dark-mode .footer-contact p {
    color: #ffffff;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

body.dark-mode .footer-logo-img {
    opacity: 0.9;
}

/* ====== ANIMATIONS ====== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseBadge {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(233, 30, 99, 0.4);
        transform: rotate(-15deg) scale(1);
    }
    50% {
        box-shadow: 0 20px 50px rgba(233, 30, 99, 0.6);
        transform: rotate(-15deg) scale(1.05);
    }
}

@keyframes iconGlow {
    0% { box-shadow: 0 0 8px rgba(233, 30, 99, 0.3), 0 0 16px rgba(233, 30, 99, 0.1); }
    100% { box-shadow: 0 0 16px rgba(255, 215, 0, 0.5), 0 0 32px rgba(255, 215, 0, 0.2); }
}

@keyframes whyIconGlow {
    0% { filter: drop-shadow(0 0 6px rgba(233, 30, 99, 0.4)); color: var(--vibrant-pink); }
    100% { filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.6)); color: var(--accent); }
}

@keyframes sectionIconGlow {
    0% { filter: drop-shadow(0 0 4px rgba(233, 30, 99, 0.3)); }
    100% { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)); color: var(--accent); }
}

@keyframes frameGlow {
    0% { box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.2), 0 0 10px rgba(255, 215, 0, 0.1); }
    100% { box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.3); }
}

/* Softer yellow glow for light theme (card animations) */
@keyframes iconGlowSoft {
    0% { box-shadow: 0 0 6px rgba(233, 30, 99, 0.2), 0 0 12px rgba(233, 30, 99, 0.06); }
    100% { box-shadow: 0 0 12px rgba(255, 230, 150, 0.22), 0 0 24px rgba(255, 230, 150, 0.1); }
}
@keyframes whyIconGlowSoft {
    0% { filter: drop-shadow(0 0 4px rgba(233, 30, 99, 0.25)); color: var(--vibrant-pink); }
    100% { filter: drop-shadow(0 0 10px rgba(255, 230, 150, 0.28)); color: #c9a227; }
}
@keyframes sectionIconGlowSoft {
    0% { filter: drop-shadow(0 0 3px rgba(233, 30, 99, 0.2)); }
    100% { filter: drop-shadow(0 0 8px rgba(255, 230, 150, 0.28)); color: #c9a227; }
}
@keyframes frameGlowSoft {
    0% { box-shadow: inset 0 0 16px rgba(255, 230, 150, 0.12), 0 0 8px rgba(255, 230, 150, 0.06); }
    100% { box-shadow: inset 0 0 24px rgba(255, 230, 150, 0.22), 0 0 18px rgba(255, 230, 150, 0.12); }
}

/* Light theme: use softer glow animations on cards/section icons (not on section titles) */
body:not(.dark-mode) .section-title i { animation: sectionIconGlowSoft 2.5s ease-in-out infinite alternate; }
body:not(.dark-mode) .feature-icon { animation: iconGlowSoft 2.5s ease-in-out infinite alternate; }
body:not(.dark-mode) .gold-frame {
    animation: frameGlowSoft 3s ease-in-out infinite alternate;
    border-color: rgba(201, 162, 39, 0.55);
}
body:not(.dark-mode) .why-icon { animation: whyIconGlowSoft 3s ease-in-out infinite alternate; }
body:not(.dark-mode) .why-card:hover .why-icon { color: #c9a227; }
body:not(.dark-mode) .fame-card::before { border-color: rgba(201, 162, 39, 0.5); }
body:not(.dark-mode) .testi-card::before { color: rgba(201, 162, 39, 0.35); }
body:not(.dark-mode) .countdown-box { border-color: rgba(255, 230, 150, 0.4); }
body:not(.dark-mode) .countdown-number,
body:not(.dark-mode) .countdown-separator { color: #c9a227; }

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes moveImageTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveImageBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== REVEAL ANIMATIONS ====== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ====== PHOTO GALLERY SECTION ====== */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 0;
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8f4f8 100%);
    border: 3px dashed var(--vibrant-pink);
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    color: #999;
    font-size: 3rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

@media (hover: hover) {
    .photo-placeholder:hover {
        border-color: var(--accent);
        background: rgba(255, 215, 0, 0.05);
    }
}

.photo-placeholder i {
    margin-bottom: 20px;
}

.photo-placeholder p {
    font-size: 1rem;
    color: #666;
}

.gallery-photo {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    cursor: pointer;
}

@media (hover: hover) {
    .gallery-photo:hover {
        transform: scale(1.03) translateY(-5px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
    }
}

/* ====== IMAGE MODAL LIGHTBOX ====== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-out;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalImage {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-prev:hover, .modal-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 10001;
}

/* ====== IMPACT STATS SECTION ====== */
.impact-stats-section {
    padding: 100px 8%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.text-impact {
    text-align: center;
    animation: slideInLeft 0.8s ease-out;
}

.text-impact .intro-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* ====== COUNTDOWN SECTION ====== */
.countdown-section {
    padding: 100px 8%;
    background: linear-gradient(135deg, var(--primary) 0%, #004080 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.countdown-section .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.agenda-section .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.agenda-section .section-title {
    width: 100%;
    text-align: center;
}

/* Titlul countdown rămâne în laterala (stânga) */
.countdown-section .section-title {
    width: 100%;
    text-align: left;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.countdown-section .section-title {
    color: white;
    position: relative;
    z-index: 10;
    text-align: left;
}

.countdown-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
    position: relative;
    z-index: 10;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    min-width: 120px;
    animation: slideInUp 0.8s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Playfair Display', serif;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.countdown-separator {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.5;
}

/* Mesaj Countdown și Program – aceeași mărime, font și adaptare la temă */
.countdown-message,
.agenda-surprise-message {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    font-family: inherit;
    margin: 0;
    position: relative;
    z-index: 10;
    line-height: 1.6;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-message {
    color: white;
    opacity: 0.95;
}

.agenda-surprise-message {
    color: #555;
}

/* Tema închisă: ambele texte clare pe fundal închis */
body.dark-mode .countdown-message {
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

body.dark-mode .agenda-surprise-message {
    color: rgba(255, 255, 255, 0.9);
}

.regulament-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Regulament + Countdown: centrare perfectă pe telefon */
@media (max-width: 640px) {
    #regulament.jury-section .container,
    #regulament .regulament-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #regulament .regulament-placeholder {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    .countdown-section .container {
        width: 100%;
    }
    /* Titlul countdown pe mobil: tot în laterala */
    .countdown-section .section-title {
        text-align: left;
        width: 100%;
    }
    .countdown-section .section-title .title-text,
    .countdown-section .section-title i {
        display: inline;
    }
    /* Textul "Pregătește-te. Momentul tău se apropie." rămâne centrat */
    .countdown-message {
        text-align: center;
        width: 100%;
    }
}

.jury-section .section-title,
.jury-section .regulament-content,
.jury-section .regulament-placeholder {
    text-align: center;
}

.regulament-placeholder {
    color: #666;
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Pe telefon: mesaj regulament mai compact */
@media (max-width: 640px) {
    .regulament-placeholder {
        font-size: 1rem;
        line-height: 1.45;
        margin: 0 auto;
        padding: 0 8px;
        max-width: 100%;
    }
}

body.dark-mode .regulament-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* ====== PARTNERS SECTION ====== */
.partners-section {
    padding: 100px 8%;
    background: white;
}

.partners-section-compact {
    padding-top: 60px;
}

.partners-section .section-title {
    white-space: nowrap;
}

.partner-cta-top {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.partner-cta-hero {
    padding: 14px 40px !important;
    font-size: 1rem !important;
    cursor: pointer;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.partner-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.partner-card:hover {
    transform: translateY(-10px);
    border-color: var(--vibrant-pink);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.15);
    background: white;
}

.partner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

/* Fine-tune transparent logos inside white circle */
.partner-logo img[src*="removebg-preview"] {
    width: 82%;
    height: 82%;
}

/* Per-logo micro alignment in white circle */
.partner-logo img[src*="adsuc-removebg-preview"] {
    width: 80%;
    height: 80%;
    transform: none;
}

.partner-logo img[src*="cjedolj"] {
    width: 78%;
    height: 78%;
    transform: translateX(1px);
}

.partner-logo img[src*="tvr-craiova-removebg-preview"] {
    width: 100%;
    height: 100%;
}

.partner-logo img[src*="interactcraiova-removebg-preview"] {
    width: 80%;
    height: 80%;
    transform: translateX(2px);
}

.partner-logo img[src*="radiomovamix-removebg-preview"] {
    width: 82%;
    height: 82%;
    transform: none;
    object-position: center;
}

/* OpenMinds Hub – logo centrat în chenarul circular, emblemul circular vizibil */
.partner-logo-openminds {
    overflow: hidden;
}
.partner-logo-openminds .partner-logo-img-openminds,
.partner-logo img[src*="OpenMinds"] {
    width: 95%;
    height: 95%;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0 auto;
    transform: translateX(2px);
}

.partner-card:hover .partner-logo {
    transform: scale(1.1) rotate(10deg);
}

.partner-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.partners-note {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

.partner-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.partner-cta-btn {
    padding: 14px 35px;
    cursor: pointer;
    font-size: 1rem;
}

/* ====== JURY SECTION ====== */
.jury-section {
    padding: 100px 8%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
}

.jury-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.jury-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--vibrant-pink);
}

.jury-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.15);
}

.jury-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--vibrant-pink), #d81b60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.2);
}

.jury-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.jury-role {
    color: var(--vibrant-pink);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
}

.jury-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.jury-animate {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* ====== FAQ SECTION ====== */
.faq-section {
    padding: 100px 8%;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 60px;
}

.faq-item {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8f4f8 100%);
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    gap: 12px;
    color: var(--primary);
    user-select: none;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e8f4f8 0%, #dae9f2 100%);
    color: var(--vibrant-pink);
}

.faq-icon {
    transition: transform 0.35s ease;
    color: var(--vibrant-pink);
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--vibrant-pink), #d81b60);
    color: white;
}

.faq-item.active .faq-icon {
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    background: white;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
    padding: 0 22px;
}

.faq-item.active .faq-answer {
    max-height: 260px;
    padding: 18px 22px;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ====== RESPONSIVE GALLERY & NEW SECTIONS ====== */
@media (max-width: 768px) {
    .misiune-section,
    .countdown-section,
    .agenda-section,
    .gallery-section,
    .faq-section,
    .hall-of-fame,
    .why-us,
    .testimonials-section,
    .partners-section,
    .jury-section {
        border-radius: 20px;
        margin: 10px 8px;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .gallery-text-side {
        position: static;
        top: auto;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-box {
        min-width: 90px;
        padding: 20px 15px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .jury-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-container {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .gallery-content-wrapper {
        grid-template-columns: 1fr;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-photo {
        aspect-ratio: 1;
    }
    
    .countdown-timer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .countdown-separator {
        display: none;
    }

    .countdown-box {
        min-width: unset;
        padding: 18px 10px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 0.9rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .nav-links { gap: 12px; }
    .hero-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .hero-section { padding: 100px 6% 40px; }
    .hero-title { font-size: 2.8rem; }
    .misiune-content { grid-template-columns: 1fr; gap: 50px; }
    .content-wrapper { grid-template-columns: 1fr; gap: 50px; }
    .stats-grid { grid-template-columns: 1fr; }
    .image-stack { height: 400px; }
    .footer-content {
        gap: 35px;
    }
    
    /* Hall of Fame Tablet */
    .hall-of-fame-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Why Us Tablet */
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 90px 5% 40px;
        min-height: auto;
    }
    .hero-title { font-size: 1.8rem; margin-bottom: 16px; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 20px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 12px 20px; font-size: 0.95rem; }
    .hero-image-container { max-width: 320px; margin: 0 auto; }
    .experience-badge { width: 90px; height: 90px; padding: 16px; right: -10px; bottom: 10px; }
    .experience-badge .edition { font-size: 0.65rem; }
    .experience-badge .status { font-size: 0.6rem; }
    .section-title { font-size: 1.6rem; }
    .section-subtitle { font-size: 0.9rem; }
    .stats-grid { grid-template-columns: 1fr; gap: 15px; }
    .image-stack { height: 350px; }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 50px 0;
    }

    /* Countdown mobile grid */
    .countdown-timer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 320px;
        margin: 0 auto;
    }
    .countdown-separator { display: none; }
    .countdown-box { min-width: unset; padding: 20px 12px; }
    .countdown-number { font-size: 2.2rem; }
    .countdown-label { font-size: 0.75rem; }

    /* Agenda table mobile */
    .table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .agenda-table { font-size: 0.85rem; min-width: 480px; }
    .agenda-table th, .agenda-table td { padding: 10px 8px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .testi-card { padding: 24px 18px; }

    /* Footer mobile */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
    }
    
    .footer-section {
        width: 100%;
        max-width: 300px;
    }

    .footer-brand .footer-logo-img {
        height: auto;
        max-height: 36px;
        max-width: calc(100vw - 80px);
        width: auto;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-nav .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-socials .socials-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact {
        text-align: center;
    }

    .footer-contact p {
        font-size: 0.85rem;
        word-break: break-all;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Hall of Fame mobile */
    .hall-of-fame-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fame-card {
        padding: 24px 16px;
    }

    .fame-content {
        text-align: left;
    }

    .fame-name {
        font-size: 1.4rem;
    }

    .fame-description {
        font-size: 0.9rem;
    }

    .fame-image-frame {
        height: 280px;
    }
    
    /* Why Us mobile */
    .why-us .section-title {
        font-size: 2rem;
    }

    .why-us .section-title i {
        font-size: 1.8rem;
    }

    .why-us .section-subtitle {
        font-size: 1rem;
        margin-bottom: 36px !important;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 28px 22px;
    }

    .why-icon {
        font-size: 3rem;
        margin-bottom: 16px;
    }

    .why-card h3 {
        font-size: 1.35rem;
    }

    .why-card p {
        font-size: 0.95rem;
    }

    /* Partners mobile */
    .partners-section .section-title {
        font-size: 1.8rem;
    }

    .partners-section .section-subtitle {
        font-size: 0.95rem;
    }

    .partner-cta-hero {
        padding: 12px 30px !important;
        font-size: 0.95rem !important;
    }

    /* Gallery mobile */
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gallery-stats {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 200px;
    }

    /* FAQ mobile */
    .faq-question {
        font-size: 0.95rem;
        padding: 14px 16px;
    }

    /* Misiune mobile */
    .misiune-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-item {
        flex-direction: row;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.5rem; }
    .section-title { font-size: 1.4rem; }
    .why-us .section-title { font-size: 1.8rem; }
    .hero-section::before { width: 300px; height: 300px; }
    .experience-badge { width: 80px; height: 80px; padding: 14px; }
    .experience-badge .edition { font-size: 0.6rem; }
    .experience-badge .status { font-size: 0.55rem; }
    
    .fame-image-frame {
        height: 250px;
    }

    .fame-name {
        font-size: 1.2rem;
    }

    .footer-brand .footer-logo-img {
        height: auto;
        max-height: 30px;
        max-width: calc(100vw - 60px);
    }
}

/* ======= MODAL STYLES ======= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.dark-mode .modal-content {
    background-color: var(--dark-bg);
    color: #ccc;
}

.modal-header {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

body.dark-mode .modal-header {
    color: var(--accent);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

body.dark-mode .modal-close {
    color: var(--accent);
}

.modal-body {
    margin-bottom: 30px;
}

/* Partner modal: spațiu clar pentru primul câmp și buton X vizibil */
#partnerModal .modal-content {
    padding-top: 56px;
    padding-right: 56px;
}

#partnerModal .modal-body {
    padding-top: 10px;
}

#partnerModal .form-group:first-child {
    margin-top: 0;
}

#partnerModal .form-group label {
    display: block;
    margin-bottom: 6px;
}

#partnerModal .form-group input,
#partnerModal .form-group select,
#partnerModal .form-group textarea {
    min-height: 44px;
    box-sizing: border-box;
}

#partnerModal .form-group input[type="text"],
#partnerModal .form-group input[type="email"],
#partnerModal .form-group input[type="tel"] {
    width: 100%;
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

body.dark-mode .form-group label {
    color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border-color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.required label::after {
    content: " *";
    color: #e91e63;
}

.form-group.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.form-group.checkbox-group input {
    width: auto;
    margin-top: 3px;
}

.form-group.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    flex: 1;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Devino Partener – pe telefon: mai aerisit, X (închidere) bine vizibil */
@media (max-width: 640px) {
    .modal.active {
        align-items: flex-start;
        padding: 20px 0 32px;
        overflow-y: auto;
    }
    #partnerModal .modal-content {
        width: 92%;
        max-width: none;
        max-height: none;
        min-height: 85vh;
        margin: auto;
        padding: 40px 24px 40px;
        padding-top: 56px;
        padding-right: 56px;
    }
    #partnerModal .modal-header {
        font-size: 1.45rem;
        margin-bottom: 28px;
        padding-right: 52px;
    }
    #partnerModal .modal-body {
        padding-top: 0;
        margin-bottom: 28px;
    }
    #partnerModal .form-group {
        margin-bottom: 28px;
    }
    #partnerModal .form-group label {
        margin-bottom: 10px;
        font-size: 1.02rem;
    }
    #partnerModal .form-group input,
    #partnerModal .form-group select,
    #partnerModal .form-group textarea {
        min-height: 52px;
        padding: 16px 18px;
        font-size: 1.02rem;
        border-radius: 12px;
    }
    #partnerModal .form-group textarea {
        min-height: 120px;
        padding: 16px 18px;
    }
    #partnerModal .form-group.checkbox-group {
        margin-bottom: 28px;
        gap: 16px;
    }
    #partnerModal .form-group.checkbox-group label {
        font-size: 0.98rem;
        line-height: 1.45;
    }
    /* X mai aproape de „Persoană Contact” ca să se vadă mai bine pe telefon */
    #partnerModal .modal-close {
        right: 16px;
        top: 54px;
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
        z-index: 10;
    }
    #partnerModal .modal-footer {
        flex-direction: column;
        gap: 14px;
        margin-top: 12px;
    }
    #partnerModal .modal-footer .btn-cancel,
    #partnerModal .modal-footer .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
    }
}

.btn-submit {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), #004d99);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel {
    padding: 12px 30px;
    background: #f0f0f0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

body.dark-mode .btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.btn-cancel:hover {
    background: #ddd;
}

body.dark-mode .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.form-error {
    color: #e91e63;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e91e63;
}

.form-group.error .form-error {
    display: block;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    display: none;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.success.active,
.alert.error.active {
    display: block;
}

body.dark-mode .alert.success {
    background: rgba(212, 237, 218, 0.2);
    color: #69f0ae;
    border-color: rgba(212, 237, 218, 0.3);
}

body.dark-mode .alert.error {
    background: rgba(248, 215, 218, 0.2);
    color: #ff6b6b;
    border-color: rgba(248, 215, 218, 0.3);
}

/* ====== SUCCESS MESSAGE FOR FORMS ====== */
.form-success-message {
    text-align: center;
    padding: 40px 20px;
    animation: slideInUp 0.5s ease-out;
}

.form-success-message .success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
    font-weight: bold;
    animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-success-message h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.form-success-message p {
    color: #666;
    font-size: 1rem;
    font-weight: 400;
}

body.dark-mode .form-success-message p {
    color: #ccc;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* ====== GALLERY SECTION ====== */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.02) 0%, rgba(233, 30, 99, 0.02) 100%);
}

.gallery-section .section-title {
    text-align: center;
    margin-bottom: 10px;
}

.gallery-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* Gallery Preview Grid */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
    margin-bottom: 50px;
    min-height: 350px;
}

/* Gallery Image Card */
.gallery-preview-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: block;
}

@media (hover: hover) {
    .gallery-preview-grid img:hover {
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }
}

/* Button Container */
.gallery-button-container {
    display: flex;
    justify-content: center;
    margin: 30px auto;
}

/* Gallery Button */
.gallery-button-container .btn-primary {
    padding: 16px 40px;
    font-size: 1.05rem;
    gap: 10px;
}

/* Gallery Stats */
.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--vibrant-pink));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Dark Mode - Gallery */
body.dark-mode .gallery-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.02) 0%, rgba(233, 30, 99, 0.02) 100%);
}

body.dark-mode .gallery-preview-grid img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (hover: hover) {
    body.dark-mode .gallery-preview-grid img:hover {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    }
}

body.dark-mode .stat-card {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .stat-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .stat-label {
    color: #FFD700;
}

body.dark-mode .partner-card h3 {
    color: #FFD700;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-button-container .btn-primary {
        width: 100%;
        max-width: 400px;
    }
    
    .gallery-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
        max-width: 100%;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

/* ====== LIGHTBOX MODAL ====== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.image-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.image-modal .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s ease-out;
}

.image-modal img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* Navigation Buttons */
.image-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 5001;
}

.image-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.image-modal .modal-prev,
.image-modal .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 5001;
}

/* Improve light-theme arrow visibility on bright images */
body:not(.dark-mode) .image-modal .modal-prev,
body:not(.dark-mode) .image-modal .modal-next,
body:not(.dark-mode) .image-modal .modal-close {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 215, 0, 0.85);
    color: #FFD700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.image-modal .modal-prev {
    left: 20px;
}

.image-modal .modal-next {
    right: 20px;
}

.image-modal .modal-prev:hover,
.image-modal .modal-next:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

/* Counter */
.image-modal .modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 5001;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tranziție smooth la schimbarea pozei în galerie (desktop + telefon) */
.image-modal #modalImage {
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;
}
.image-modal #modalImage.lightbox-fade {
    opacity: 0;
}

/* Responsive Lightbox - pe telefon: poze mai mari și mai smooth */
@media (max-width: 768px) {
    .image-modal .modal-content {
        max-width: 99%;
        max-height: 98vh;
        padding: 8px;
    }
    .image-modal img,
    .image-modal #modalImage {
        max-height: 92vh;
        width: auto;
        border-radius: 12px;
    }
    .image-modal.active {
        align-items: center;
        padding: 0;
    }
    .image-modal .modal-prev,
    .image-modal .modal-next {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    .image-modal .modal-prev {
        left: 8px;
    }
    .image-modal .modal-next {
        right: 8px;
    }
    .image-modal .modal-close {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        top: 12px;
        right: 12px;
    }
    .image-modal .modal-counter {
        bottom: 16px;
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* ====== HERO MOBILE CTA (only below gallery on mobile) ====== */
.hero-mobile-cta {
    display: none;
}

@media (max-width: 1024px) {
    .hero-mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, #E91E63, #d81b60);
        color: white;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1rem;
        text-decoration: none;
        padding: 13px 32px;
        border-radius: 50px;
        box-shadow: 0 8px 25px rgba(233, 30, 99, 0.35);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        letter-spacing: 0.02em;
    }

    .hero-mobile-cta:hover,
    .hero-mobile-cta:active {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(233, 30, 99, 0.5);
    }
}

/* ====== TELEFON: Hero cu toate butoanele centrate (Vezi Programul, Galerie Foto, Înscrie-te) ====== */
@media (max-width: 640px) {
    .hero-text-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-btns {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-secondary {
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-mobile-cta {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
        text-align: center;
    }

    /* Partenerii Ediției I: un rând pe telefon, scroll orizontal */
    .partners-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 20px;
        padding-bottom: 16px;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .partners-grid .partner-card {
        flex: 0 0 auto;
        width: 160px;
        min-width: 160px;
        scroll-snap-align: start;
        padding: 24px 16px;
    }
    .partners-grid .partner-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }
    .partners-grid .partner-card h3 {
        font-size: 0.9rem;
    }
    /* Linie roșie sub primul partener – indică că se poate da scroll */
    .partners-grid .partner-card:first-child {
        box-shadow: inset 0 -4px 0 0 #E91E63;
    }

    /* Misiune: cardurile rămân pe lateral (icon stânga, text dreapta) pe telefon */

    /* Hero: cele 3 casete (Vezi Programul, Galerie Foto, Înscrie-te) centrate, icon + text aliniate la fel */
    .hero-text-box {
        align-items: center;
        width: 100%;
    }
    .hero-btns .btn-primary,
    .hero-btns .btn-secondary,
    .hero-mobile-cta {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0;
        text-align: center;
        position: relative;
        padding-left: 50px;
        padding-right: 24px;
    }
    .hero-btns .btn-primary i,
    .hero-btns .btn-secondary i,
    .hero-mobile-cta i {
        position: absolute;
        left: 22px;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        text-align: center;
        margin: 0;
        flex-shrink: 0;
    }
    .hero-mobile-cta .hero-mobile-cta-text {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* ====== SCROLL PROGRESS BAR ====== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #FFD700 0%, #E91E63 60%, #FFD700 100%);
    background-size: 200% 100%;
    z-index: 99997;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(233, 30, 99, 0.2);
    animation: progressGlow 3s linear infinite;
    transition: width 0.08s linear;
}

@keyframes progressGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ====== BACK TO TOP BUTTON ====== */
.back-to-top {
    position: fixed;
    bottom: 36px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: #FFD700;
    color: #003366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    z-index: 8000;
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 18px rgba(255, 215, 0, 0.35);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: #003366;
    color: #FFD700;
    box-shadow: 0 6px 28px rgba(255, 215, 0, 0.55);
    transform: translateY(-4px) scale(1.08);
}

.back-to-top:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 24px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
}

/* ====== SECTION NAVIGATION DOTS ====== */
.section-dots {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 11px;
    z-index: 7500;
    list-style: none;
}

.section-dot {
    position: relative;
    width: 10px;
    height: 10px;
    background: rgba(0, 51, 102, 0.2);
    border: 2px solid rgba(0, 51, 102, 0.3);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.section-dot.active {
    background: #FFD700;
    border-color: #FFD700;
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.65), 0 0 20px rgba(255, 215, 0, 0.25);
}

.section-dot:hover:not(.active) {
    background: rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.8);
    transform: scale(1.15);
}

.dot-tooltip {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(6px);
    color: #FFD700;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.section-dot:hover .dot-tooltip {
    opacity: 1;
}

body.dark-mode .section-dot {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

body.dark-mode .section-dot.active {
    background: #FFD700;
    border-color: #FFD700;
}

body.dark-mode .dot-tooltip {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

@media (max-width: 900px) {
    .section-dots {
        display: none;
    }
}

/* ====== PREMIUM MOTION POLISH (AWWWARDS) ====== */
body.home-immersive section {
    position: relative;
}

/* Section separators (between sections) */
body.home-immersive section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 58px;
    pointer-events: none;
    opacity: var(--sepO, 0.75);
    background:
        radial-gradient(65% 120% at 50% 0%,
            rgba(255, 215, 0, 0.22) 0%,
            rgba(233, 30, 99, 0.10) 38%,
            rgba(255, 255, 255, 0) 70%
        ),
        linear-gradient(90deg,
            rgba(255, 215, 0, 0) 0%,
            rgba(255, 215, 0, 0.25) 30%,
            rgba(233, 30, 99, 0.18) 55%,
            rgba(255, 215, 0, 0) 100%
        );
    background-size: 120% 100%, 240% 100%;
    background-position: 50% 50%, var(--sepX, 0%) 50%;
    filter: blur(0.2px);
    transform: translateY(50%);
}

body.dark-mode.home-immersive section::after {
    opacity: var(--sepO, 0.55);
    background:
        radial-gradient(65% 120% at 50% 0%,
            rgba(255, 215, 0, 0.18) 0%,
            rgba(233, 30, 99, 0.10) 40%,
            rgba(0, 0, 0, 0) 70%
        ),
        linear-gradient(90deg,
            rgba(255, 215, 0, 0) 0%,
            rgba(255, 215, 0, 0.22) 32%,
            rgba(233, 30, 99, 0.16) 55%,
            rgba(255, 215, 0, 0) 100%
        );
}

/* Section titles: static display (no shimmer / gradient / icon glow) */
body.home-immersive .section-title .title-text,
body.home-immersive .hall-title-inner.title-text {
    display: inline;
    background: none;
    -webkit-text-fill-color: unset;
    color: inherit;
    animation: none;
}

.hall-title-inner i,
.hall-title-inner.title-text i {
    -webkit-text-fill-color: initial;
    background: none;
    color: var(--vibrant-pink);
    margin-right: 8px;
    animation: sectionIconGlow 2.5s ease-in-out infinite alternate;
}
body:not(.dark-mode) .hall-title-inner i,
body:not(.dark-mode) .hall-title-inner.title-text i {
    animation: sectionIconGlowSoft 2.5s ease-in-out infinite alternate;
}
body.dark-mode .hall-title-inner i,
body.dark-mode .hall-title-inner.title-text i {
    color: #FFD700;
}

/* Touch feedback (tap ripple + press) */
.tap-feedback {
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.tap-feedback.is-pressed {
    transform: scale(0.985);
}

.tap-ripple {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.9;
    background: radial-gradient(circle,
        rgba(255, 215, 0, 0.55) 0%,
        rgba(233, 30, 99, 0.25) 35%,
        rgba(255, 255, 255, 0) 70%
    );
    animation: tapRipple 650ms ease-out forwards;
}

@keyframes tapRipple {
    to {
        transform: translate(-50%, -50%) scale(2.25);
        opacity: 0;
    }
}

/* Reduced motion: disable added motion polish */
@media (prefers-reduced-motion: reduce) {
    body.home-immersive section::after {
        display: none;
    }

    .tap-ripple {
        animation: none !important;
        opacity: 0 !important;
    }
}
