:root {
    --bg-dark-primary: #0d0c16;
    --bg-dark-secondary: #201726;
    --bg-card: rgba(24, 18, 31, 0.75);

    --accent-pink: #dc9abf;
    --accent-yellow: #dde991;
    --accent-green: #348977;
    --accent-cyan: #5ba6b7;

    --text-primary: #ffffff;
    --text-secondary: #e8e8e8;
    --text-muted: #a09cb0;

    --gradient-gold-pink: linear-gradient(180deg, #dc9abf 0%, #dde991 100%);
    --gradient-body: linear-gradient(180deg, #050710 0%, #150f1d 50%, #201726 100%);
    --gradient-card-border: linear-gradient(180deg, rgba(220, 154, 191, 0.4), rgba(221, 233, 145, 0.4));
    --gradient-button: linear-gradient(180deg, #050710, #201726);
    --gradient-button-secondary: linear-gradient(90deg, #5ba6b7, #348977);
    --gradient-text: linear-gradient(180deg, #dc9abf, #dde991, #dc9abf);

    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Gabarito', sans-serif;
    --font-sans: 'Inter', sans-serif;

    --shadow-glow-pink: 0px 4px 50px rgba(220, 154, 191, 0.25);
    --shadow-glow-yellow: 0px 4px 50px rgba(221, 233, 145, 0.25);
    --shadow-inset: inset 0px 4px 4px rgba(0, 0, 0, 0.4);

    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --radius-xl: 35px;

    --transition-fast: 0.25s ease;
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    width: 100%;
    min-height: 100vh;
    background: #0d0c16;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-family: (--font-main);
    background: rgba(5, 7, 16, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(220, 154, 191, 0.15);
    transition: var(--transition-fast);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    width: 196px;
}

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

.nav-menu-pills {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.75rem;
    background: rgba(20, 15, 30, 0.6);
    border: 1px solid rgba(220, 154, 191, 0.3);
    padding: 0.35rem 0.6rem;
    border-radius: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-arrow {
    font-size: 0.7rem;
    opacity: 0.75;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(220, 154, 191, 0.2);
}

.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    min-width: 160px;
    background: rgba(18, 14, 28, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(220, 154, 191, 0.3);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(220, 154, 191, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* Delay only on close so the dropdown lingers before fading out */
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.4s,
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.4s,
        visibility 0s linear 0.65s;
    z-index: 1050;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -18px;
    /* tall invisible bridge covering the gap */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(18, 14, 28, 0.85);
    border-left: 1px solid rgba(220, 154, 191, 0.3);
    border-top: 1px solid rgba(220, 154, 191, 0.3);
}

/* Invisible hover bridge so mouse traveling from link → dropdown
   doesn't accidentally trigger the close delay */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 18px;
    /* matches the gap between link and dropdown */
}

.nav-item-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    /* No delay when opening — shows instantly */
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        visibility 0s linear 0s;
}

.dropdown-content a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    color: #ffffff;
    background: rgba(220, 154, 191, 0.25);
    transform: translateX(4px);
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-signup {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.4rem;
    border-radius: 25px;
    background: linear-gradient(90deg, #5ba6b7, #348977);
    box-shadow: 0px 4px 15px rgba(91, 166, 183, 0.3);
    transition: var(--transition-fast);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(91, 166, 183, 0.45);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
}

.btn-user-profile {
    text-decoration: none;
    background: linear-gradient(135deg, #5ba6b7 0%, #348977 100%);
    color: #ffffff;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.45rem 1.25rem;
    border-radius: 25px;
    box-shadow: 0px 4px 15px rgba(91, 166, 183, 0.3);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-user-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(91, 166, 183, 0.5);
    color: #ffffff;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 6.5rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    perspective: 1000px;
}

.hero-bg-layer {
    position: absolute;
    top: -12.5%;
    left: 5px;
    width: 100%;
    z-index: 1;
    opacity: 0.85;
    pointer-events: none;
    animation: heroBgFadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 5;
    animation: heroBgPulse 10s ease-in-out infinite alternate;
}

.hero-wings {
    position: absolute;
    top: 10%;
    z-index: 2;
    pointer-events: none;
    max-width: 32vw;
    will-change: transform;
}

.wing-left {
    left: -2%;
    animation: wingLeftEnter 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s backwards;
}

.wing-right {
    right: -2%;
    animation: wingRightEnter 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s backwards;
}

.wing-left img {
    animation: floatWingLeft 5s ease-in-out infinite alternate 1.4s;
}

.wing-right img {
    animation: floatWingRight 5s ease-in-out infinite alternate 1.4s;
}

.hero-wings img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.4));
    transition: filter 0.3s ease;
}

.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    top: 60px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    max-width: 1.5rem auto;
    padding: 0 1rem;
}

.sub-event-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: badgeDropIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards, badgeFloat 4s ease-in-out infinite alternate 1.2s;
    will-change: transform;
}

.sub-event-pill-text {
    width: 268px;
    height: auto;
    position: relative;
    object-fit: cover;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(220, 154, 191, 0.3));
}

.sub-event-pill-text img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-heading-gerigi-img {
    width: 125px;
    height: auto;
    top: -50px;
    left: -35px;
    position: absolute;
    z-index: 1;
    animation: spin 6s linear infinite;
    filter: drop-shadow(0 0 12px rgba(221, 233, 145, 0.6));
}

.hero-title-wrapper {
    width: 100%;
    max-width: 568px;
    animation: heroLogoPop 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s backwards;
    will-change: transform;
}

.hero-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 8px 30px rgba(220, 154, 191, 0.35));
    animation: heroLogoFloat 4.5s ease-in-out infinite alternate 1.4s;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.hero-button-container {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 0.5rem;
    animation: buttonsRiseUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s backwards;
}

.hero-button,
.hero-button-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 52px;
    gap: 8px;
    text-decoration: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) inset, 0px 2px 30px rgba(221, 233, 145, 0.3);
    transition: var(--transition-fast), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-button::after,
