:root {
    --brand-cyan: #48d1cc;
    --brand-dark: #0b0c10;
    --brand-card: #151520;
    --font-poppins: 'Poppins', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;

    /* Variabel tambahan dari insviday.blade.php untuk Footer */
    --accent-pink: #dc9abf;
    --accent-yellow: #dde991;
    --accent-green: #348977;
    --accent-cyan: #5ba6b7;

    --text-primary: #ffffff;
    --text-secondary: #e8e8e8;
    --text-muted: #a09cb0;

    --font-heading: 'Gabarito', sans-serif;
    --font-sans: 'Inter', sans-serif;

    --transition-fast: 0.25s ease;
}

/* --- 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;
}

/* 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-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 998;
    background-color: var(--brand-card);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 1px solid rgba(220, 154, 191, 0.15);
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.navbar-header.scrolled {
    background: rgba(5, 7, 16, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
}

.navbar-header .nav-link,
.navbar-header .dropdown-content a,
.navbar-header .btn-signup {
    font-family: 'Montserrat', sans-serif;
}

.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;
    margin-bottom: 0;
}

.nav-link {
    text-decoration: none;
    color: #e8e8e8;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    transition: 0.25s ease;
    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;
    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;
    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);
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 18px;
}

.nav-item-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    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: #e8e8e8;
    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: #ffffff;
    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: 0.25s ease;
}

.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: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
}



/* --- 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;
}

.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;
}

/* Desktop FHD Adjustments */
.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: 900px;
    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-top: 500px;
    /* Menambahkan jarak atas agar bergeser ke bawah */
    margin-bottom: 25rem;
}

.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: visible;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.gtk-dekorasi-kiri,
.gtk-dekorasi-kanan {
    position: absolute;
    top: -45%;
    transform: translateY(-50%);
    width: 90vw;
    max-width: 1100px;
    z-index: 16;
    pointer-events: none;
    opacity: 1;
}

.gtk-dekorasi-kiri {
    left: 0%;
    animation: floatDecor 4.8s ease-in-out infinite reverse;
}

.gtk-dekorasi-kanan {
    right: 0%;
    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;
}

/* Vertical Capacity for Desktop */
.event-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 700px;
    z-index: 5;
    perspective: 1500px;
    position: relative;
}

/* Card Scale for 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 --- */
/* Margin Top for Desktop */
.timeline-section {
    margin-top: 8rem;
    position: relative;
    width: 100%;
    padding: 5rem 2rem 10rem 2rem;
    display: flex;
    justify-content: center;
    z-index: 20;
    /* Ubah dari 10 menjadi 20 agar posisinya di atas sponsor */
    /* overflow: hidden;  <-- HAPUS ATAU JADIKAN KOMENTAR BARIS INI */
    margin-bottom: 30rem;
}

.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;
}

/* 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: rgba(10, 7, 18, 1);
    border-top: 1px solid rgba(220, 154, 191, 0.25);
    padding: 72px 0 72px 0;
    /* Memberikan padding atas ekstra agar tidak menabrak */
    margin-top: auto;
    z-index: 2;
    position: relative;
    width: 100%;
    font-family: var(--font-montserrat);
}

.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;
}

/* --- 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));
    }
}

/* --- 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 --- */

/* --- Tablet & Desktop (Min Width: 768px) --- */
@media (min-width: 768px) {
    .navbar {
        padding: 1.25rem 4rem;
    }

    .mobile-btn {
        display: none;
    }

    .nav-menu {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

/* --- Laptop 150% Zoom (Max Width: 1600px) --- */
@media (max-width: 1600px) {

    /* 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: 450px;
    }

    .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: -80%;
    }

    .gtk-dekorasi-kiri {
        left: -45%;
    }

    .gtk-dekorasi-kanan {
        right: -45%;
    }

    .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: 6rem;
        padding-top: 2rem;
        margin-bottom: 30rem;
    }

    .timeline-container {
        gap: 2rem;
    }

    .timeline-left {
        padding-left: 0;
        align-items: center;
    }

    .timeline-title-img {
        left: -22%;
        top: 250px;
        max-width: 350px;
    }

    .timeline-decor-left {
        width: 900px;
        left: -35%;
        top: -100px;
    }

    .timeline-right {
        top: 60px;
    }

    .timeline-card {
        right: -25%;
        top: 100px;
        max-width: 450px;
        transform: scale(1);
    }

    .timeline-decor-right {
        width: 900px;
        right: -35%;
        bottom: -650px;
    }

    /* 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 CSS lama telah dihapus dan diganti dengan desain baru */

/* --- Footer (Max Width: 1024px) --- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-newsletter {
        grid-column: span 3;
        align-items: center;
        text-align: center;
    }
}

/* --- Reduced Motion --- */
@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;
    }
}

/* --- Mobile (Max Width: 767px) --- */
@media (max-width: 767px) {
    body {
        background-size: cover;
        background-position: center top;
    }

    .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 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .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 */
    .hero-section {
        min-height: calc(var(--vh, 1vh) * 100);
        margin-bottom: 0;
        padding: 0 1rem;
        overflow: hidden;
    }

    .hero-konten {
        top: 25%;
        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: 10vh;
        bottom: auto;
        width: 150%;
        max-width: 1000px;
        opacity: 0.6;
        object-fit: contain;
        z-index: 0;
    }

    .dekorasi-kanan {
        right: -65%;
        top: 20vh;
        bottom: auto;
        width: 200%;
        max-width: 1000px;
        opacity: 0.6;
        object-fit: contain;
        z-index: 0;
    }

    /* Get To Know */
    .gtk-section {
        margin-top: 0;
        padding: 2rem 0 3rem 0;
        min-height: auto;
        margin-bottom: 4rem;
    }

    .gtk-header {
        max-width: 200px;
    }

    .gtk-text {
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 2.5rem;
        padding: 0 2.5rem;
    }

    .gtk-dekorasi-kiri {
        left: -45%;
        width: 80vw;
        top: -35%;
    }

    .gtk-dekorasi-kanan {
        right: -45%;
        width: 80vw;
        top: -35%;
    }

    .gtk-carousel {
        height: 180px;
        padding: 0;
        gap: 0.5rem;
        
    }

    .gtk-item {
        width: 40%;
        height: 140px;
        border-radius: 20px;
    }

    .gtk-item.is-left {
        transform: translateX(-50%) scale(0.85);
    }

    .gtk-item.is-right {
        transform: translateX(50%) 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 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) {
    .btn-signup {
        padding: 0.4rem 0.9rem;
        font-size: 0.82rem;
    }

    .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;
    }
}