/* ── CSS Variables ── */
:root {
    --gold:        #f1c40f;
    --gold-dark:   #c9920a;
    --gold-light:  #ffe066;
    --green:       #00e68a;
    --green-dark:  #00a862;
    --bg-deep:     #07071a;
    --bg-mid:      #0e0e2e;
    --glass:       rgba(10, 10, 35, 0.75);
    --border:      rgba(241, 196, 15, 0.25);
    --text:        #e8e8ff;
    --text-muted:  rgba(180, 180, 220, 0.6);
}

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

/* ── Body ── */
body {
    font-family: 'Exo 2', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: var(--text);
    background-color: var(--bg-deep);

    /* Deep space dot-grid texture */
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(0, 230, 138, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(241, 196, 15, 0.06) 0%, transparent 55%),
        radial-gradient(#1a1a3a 1px, transparent 1px);
    background-size: auto, auto, 4px 4px;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

/* Subtle animated top light beam */
body::before {
    content: "";
    position: fixed;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(ellipse, rgba(241,196,15,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: beamPulse 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1;   transform: translateX(-50%) scale(1.2); }
}

/* ── Header ── */
header,
footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    position: relative;
    z-index: 1;
}

/* ── Logo ── */
.logo {
    max-width: 160px;
    height: auto;
    display: inline-block;
    margin: 10px 0;
    filter: drop-shadow(0 0 8px rgba(241,196,15,0.5)) drop-shadow(0 0 20px rgba(241,196,15,0.2));
    animation: logoBreathe 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.06);
}

@keyframes logoBreathe {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(241,196,15,0.5))  drop-shadow(0 0 20px rgba(241,196,15,0.2));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(241,196,15,0.9)) drop-shadow(0 0 40px rgba(241,196,15,0.4));
    }
}

/* ── Marquee ── */
.marquee-container {
    width: 300px;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid var(--border);
    border-radius: 20px;
    margin: 8px 0 12px;
    background: var(--glass);
    backdrop-filter: blur(6px);
    padding: 5px 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(241,196,15,0.1), inset 0 0 8px rgba(241,196,15,0.05);
}

.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 12s linear infinite;
    color: var(--gold);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* ── Main ── */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Banner ── */
.banner-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(241,196,15,0.2), 0 8px 30px rgba(0,0,0,0.5);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    margin: 0 0 6px;
    border: 1px solid var(--border);
}

.banner-link:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(241,196,15,0.4), 0 12px 40px rgba(0,0,0,0.6);
}

.banner {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* ── Button row ── */
.buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    gap: 12px;
}

/* ── Base button ── */
.button {
    flex: 1;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 0;
    color: #fff;
    border: none;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    top: 0;
    transition: top 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-align: center;
    text-decoration: none;
    margin: 10px auto 16px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

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

.button:hover::before { left: 140%; }

.button:hover {
    top: -3px;
    filter: brightness(1.15);
}

/* ── Button — DAFTAR (gold) ── */
.button-daftar {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold-dark));
    background-size: 300% 300%;
    color: #0a0a0a;
    text-shadow: none;
    box-shadow: 0 6px 0 #9a6e00, 0 10px 20px rgba(241,196,15,0.35);
    animation: goldShift 4s ease infinite, daftarPulse 2.8s ease-in-out infinite;
}

@keyframes goldShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes daftarPulse {
    0%, 100% { box-shadow: 0 6px 0 #9a6e00, 0 0 0 0 rgba(241,196,15,0.4); }
    50%       { box-shadow: 0 6px 0 #9a6e00, 0 0 0 8px rgba(241,196,15,0); }
}

.button-daftar:hover {
    box-shadow: 0 4px 0 #9a6e00, 0 0 25px rgba(241,196,15,0.6);
}

/* ── Button — LOGIN (green) ── */
.button-login {
    background: linear-gradient(135deg, var(--green-dark), var(--green), #5effc0, var(--green-dark));
    background-size: 300% 300%;
    color: #031a0d;
    text-shadow: none;
    box-shadow: 0 6px 0 #006b3d, 0 10px 20px rgba(0,230,138,0.3);
    animation: greenShift 4s ease infinite 0.5s, loginPulse 2.8s ease-in-out infinite 0.5s;
}

@keyframes greenShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes loginPulse {
    0%, 100% { box-shadow: 0 6px 0 #006b3d, 0 0 0 0 rgba(0,230,138,0.4); }
    50%       { box-shadow: 0 6px 0 #006b3d, 0 0 0 8px rgba(0,230,138,0); }
}

.button-login:hover {
    box-shadow: 0 4px 0 #006b3d, 0 0 25px rgba(0,230,138,0.5);
}

/* ── Footer ── */
footer p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

footer a {
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--gold-light);
}
