/* ==========================================
   MOONLIT LANTERN CORE - DESIGN SYSTEM
   ========================================== */

:root {
    /* Color Palette */
    --bg-primary: #070b16;         /* Midnight Void Blue */
    --bg-secondary: #111a2e;       /* Deep Moon Indigo */
    --bg-tertiary: #1c2742;        /* Night Horizon Layer */
    
    /* Gradients */
    --accent-gold: linear-gradient(135deg, #ffb347, #ffd86a);
    --accent-gold-glow: rgba(255, 179, 71, 0.45);
    
    --accent-silver: linear-gradient(135deg, #e6f0ff, #ffffff);
    --accent-silver-glow: rgba(230, 240, 255, 0.30);
    
    --accent-purple: linear-gradient(135deg, #7a5cff, #c6b3ff);
    --accent-purple-glow: rgba(122, 92, 255, 0.35);

    /* Text Colors */
    --text-primary: #fff8ee;
    --text-secondary: #e8dcc7;
    --text-muted: #a6a0b3;

    /* Fonts */
    --font-headline: 'Cinzel Decorative', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(30px);
    --glass-border: 1px solid rgba(255, 200, 120, 0.16);
    --glass-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 200, 120, 0.08);

    /* Containers */
    --container-width: 1380px;
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button, input, textarea {
    font-family: inherit;
    background: none;
    border: none;
    color: inherit;
}

button {
    cursor: pointer;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #ffb34733;
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ==========================================
   AMBIENT BACKGROUND SYSTEM
   ========================================== */
.lantern-sky-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 10%, #1c2742 0%, #070b16 70%);
}

/* Cinematic Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}
.glow-orb-1 {
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ffb347, transparent);
}
.glow-orb-2 {
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7a5cff, transparent);
}
.glow-orb-3 {
    top: 40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ffd86a, transparent);
}

/* Floating Lantern Animation */
.floating-lantern {
    position: absolute;
    bottom: -100px;
    width: 14px;
    height: 22px;
    background: radial-gradient(circle at 50% 40%, #ffd86a 40%, #ff8c00 100%);
    box-shadow: 0 0 25px #ffd86a, 0 0 45px #ff8c00;
    border-radius: 6px 6px 15px 15px;
    opacity: 0.8;
    transform: scale(var(--scale));
    animation: drift var(--speed) linear infinite;
    animation-delay: var(--delay);
}
.floating-lantern::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 45%;
    width: 1px;
    height: 8px;
    background: #ff8c00;
    opacity: 0.7;
}

@keyframes drift {
    0% {
        transform: translateY(0) rotate(0deg) scale(var(--scale));
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-110vh) rotate(45deg) scale(var(--scale));
        opacity: 0;
    }
}

/* ==========================================
   HEADER / LANTERN SKY NAVIGATION
   ========================================== */
.lantern-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 1.5rem 1rem;
    background: rgba(7, 11, 22, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 200, 120, 0.08);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    border-radius: 30px;
    padding: 0.75rem 2rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 2.2rem;
    animation: pulseGlow 3s ease-in-out infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-family: var(--font-headline);
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff8ee;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 179, 71, 0.4);
}

.logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px #ffb347;
}

.nav-link:hover, .nav-link.active {
    color: #fff8ee;
    text-shadow: 0 0 8px rgba(255, 216, 106, 0.5);
}

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

/* ==========================================
   BUTTONS SYSTEM
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 22px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--accent-gold);
    color: #070b16;
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 71, 0.7);
}

.btn-silver {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff8ee;
    backdrop-filter: blur(10px);
}

.btn-silver:hover {
    background: #fff8ee;
    color: #070b16;
    box-shadow: 0 8px 20px var(--accent-silver-glow);
    transform: translateY(-2px);
}

/* Shimmer Sweep Animation */
.shimmer-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    transition: none;
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    0% { left: -60%; }
    15% { left: 130%; }
    100% { left: 130%; }
}

/* ==========================================
   VIEWS ARCHITECTURE
   ========================================== */
