/* ============================================================
   GLOBAL — FAST RENDER CORE SYSTEM v1.0
   ============================================================ */
:root {
    --accent: #00ff80;
    --accent2: #00ffaa;
    --yellow: #ffff00;
    --panel: rgba(0,0,0,0.55);
    --glow: 0 0 12px var(--accent), 0 0 28px var(--accent2);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;

    /* background image dimuat via JS agar halaman cepat tampil */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* ============================================================
   HEADER
   ============================================================ */
.header-text {
    text-align: center;
    padding: 20px;
    font-size: 26px;
    font-weight: bold;
    text-shadow: 1px 1px 3px #000;
}

/* ============================================================
   BANNER AREA
   ============================================================ */
.banner-wrapper {
    text-align: center;
    margin: 15px 0;
    min-height: 60px;
}

.banner-wrapper iframe {
    display: block;
    margin: 0 auto;
    border: 0;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.container-box {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 20px;
    flex-wrap: wrap;
}

.box {
    width: 400px;
    background: var(--panel);
    padding: 28px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 14px rgba(0,0,0,0.55);
}

/* LEFT BOX */
.left-box h2 {
    color: var(--yellow);
    font-size: 28px;
}

.countdown {
    font-size: 32px;
    font-weight: bold;
    color: var(--accent);
    text-shadow: var(--glow);
}

/* RIGHT BOX */
.right-box h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--yellow);
}

.price {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
}

/* LIST */
.right-box ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: left;
    display: inline-block;
}

.right-box ul li {
    margin: 6px 0;
    font-size: 14px;
}

.right-box ul li::before {
    content: "✓ ";
    color: var(--accent);
    text-shadow: var(--glow);
}

/* ============================================================
   CYBER LOADER V3
   ============================================================ */
.cyber-loader {
    width: 80px;
    height: 80px;
    margin: 24px auto;

    border-radius: 50%;
    border: 6px solid rgba(0,255,128,0.10);
    border-top-color: var(--accent);
    border-right-color: var(--accent2);

    animation: spin 0.9s linear infinite,
               pulse 1.6s ease-in-out infinite;

    box-shadow: var(--glow), inset var(--glow);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%   { opacity: 0.8; transform: scale(1); }
    50%  { opacity: 1;   transform: scale(1.10); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .container-box {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 90%;
        max-width: 420px;
    }
}

/* CYBER LOADER MINI + COUNTDOWN IN-CENTER */
.loader-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto;
}

.cyber-loader {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 6px solid rgba(0,255,0,0.12);
    border-top-color: #00ff80;
    border-right-color: #00ff40;
    animation: spin 1.2s linear infinite, pulse 2s ease-in-out infinite;
    box-shadow: 
        0 0 12px #00ff80,
        0 0 28px #00ff40,
        inset 0 0 12px #00ff80,
        inset 0 0 28px #00ff40;
}

/* countdown in center */
.countdown-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    font-weight: 900;
    color: #00ff99;
    text-shadow: 0 0 12px #00ff99;
    z-index: 10;
}

/* glowing fade-in effect */
@keyframes headerGlow {
    0% { opacity: 0; text-shadow: 0 0 2px #0f0; }
    100% { opacity: 1; text-shadow: 0 0 15px #00ff80; }
}

.header-text {
    animation: headerGlow 1.4s ease-out;
}