.hero-button-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: buttonShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

.hero-button-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    background: var(--gradient-button);
    border: 1px solid rgba(220, 154, 191, 0.35);
    border-radius: 15px;
}

.hero-button-text {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: var(--gradient-gold-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-button-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    background: var(--gradient-gold-pink);
    border: 1px solid rgba(220, 154, 191, 0.35);
    border-radius: 15px;
}

.hero-button-cta-text {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-button:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3) inset, 0px 6px 45px rgba(221, 233, 145, 0.6);
}

.hero-button-cta:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3) inset, 0px 6px 45px rgba(220, 154, 191, 0.6);
}

.hero-podium-wrapper {
    position: relative;
    z-index: 0;
    width: 100%;
    max-width: 1050px;
    top: 40px;
    display: flex;
    justify-content: center;
    animation: podiumRise 1.1s cubic-bezier(0.25, 1, 0.5, 1) 0.5s backwards;
    will-change: transform;
}

.hero-podium-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    animation: podiumPulse 5s ease-in-out infinite alternate 1.6s;
}

/* Keyframe Animations for Hero Section */
@keyframes heroBgFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0.85;
        transform: scale(1);
    }
}

@keyframes heroBgPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.03);
    }
}

@keyframes wingLeftEnter {
    0% {
        opacity: 0;
        transform: translateX(-80px) rotate(-5deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes wingRightEnter {
    0% {
        opacity: 0;
        transform: translateX(80px) rotate(5deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes floatWingLeft {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(-1.5deg);
    }

    100% {
        transform: translateY(6px) rotate(1deg);
    }
}

@keyframes floatWingRight {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(1.5deg);
    }

    100% {
        transform: translateY(6px) rotate(-1deg);
    }
}

@keyframes badgeDropIn {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.85);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes badgeFloat {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-8px);
    }
}

@keyframes heroLogoPop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes heroLogoFloat {
    0% {
        transform: translateY(0px);
        filter: drop-shadow(0px 8px 30px rgba(220, 154, 191, 0.35));
    }

    100% {
        transform: translateY(-12px);
        filter: drop-shadow(0px 14px 45px rgba(220, 154, 191, 0.6));
    }
}

@keyframes buttonsRiseUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonShimmer {
    0% {
        left: -100%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        left: 200%;
        opacity: 0;
    }

    100% {
        left: 200%;
        opacity: 0;
    }
}

@keyframes podiumRise {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes podiumPulse {
    0% {
        filter: drop-shadow(0px 10px 25px rgba(0, 0, 0, 0.5));
    }

    100% {
        filter: drop-shadow(0px 15px 35px rgba(220, 154, 191, 0.4));
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-bg-layer,
    .hero-bg-img,
    .wing-left,
    .wing-right,
    .wing-left img,
    .wing-right img,
    .sub-event-badge,
    .hero-heading-gerigi-img,
    .hero-title-wrapper,
    .hero-logo-img,
    .hero-button-container,
    .hero-podium-wrapper,
    .hero-podium-img,
    .hero-button::after,
    .hero-button-cta::after {
        animation: none !important;
        transition: none !important;
    }
}

.about-section {
    padding: 5rem 0 3rem 0;
    position: relative;
}

.about-header-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 84px;
    align-items: center;
    margin-bottom: 8px;
    margin-top: 32px;
}

.about-pill-badge {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    gap: 16px;
    padding: 0.5rem 1.8rem;
}

.pill-prefix {
    width: 371px;
    height: 41px;
    color: #ffffff;
}

.pill-main-text {
    width: 349px;
    height: auto;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 800px;
}

.about-gallery-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.about-gallery-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    height: 360px;
    perspective: 1200px;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.gallery-card {
    width: 480px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: absolute;
    border: 2px solid rgba(220, 154, 191, 0.3);
    cursor: pointer;
    opacity: 0;
    z-index: 0;
    transform: translateX(0) scale(0.6);
    will-change: transform, opacity;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gallery-card.is-center,
.gallery-card.card-center {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
    filter: brightness(100%);
    border-color: rgba(221, 233, 145, 0.6);
    box-shadow: 0px 10px 20px rgba(221, 233, 145, 0.3);
}

.gallery-card.is-left,
.gallery-card.card-left {
    transform: translateX(-75%) scale(0.85);
    opacity: 0.8;
    z-index: 2;
    filter: brightness(60%);
    border-color: rgba(220, 154, 191, 0.3);
}

.gallery-card.is-right,
.gallery-card.card-right {
    transform: translateX(75%) scale(0.85);
    opacity: 0.8;
    z-index: 2;
    filter: brightness(60%);
    border-color: rgba(220, 154, 191, 0.3);
}

.gallery-card.is-hidden-left {
    transform: translateX(-150%) scale(0.7);
    opacity: 0;
    z-index: 1;
}

.gallery-card.is-hidden-right {
    transform: translateX(150%) scale(0.7);
    opacity: 0;
    z-index: 1;
}

.gtk-dots {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    z-index: 5;
}

.gtk-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.gtk-dot:hover,
.gtk-dot.active {
    background-color: var(--accent-yellow, #dde991);
    box-shadow: 0 0 10px rgba(221, 233, 145, 0.6);
    transform: scale(1.15);
}

.gallery-side-wing {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 425px;
    z-index: 5;
    pointer-events: none;
    object-fit: contain;
}

.gallery-wing-left {
    left: -17.5%;
}

.gallery-wing-right {
    right: -17.5%;
}

.gallery-side-wing img {
    width: 100%;
    height: auto;
}

.timeline-section {
    position: relative;
    width: 100%;
    height: 1024px;
    padding-top: 6.5rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}


.timeline-layer-belakang {
    position: absolute;
    left: -250px;
    right: -250px;
    top: -300px;
    pointer-events: none;
}

.timeline-layer-belakang img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}

.timeline-header {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.timeline-heading {
    width: 491px;
    height: auto;
    z-index: 3;
    object-fit: cover;
    position: relative;
}

.timeline-wings {
    position: absolute;
    top: 15%;
    z-index: 2;
    pointer-events: none;
    max-width: 32vw;
    animation: floatWings 6s ease-in-out infinite alternate;
}

.wings-left {
    left: -27%;
    top: -5%;
}

.wings-right {
    right: -20%;
    top: -15%;
}

.timeline-wings img {
    width: 570px;
    height: 512px;
    object-fit: contain;
    filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.4));
}

.timeline-box-container {
    background: rgba(18, 14, 26, 0.65);
    border: 1px solid rgba(220, 154, 191, 0.3);
    border-radius: 35px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.4);
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline-box-container::-webkit-scrollbar {
    display: none;
}

.timeline-box-container:active,
.timeline-box-container.is-dragging {
    cursor: grabbing;
}

.timeline-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    width: max-content;
    min-width: 100%;
    align-items: center;
    padding: 0.5rem 0;
}

.timeline-card {
    flex: 0 0 350px;
    width: 350px;
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-6px);
}

.card-frame {
    position: relative;
    display: inline-block;
    width: 100%;
}

.timeline-card-frame-insviday-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition-fast);
}

