/* ========================================= */
/* VARIABEL WARNA & FONT                     */
/* ========================================= */
:root {
    --brand-cyan: #48d1cc;
    --brand-dark: #0b0c10;
    --brand-card: #151520;
    --font-poppins: 'Poppins', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
}

/* ========================================= */
/* PENGATURAN DASAR GLOBAL                   */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

body {
    background-color: var(--brand-dark);
    background-image: url('/assets/bg.webp');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: calc(var(--vh, 1vh) * 100);
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
}

/* State Awal Sebelum Hero Ready */
body:not(.hero-ready) .dekorasi-kiri,
body:not(.hero-ready) .dekorasi-kanan,
body:not(.hero-ready) .hero-logo,
body:not(.hero-ready) .hero-teks {
    animation: none;
}

body:not(.hero-ready) .hero-section {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* State Saat Hero Ready */
body.hero-ready .hero-logo,
body.hero-ready .hero-teks,
body.hero-ready .dekorasi-kiri,
body.hero-ready .dekorasi-kanan {
    animation-play-state: running;
}

body.hero-ready .hero-section {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================= */
/* LOADING SCREEN                            */
/* ========================================= */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, rgba(72, 209, 204, 0.12), transparent 45%), var(--brand-dark);
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    width: min(80vw, 320px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-logo {
    width: min(70vw, 550px);
    height: auto;
    animation: loadingFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(72, 209, 204, 0.45));
}

.loading-bar {
    margin-top: 1rem;
    width: 100%;
    height: 17px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.loading-bar-fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-cyan), #9bfdf9);
    animation: loadingBar 3s ease-in-out infinite;
    transform-origin: left center;
}

/* ========================================= */
/* NAVBAR (HEADER)                           */
/* ========================================= */
.navbar {
    width: 100%;
    height: 90px;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 999;
    background-color: var(--brand-card);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}