.app-view {
    display: none;
    max-width: var(--container-width);
    margin: 2rem auto;
    padding: 0 1.5rem;
    animation: viewFadeIn 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.app-view.active {
    display: block;
}

@keyframes viewFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding: 4rem 0;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ffd86a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #ffd86a;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffd86a;
    animation: pulseGlow 1.5s infinite;
}

.hero-headline {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff8ee 0%, #ffd86a 50%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(255, 179, 71, 0.15);
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-disclaimer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.age-tag {
    font-family: var(--font-mono);
    color: #070b16;
    background: var(--accent-gold);
    padding: 0.2rem 0.6rem;
    font-weight: 700;
    border-radius: 4px;
}

.hero-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.ambient-moon {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #fff8ee 20%, transparent 70%);
    opacity: 0.25;
    border-radius: 50%;
    filter: blur(20px);
}

.hero-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 1s ease;
}

.hero-visual-container:hover .hero-illustration {
    transform: scale(1.05);
}

.hero-visual-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(17, 26, 46, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-visual-card .card-icon {
    font-size: 2rem;
}

.hero-visual-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff8ee;
}

.hero-visual-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 4rem 0;
}

.stat-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 179, 71, 0.4);
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    color: #ffd86a;
    text-shadow: 0 0 10px rgba(255, 216, 106, 0.3);
    margin-bottom: 0.5rem;
}

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

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-preview {
    padding: 4rem 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffd86a;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    color: #fff8ee;
    text-shadow: 0 0 30px rgba(255, 248, 238, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 179, 71, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 179, 71, 0.08);
    border-color: rgba(255, 179, 71, 0.3);
}

.feat-icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    line-height: 1;
}

.feature-card h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff8ee;
}

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

/* ==========================================
   GAME CENTER SECTION (LANTERN SLOT)
   ========================================== */
.game-container-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.game-category {
    font-size: 0.85rem;
    color: #ffd86a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.game-title {
    font-family: var(--font-headline);
    font-size: 2.8rem;
    color: #fff8ee;
    line-height: 1.1;
}

.game-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.meta-btn {
    background: rgba(255, 179, 71, 0.15);
    border: 1px solid rgba(255, 179, 71, 0.3);
    color: #ffd86a;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.meta-btn:hover {
    background: var(--accent-gold);
    color: #070b16;
}

.game-frame-wrapper {
    position: relative;
    width: 100%;
    border-radius: 34px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(255,179,71,0.2) 0%, rgba(28,39,66,0.3) 50%, rgba(122,92,255,0.2) 100%);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 179, 71, 0.1);
}

.frame-ambient-glow {
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    background: radial-gradient(circle, rgba(255,179,71,0.1), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.game-iframe-holder {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 28px;
    overflow: hidden;
}

.main-game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.frame-footer-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(17, 26, 46, 0.9);
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.left-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulseGlow 2s infinite;
}

.status-txt {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.right-controls {
    display: flex;
    gap: 0.75rem;
}

.control-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.control-icon-btn:hover {
    background: rgba(255, 179, 71, 0.2);
    border-color: #ffb347;
    color: #ffd86a;
}

.quick-legend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.legend-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.legend-icon {
    font-size: 2.2rem;
}

.legend-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #fff8ee;
}

.legend-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   FESTIVAL PAGE STYLE
   ========================================== */
.festival-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.main-heading {
    font-family: var(--font-headline);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff8ee;
}

.description-para {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.festival-banner-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 380px;
    box-shadow: var(--glass-shadow);
    border: var(--glass-border);
}

.fest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.fest-block {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fest-num {
    font-family: var(--font-mono);
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 179, 71, 0.3);
}

.fest-details h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #fff8ee;
}

.fest-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================
   EXPERIENCES SECTION
   ========================================== */
.experience-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.realm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.realm-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: transform 0.3s ease;
}

.realm-card:hover {
    transform: translateY(-5px);
}