.card-title-frame {
    position: absolute;
    height: 16px;
    width: 317px;
    background-color: transparent;
    top: 70px;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-event-title {
    z-index: 5;
    left: 0px;
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 0.6rem;
}

.card-batch-subtitle {
    position: absolute;
    top: 100px;
    left: 120px;
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-bottom: 1.2rem;
}

.card-date-pill {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 310px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
    background: linear-gradient(100.93deg, rgba(20, 16, 28, 0.45), rgba(218, 118, 209, 0.15));
    border: 1px solid rgba(220, 154, 191, 0.3);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.card-date-pill i {
    color: #fff;
}

.card-date-pill span {
    text-align: center;
}

.faq-section {
    padding: 4rem 0 6rem 0;
    position: relative;
    bottom: 0px;
}

.faq-section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 0.03em;
    background: var(--gradient-gold-pink);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.FAQ-layer-belakang {
    position: absolute;
    left: -260px;
    right: -250px;
    top: 0px;
    bottom: 0px;
    pointer-events: none;
}

.FAQ-layer-belakang img {
    width: 110%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    z-index: -1;
}

.faq-accordion-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(20, 15, 30, 0.75);
    border: 1px solid rgba(220, 154, 191, 0.25);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(221, 233, 145, 0.4);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
}

.q-title {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-main);
}

