/* ============================================================
   DOYANPOKER — style.css
   ============================================================ */

/* ── Root Variables ── */
:root {
    --gold:      #FFD700;
    --gold-dim:  #DAA520;
    --blue:      #FFD700;
    --blue-dim:  #00c4b3;
    --dark:      #000000;
    --dark-card: #0a0a0a;
    --border:    rgba(255, 215, 0, 0.4);
    --text:      #FFFFFF;
    --text-dim:  #B0B0B0;
}

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

/* ── Body ── */
body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── Hero Background ── */
.hero-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--dark);
}

.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.15) grayscale(0.8);
}

/* ── Scanlines ── */
.scanlines {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255, 215, 0, 0.03) 3px,
        rgba(255, 215, 0, 0.03) 4px
    );
    pointer-events: none;
}

/* ── Overlay / Center ── */
.overlay {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
}

/* ── Card ── */
.card {
    width: 100%;
    max-width: 420px;
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

/* ── Topbar / Logo ── */
.topbar {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.topbar img {
    height: 50px;
    width: auto;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 5px var(--gold));
}

/* ── Banner ── */
.banner {
    position: relative;
    overflow: hidden;
}

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

/* ── Titlebar ── */
.titlebar {
    padding: 11px 16px;
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--gold);
    text-transform: uppercase;
    background: #000000;
    border-bottom: 1px solid var(--border);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ── Content ── */
.content {
    padding: 16px;
}

/* ── Stats Badges ── */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.stat-badge {
    background: #000000;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-label {
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
}

/* ── Buttons ── */
.btns {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.btn {
    flex: 1;
    height: 46px;
    line-height: 44px;
    text-align: center;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    border-radius: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Shine sweep on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-15deg);
    transition: left 0.45s ease;
    pointer-events: none;
}

.btn:hover::before { left: 150%; }

/* DAFTAR — gold solid */
.btn-daftar {
    background: var(--blue);
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.45);
    border: none;
    animation: daftarPulse 2.5s ease-in-out infinite;
}

@keyframes daftarPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(255,215,0,0.45), 0 0 0 0 rgba(255,215,0,0.3); }
    50%       { box-shadow: 0 0 25px rgba(255,215,0,0.7),  0 0 0 8px rgba(255,215,0,0); }
}

.btn-daftar:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/* LOGIN — dark border */
.btn-login {
    background: #000000;
    border: 2px solid var(--blue);
    color: var(--blue);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    animation: loginGlow 2.5s ease-in-out infinite 0.5s;
}

@keyframes loginGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255,215,0,0.2); }
    50%       { box-shadow: 0 0 22px rgba(255,215,0,0.55); }
}

.btn-login:hover {
    background: rgba(255, 215, 0, 0.08);
    transform: translateY(-2px);
}

/* ── Info Table ── */
.info {
    background: #000000;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.row {
    display: flex;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

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

.label {
    width: 45%;
    color: var(--gold-dim);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.value {
    width: 55%;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

/* ── Footer ── */
.footer {
    margin-top: 14px;
    text-align: center;
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Orbitron', monospace;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer span { color: var(--gold); }

.copyright a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
}

.copyright a:hover { color: #fff; }
