/* ============================================================
   DAUNPOKER — style.css
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --gold:      #ffd700;
    --gold2:     #ffaa00;
    --gold3:     #ff6a00;
    --red:       #ff2d55;
    --blue:      #00cfff;
    --purple:    #a855f7;
    --dark:      #0a0006;
    --dark2:     #110012;
    --card:      #16001a;
    --text:      #fff;
    --glow-gold: 0 0 8px #ffd700, 0 0 20px #ffa500, 0 0 40px #ff6a00;
    --glow-red:  0 0 8px #ff2d55, 0 0 20px #ff2d55;
    --glow-blue: 0 0 8px #00cfff, 0 0 20px #00cfff;
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Base ── */
html, body {
    min-height: 100%;
    background: var(--dark);
    color: var(--text);
    font-family: monospace;
    overflow-x: hidden;
}

/* ── Animated scanline background ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 215, 0, 0.015) 2px,
            rgba(255, 215, 0, 0.015) 4px
        ),
        radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(168, 85, 247, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(255, 45, 85, 0.12)  0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(0, 207, 255, 0.10)  0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Floating Particles ── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.p {
    position: absolute;
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
}

.p1  { width:4px; height:4px; background:var(--gold);   left:10%; animation-duration:7s;  animation-delay:0s;   }
.p2  { width:3px; height:3px; background:var(--blue);   left:25%; animation-duration:9s;  animation-delay:1s;   }
.p3  { width:5px; height:5px; background:var(--red);    left:40%; animation-duration:6s;  animation-delay:2s;   }
.p4  { width:3px; height:3px; background:var(--gold);   left:55%; animation-duration:8s;  animation-delay:0.5s; }
.p5  { width:4px; height:4px; background:var(--purple); left:70%; animation-duration:11s; animation-delay:1.5s; }
.p6  { width:2px; height:2px; background:var(--blue);   left:85%; animation-duration:7s;  animation-delay:3s;   }
.p7  { width:4px; height:4px; background:var(--gold2);  left:15%; animation-duration:10s; animation-delay:4s;   }
.p8  { width:3px; height:3px; background:var(--red);    left:60%; animation-duration:8s;  animation-delay:2.5s; }
.p9  { width:5px; height:5px; background:var(--purple); left:90%; animation-duration:9s;  animation-delay:0.8s; }
.p10 { width:2px; height:2px; background:var(--gold);   left:35%; animation-duration:12s; animation-delay:3.5s; }

@keyframes floatUp {
    0%   { bottom: -10px; opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.5; }
    100% { bottom: 105%; opacity: 0; }
}

/* ── Page wrapper ── */
.page-wrap {
    position: relative;
    z-index: 1;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Header ── */
.site-header {
    width: 100%;
    padding: 20px 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* ── Logo ring ── */
.logo-wrap {
    position: relative;
    display: inline-block;
}

.logo-wrap img {
    display: block;
    max-width: 260px;
    height: auto;
}

.logo-ring {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--gold), var(--purple), var(--blue), var(--gold)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: spinRing 4s linear infinite;
    pointer-events: none;
}

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

/* ── Live badge ── */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 45, 85, 0.15);
    border: 1px solid var(--red);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 10px;
    color: var(--red);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: var(--glow-red);
    animation: pulseBadge 1.5s ease-in-out infinite;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: blinkDot 1s step-end infinite;
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: var(--glow-red); }
    50%       { box-shadow: none; }
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── Ticker ── */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, var(--dark) 0%, rgba(168, 85, 247, 0.08) 50%, var(--dark) 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 7px 0;
    margin: 10px 0;
}

.ticker-inner {
    display: flex;
    width: max-content;
    animation: tickerMove 22s linear infinite;
    white-space: nowrap;
}

.ticker-inner span {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 0 24px;
}

.ticker-inner span.sep {
    color: var(--red);
    padding: 0 4px;
}

@keyframes tickerMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Typewriter heading ── */
.welcome-box {
    width: 100%;
    padding: 10px 0 2px;
    border-left: 3px solid var(--gold);
    padding-left: 12px;
    margin: 8px 0;
}

.welcome-box h3 {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 0.12em;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--gold);
    width: 0;
    animation: typing 3.5s steps(40, end) forwards, blink 0.7s step-end infinite;
}

@keyframes typing { to { width: 100%; } }
@keyframes blink   { 50% { border-color: transparent; } }

/* ── Stats row ── */
.stats-row {
    display: flex;
    gap: 8px;
    width: 100%;
    margin: 10px 0;
}

.stat-card {
    flex: 1;
    background: var(--card);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: shimmerLine 2s linear infinite;
}

@keyframes shimmerLine {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.stat-num {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: var(--gold);
    text-shadow: var(--glow-gold);
    letter-spacing: 0.05em;
}

.stat-label {
    display: block;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    margin-top: 2px;
    text-transform: uppercase;
}

/* ── Banner ── */
.banner-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 170, 0, 0.15), 0 0 60px rgba(168, 85, 247, 0.08);
    margin: 10px 0;
}

.banner-wrap::before {
    content: '🎰 MAXWIN HARI INI';
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    background: linear-gradient(90deg, var(--gold3), var(--gold));
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.1em;
}

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