.faq-icon {
    font-size: 1rem;
    color: var(--accent-yellow);
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.8rem;
    background: rgba(10, 7, 18, 0.4);
}

.faq-answer p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-bottom: 1.25rem;
}

.faq-item.active {
    border-color: rgba(221, 233, 145, 0.6);
    box-shadow: 0px 4px 20px rgba(221, 233, 145, 0.15);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.footer-section {
    background: rgba(10, 7, 18, 1);
    border-top: 1px solid rgba(220, 154, 191, 0.25);
    padding: 72px 0;
    margin-top: auto;
    z-index: 2;
    position: relative;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-bottom: 0px;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1.1fr 1.2fr;
    gap: 2rem;
    align-items: flex-start;
}

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

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-link-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-link-item:hover {
    color: var(--accent-yellow);
    transform: translateX(3px);
}

.footer-brand {
    gap: 0.8rem;
}

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

.footer-socials {
    gap: 0.8rem;
}

.social-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.social-item:hover {
    color: var(--accent-yellow);
    transform: translateX(3px);
}

.social-icon {
    font-size: 1.1rem;
    color: var(--accent-pink);
}

.footer-newsletter {
    gap: 0.8rem;
    align-items: flex-end;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.subscribe-form {
    width: 100%;
    max-width: 360px;
}

.subscribe-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(220, 154, 191, 0.4);
    border-radius: 25px;
    padding: 0.25rem;
}

.subscribe-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.subscribe-btn {
    background: linear-gradient(90deg, #5ba6b7, #348977);
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.3rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.subscribe-btn:hover {
    opacity: 0.9;
}

/* --- Tablet / Large Mobile (Max Width: 1024px) --- */
@media (max-width: 1024px) {
    .about-header-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        justify-items: center;
    }

    .about-description {
        margin: 0 auto;
        max-width: 100%;
    }

    .pill-prefix {
        width: min(85vw, 320px);
        height: auto;
    }

    .pill-main-text {
        width: min(80vw, 300px);
        height: auto;
    }

    .about-gallery-grid {
        height: 300px;
    }

    .gallery-card {
        width: 400px;
        height: 250px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-newsletter {
        grid-column: span 3;
        align-items: center;
        text-align: center;
    }
}

/* --- Mobile Landscape / Medium Tablet (Max Width: 768px) --- */
@media (max-width: 768px) {
    .nav-menu-wrapper {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(5, 7, 16, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-bottom: 1px solid rgba(220, 154, 191, 0.3);
        transform: translateY(-150%);
        transition: transform var(--transition-smooth);
    }

    .nav-menu-wrapper.open {
        transform: translateY(0);
    }

    .nav-menu-pills {
        flex-direction: column;
        width: 100%;
        background: none;
        border: none;
        gap: 0.5rem;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding-top: 10rem;
        padding-bottom: 2rem;
        min-height: auto;
    }

    .hero-wings {
        padding-top: 22rem;
    }

    .hero-content {
        top: 0;
        gap: 10px;
        padding: 0 5rem;
        width: 100%;
        max-width: 100%;
    }

    .sub-event-pill-text {
        width: min(72vw, 220px);
    }

    .hero-heading-gerigi-img {
        width: 70px;
        top: -25px;
        left: -15px;
    }

    /* Reduce the size of the INSVIDAY logo */
    .hero-title-wrapper {
        width: 100%;
        max-width: min(82vw, 320px);
    }

    .hero-logo-img {
        width: 100%;
        height: auto;
        max-width: 300px;
    }

    /* Change button into 2 rows (stacked vertically) */
    .hero-button-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.85rem;
        margin-top: 2.5rem;
    }

    .hero-button,
    .hero-button-cta {
        width: 100%;
        max-width: 280px;
        height: 48px;
    }

    .hero-podium-wrapper {
        top: 0;
        margin-top: 5rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-podium-img {
        max-height: 200px;
        width: 100%;
        object-fit: contain;
    }

    /* About Section Mobile */
    .about-section {
        padding: 3rem 0 2rem 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .about-header-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
        justify-items: center;
    }

    .about-pill-badge {
        padding: 0;
        gap: 10px;
    }

    .pill-prefix {
        width: min(85vw, 260px);
        height: auto;
    }

    .pill-main-text {
        width: min(80vw, 240px);
        height: auto;
    }

    .about-description {
        font-size: 0.9rem;
        line-height: 1.7;
        text-align: justify;
        padding: 0 0.5rem;
    }

    .about-gallery-grid {
        height: 240px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .gallery-card {
        width: min(80vw, 280px);
        height: 180px;
    }

    .gallery-card.is-left,
    .gallery-card.card-left {
        transform: translateX(-35%) scale(0.82);
        opacity: 0.75;
    }

    .gallery-card.is-right,
    .gallery-card.card-right {
        transform: translateX(35%) scale(0.82);
        opacity: 0.75;
    }

    /* Reduced wings element in gallery kept strictly within viewport bounds */
    .gallery-side-wing {
        display: block;
        width: min(25vw, 110px);
        max-width: 110px;
        top: 50%;
        opacity: 0.65;
        pointer-events: none;
    }

    .gallery-wing-left {
        left: 0;
    }

    .gallery-wing-right {
        right: 0;
    }

    .timeline-wings {
        display: none;
    }

    /* Timeline Section Mobile - Fixed vertical fully view timeline */
    .timeline-section {
        height: auto;
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .timeline-layer-belakang {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
    }

    .timeline-layer-belakang-img,
    .timeline-layer-belakang img {
        width: 100%;
        height: 100%;
        opacity: 0.3;
        object-fit: cover;
    }

    .timeline-box-container {
        overflow: visible;
        cursor: default;
        user-select: auto;
        -webkit-user-select: auto;
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        border-radius: 25px;
    }

    .timeline-grid {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 1.5rem;
        width: 100%;
        min-width: 100%;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .timeline-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 330px;
        transform: none !important;
        margin: 0 auto;
    }

    .timeline-card:hover {
        transform: none !important;
    }

    .card-title-frame {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .card-event-title {
        font-size: 1.15rem;
        text-align: center;
        margin-top: 1.5rem;
    }

    .card-batch-subtitle {
        position: absolute;
        top: 92px;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    /* Card Date Pill - Centered & fitting font size */
    .card-date-pill {
        position: absolute;
        top: 138px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 290px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
        padding: 0.35rem 0.75rem;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .card-date-pill span {
        font-size: 0.75rem;
        text-align: center;
        font-weight: 600;
        white-space: nowrap;
    }

    /* FAQ Section Mobile - Reduced gap from timeline & full height background */
    .faq-section {
        padding: 1.5rem 0 4rem 0;
        margin-top: 0;
        position: relative;
        width: 100%;
    }

    .FAQ-layer-belakang {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
    }

    .FAQ-layer-belakang img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        opacity: 0.35;
        z-index: -1;
    }

    .faq-section-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Footer Mobile */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand,
    .footer-socials,
    .footer-newsletter {
        align-items: center;
        text-align: center;
    }

    .footer-newsletter {
        grid-column: span 1;
    }
}

/* --- Small Mobile (Max Width: 480px) --- */
@media (max-width: 480px) {
    .section-container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
        width: 140px;
    }

    .btn-signup {
        padding: 0.4rem 0.9rem;
        font-size: 0.82rem;
    }

    .btn-user-profile {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .btn-user-profile span {
        max-width: 90px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sub-event-pill-text {
        width: 190px;
    }

    .hero-heading-gerigi-img {
        width: 60px;
        top: -20px;
        left: -10px;
    }

    .hero-logo-img {
        width: 85%;
        max-width: 240px;
    }

    .hero-button,
    .hero-button-cta {
        width: 100%;
        max-width: 240px;
        height: 44px;
    }

    .hero-button-text,
    .hero-button-cta-text {
        font-size: 0.95rem;
    }

    .hero-podium-img {
        max-height: 170px;
    }

    .about-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .about-gallery-grid {
        height: 220px;
    }

    .gallery-card {
        width: 240px;
        height: 155px;
    }

    .gallery-side-wing {
        width: 80px;
    }

    .gallery-wing-left {
        left: 0;
    }

    .gallery-wing-right {
        right: 0;
    }

    .timeline-card {
        max-width: 290px;
    }

    .timeline-box-container {
        padding: 1.25rem 0.5rem;
    }

    .card-title-frame {
        top: 52px;
    }

    .card-event-title {
        font-size: 1rem;
    }

    .card-batch-subtitle {
        top: 80px;
        font-size: 0.95rem;
    }

    .card-date-pill {
        top: 118px;
        font-size: 0.68rem;
        padding: 0.3rem 0.5rem;
        max-width: 250px;
    }

    .card-date-pill span {
        font-size: 0.68rem;
    }

    .card-date-pill i {
        font-size: 0.7rem;
    }

    .faq-section-title {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 0.75rem 0.85rem;
    }

    .q-title {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .faq-answer p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .subscribe-input-wrapper {
        flex-direction: column;
        border-radius: 16px;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .subscribe-input {
        width: 100%;
        text-align: center;
    }

    .subscribe-btn {
        width: 100%;
        border-radius: 12px;
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-pill-badge.reveal-on-scroll {
    transition-delay: 0.1s;
}

.about-description.reveal-on-scroll {
    transition-delay: 0.3s;
}

.about-gallery-wrapper.reveal-on-scroll {
    transition-delay: 0.3s;
}

.timeline-pill-badge.reveal-on-scroll {
    transition-delay: 0.3s;
}

.timeline-wings.wings-left.reveal-on-scroll {
    transition-delay: 0.3s;
}

.timeline-wings.wings-left.reveal-on-scroll {
    transition-delay: 0.3s;
}

.timeline-box-container.reveal-on-scroll {
    transition-delay: 0.3s;
}

.faq-section-title.reveal-on-scroll {
    transition-delay: 0.3s;
}

.faq-item.reveal-on-scroll {
    transition-delay: 0.3s;
}