@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/roboto/Roboto-Variable.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/roboto/Roboto-Italic-Variable.woff2') format('woff2');
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #031657;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.hero {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.poster-img {
    display: block;
    width: 100%;
    height: auto;
    animation: heroZoomOut 1.8s ease-out both;
}

.quickbar-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 300px;
    pointer-events: none;
    animation: heroFadeInUp 1s ease-out 0.3s both;
}

.top-bar {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1% 5% 0;
}

.logo-kara,
.logo-ps {
    width: 10%;
    max-width: 160px;
    min-width: 56px;
    height: auto;
}

.logo-kara {
    animation: heroFadeInLeft 0.9s ease-out 0.3s both;
}

.logo-ps {
    animation: heroFadeInRight 0.9s ease-out 0.3s both;
}

.center-col {
    width: 45%;
    max-width: 640px;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-section {
    width: 100%;
    min-height: 425px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #031657 url('/images/bg_gold.png') center / cover no-repeat;
}

.content-col {
    width: 80%;
    max-width: 1400px;
    min-width: 320px;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 5%;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(90px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.content-col.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .content-col {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.logo-hut {
    width: 50%;
    min-width: 35%;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(255, 255, 255, 0.35));
    animation: heroFadeInDown 0.9s ease-out 0.45s both;
}

.banner-turnamen {
    width: 100%;
    min-width: 70%;
    height: auto;
    margin-top: 2%;
    filter: drop-shadow(0 6px 14px rgba(255, 255, 255, 0.75));
    animation: heroFadeInUp 0.9s ease-out 0.65s both;
}

.total-hadiah {
    width: 70%;
    min-width: 50%;
    height: auto; 
    filter: drop-shadow(0 6px 14px rgba(255, 255, 255, 0.75));
    animation: heroFadeInUp 0.9s ease-out 0.85s both;
}

.scroll-hint {
    display: none;
    width: 28px;
    height: auto; 
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    animation: heroFadeInUp 0.9s ease-out 1.1s both, scrollHintBounce 1.6s ease-in-out 2s infinite;
}

.scroll-hint.is-visible {
    display: block;
}

@keyframes scrollHintBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-hint {
        animation: none;
    }
}

@media (max-width: 700px) {
    .scroll-hint.is-visible {
        display: none;
    }
}

.event-info {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: left;
}

.schedule-col,
.location-col {
    min-width: 0;
}

@media (max-width: 700px) {
    .event-info {
        grid-template-columns: 1fr;
    }
}

.info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.info-icon {
    flex: 0 0 auto;
    width: 1.1em;
    height: 1.1em;
    color: #f0b429;
}

.schedule-table {
    width: 100%;
    min-width: 0;
    background: rgba(13, 42, 110, 0.55);
    border-radius: 10px;
    overflow: hidden;
}

.sch-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sch-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.06);
}

.sch-row:last-child {
    border-bottom: none;
}

.sch-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: #f0b429;
}

.sch-label {
    flex: 1 1 auto;
    min-width: 0;
    color: #fff;
    font-weight: 600;
    font-size: clamp(0.68rem, 1.6vw, 0.9rem);
    overflow-wrap: break-word;
}

.sch-date {
    flex: 0 0 auto;
    max-width: 45%;
    color: #f0b429;
    font-weight: 700;
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    text-align: right;
    overflow-wrap: break-word;
}

.schedule-note {
    margin: 8px 4px 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}

.location-col .schedule-note {
    margin-top: 16px;
}

.location-inner {
    display: flex;
    align-items: stretch;
    gap: 4%;
}

