/* ABSENBOS theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&family=Orbitron:wght@600;700;800;900&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Poppins', sans-serif;

    color: #fff;

    min-height: 100vh;

    background-image: url("https://kolabrsma.org/imagewebpirototo/backgroundpirototobrr.webp");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    background-attachment: fixed;

    background-color: #382321;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.font-heading { font-family: 'Oswald', sans-serif; }
.font-digital { font-family: 'Orbitron', monospace; }
.gold { background: linear-gradient(180deg,#fff4b0,#f5d020 45%,#d4a017); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-border { border: 2px solid #dcf2ff; }

/* Header */
.header {position: sticky;top: 0;z-index: 30;background: linear-gradient(180deg, #45bcff, #0069a4 55%, #45bcff);border-bottom: 2px solid #dcf2ff;box-shadow: 0 4px 18px rgba(0,0,0,.45);}
.header .bar { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Oswald'; font-weight: 700; font-size: 28px; display:inline-flex; align-items:center; }
.logo-img { height: 46px; width:auto; max-width: 240px; display:block; object-fit:contain; }
.market-image-wrap {
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}

.market-image {
    width: 100%;
    height: 85px;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
/* =========================================================
   NAVIGATION DESKTOP
   ========================================================= */

.nav-mobile-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* =========================================================
   MENU DESKTOP
   ========================================================= */

.nav {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 22px;

    width: auto;
}


/* Link menu */

.nav a {
    font-weight: 500;

    font-size: 15px;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    white-space: nowrap;

    transition:
        color .2s ease,
        transform .15s ease;
}


/* Icon */

.nav a i {
    font-size: 14px;

    opacity: .95;
}


/* Hover */

.nav a:hover {
    color: #ffe680;

    transform: translateY(-1px);
}


/* HOT */

.nav .nav-hot {
    color: #ff5252;

    font-size: 11px;

    margin-left: 2px;

    animation: navHotPulse 1.2s ease-in-out infinite;
}


/* Animasi icon api */

@keyframes navHotPulse {

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

    50% {
        transform: scale(1.15);
    }
}


/* =========================================================
   HAMBURGER BUTTON
   DEFAULT: TIDAK TERLIHAT DI DESKTOP
   ========================================================= */

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    background: linear-gradient(180deg, #45bcff, #0070af);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow:
        0 3px 10px rgba(0,0,0,.25);
    transition:
        background .2s ease,
        transform .15s ease;
}


/* Hover hamburger */

.nav-toggle:hover {
    background:
        linear-gradient(
            180deg,
            #1faeff,
            #003e61
        );
}


/* Saat ditekan */

.nav-toggle:active {
    transform: scale(.94);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .nav-mobile-wrap {
        position: relative;

        display: flex;

        align-items: center;

        justify-content: flex-end;
    }


    /* Tampilkan hamburger */

    .nav-toggle {
        display: flex;
    }


    /* Menu mobile */

    .nav {
        position: absolute;

        top: calc(100% + 10px);

        right: 0;

        z-index: 100;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 0;

        width: min(280px, calc(100vw - 32px));

        padding: 8px;

        background:
            linear-gradient(
                180deg,
                #4a0900,
                #240300
            );

        border: 1px solid #e7bb2f;

        border-radius: 10px;

        box-shadow:
            0 12px 30px rgba(0,0,0,.55);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform:
            translateY(-8px)
            scale(.98);

        transform-origin: top right;

        transition:
            opacity .2s ease,
            visibility .2s ease,
            transform .2s ease;
    }


    /* Menu terbuka */

    .nav.is-open {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translateY(0)
            scale(1);
    }


    /* Link mobile */

    .nav a {
        width: 100%;

        min-height: 44px;

        padding: 10px 12px;

        display: flex;

        align-items: center;

        gap: 9px;

        border-radius: 7px;

        font-size: 14px;

        box-sizing: border-box;

        transition:
            background .2s ease,
            color .2s ease;
    }


    /* Hover / tap menu */

    .nav a:hover {
        background: rgba(255,255,255,.08);

        color: #ffe680;

        transform: none;
    }


    /* Icon menu */

    .nav a > i:first-child {
        width: 20px;

        text-align: center;

        flex-shrink: 0;
    }


    /* Tulisan */

    .nav a span {
        flex: 1;

        min-width: 0;
    }


    /* Icon HOT */

    .nav .nav-hot {
        width: auto;

        margin-left: auto;

        flex-shrink: 0;
    }
}


/* =========================================================
   HP KECIL
   ========================================================= */

@media (max-width: 480px) {

    .nav-toggle {
        width: 40px;

        height: 40px;

        font-size: 19px;
    }


    .nav {
        width: min(
            270px,
            calc(100vw - 24px)
        );
    }


    .nav a {
        min-height: 42px;

        padding: 9px 10px;

        font-size: 13px;
    }
}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */

@media (max-width: 360px) {

    .nav-toggle {
        width: 38px;

        height: 38px;

        font-size: 18px;
    }


    .nav {
        width: calc(100vw - 20px);

        right: -2px;
    }
}

/* Marquee */
.marquee { overflow: hidden; background: rgba(0,0,0,.4); border: 1px solid #dcf2ff; padding: 6px 0; border-radius: 6px 6px 0 0; margin-top: 16px; }
.marquee span {display: inline-block;white-space: nowrap;padding-left: 100%;animation: mq 22s linear infinite;color: #ffffff;font-weight: 500;}
@keyframes mq { from { transform: translateX(0);} to { transform: translateX(-100%);} }

/* =========================================================
   HERO / SLIDER
   IMAGE : 1000 x 500
   RATIO : 2 : 1
   ========================================================= */

.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

/* Container slider mengikuti rasio gambar 1000x500 */
.slider,
.swiper {
    position: relative;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 1 !important;
    overflow: hidden;
    border-radius: 10px;
    background: transparent;
}

/* Swiper wrapper */
.swiper-wrapper {
    width: 100% !important;
    height: 100% !important;
}

/* Slide */
.slide,
.swiper-slide {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
}

/* Gambar 1000x500: full, proporsional, tidak terpotong */
.slide-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center;
    margin: 0;
    padding: 0;
}

/* Slide text / content lama */
.slide {
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transition: opacity .5s;
    padding: 0 24px;
}

.slide.active {
    opacity: 1;
}

.slide small {
    font-family: 'Oswald';
    letter-spacing: .25em;
    opacity: .9;
}

.slide h2 {
    font-family: 'Oswald';
    font-size: 34px;
}

.slide .pct {
    font-family: 'Orbitron';
    font-weight: 900;
    font-size: 52px;
    margin: 6px 0;
}

.slide.casino {
    background: linear-gradient(135deg,#7a3005,#e06a00 60%,#ffb52e);
}

.slide.slot {
    background: linear-gradient(135deg,#3a2a00,#b8860b 60%,#f5d020 130%);
}

.slide.togel {
    background: linear-gradient(135deg,#5a1005,#c8280a 60%,#ff6a2a 130%);
}

.slide.qris {
    background: linear-gradient(135deg,#4a1a00,#a84800 60%,#ffb52e 130%);
}

/* Tombol slider */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 18px;
}

.slider-btn:hover {
    background: rgba(0,0,0,.7);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Mobile */
@media (max-width: 767px) {
    .slider,
    .swiper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 2 / 1 !important;
        border-radius: 10px;
    }

    .swiper-wrapper {
        width: 100% !important;
        height: 100% !important;
    }

    .swiper-slide {
        width: 100% !important;
        height: 100% !important;
    }

    .slide-img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }
}

/* HP kecil */
@media (max-width: 480px) {
    .slider,
    .swiper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 2 / 1 !important;
    }

    .slide-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .slider-btn.prev {
        left: 8px;
    }

    .slider-btn.next {
        right: 8px;
    }
}

/* HP sangat kecil */
@media (max-width: 360px) {
    .slider,
    .swiper {
        aspect-ratio: 2 / 1 !important;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
}

/* Promo image */
.promo-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 6px;
    background: linear-gradient(90deg,#45bcff, #0070af);
}

.promo .t {
    font-family: 'Oswald';
    font-size: 11px;
    letter-spacing: .12em;
    opacity: .85;
}

.promo .h {
    font-family: 'Oswald';
    font-weight: 700;
    font-size: 18px;
}

.promo .p {
    font-family: 'Orbitron';
    font-weight: 900;
    font-size: 28px;
}

.promo-img {
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
}

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

.action-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-top: 4px;
}

.action-row a {
    text-align: center;
    padding: 9px 0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.btn-green {
    background: linear-gradient(180deg, #45bcff, #0070af);
    border: 2px solid #e2f4ff;
}

.btn-gold {
    background: linear-gradient(180deg, #45bcff, #89d4ff);
    color: #000000;
    border: 1px solid #e2f4ff;
}

/* Search */
.search { position:relative; margin:24px 0 20px; }
.search input { width:100%; padding:12px 16px; border-radius:6px; background:rgba(0,0,0,.4); border:2px solid #e2f4ff; color:#ffffff; font-size:15px; }
.search input::placeholder { color:#ffffff; }

/* Grid */
.grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media(max-width:1000px){ .grid{ grid-template-columns:repeat(2,1fr);} }
@media(max-width:560px){ .grid{ grid-template-columns:1fr;} }
.card {border-radius:10px;padding:16px;text-align:center;background: linear-gradient(180deg, #45bcff, #0069a4 55%, #45bcff);border: 1px solid #e2f4ff;box-shadow:0 8px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);}
.card h3 { font-family:'Oswald'; font-size:19px; letter-spacing:.03em; }
.card .date { font-size:12px; opacity:.9; margin-top:4px; }
.result-box {background: #000000;border: 2px solid #e2f4ff;border-radius:6px;margin:12px 0;padding:8px;box-shadow: inset 0 2px 10px rgba(0,0,0,.9);}
.result-box .num {font-family:'Orbitron';font-weight:900;color: #feda00;font-size:38px;letter-spacing:.15em;}
.btn-metal {background: linear-gradient(180deg, #45bcff, #0069a4 50%, #45bcff);border: 1px solid #e2f4ff;color: #ffffff;padding:7px 0;border-radius:6px;font-size:14px;cursor:pointer;display:block;width:100%;}
.btn-metal:hover{ filter:brightness(1.35);} 
.card-btns { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.card-btns .full { grid-column:1 / -1; margin-top:8px; }

/* SEO panels */
.panel {border-radius:10px;padding:24px;border:2px solid #e2f4ff;background: #0070af;margin-top:24px;}
.panel h2 { font-family:'Oswald'; color:#f5d020; font-size:22px; margin-bottom:12px; }
.panel p { color:rgba(255,255,255,.85); line-height:1.7; font-size:15px; }
.panel ul { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.panel li { color:rgba(255,255,255,.85); font-size:14px; }
table.betting { width:100%; border-collapse:collapse; text-align:center; margin-top:8px; }
table.betting th { border:1px solid rgba(231,187,47,.4); padding:8px; color:#f5d020; font-family:'Oswald'; }
table.betting td { border:1px solid rgba(231,187,47,.25); padding:8px; color:rgba(255,255,255,.85); }
.faq-item { border-bottom:1px solid rgba(231,187,47,.25); padding:12px 0; }
.faq-item summary { cursor:pointer; font-weight:600; }
.faq-item p { margin-top:8px; font-size:14px; }

/* ===== Prediction cards (data-driven grid) ===== */
.pcard {
  border-radius:14px; padding:18px 16px; text-align:center; position:relative; overflow:hidden;
  background:linear-gradient(160deg,#2a1204 0%, #4a1e05 55%, #6b2f06 100%);
  border:1px solid rgba(231,187,47,.45);
  box-shadow:0 10px 26px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pcard::before{
  content:""; position:absolute; inset:0 0 auto 0; height:3px;
  background:linear-gradient(90deg,#ff9a1f,#f5d020,#ff9a1f); opacity:.85;
}
.pcard:hover{ transform:translateY(-4px); border-color:#f5d020; box-shadow:0 16px 34px rgba(0,0,0,.55); }
.pcard-head{ display:flex; align-items:center; justify-content:center; gap:8px; }
.pcard-dot{ width:9px; height:9px; border-radius:50%; background:#4ade80; box-shadow:0 0 0 3px rgba(74,222,128,.18); animation:pulse 1.8s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{opacity:1;} 50%{opacity:.35;} }
.pcard h3{ font-family:'Oswald'; font-size:18px; letter-spacing:.04em; color:#fff; }
.pcard-sub{ font-size:11px; opacity:.6; margin-top:2px; letter-spacing:.05em; text-transform:uppercase; }
.pcard-btns{ display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
.btn-embed{
  display:flex; align-items:center; justify-content:center; gap:6px;
  padding:9px 0; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer;
  border:1px solid transparent; transition:filter .2s ease, transform .12s ease;
}
.btn-embed .ico{ font-size:11px; opacity:.9; }
.btn-embed:hover{ filter:brightness(1.12); }
.btn-embed:active{ transform:scale(.97); }
.btn-pred{ background:linear-gradient(180deg,#ffb52e,#e06a00); color:#3d1a05; border-color:#ffd27a; }
.btn-res{ background:linear-gradient(180deg,#ffe680,#f5d020); color:#3d1a05; border-color:#d4a017; }

/* =========================================================
   IFRAME MODAL
   FRAME COMPACT & RESPONSIVE
   ========================================================= */

body.embed-lock {
    overflow: hidden;
}


/* =========================================================
   MODAL
   ========================================================= */

.embed-modal {
    position: fixed;
    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 16px;

    box-sizing: border-box;
}

.embed-modal.is-open {
    display: flex;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.embed-modal__overlay {
    position: absolute;
    inset: 0;

    background: rgba(8,3,0,.78);

    backdrop-filter: blur(6px);

    animation: embedFade .25s ease;
}

@keyframes embedFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* =========================================================
   MODAL FRAME / DIALOG
   ========================================================= */

.embed-modal__dialog {
    position: relative;

    width: 100%;
    max-width: 520px;

    height: 75vh;
    max-height: 720px;

    display: flex;
    flex-direction: column;

    background: #140702;

    border: 1px solid rgba(231,187,47,.55);

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0,0,0,.7);

    animation:
        embedPop .28s cubic-bezier(.2,.9,.3,1.2);

    box-sizing: border-box;
}

@keyframes embedPop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   HEADER
   ========================================================= */

.embed-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: linear-gradient(180deg, #45bcff, #0069a4 60%, #45bcff);
    border-bottom: 1px solid #e2f4ff;
    flex-shrink: 0;
    box-sizing: border-box;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
}


/* =========================================================
   TITLE WRAPPER
   ========================================================= */

.embed-modal__titlewrap {
    display: flex;

    align-items: center;

    gap: 8px;

    min-width: 0;

    flex: 1 1 auto;

    overflow: hidden;
}


/* =========================================================
   KIND / BADGE
   ========================================================= */

.embed-modal__kind {
    font-family: 'Oswald', sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .10em;

    text-transform: uppercase;

    padding: 4px 8px;

    border-radius: 999px;

    background: rgba(0,0,0,.35);

    color: #ffe680;

    border: 1px solid rgba(255,255,255,.2);

    flex-shrink: 0;

    white-space: nowrap;
}

.embed-modal.is-result .embed-modal__kind {
    background:
        linear-gradient(
            180deg,
            #ffe680,
            #f5d020
        );

    color: #3d1a05;

    border-color: #d4a017;
}


/* =========================================================
   TITLE
   ========================================================= */

.embed-modal__title {
    font-family: 'Oswald', sans-serif;

    font-size: 16px;

    color: #fff;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    min-width: 0;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.embed-modal__close {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    border-radius: 7px;

    border: 1px solid rgba(255,255,255,.35);

    background: rgba(0,0,0,.25);

    color: #fff;

    font-size: 19px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .12s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;
}

.embed-modal__close:hover {
    background: rgba(0,0,0,.5);
}

.embed-modal__close:active {
    transform: scale(.92);
}


/* =========================================================
   MODAL BODY
   ========================================================= */

.embed-modal__body {
    position: relative;

    flex: 1 1 auto;

    min-height: 0;

    background: #140702;

    overflow: hidden;
}


/* =========================================================
   IFRAME
   ========================================================= */

.embed-modal__frame {
    width: 100%;
    height: 100%;

    border: none;

    display: block;

    opacity: 0;

    transition: opacity .35s ease;

    background: #140702;
}


/* =========================================================
   LOADER
   ========================================================= */

.embed-modal__loader {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 14px;

    color: rgba(255,255,255,.75);

    font-size: 14px;

    background: #140702;
}


/* =========================================================
   SPINNER
   ========================================================= */

.embed-spinner {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    border: 4px solid rgba(231,187,47,.2);

    border-top-color: #f5d020;

    animation:
        embedSpin .8s linear infinite;
}

@keyframes embedSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   SENTINEL
   ========================================================= */

.embed-sentinel {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    border: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .embed-modal {
        padding: 14px;
    }

    .embed-modal__dialog {
        width: 100%;

        max-width: 480px;

        height: 78vh;

        max-height: 700px;

        border-radius: 12px;
    }

    .embed-modal__header {
        padding: 9px 11px;
    }

    .embed-modal__title {
        font-size: 15px;
    }

    .embed-modal__kind {
        font-size: 9px;

        padding: 3px 7px;
    }

    .embed-modal__close {
        width: 29px;
        height: 29px;

        font-size: 18px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .embed-modal {
        padding: 12px;
    }

    .embed-modal__dialog {
        width: 100%;

        max-width: 420px;

        height: 80vh;

        max-height: 680px;

        border-radius: 12px;

        border: 1px solid rgba(231,187,47,.55);
    }

    .embed-modal__header {
        padding: 8px 10px;

        gap: 8px;
    }

    .embed-modal__titlewrap {
        gap: 7px;
    }

    .embed-modal__title {
        font-size: 14px;
    }

    .embed-modal__kind {
        font-size: 8px;

        padding: 3px 6px;

        letter-spacing: .06em;
    }

    .embed-modal__close {
        width: 28px;
        height: 28px;

        font-size: 17px;
    }
}


/* =========================================================
   HP KECIL
   ========================================================= */

@media (max-width: 400px) {

    .embed-modal {
        padding: 10px;
    }

    .embed-modal__dialog {
        width: 100%;

        max-width: 380px;

        height: 78vh;

        max-height: 620px;

        border-radius: 10px;
    }

    .embed-modal__header {
        padding: 7px 8px;

        gap: 6px;
    }

    .embed-modal__title {
        font-size: 13px;
    }

    .embed-modal__kind {
        font-size: 7px;

        padding: 3px 5px;
    }

    .embed-modal__close {
        width: 26px;
        height: 26px;

        font-size: 16px;
    }
}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */

@media (max-width: 360px) {

    .embed-modal {
        padding: 8px;
    }

    .embed-modal__dialog {
        max-width: 360px;

        height: 76vh;

        max-height: 580px;

        border-radius: 9px;
    }

    .embed-modal__header {
        padding: 6px 7px;
    }

    .embed-modal__title {
        font-size: 12px;
    }

    .embed-modal__kind {
        font-size: 7px;

        padding: 2px 5px;
    }
}

/* Footer */
.footer {margin-top:40px;background: linear-gradient(180deg, #45bcff, #0069a4 55%, #45bcff);border-top:2px solid #fdfeff;text-align:center;padding:32px 0;}
.footer p { color:rgba(255,255,255,.7); font-size:14px; max-width:640px; margin:8px auto; }

/* =========================================================
   EMBED (IFRAME PAGES)
   RESPONSIVE
   ========================================================= */

.embed-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: radial-gradient(ellipse at center, #45bcff, #0069a4 60%, #45bcff);
    box-sizing: border-box;
}


/* =========================================================
   EMBED CARD
   ========================================================= */

.embed-card {
    width: 100%;
    max-width: 440px;
    border-radius: 12px;
    border: 2px solid #e7bb2f;
    background: rgb(0 0 0 / 0%);
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}


/* =========================================================
   EMBED TITLE
   ========================================================= */

.embed-title {
    display: flex;
    align-items: center;

    gap: 12px;
    margin-bottom: 16px;

    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 20px;

    min-width: 0;
}


/* =========================================================
   BADGE
   ========================================================= */

.badge {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            #ff9a1f,
            #a84800
        );

    border: 2px solid #e7bb2f;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Oswald', sans-serif;
    font-size: 9px;
    font-weight: 700;

    color: #f5d020;

    box-sizing: border-box;
    overflow: hidden;
}


/* =========================================================
   DATE BAR
   ========================================================= */

.date-bar {
    width: 100%;
    max-width: 100%;
    background: rgb(0 0 0);
    border: 1px solid #1b3a55;
    text-align: center;
    font-weight: 600;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    box-sizing: border-box;
    overflow: hidden;
}


/* =========================================================
   PRIZE ROW
   DBOX TIDAK AKAN KELUAR CONTAINER
   ========================================================= */

.prize-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    gap: 12px;

    margin-bottom: 12px;

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   PRIZE BIG
   ========================================================= */

.prize-big {
    flex: 1 1 auto;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    border: 2px solid #e7bb2f;

    border-radius: 8px;

    padding: 16px;

    background: rgba(0,0,0,.35);

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   DBOX
   ========================================================= */

.dbox {
    display: block;
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    box-sizing: border-box;
    background: #0a0a0a;
    border: 2px solid #ffffff;
    border-radius: 6px;
    padding: 6px 12px;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: #f5d020;
    letter-spacing: .12em;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   DBOX BIG
   ========================================================= */

.dbox.big {
    font-size: clamp(28px, 5vw, 52px);

    padding: 8px clamp(10px, 2vw, 20px);

    max-width: 100%;

    box-sizing: border-box;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .embed-wrap {
        padding: 24px 12px;
    }

    .embed-card {
        width: 100%;
        max-width: 440px;
        padding: 16px;
    }

    .prize-row {
        width: 100%;
        max-width: 100%;
        gap: 10px;
    }

    .prize-big {
        padding: 12px;
        min-width: 0;
        max-width: 100%;
    }

    .dbox {
        max-width: 100%;
        padding: 6px 10px;

        font-size: clamp(24px, 6vw, 42px);

        letter-spacing: .08em;
    }

    .dbox.big {
        font-size: clamp(24px, 7vw, 42px);
        padding: 6px 10px;
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .embed-wrap {
        min-height: 100vh;
        padding: 16px 10px;
    }

    .embed-card {
        width: 100%;
        max-width: 440px;

        padding: 12px;

        border-radius: 10px;
    }

    .embed-title {
        gap: 8px;
        margin-bottom: 12px;
        font-size: 18px;
    }

    .badge {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .date-bar {
        padding: 8px;
        margin-bottom: 12px;
    }

    .prize-row {
        width: 100%;
        max-width: 100%;

        gap: 8px;

        overflow: hidden;
    }

    .prize-big {
        flex: 1 1 0;

        width: 100%;
        min-width: 0;
        max-width: 100%;

        padding: 10px;

        box-sizing: border-box;

        overflow: hidden;
    }

    .dbox {
        flex: 0 1 auto;

        max-width: 100%;
        min-width: 0;

        padding: 5px 8px;

        font-size: clamp(20px, 8vw, 36px);

        letter-spacing: .06em;

        box-sizing: border-box;

        overflow: hidden;

        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .dbox.big {
        font-size: clamp(20px, 9vw, 38px);

        padding: 6px 8px;

        max-width: 100%;
    }
}


/* =========================================================
   HP KECIL
   ========================================================= */

@media (max-width: 400px) {

    .embed-wrap {
        padding: 12px 8px;
    }

    .embed-card {
        padding: 10px;
    }

    .prize-row {
        gap: 6px;
    }

    .prize-big {
        padding: 8px;
    }

    .dbox {
        padding: 4px 6px;

        font-size: clamp(18px, 8vw, 30px);

        letter-spacing: .04em;
    }

    .dbox.big {
        font-size: clamp(18px, 8vw, 32px);

        padding: 5px 6px;
    }
}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */

@media (max-width: 360px) {

    .embed-wrap {
        padding: 10px 6px;
    }

    .embed-card {
        padding: 8px;
    }

    .prize-row {
        gap: 5px;
    }

    .prize-big {
        padding: 7px;
    }

    .dbox {
        padding: 4px 5px;

        font-size: clamp(16px, 7.5vw, 27px);

        letter-spacing: .02em;
    }

    .dbox.big {
        font-size: clamp(16px, 7.5vw, 29px);

        padding: 4px 5px;
    }
}

/* Admin */
.login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:16px; }
.login-card { width:100%; max-width:360px; border-radius:12px; border:2px solid #e7bb2f; background:rgba(45,20,6,.85); padding:28px; }
.field { margin-bottom:16px; }
.field label { display:block; font-size:13px; opacity:.8; margin-bottom:4px; }
.field input, .field select { width:100%; padding:10px 12px; border-radius:6px; background:rgba(0,0,0,.4); border:2px solid #e7bb2f; color:#fff; }
.admin-header { background:linear-gradient(180deg,#ff9a1f,#a84800); border-bottom:2px solid #e7bb2f; }
.admin-header .bar { height:64px; display:flex; align-items:center; justify-content:space-between; }
.tabs { display:flex; gap:8px; margin:24px 0; flex-wrap:wrap; }
.tab { padding:8px 16px; border-radius:6px; font-weight:600; font-size:14px; }
.tab.active { background:linear-gradient(180deg,#ffe680,#f5d020); color:#3d1a05; border:1px solid #d4a017; }
.tab:not(.active){ background:linear-gradient(180deg,#4a4a4a,#111); border:1px solid #5a5a5a; }
table.admin {width:100%;border-collapse:collapse;border-radius:10px;overflow:hidden;border:2px solid #e7bb2f;background: rgb(0 0 0);}
table.admin th { color:#f5d020; font-family:'Oswald'; text-align:left; padding:12px 16px; font-size:14px; }
table.admin td {border-top: 1px solid rgb(241 184 0);padding:10px 16px;font-size:14px;color: rgb(255 255 255);}
.act { display:inline-flex; gap:6px; }
.act a, .act button { border:none; cursor:pointer; padding:6px 10px; border-radius:5px; font-size:13px; }
.act .edit { background:linear-gradient(180deg,#4a4a4a,#111); color:#fff; border:1px solid #5a5a5a; }
.act .del { background:#b91c1c; color:#fff; }
.flash { padding:10px 14px; border-radius:6px; margin-bottom:16px; background:rgba(63,191,51,.2); border:1px solid #ff9a1f; }
.flash.err { background:rgba(185,28,28,.25); border-color:#ef4444; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:700px){ .form-grid{ grid-template-columns:1fr; } .panel ul{ grid-template-columns:1fr;} }
.editbox {border:2px solid #e7bb2f;border-radius:10px;padding:16px;margin-bottom:20px;background: rgb(0 0 0);}
.btn-primary { background:linear-gradient(180deg,#ffe680,#f5d020); color:#3d1a05; border:1px solid #d4a017; padding:9px 16px; border-radius:6px; font-weight:600; cursor:pointer; }
.btn-secondary { background:linear-gradient(180deg,#4a4a4a,#111); color:#fff; border:1px solid #5a5a5a; padding:9px 16px; border-radius:6px; cursor:pointer; }