@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #8E9CFF;
    --primary-light: #C7CEFF;
    --primary-dark: #6F7CDB;

    --secondary: #FFB4C8;
    --secondary-light: #FFD6E2;
    --secondary-dark: #FF8BA7;

    --accent-cyan: #B8F1E3;
    --accent-gold: #FFE7A1;
    --accent-purple: #A06CD5;

    --bg-white: #FFFFFF;
    --bg-soft: #F7F8FC;
    --bg-glass: rgba(255, 255, 255, 0.7);

    --border-color: #E2E5F1;

    --text-main: #2D3748;
    --text-strong: #1A202C;
    --text-muted: #718096;
    --text-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --line-height-loose: 1.6;

    /* Spacing & Radius */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --section-padding: 100px;

    /* Shadows & Glass */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 10px 40px -10px rgba(142, 156, 255, 0.15);
    --shadow-hover: 0 25px 50px -12px rgba(142, 156, 255, 0.25);
    --shadow-nav: 0 4px 30px rgba(0, 0, 0, 0.03);

    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --blur: blur(16px);

    /* Animation Easing */
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: var(--line-height-loose);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;

    /* Full-page seamless gradient background */
    background:
        linear-gradient(180deg,
            rgba(255, 214, 226, 0.4) 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(142, 156, 255, 0.15) 60%,
            rgba(255, 255, 255, 0) 85%,
            rgba(184, 241, 227, 0.2) 100%);
    background-attachment: fixed;
    background-color: #F7F8FC;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-strong);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 5px;
    border: 2px solid var(--bg-soft);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Color */
::selection {
    background: var(--primary-light);
    color: var(--text-strong);
}

/* Scroll Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 9999;
    background: transparent;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    box-shadow: 0 0 10px rgba(142, 156, 255, 0.5);
    border-radius: 0 2px 2px 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* ... (rest preserved in ReplacementContent) */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-back);
    z-index: 999;
    color: var(--primary);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-8px);
    background: var(--primary);
    color: white;
    box-shadow: 0 15px 35px rgba(142, 156, 255, 0.4);
}

.container {
    padding: 0 5%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.center-mx {
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Section Spacing Helpers */
.section-highlight {
    padding: 4rem 2rem;
    margin: 3rem auto;
    /* Changed from 3rem 0 to 3rem auto to preserve centering */
}

.section+.section {
    margin-top: 0;
}

/* Reduce gap between facilities and social section */
.section:last-of-type {
    padding-top: 3rem;
}

.bg-soft {
    background: rgba(248, 249, 254, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.shadow-lg {
    box-shadow: var(--shadow-hover);
}

/* Grid Systems */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-dark), var(--secondary-dark), var(--primary-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* Ensures background wraps text properly */
    animation: gradientFlow 5s linear infinite;
    /* Adds life and prevents static cut-off perception */
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.hover-scale {
    transition: transform 0.4s var(--ease-out-back);
}

.hover-scale {
    transition: transform 0.4s var(--ease-out-back);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-nav);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
}

.logo-year {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-strong);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
    transition: width 0.3s var(--ease-out-back);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: transparent;
    /* Changed to transparent to show seamless body gradient */
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.badge-new {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(142, 156, 255, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #1A202C 30%, var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

/* Hero Title with Logo Image */
.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.hero-logo-img {
    max-width: 500px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(142, 156, 255, 0.3));
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(1deg);
    }

    75% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

.hero-year-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--accent-gold), #FFD54F);
    color: #1A202C;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 213, 79, 0.4);
    letter-spacing: 2px;
    animation: badgePop 0.6s var(--ease-out-back) 0.5s both;
    transition: all 0.3s ease;
}

.hero-year-badge:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 12px 35px rgba(255, 213, 79, 0.6);
}

@keyframes badgePop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Page Header (For sub-pages) */
.page-header {
    background-size: cover;
    background-position: center;
    padding: 180px 0 80px;
    text-align: center;
    border-radius: 0 0 60px 60px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.25) 20%,
            transparent 50%,
            rgba(255, 255, 255, 0.4) 100%);
    z-index: 1;
}

.header-character {
    position: absolute;
    bottom: -20px;
    right: 5%;
    width: 220px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
    animation: floating 5s infinite ease-in-out;
    opacity: 0.9;
    z-index: 3;
}

@media (max-width: 768px) {
    .header-character {
        width: 140px;
        bottom: -10px;
        right: 2%;
        opacity: 0.8;
    }
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Event Details Bar */
.event-details-bar {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-strong);
    white-space: nowrap;
}

.detail-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

.detail-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: revealAnim 0.8s var(--ease-out-back) forwards;
}

@keyframes revealAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.floating-elements {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-elements img {
    position: absolute;
    animation: floating 6s ease-in-out infinite;
    pointer-events: none;
}

.item-cloud-1 {
    top: 15%;
    left: 5%;
    width: 200px;
    opacity: 0.6;
    animation-duration: 20s;
}

.item-cloud-2 {
    top: 40%;
    right: -5%;
    width: 250px;
    opacity: 0.6;
    animation-duration: 25s;
    animation-direction: reverse;
}

.item-1 {
    top: 20%;
    right: 10%;
    width: 120px;
    animation-delay: 1s;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    /* Added gap for icon spacing */
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(142, 156, 255, 0.5);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(142, 156, 255, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--text-strong);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-soft);
    border-color: var(--primary-light);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

/* Description Section */
.event-banner-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.description-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
}

