/* =========================
   RESET & BASE
========================= */

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: #799356;
    font-family: 'poppins', sans-serif;
    background-image: url('../assets/img/bg-home.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
}

.custom-font {
    font-family: 'riuka', sans-serif;
}

/* =========================
   NAVBAR
========================= */

.custom-navbar {
    background-color: #FFF7E9;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 9999;
    transition: all 0.3s ease;
}

.custom-navbar.sticky {
    width: 75%;
    top: 15px;
    border-radius: 10px;
    background-color: rgba(255, 247, 233, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 34px;
    background-image: linear-gradient(to bottom, #CDE599, #9BCC33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    border: none;
    cursor: pointer;
}

.nav-link {
    font-weight: 550;
    font-size: 18px;
}

.nav-link.active {
    font-weight: 700;
}

/* =========================
   BUTTONS
========================= */

.button-primary {
    width: 254px;
    height: 43px;
    background-image: linear-gradient(to bottom, #ED9CB8, #F45D92);
    border: none;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    border-radius: 12px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.button-primary:hover {
    background: #FFA8C4;
}

.button-primary:active {
    background: #FDE7EE;
}

.button-primary-center {
    width: 240px;
    height: 55px;
    background-image: linear-gradient(to bottom, #ED9CB8, #F45D92);
    border: none;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    border-radius: 12px;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-primary-center:hover {
    background: #FFA8C4;
}

.button-primary-center:active {
    background: #FDE7EE;
}

.arrow {
    margin-left: 8px;
    font-size: 16px;
}

/* =========================
   HERO SECTION
========================= */

#hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    /* kompensasi navbar fixed */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

/* Container teks hero agar ter-center vertikal */
.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    /* dikurangi tinggi navbar */
}

.container.text-center h1 {
    font-weight: 600;
    background-image: linear-gradient(to bottom, #D5E5E2, #81F2DA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: 'riuka', sans-serif;
    font-size: 122px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.container.text-center p {
    font-weight: 600;
    background: #E5EFFD;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 25px;
}

/* Marquee participant logos */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.participant.text-center p {
    font-weight: 600;
    background: #E5EFFD;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 23px;
}

/* =========================
   ABOUT US SECTION
========================= */

#about-us {
    position: relative;
    overflow: hidden;
    padding: 200px 0 100px;
}

.about-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-left {
    width: 58%;
}

.about-subtitle {
    color: #FFE7A2;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: -5px;
}

.about-title {
    font-family: 'Riuka', sans-serif;
    font-size: 82px;
    background-image: linear-gradient(to bottom, #FFE487, #FFC809);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.about-line {
    width: 90px;
    height: 5px;
    background: #FFD84D;
    border-radius: 20px;
    margin-bottom: 28px;
}

.about-card {
    position: relative;
    padding: 28px 32px;
    border-radius: 24px;
    background: rgba(16, 72, 68, 0.72);
    backdrop-filter: blur(10px);
    border: 2px solid #FFD84D;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

.about-card p {
    color: white;
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.about-button {
    width: 200px;
    height: 45px;
    background-image: linear-gradient(to bottom, #CDE599, #9BCC33);
    border: none;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    border-radius: 12px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-button:hover {
    background: #CDE599;
}

.about-button:active {
    background: #EBF5D6;
}

.about-right {
    width: 42%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-right img {
    width: 420px;
    max-width: 100%;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.18));
}

/* =========================
   BRAND THEME SECTION
========================= */

#brand-theme {
    position: relative;
    overflow: hidden;
    padding: 0 0 120px;
    z-index: 1;
}

.brand-theme-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-theme-title {
    font-family: 'Riuka', sans-serif;
    font-size: 70px;
    background-image: linear-gradient(to bottom, #FFE487, #FFC809);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.theme-card {
    width: 100%;
    max-width: 1281px;
    padding: 16px 40px;
    border-radius: 28px;
    background: rgba(7, 71, 66, 0.72);
    border: 2px solid #E6F07A;
    backdrop-filter: blur(12px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    text-align: center;
}

.theme-card h3 {
    font-family: 'Riuka', sans-serif;
    font-size: 45px;
    background-color: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    margin-top: 15px;
}

/* =========================
   TIMELINE SECTION
========================= */

#timeline {
    position: relative;
    overflow: hidden;
    padding: 55px 0;
}

.timeline-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-title {
    font-family: 'Riuka', sans-serif;
    font-size: 70px;
    background: linear-gradient(180deg, #FFE38A 0%, #FFC400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}

.timeline-image-wrapper {
    width: 100%;
    max-width: 1100px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.timeline-image {
    width: 100%;
    display: block;
}

/* =========================
   TEASER SECTION
========================= */

#teaser {
    position: relative;
    overflow: hidden;
    padding: 70px 0 140px;
}

.teaser-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teaser-title {
    font-family: 'Riuka', sans-serif;
    font-size: 70px;
    background: linear-gradient(180deg, #FFE38A 0%, #FFC400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}

.teaser-video-box {
    width: 100%;
    max-width: 990px;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(5, 64, 59, 0.78);
    border: 2px solid #DFF07A;
    backdrop-filter: blur(10px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    position: relative;
}

.teaser-video-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../Assets/img/pattern.png');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 1;
}

.teaser-video-box iframe,
.teaser-video-box video {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* =========================
   COMPETITION SECTION
========================= */

#competition {
    position: relative;
    overflow: hidden;
    padding: 40px 0 120px;
}

.competition-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.competition-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.competition-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 2px;
    background: linear-gradient(180deg, #FFF7E9 14.01%, #FFEFB6 68.86%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.competition-title {
    font-family: 'Riuka', sans-serif;
    font-size: 70px;
    line-height: 1;
    background: linear-gradient(180deg, #FFE487 26.94%, #FFC809 68.94%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}

.competition-line {
    width: 108px;
    height: 5px;
    border-radius: 99px;
    background: #FFD132;
}

.competition-cards {
    display: flex;
    gap: 24px;
    width: 100%;
}

.competition-card {
    position: relative;
    flex: 1;
    min-height: 391px;
    padding: 48px 64px;
    border-radius: 22px;
    background: linear-gradient(90deg,
            rgba(8, 64, 55, 0.9) 0%,
            rgba(37, 103, 90, 0.9) 33.15%,
            rgba(8, 64, 55, 0.9) 100%);
    border: 2px solid #CDE699;
    backdrop-filter: blur(10px);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.competition-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 62px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Riuka', sans-serif;
    font-size: 28px;
    color: #332802;
    background: linear-gradient(180deg, #FFE487 37.61%, #FFC809 100%);
    border-bottom-right-radius: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.competition-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.competition-top h3 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.4;
    color: #FFF7E9;
    margin-bottom: 12px;
}

.mini-line {
    width: 65px;
    height: 2px;
    background: #FFD132;
    border-radius: 99px;
    margin-bottom: 20px;
}

.competition-top p {
    font-size: 17px;
    line-height: 1.8;
    color: #FFF7E9;
    opacity: 0.9;
}

.competition-divider {
    width: 100%;
    height: 1px;
    background: #509284;
    margin: 28px 0 22px;
}

.competition-button-group a {
    text-decoration: none;
}

.competition-button {
    width: 140px;
    height: 42px;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #1C1C1C;
    text-decoration: none;
    background: linear-gradient(180deg, #CDE599 0%, #9BCC33 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.competition-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #D9EEAE 0%, #A8D94B 100%);
}

.competition-button-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.competition-guidebook-btn {
    width: 160px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 12px;
    border: 2px solid #FFE487;

    background: transparent;
    color: #FFE487;

    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;

    text-decoration: none;
    transition: 0.25s ease;
}

.competition-guidebook-btn:hover {
    background: rgba(255, 228, 135, 0.08);
    color: #FFE487;
}

.competition-guidebook-btn:active {
    background: rgba(255, 228, 135, 0.16);
}

.competition-guidebook-btn svg {
    flex-shrink: 0;
}

@media screen and (max-width: 992px) {
    .competition-cards {
        flex-direction: column;
    }

    .competition-title {
        font-size: 62px;
    }

    .competition-card {
        padding: 42px 36px;
    }
}

@media screen and (max-width: 576px) {
    #competition {
        padding: 20px 0 90px;
    }

    .competition-subtitle {
        font-size: 18px;
    }

    .competition-title {
        font-size: 48px;
    }

    .competition-card {
        padding: 38px 24px;
        min-height: auto;
    }

    .competition-top h3 {
        font-size: 24px;
    }

    .competition-top p {
        font-size: 15px;
    }

    .competition-button {
        width: 130px;
        height: 40px;
        font-size: 15px;
    }
}

/* =========================
   SPONSOR & MEDIA PARTNER
========================= */

#sponsor,
#media-partner {
    position: relative;
    overflow: hidden;
    padding: 20px 0 80px;
}

.sponsor-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sponsor-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-title {
    font-family: 'Riuka', sans-serif;
    font-size: 82px;
    line-height: 1;
    background: linear-gradient(180deg, #FFE487 26.94%, #FFC809 68.94%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
    filter:
        drop-shadow(0 0 1px rgba(255, 228, 135, 0.45)) drop-shadow(0 2px 3px rgba(28, 28, 28, 0.28));
}

.sponsor-arrow {
    position: absolute;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: #1C1C1C;
    background: linear-gradient(180deg, #ED9CB8 22.6%, #F45D92 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.sponsor-arrow:hover {
    transform: translateY(-2px);
}

.sponsor-arrow-left {
    left: 0;
}

.sponsor-arrow-right {
    right: 0;
}

.sponsor-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sponsor-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.sponsor-card {
    height: 124px;
    border-radius: 18px;
    background: linear-gradient(90deg,
            rgba(8, 64, 55, 0.9) 0%,
            rgba(37, 103, 90, 0.9) 33.15%,
            rgba(8, 64, 55, 0.9) 100%);
    border: 2px solid #CDE699;
    backdrop-filter: blur(8px);
    box-shadow:
        0 5px 10px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
}

.sponsor-card:hover {
    transform: translateY(-4px);
}

@media screen and (max-width: 992px) {
    .sponsor-title {
        font-size: 58px;
    }

    .sponsor-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 576px) {

    #sponsor,
    #media-partner {
        padding: 10px 0 60px;
    }

    .sponsor-title {
        font-size: 40px;
    }

    .sponsor-arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .sponsor-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sponsor-card {
        height: 90px;
        border-radius: 14px;
    }
}

/* =========================
   FOOTER
========================= */

#footer {
    background: #091916;
    padding: 48px 80px;
    margin-bottom: 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    width: 380px;
}

.footer-desc {
    width: 580px;
    color: white;
    line-height: 32px;
}

.footer-right {
    text-align: right;
}

.footer-right h3,
.footer-right p {
    color: white;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 12px;
}

.footer-presented h4 {
    margin: 0 0 16px 0;
    color: #FFF7E9;
    font-size: 18px;
    font-weight: 600;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logos img:first-child {
    width: 42px;
}

.footer-logos img:last-child {
    width: 52px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-socials a {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: rgba(80, 146, 132, 0.55);
    transition: transform 0.25s ease, background 0.25s ease;
}

.footer-socials a:hover {
    background: rgba(120, 190, 170, 0.75);
}

.footer-socials img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.footer-copy {
    width: 100%;
    margin-top: 28px;
    text-align: center;
    color: white;
    font-size: 14px;
}

#media-partner {
    padding-bottom: 80px;
    margin-bottom: 0;
}

.teaser-video-box {
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    border: 2px solid #D8E94D;
    border-radius: 28px;
    overflow: hidden;
    margin: 0 auto;
}

.teaser-video-box iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}