.nav-hidden {
    transform: translateY(-100%);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-logo {
    width: 5em;
    height: 5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-title {
    display: flex;
    flex-direction: column;
    color: white;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* --- NAV MENU & LINKS --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
}

.nav-item {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--brand-cyan);
}

.nav-dropdown {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s;
}

.nav-dropdown:hover {
    color: var(--brand-cyan);
}

.nav-dropdown svg {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    background-color: var(--brand-card);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 1.5rem;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: var(--font-poppins);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--brand-cyan);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

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

.btn {
    font-family: var(--font-poppins);
    font-weight: 700;
    padding: 0.625rem 1.75rem;
    border-radius: 9999px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-register {
    background-color: var(--brand-cyan);
    color: var(--brand-dark);
    border: none;
}

.btn-register:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 15px rgba(72, 209, 204, 0.6);
}

.btn-login {
    background-color: transparent;
    color: white;
    border: 1px solid #9ca3af;
}

.btn-login:hover {
    background-color: white;
    color: var(--brand-dark);
    border-color: white;
}

/* --- MOBILE BUTTON --- */
.mobile-btn {
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
    position: relative;
    z-index: 999;
}

.mobile-btn svg {
    width: 2rem;
    height: 2rem;
}

/* ========================================= */
/* KEYFRAMES ANIMATION                       */
/* ========================================= */
@keyframes loadingFloat {

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

    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes loadingBar {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes floatDecor {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glowPulse {

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

    50% {
        opacity: 1;
        transform: scale(1.01);
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-140px);
        opacity: 0;
    }

    60% {
        transform: translateX(18px);
        opacity: 1;
    }

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

@keyframes slideInRight {
    0% {
        transform: translateX(140px);
        opacity: 0;
    }

    60% {
        transform: translateX(-18px);
        opacity: 1;
    }

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

@keyframes heroPop {
    0% {
        transform: scale(0.7);
        opacity: 0;
        filter: drop-shadow(0 0 0 rgba(72, 209, 204, 0));
    }

    65% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 24px rgba(72, 209, 204, 0.55));
    }

    100% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(72, 209, 204, 0.35));
    }
}

/* ========================================= */
/* HERO SECTION                              */
/* ========================================= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 25rem;
    overflow: hidden;
}

.dekorasi-kiri {
    bottom: -9rem;
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    animation: slideInLeft 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.6s;
    will-change: transform, opacity;
}

/* Diperbaiki untuk Desktop FHD */
.dekorasi-kanan {
    right: -45%;
    top: -75%;
    width: 145%;
    position: absolute;
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    animation: slideInRight 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.9s;
    will-change: transform, opacity;
}

body.hero-ready .dekorasi-kiri {
    animation: slideInLeft 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.6s, floatDecor 4.8s ease-in-out infinite 2.6s;
}

body.hero-ready .dekorasi-kanan {
    animation: slideInRight 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.9s, floatDecor 5.2s ease-in-out infinite 2.9s;
}

.hero-konten {
    top: 18%;
    left: 17%;
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-logo {
    width: min(85vw, 900px);
    max-width: 550px;
    height: auto;
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: heroPop 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.4s;
}

.hero-teks {
    color: #e2e8f0;
    font-family: var(--font-poppins);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.025em;
    line-height: 1.6;
    text-align: left;
    margin-top: 2%;
    margin-left: 10%;
    opacity: 0;
    text-shadow: 0 4px 3px rgba(0, 0, 0, 0.2);
    animation: heroPop 2s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.8s;
}

.hero-teks p {
    margin: 0;
}

/* ========================================= */
/* GET TO KNOW INFEST SECTION                */
/* ========================================= */
.gtk-section {
    position: relative;
    width: 100%;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0rem 1rem 5rem 1rem;
    z-index: 10;
    margin-bottom: 25rem;
    overflow: hidden;
}

.gtk-header {
    width: 100%;
    max-width: 560px;
    margin: 2rem auto 1.5rem;
    display: flex;
    justify-content: center;
    z-index: 15;
}

.gtk-title-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.gtk-text {
    max-width: 1000px;
    text-align: center;
    font-family: var(--font-poppins);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.03em;
    color: #e2e8f0;
    margin-bottom: -3rem;
    z-index: 15;
    padding: 0 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gtk-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1040px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.gtk-dekorasi-kiri,
.gtk-dekorasi-kanan {
    position: absolute;
    top: -45%;
    transform: translateY(-50%);
    width: 70vw;
    max-width: 1000px;
    z-index: 16;
    pointer-events: none;
    opacity: 1;
}

.gtk-dekorasi-kiri {
    left: -80%;
    animation: floatDecor 4.8s ease-in-out infinite reverse;
}

.gtk-dekorasi-kanan {
    right: -80%;
    animation: floatDecor 5.2s ease-in-out infinite;
}

.gtk-carousel {
    margin-top: -2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140%;
    height: 480px;
    z-index: 5;
    perspective: 1200px;
    position: relative;
    overflow: hidden;
}

.gtk-item {
    width: 500px;
    height: 300px;
    border-radius: 35px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: absolute;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    z-index: 0;
    transform: translateX(0) scale(0.6);
}

.gtk-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gtk-item.is-center {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
    filter: brightness(100%);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.gtk-item.is-left {
    transform: translateX(-100%) scale(0.85);
    opacity: 0.8;
    z-index: 2;
    filter: brightness(60%);
}

.gtk-item.is-right {
    transform: translateX(100%) scale(0.85);
    opacity: 0.8;
    z-index: 2;
    filter: brightness(60%);
}

/* Diperbaiki agar tidak menyembul di resolusi Desktop */
.gtk-item.is-hidden-left {
    transform: translateX(-180%) scale(0.7);
    opacity: 0;
    z-index: 1;
}

.gtk-item.is-hidden-right {
    transform: translateX(180%) scale(0.7);
    opacity: 0;
    z-index: 1;
}

.gtk-dots {
    display: flex;
    gap: 12px;
    margin-top: -3rem;
    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(--brand-cyan);
    transform: scale(1.15);
}

/* ========================================= */
/* MAIN EVENTS SECTION                       */
/* ========================================= */
.event-section {
    position: relative;
    width: 100%;
    padding: 0rem 0 10rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 25;
}

.event-header {
    text-align: center;
}

.event-title {
    font-family: var(--font-poppins);
    font-size: 60px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.event-carousel-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    padding-bottom: 2rem;
}

/* Diperbaiki kapasitas vertikal untuk Desktop */
.event-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 700px;
    z-index: 5;
    perspective: 1500px;
    position: relative;
}

/* Diperbaiki skala kartunya untuk Desktop */
.event-card {
    width: 900px;
    height: 550px;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    position: absolute;
    opacity: 0;
    z-index: 0;
    transform: translateX(0) scale(0.6);
    will-change: transform, opacity, filter, box-shadow;
    cursor: pointer;
}

.event-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.event-btn:hover {
    background: var(--brand-cyan);
    border-color: var(--brand-cyan);
    color: var(--brand-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(72, 209, 204, 0.5);
}

.event-btn.prev-btn {
    left: 3rem;
}

.event-btn.next-btn {
    right: 3rem;
}

.event-btn svg {
    width: 32px;
    height: 32px;
}

.event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card.is-center {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
    filter: brightness(100%);
    border: 4px solid rgba(255, 179, 217, 1);
    box-shadow:
        0 0 55px 12px rgba(255, 179, 217, 0.55),
        inset 0 0 25px rgba(255, 179, 217, 0.35),
        0 30px 60px rgba(0, 0, 0, 0.85);
}

.event-card.is-left {
    transform: translateX(-100%) scale(0.85);
    opacity: 0.65;
    z-index: 2;
    filter: brightness(40%);
    border: 3px solid rgba(255, 179, 217, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.event-card.is-right {
    transform: translateX(100%) scale(0.85);
    opacity: 0.65;
    z-index: 2;
    filter: brightness(40%);
    border: 3px solid rgba(255, 179, 217, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

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

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

.event-dots {
    display: flex;
    gap: 16px;
    margin-top: 0rem;
    z-index: 5;
}

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

.event-dot.active {
    background-color: var(--brand-cyan);
    box-shadow: 0 0 10px var(--brand-cyan);
}

/* ========================================= */
/* TIMELINE SECTION                          */
/* ========================================= */
/* Diperbaiki margin-top untuk Desktop */
.timeline-section {
    margin-top: 8rem;
    position: relative;
    width: 100%;
    padding: 5rem 2rem 10rem 2rem;
    display: flex;
    justify-content: center;
    z-index: 20;
    margin-bottom: 30rem;
    overflow: hidden;
}

.timeline-container {
    width: 100%;
    max-width: 1250px;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.timeline-left {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 2rem;
}

.timeline-decor-left {
    position: absolute;
    top: -180px;
    left: -55%;
    width: 900px;
    z-index: 3;
    animation: floatDecor 5.5s ease-in-out infinite;
}

.timeline-title-img {
    width: 100%;
    left: -15%;
    max-width: 600px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

.timeline-right {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
    top: -10%;
}

.timeline-card {
    border-radius: 30px;
    width: 100%;
    right: -40%;
    max-width: 720px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255, 179, 217, 0.05);
    transform: scale(1.05);
}

.timeline-content-img {
    width: 100%;
    height: auto;
    display: block;
}

.timeline-decor-right {
    position: absolute;
    bottom: -450px;
    right: -700px;
    width: 900px;
    z-index: 3;
    animation: floatDecor 6s ease-in-out infinite;
    pointer-events: none;
}

/* ========================================= */
/* SPONSORS SECTION                          */
/* ========================================= */
.sponsor-section {
    position: relative;
    width: 100%;
    padding: 12rem 2rem 10rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    margin-top: 0px;
    overflow: hidden;
}

/* Gambar bentuk bulat di depan (Sponsor Back) */
.sponsor-back {
    position: absolute;
    top: 20rem;
    /* Ubah dari bottom: 0 menjadi top: 0 agar lengkungan menempel di atas */
    left: 0;
    width: 100%;
    height: calc(100% - 20rem);
    object-fit: cover;
    object-position: top center;
    /* KUNCI: Fokuskan gambar agar bagian lengkungan atas selalu terlihat */
    z-index: 2;
    pointer-events: none;
}

/* Gambar dekorasi ombak dan gir (Sponsor Decor) */
.sponsor-decor {
    position: absolute;
    top: -20rem;
    left: 0;
    width: 100%;
    height: calc(100% - 1rem);
    /* Ubah menjadi 100% agar memenuhi tinggi container */
    object-fit: cover;
    /* Memastikan gambar menutupi seluruh area tanpa distorsi */
    object-position: center top;
    /* Posisikan di tengah agar potongan sisinya terdorong ke luar layar */
    z-index: 1;
    pointer-events: none;
}

/* Memastikan teks dan logo sponsor berada DI ATAS kedua gambar background */
.sponsor-header,
.sponsor-container {
    position: relative;
    z-index: 5;
}

.sponsor-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sponsor-title {
    font-family: var(--font-poppins);
    font-size: 80px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    text-shadow:
        0 2px 4px rgba(22, 22, 22, 0.9),
        /* Bayangan tajam dan dekat */
        0 8px 20px rgba(22, 22, 22, 0.8),
        /* Bayangan medium */
        0 0 40px rgba(22, 22, 22, 0.7),
        /* Sebaran luas */
        0 0 80px rgba(22, 22, 22, 0.6);
}

.sponsor-container {
    display: flex;
    flex-direction: column;
    /* Mengubah arah menjadi vertikal untuk memuat baris */
    justify-content: center;
    align-items: center;
    gap: 8rem;
    max-width: 1800px;
    /* Diperbesar agar cukup untuk 5 kotak berjejer */
    width: 100%;
    margin-top: 25rem;
}

.sponsor-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6rem;
    width: 100%;
}

.sponsor-card {
    width: 320px;
    /* Ukuran diperbesar */
    height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
    padding: 0;
    /* Hapus padding agar gambar bisa menyentuh tepi kotak */
    overflow: hidden;
    /* Memotong gambar agar tidak keluar dari sudut melengkung */
}

.sponsor-card img {
    width: 100%;
    /* Gambar memenuhi 100% kotak */
    height: 100%;
    object-fit: cover;
    /* Kunci agar gambar fit seluruhnya tanpa ruang kosong */
    transition: all 0.4s ease;
}

.sponsor-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-cyan);
    box-shadow: 0 10px 25px rgba(72, 209, 204, 0.2);
    /* Hapus efek perubahan background saat hover karena sudah tertutup gambar 100% */
}

.sponsor-card:hover img {
    /* Efek grayscale dinonaktifkan agar gambar berwarna penuh, atau bisa kamu sesuaikan kembali */
    filter: brightness(1.1);
}

/* ========================================= */
/* FOOTER SECTION                            */
/* ========================================= */
.footer-section {
    background-color: var(--brand-card);
    padding: 3rem 4rem 0rem 4rem;
    /* Padding atas & bawah dikurangi agar lebih pendek */
    position: relative;
    z-index: 50;
    width: 100%;
    color: white;
    font-family: var(--font-poppins);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1350px;
    /* Diperlebar agar jarak kanan-kiri lebih lega */
    margin: 0 auto 2.5rem auto;
    /* Margin bawah dikurangi agar copyright naik */
}

/* Kiri: Logo dan Teks */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-brand img {
    width: 300px;
    height: auto;
}

/* Kanan: 3 Kolom Menu */
.footer-menus {
    display: flex;
    gap: 7rem;
    /* Gap diperlebar antar kolom menu */
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-col h4 {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-links-col a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    transition: opacity 0.3s ease;
}

.footer-links-col a:hover {
    opacity: 1;
    /* Efek glowing diperkuat dengan 3 lapis pendaran cahaya (text-shadow) */
    text-shadow: 0 0 15px currentColor;
}

/* Warna warni link event seperti gambar */
.event-1 {
    color: #facc15 !important;
}

.event-2 {
    color: #ef4444 !important;
}

.event-3 {
    color: #22c55e !important;
}

.event-4 {
    color: #38bdf8 !important;
}

/* Ikon Social Media */
.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    /* Memberi jarak ke teks "Kebijakan Privasi" di atasnya */
    justify-content: flex-start;
    /* Meratakan ke kiri */
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    color: #222222;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icons a svg {
    width: 18px;
    height: 18px;
}

.social-icons a:hover {
    transform: translateY(-4px);
    background-color: var(--brand-cyan);
}

/* Bagian Bawah: Copyright */
.footer-bottom {
    max-width: 1350px;
    /* Samakan dengan footer-top agar presisi dengan logo */
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    /* Dibuat rata kiri sejajar dengan logo */
}

.footer-bottom p {
    margin-top: -60px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================= */
/* SCROLL ANIMATION                          */
/* ========================================= */
.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);
}

.gtk-header.reveal-on-scroll {
    transition-delay: 0.1s;
}

.gtk-text.reveal-on-scroll {
    transition-delay: 0.3s;
}

.gtk-carousel-wrapper.reveal-on-scroll {
    transition-delay: 0.5s;
}

/* ========================================= */
/* MEDIA QUERIES (MOBILE)                    */
/* ========================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 767px) {
    body {
        background-size: cover;
        background-position: center top;
    }

    /* ---- NAVBAR ---- */
    .navbar {
        padding: 0.75rem 1rem;
        height: auto;
    }

    .nav-title {
        font-size: 0.95rem;
    }

    .nav-logo {
        width: 2.8em;
        height: 2.8em;
    }

    .mobile-btn {
        display: block;
    }

    /* Mobile nav overlay */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(11, 12, 16, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 998;
    }

    .nav-menu.is-active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        font-size: 1.1rem;
    }

    .nav-dropdown {
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown.is-open .dropdown-content {
        display: block;
        position: static;
        box-shadow: none;
        background: transparent;
        text-align: center;
        padding: 0.5rem 0 0 0;
        min-width: unset;
    }

    .nav-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1.5rem;
    }

    /* ---- HERO ---- */
    .hero-section {
        min-height: calc(var(--vh, 1vh) * 100);
        margin-bottom: 4rem;
        padding: 0 1rem;
        overflow: hidden;
    }

    .hero-konten {
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
        width: min(88vw, 320px);
        align-items: center;
        text-align: center;
        z-index: 10;
    }

    .hero-logo {
        width: min(72vw, 210px);
        max-width: 300px;
        height: auto;
        object-fit: contain;
        margin-bottom: 0.75rem;
    }

    .hero-teks {
        font-size: 10px;
        line-height: 1.5;
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .dekorasi-kiri {
        left: -5%;
        top: 20vh;
        bottom: auto;
        width: 150%;
        max-width: 800px;
        opacity: 0.6;
        object-fit: contain;
        z-index: 0;
    }

    .dekorasi-kanan {
        right: -65%;
        top: 25vh;
        bottom: auto;
        width: 200%;
        max-width: 800px;
        opacity: 0.6;
        object-fit: contain;
        z-index: 0;
    }

    /* ---- GET TO KNOW ---- */
    .gtk-section {
        padding: 4rem 0 3rem 0;
        min-height: auto;
        margin-bottom: 4rem;
    }

    .gtk-header {
        max-width: 250px;
    }

    .gtk-text {
        font-size: 11px;
        margin-bottom: 2.5rem;
        padding: 0 1.5rem;
    }

    .gtk-dekorasi-kiri {
        left: -15%;
        width: 50vw;
    }

    .gtk-dekorasi-kanan {
        right: -15%;
        width: 50vw;
    }

    .gtk-carousel {
        height: 200px;
        padding: 0;
        gap: 0.5rem;
    }

    .gtk-item {
        width: 60%;
        height: 160px;
    }

    .gtk-item.is-left {
        transform: translateX(-45%) scale(0.85);
    }

    .gtk-item.is-right {
        transform: translateX(45%) scale(0.85);
    }

    /* ---- EVENTS ---- */
    .event-section {
        padding: 3rem 0 5rem 0;
    }

    .event-title {
        font-size: 28px;
    }

    .event-carousel {
        height: 280px;
    }

    .event-card {
        width: 75%;
        height: 220px;
    }

    .event-card.is-left {
        transform: translateX(-55%) scale(0.85);
    }

    .event-card.is-right {
        transform: translateX(55%) scale(0.85);
    }

    .event-btn {
        width: 40px;
        height: 40px;
    }

    .event-btn svg {
        width: 20px;
        height: 20px;
    }

    .event-btn.prev-btn {
        left: 0.5rem;
    }

    .event-btn.next-btn {
        right: 0.5rem;
    }

    /* ---- TIMELINE ---- */
    .timeline-section {
        margin-top: 2rem;
        margin-bottom: 6rem;
        padding: 3rem 1.5rem 5rem 1.5rem;
    }

    .timeline-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .timeline-left {
        width: 100%;
        align-items: center;
        padding-left: 0;
    }

    .timeline-title-img {
        position: static;
        max-width: 80vw;
        left: 0;
    }

    .timeline-decor-left {
        display: none;
    }

    .timeline-right {
        width: 100%;
        position: static;
        top: 0;
        justify-content: center;
    }

    .timeline-card {
        position: static;
        right: 0;
        max-width: 90vw;
        transform: none;
    }

    .timeline-decor-right {
        display: none;
    }

    /* ---- SPONSORS ---- */
    .sponsor-section {
        padding: 4rem 1rem 5rem 1rem;
        margin-top: 0;
    }

    .sponsor-back {
        top: 8rem;
        height: calc(100% - 8rem);
    }

    .sponsor-decor {
        top: -5rem;
    }

    .sponsor-title {
        font-size: 36px;
        top: 0;
    }

    .sponsor-container {
        margin-top: 8rem;
        gap: 2.5rem;
    }

    .sponsor-row {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sponsor-card {
        width: 130px;
        height: 75px;
        border-radius: 12px;
    }

    /* ---- FOOTER ---- */
    .footer-section {
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-brand img {
        width: 160px;
    }

    .footer-menus {
        flex-direction: column;
        align-items: center;
        gap: 1.75rem;
        text-align: center;
    }

    .footer-links-col {
        align-items: center;
    }

    .footer-links-col h4 {
        font-size: 0.9rem;
    }

    .footer-links-col a {
        font-size: 0.85rem;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-bottom p {
        margin-top: 0;
        font-size: 0.7rem;
        text-align: center;
    }
}

/* ========================================= */
/* MEDIA QUERIES (TABLET & DESKTOP)          */
/* ========================================= */
@media (min-width: 768px) {
    .navbar {
        padding: 1.25rem 4rem;
    }

    .mobile-btn {
        display: none;
    }

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

/* ========================================= */
/* MEDIA QUERIES (LAPTOP 150% ZOOM / 1366px) */
/* ========================================= */
@media (min-width: 768px) and (max-width: 1700px) {

    /* Navbar */
    .navbar {
        height: 65px;
        padding: 0.5rem 2rem;
    }

    .nav-logo {
        width: 3.2em;
        height: 3.2em;
    }

    .nav-title {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-links {
        gap: 0.85rem;
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }

    /* Hero */
    .hero-section {
        margin-bottom: 15rem;
    }

    .hero-konten {
        left: 20%;
    }

    .hero-logo {
        max-width: 350px;
    }

    .hero-teks {
        font-size: 13px;
        margin-left: 5%;
    }

    .dekorasi-kiri {
        width: 120%;
    }

    .dekorasi-kanan {
        width: 145%;
    }

    /* Get To Know */
    .gtk-section {
        margin-bottom: 20rem;
        min-height: auto;
    }

    .gtk-text {
        font-size: 12px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
    }

    .gtk-dekorasi-kiri,
    .gtk-dekorasi-kanan {
        width: 50vw;
        top: -45%;
    }

    .gtk-dekorasi-kiri {
        left: -35%;
    }

    .gtk-dekorasi-kanan {
        right: -35%;
    }

    .gtk-carousel {
        height: 330px;
    }

    .gtk-item {
        width: 340px;
        height: 204px;
    }

    .gtk-dot {
        width: 10px;
        height: 10px;
    }

    .gtk-title-img {
        max-width: 320px;
    }

    /* Events */
    .event-section {
        padding-bottom: 5rem;
    }

    .event-title {
        font-size: 40px;
    }

    .event-carousel {
        height: 420px;
    }

    .event-card {
        width: 520px;
        height: 320px;
    }

    .event-btn {
        width: 45px;
        height: 45px;
    }

    .event-btn svg {
        width: 24px;
        height: 24px;
    }

    .event-btn.prev-btn {
        left: 2rem;
    }

    .event-btn.next-btn {
        right: 2rem;
    }

    .event-dots {
        gap: 10px;
    }

    .event-dot {
        width: 10px;
        height: 10px;
    }

    /* Timeline */
    .timeline-section {
        margin-top: 4rem;
        padding-top: 2rem;
        margin-bottom: 30rem;
    }

    .timeline-container {
        gap: 2rem;
    }

    .timeline-left {
        padding-left: 0;
        align-items: center;
    }

    .timeline-title-img {
        left: -22%;
        top: 130px;
        max-width: 350px;
    }

    .timeline-decor-left {
        width: 700px;
        left: -26%;
        top: -100px;
    }

    .timeline-right {
        top: 60px;
    }

    .timeline-card {
        right: -25%;
        top: 50px;
        max-width: 450px;
        transform: scale(1);
    }

    .timeline-decor-right {
        width: 700px;
        right: -26%;
        bottom: -550px;
    }

    /* Sponsors */
    .sponsor-section {
        padding-top: 8rem;
    }

    .sponsor-decor {
        top: -10rem;
    }

    .sponsor-back {
        top: 15rem;
        height: 900px;
    }

    .sponsor-title {
        position: relative;
        top: -2rem;
        font-size: 60px;
    }

    .sponsor-container {
        gap: 5rem;
        margin-top: 20rem;
    }

    .sponsor-row {
        gap: 4rem;
    }

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

    /* Footer */
    .footer-menus {
        gap: 2rem;
    }

    .footer-brand img {
        width: 160px;
        left: 5%;
    }

    .footer-links-col h4 {
        font-size: 0.95rem;
    }

    .footer-links-col a {
        font-size: 0.75rem;
    }

    .social-icons a {
        width: 30px;
        height: 30px;
    }

    .social-icons a svg {
        width: 15px;
        height: 15px;
    }
}