@media (max-width: 700px) {
    .location-inner {
        flex-direction: column;
    }
    .team-cards {
        margin-top: 1rem;
    }
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.map-box {
    position: relative;
    flex: 1 1 56%;
    min-width: 0;
    aspect-ratio: 1397 / 1126;
    border-radius: 10px;
    overflow: hidden; 
}

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

.map-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.team-cards {
    flex: 1 1 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.team-card {
    border: 2px solid #f0b429;
    border-radius: 12px;
    background: rgba(9, 26, 65, 0.6);
    padding: 12px 16px;
}

.tc-title {
    margin: 0 0 6px;
    color: #f0b429;
    font-weight: 500;
    font-size: clamp(0.85rem, 1.9vw, 1.05rem);
}

.tc-name {
    margin: 0 0 8px;
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
    font-size: clamp(0.82rem, 1.9vw, 1.05rem);
}

.tc-loc {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    line-height: 1.3;
    font-size: clamp(0.72rem, 1.6vw, 0.88rem);
}
.prep-info {
    width: 100%;
    min-width: 0;
    margin-top: 24px;
    text-align: left;
}

.prep-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 700px) {
    .prep-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.prep-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    border: 2px solid #f0b429;
    border-radius: 12px;
    background: rgba(9, 26, 65, 0.6);
    padding: 16px 10px;
}

.prep-icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    color: #f0b429;
}

.prep-item span {
    color: #fff;
    font-weight: 600;
    font-size: clamp(0.72rem, 1.7vw, 0.88rem);
    line-height: 1.3;
}

.prep-note {
    margin: 10px 4px 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
}

.btn-group {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-daftar {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    padding: 14px 32px;
    border: 1px solid #ffe27a;
    border-radius: 18px;

    background: linear-gradient(
        180deg,
        #fff3a6 0%,
        #ffd85a 15%,
        #e9aa00 40%,
        #b87500 70%,
        #8a5200 100%
    );

    color: #1b1b1b;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -3px 6px rgba(92, 52, 0, 0.35),
        0 6px 15px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 190, 0, 0.15);

    transition: all 0.25s ease;
} 

.btn-daftar:hover {
    transform: translateY(-2px);

    background: linear-gradient(
        180deg,
        #fff9c4 0%,
        #ffe783 15%,
        #ffc928 40%,
        #d99200 70%,
        #9b5c00 100%
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -3px 6px rgba(92, 52, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.35),
        0 0 25px rgba(255, 200, 50, 0.35);
}
.btn-daftar-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.registration-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-daftar-countdown {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 16px 0;
    padding: 12px 32px;
    border: 1px solid #8b93a1;
    border-radius: 18px;

    background: linear-gradient(
        180deg,
        #cbd2db 0%,
        #9ca3af 15%,
        #6b7280 40%,
        #545b68 70%,
        #3f4653 100%
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        0 6px 15px rgba(0, 0, 0, 0.3);
}

.registration-countdown-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.registration-countdown {
    margin: 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

.btn-tiket {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 30px;

    background: linear-gradient(
        180deg,
        #0a2670 0%,
        #031657 50%,
        #02113f 100%
    );

    border: 1px solid #dca900;
    border-radius: 18px;

    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    text-decoration: none;
    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -3px 8px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(220, 169, 0, 0.12);

    transition: all 0.25s ease;
}
.btn-tiket:hover {
    transform: translateY(-2px);

    background: linear-gradient(
        180deg,
        #123a91 0%,
        #06226b 50%,
        #031657 100%
    );

    border-color: #ffd84d;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(255, 196, 30, 0.25);
}
.corner-abstract {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 32%;
    max-width: 380px;
    min-width: 160px; 
    height: auto;
    pointer-events: none;
    z-index: -1;
   opacity: 0.25;
}
.gold-text-glossy {
    font-weight: 900;
    background: linear-gradient(
        to bottom,
        #fff9c4 0%,
        #ffe783 15%,
        #ffcc33 30%,
        #c98700 48%,
        #fff1a8 65%,
        #d89a00 80%,
        #8c5800 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    filter: drop-shadow(0 3px 2px rgba(0,0,0,0.3));
}

@keyframes heroZoomOut {
    from {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
    }
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

    .poster-img,
    .quickbar-img,
    .logo-kara,
    .logo-ps,
    .logo-hut,
    .banner-turnamen,
    .total-hadiah,
    .btn-daftar {
        animation: none;
    }
}