.realm-img-holder {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.realm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.realm-card:hover .realm-img {
    transform: scale(1.05);
}

.realm-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(7, 11, 22, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 179, 71, 0.3);
    color: #ffd86a;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.realm-text {
    padding: 2rem 1.5rem;
}

.realm-text h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #fff8ee;
}

.realm-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   CONTACT PAGE STYLE
   ========================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    padding: 3rem 0;
}

.contact-info-panel h2 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff8ee;
}

.contact-info-panel p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.c-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.c-icon {
    font-size: 1.5rem;
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-text strong {
    color: #ffd86a;
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.c-text p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Form Styles */
.glass-form {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 3rem;
    border-radius: 28px;
    box-shadow: var(--glass-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(7, 11, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: #fff8ee;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ffb347;
    background: rgba(7, 11, 22, 0.9);
    box-shadow: 0 0 15px rgba(255, 179, 71, 0.15);
}

.w-full {
    width: 100%;
}

.form-success-alert {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
}

.form-success-alert h4 {
    color: #4ade80;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.form-success-alert p {
    color: var(--text-secondary);
}

/* ==========================================
   FOOTER SYSTEM
   ========================================== */
.lantern-footer {
    position: relative;
    background: #060912;
    border-top: 1px solid rgba(255, 179, 71, 0.15);
    padding: 5rem 1.5rem 2rem 1.5rem;
    overflow: hidden;
    margin-top: 6rem;
}

.footer-top-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffb347, transparent);
    box-shadow: 0 0 20px #ffb347;
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-brand h4 {
    font-family: var(--font-headline);
    font-size: 1.4rem;
    color: #fff8ee;
}

.brand-pitch {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.disclaimer-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-18-badge {
    border: 1px solid #ffd86a;
    color: #ffd86a;
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.disclaimer-mini span:last-child {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-col h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #fff8ee;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: #ffb347;
    padding-left: 4px;
}

.hq-address {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hq-mail {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffd86a;
}

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================
   MODAL SYSTEMS (GLASSMORPHISM POPUPS)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 15, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: rgba(17, 26, 46, 0.9);
    border: 1px solid rgba(255, 200, 120, 0.2);
    border-radius: 28px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 179, 71, 0.1);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-header h2 {
    font-family: var(--font-headline);
    font-size: 1.4rem;
    color: #fff8ee;
}

.close-modal-btn {
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.close-modal-btn:hover {
    color: #ffb347;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.modal-body h3 {
    color: #ffd86a;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-badge {
    background: var(--accent-gold);
    color: #070b16;
    font-family: var(--font-mono);
    font-weight: 700;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================
   MOBILE INTERFACE & NAVIGATION
   ========================================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    justify-content: center;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff8ee;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Slide-out Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 11, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1500;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-inner {
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: #111a2e;
    border-left: 1px solid rgba(255, 179, 71, 0.15);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-close {
    align-self: flex-end;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.mobile-menu-brand h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 1.15rem;
}

.mobile-nav-links a {
    color: var(--text-secondary);
}

.mobile-nav-links a:hover {
    color: #ffb347;
}

.mobile-menu-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.mobile-menu-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.mobile-menu-footer .age-badge {
    display: inline-block;
    border: 1px solid #ffd86a;
    color: #ffd86a;
    font-weight: bold;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 179, 71, 0.4));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 15px rgba(255, 179, 71, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 179, 71, 0.4));
    }
}

/* ==========================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================== */
@media (max-width: 1200px) {
    .hero-headline {
        font-size: 2.8rem;
    }
    .hero-section {
        gap: 2rem;
    }
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .desktop-nav, .header-cta {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .features-grid, .realm-grid, .festival-blocks {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .quick-legend {
        grid-template-columns: 1fr;
    }
    .festival-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .app-view {
        margin: 1rem auto;
    }
    .hero-headline {
        font-size: 2.2rem;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .glass-form {
        padding: 2rem 1.5rem;
    }
    .modal-card {
        max-height: 90vh;
    }
}