/* ── Jackpot box ── */
.jackpot-box {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.08), rgba(168, 85, 247, 0.08));
    border: 1px solid rgba(255, 45, 85, 0.25);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    margin: 10px 0;
    position: relative;
    overflow: hidden;
}

.jackpot-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 45, 85, 0.08), transparent);
    pointer-events: none;
}

.jackpot-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.jackpot-amount {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, var(--gold), var(--gold2), var(--red), var(--gold));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradShift 2s linear infinite;
}

@keyframes gradShift {
    0%   { background-position: 0%; }
    100% { background-position: 300%; }
}

.jackpot-sub {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    letter-spacing: 0.1em;
}

/* ── Features grid ── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin: 10px 0;
}

.feat {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.feat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(255, 215, 0, 0.04));
    pointer-events: none;
}

.feat-icon  { font-size: 20px; flex-shrink: 0; }
.feat-text  { display: flex; flex-direction: column; }
.feat-title { font-size: 10px; color: var(--gold); font-weight: bold; letter-spacing: 0.05em; line-height: 1.2; }
.feat-sub   { font-size: 9px; color: rgba(255,255,255,0.4); margin-top: 2px; line-height: 1.3; }

/* ── Bonus strip ── */
.bonus-strip {
    display: flex;
    gap: 6px;
    width: 100%;
    margin: 10px 0;
    flex-wrap: wrap;
}

.bonus-tag {
    flex: 1;
    min-width: 80px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(0, 207, 255, 0.06));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    padding: 8px 6px;
    text-align: center;
    font-size: 10px;
    color: var(--purple);
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.bonus-tag strong {
    display: block;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 2px;
}

/* ── Providers ── */
.providers-section {
    width: 100%;
    margin: 10px 0;
}

.section-title {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3));
}

.section-title::before { left: 0; }
.section-title::after  { right: 0; transform: scaleX(-1); }

.providers {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.prov-badge {
    background: var(--card);
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 10px;
    color: var(--gold2);
    letter-spacing: 0.08em;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.prov-badge::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(255,215,0,0.1), transparent, rgba(0,207,255,0.05));
    border-radius: 8px;
    pointer-events: none;
}

/* ── Divider ── */
.anime-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.25), rgba(168,85,247,0.25), transparent);
    margin: 12px 0;
}

/* ── Steps / How to play ── */
.steps {
    width: 100%;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold3), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: #000;
    flex-shrink: 0;
}

.step-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    letter-spacing: 0.03em;
}

.step-text strong { color: var(--text); }

/* ── Testimonials ── */
.testi-wrap {
    width: 100%;
    overflow: hidden;
    margin: 10px 0;
}

.testi-inner {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: testiScroll 20s linear infinite;
}

@keyframes testiScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.testi-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 180px;
    flex-shrink: 0;
}

.testi-name  { font-size: 10px; color: var(--gold); font-weight: bold; letter-spacing: 0.05em; }
.testi-msg   { font-size: 9px; color: rgba(255,255,255,0.5); margin-top: 3px; line-height: 1.4; }
.testi-stars { font-size: 10px; margin-top: 4px; color: var(--gold); }

/* ── Copyright ── */
.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    padding: 10px 0 4px;
    letter-spacing: 0.1em;
    width: 100%;
}

.copyright a {
    color: rgba(255, 215, 0, 0.5);
    text-decoration: none;
}

/* ── Sticky CTA Buttons ── */
.sticky-buttons {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    z-index: 999;
    padding: 12px 16px 16px;
    background: linear-gradient(0deg, var(--dark) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* LOGIN button */
.btn-login {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: #000;
    background: linear-gradient(90deg, var(--gold3), var(--gold), var(--gold2), var(--gold3));
    background-size: 300% 100%;
    border-radius: 14px;
    border: none;
    position: relative;
    overflow: hidden;
    animation: btnGradMove 3s linear infinite;
    box-shadow: 0 4px 20px rgba(255,170,0,0.4), 0 0 40px rgba(255,106,0,0.2);
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    animation: shineBtn 3s linear infinite;
    pointer-events: none;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255,170,0,0.6);
}

@keyframes shineBtn    { 0% { left:-60%; } 60%,100% { left:120%; } }
@keyframes btnGradMove { 0% { background-position:0%; } 100% { background-position:300%; } }

/* DAFTAR button */
.btn-daftar {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--gold);
    background: transparent;
    border-radius: 14px;
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    box-shadow: 0 0 12px rgba(255,215,0,0.2), inset 0 0 12px rgba(255,215,0,0.04);
    animation: borderPulse 2s ease-in-out infinite;
    transition: transform 0.2s ease;
}

.btn-daftar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.08), transparent, rgba(255,215,0,0.04));
    pointer-events: none;
}

.btn-daftar:hover {
    transform: translateY(-2px);
    color: #fff;
}

@keyframes borderPulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(255,215,0,0.2), inset 0 0 12px rgba(255,215,0,0.04);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,215,0,0.5), inset 0 0 20px rgba(255,215,0,0.08);
    }
}