.lead {
    font-size: 1.15rem;
    color: var(--text-strong);
    line-height: 1.8;
}

/* Glass Card Generic */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-soft);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Lineup */
.lineup-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lineup-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.image-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--bg-soft);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.artist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lineup-card:hover .artist-img {
    transform: scale(1.1);
}

.artist-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.facility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--ease-out-back);
    text-align: center;
}

.facility-item img {
    width: 56px;
    height: 56px;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.facility-item:hover img {
    transform: scale(1.15) rotate(-5deg);
}

.facility-item p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-strong);
}

.facility-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
    background: linear-gradient(135deg, white, var(--bg-soft));
}

/* CTA Card (Social Media Section) */
.cta-card {
    padding: 3rem 2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 248, 252, 0.95));
    border: 2px solid rgba(142, 156, 255, 0.2);
}

.cta-card h2 {
    margin-bottom: 0.5rem;
}

.cta-card p {
    margin-bottom: 0;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-social {
    padding: 12px 24px;
    color: white;
    font-size: 1rem;
    border-radius: 50px;
    gap: 0.5rem;
}

.btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 10px 20px -5px rgba(214, 36, 159, 0.4);
}

.btn-tiktok {
    background: #000000;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.btn-social:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Accordion (FAQ) */
.accordion-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(142, 156, 255, 0.05);
    padding-left: 2.25rem;
}

.accordion-item.active .accordion-header span {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accordion-header i {
    transition: transform 0.4s var(--ease-out-back);
    color: var(--text-muted);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    background: rgba(247, 248, 252, 0.5);
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.accordion-content.active {
    max-height: 500px;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    opacity: 1;
}

/* Form Styles (Contact) */
.input-group {
    margin-bottom: 1.5rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    margin-top: 5rem;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(142, 156, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(142, 156, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(142, 156, 255, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Guest Star Grid Layout */
.guest-star-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    width: 100%;
    margin-top: 2rem;
}

.guest-star-character {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    /* Slightly wider to ensure breathing room */
}

/* Ensure no other styles interfere */
.guest-star-character.show-on-desktop {
    display: flex !important;
}

.guest-star-character img {
    width: 180px;
    height: auto;
}

@media (max-width: 900px) {
    .guest-star-grid {
        flex-direction: column;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .guest-star-character {
        width: auto;
    }

    .guest-star-character img {
        width: 140px;
    }
}

/* Mobile Responsive Overrides */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    /* Typography */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Navigation - Glassmorphism Mobile */
    .navbar {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 0.75rem 1rem;
    }

    /* Logo adjustments for mobile */
    .logo-img {
        height: 35px;
    }

    .logo-year {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 2.5rem 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 1.75rem;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
        transform: translateY(-20%);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        visibility: hidden;
        opacity: 0;
    }

    .nav-menu.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    /* Hero Logo Image responsive */
    .hero-logo-img {
        max-width: 320px;
    }

    .hero-year-badge {
        font-size: 1.5rem;
        padding: 10px 24px;
    }

    /* Grids & Layouts */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* Guest Star Grid - Stack vertically */
    .guest-star-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .guest-star-character img {
        width: 140px !important;
        margin: 1rem 0;
    }

    .show-on-desktop {
        display: none !important;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .event-details-bar {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        border-radius: 20px;
        gap: 1rem;
        padding: 1.5rem;
    }

    .detail-divider {
        display: none;
    }

    /* Cards */
    .glass-card,
    .lineup-card,
    .description-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    /* Tentang Acara Section - Center on mobile */
    .event-description {
        text-align: center;
    }

    .event-description .gradient-text {
        text-align: center;
    }

    /* Extra spacing for Guest Star section on mobile */
    .section-highlight {
        margin-top: 5rem !important;
        padding-top: 4rem !important;
    }

    /* Maps - Fixed height on mobile */
    iframe {
        position: relative !important;
        height: 300px !important;
        width: 100% !important;
        border-radius: var(--radius-lg);
    }

    /* Contact Page Specific Fixes */
    .grid-2-contact {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .grid-2-contact>div {
        width: 100% !important;
        min-height: auto !important;
    }

    .grid-2-contact>div:first-child {
        padding: 2rem !important;
    }

    .grid-2-contact>div:last-child {
        position: relative !important;
        height: 300px !important;
    }

    /* General padding */
    .container {
        padding: 0 1.5rem;
    }

    .floating-elements {
        display: none;
    }
}

/* Sparkle Cursor */
.sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: sparkleFade 0.8s ease-out forwards;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

@keyframes sparkleFade {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: scale(0) translate(var(--tx), var(--ty));
        opacity: 0;
    }
}

/* Confetti Particle */
.confetti-particle {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: 9999;
    pointer-events: none;
    animation: confettiFall 1s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) rotate(var(--r));
        opacity: 0;
    }
}

/* Seamless Page Transition - Sticky Navbar */
/* When exiting, fade everything BUT the navbar */
body.exiting>*:not(nav):not(.back-to-top):not(.sparkle) {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ensure Navbar stays put */
body.exiting nav {
    opacity: 1;
    transform: none;
    pointer-events: none;
    /* Prevent clicks during transition */
}

/* New "Cute Pill" Active State for Navbar */
/* Overriding previous underline styles */
.nav-link::after {
    display: none;
}

.nav-menu {
    gap: 1rem;
    /* Adjust gap for pills */
}

.nav-link {
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--primary);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-light), white);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(142, 156, 255, 0.2);
    font-weight: 600;
}