* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    background-color: #050508;
    color: #ffffff;
    
    display: flex;
    justify-content: center;
    align-items: center; 
    
    min-height: 100vh;
    padding: 20px 10px;
    position: relative;
    overflow-x: hidden;
}

/* Animasi Bara Emas & Merah (Thematic Embers) */
@keyframes thematicSparkle {
    0%, 100% { opacity: 0; transform: scale(0.5) translateY(0); }
    50% { opacity: 0.85; transform: scale(1.3) translateY(-35px); }
}

.sparkle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    overflow: hidden;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd700, #ff4500); 
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ff4500;
    animation: thematicSparkle 4s infinite ease-in-out;
}

.page-container {
    width: 100%;
    max-width: 450px;
    background: rgba(13, 14, 18, 0.92);
    border: 2px solid #ff1e42;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(255, 30, 66, 0.4);
    height: auto;
    position: relative;
    z-index: 1; 
}

/* Header Stacked */
.header-stacked {
    display: flex;
    flex-direction: column;
    padding: 5px 0 15px 0;
    margin-bottom: 10px;
    width: 100%;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

/* Animasi Denyut (Pulse & Glow) untuk VIP Server */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 81, 0, 0.6), 0 0 15px rgba(255, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 18px rgba(255, 123, 0, 0.95), 0 0 30px rgba(255, 42, 42, 0.9);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255, 81, 0, 0.6), 0 0 15px rgba(255, 0, 0, 0.4);
    }
}

.vip-server-btn {
    background: linear-gradient(135deg, #ff5100, #ff0000);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: pulseGlow 1.4s infinite ease-in-out;
}

.badge-official {
    background: #1e2533;
    color: #ff3355;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #ff1e42;
    text-decoration: none;
    box-shadow: 0 0 8px rgba(255, 30, 66, 0.3);
}

.brand-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
}

.brand-logo {
    max-height: 110px;
    width: auto;
    object-fit: contain;
    transform: scale(1.5);
}

/* Marquee Box: Menggunakan Animasi Aliran Kilau Garis (Tanpa Berkedip/Pulse) */
@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.marquee-box {
    background: #08080a;
    color: #ffd700;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    
    /* Bingkai gradasi mengalir mulus, stabil, dan rata tengah secara vertikal */
    border: 2px solid transparent;
    background-image: linear-gradient(#08080a, #08080a), linear-gradient(90deg, #d4af37, #ff1e42, #ffd700, #d4af37);
    background-size: 200% 200%;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: borderFlow 5s linear infinite;
    
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 40px;
}

.marquee-box marquee {
    width: 100%;
    display: block;
}

/* Animasi untuk Hero Section (Border Shine & Text Glow) */
@keyframes borderShine {
    0% { border-color: #ff1e42; box-shadow: 0 0 5px rgba(255, 30, 66, 0.5); }
    50% { border-color: #ff4d6d; box-shadow: 0 0 20px rgba(255, 30, 66, 0.9), inset 0 0 10px rgba(255, 30, 66, 0.3); }
    100% { border-color: #ff1e42; box-shadow: 0 0 5px rgba(255, 30, 66, 0.5); }
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px #fff, 0 0 10px #ff1e42; }
    50% { text-shadow: 0 0 15px #fff, 0 0 20px #ff1e42, 0 0 30px #ff1e42; }
    100% { text-shadow: 0 0 5px #fff, 0 0 10px #ff1e42; }
}

/* Hero Section */
.hero-section {
    text-align: center;
    background: linear-gradient(135deg, #1a0508, #111319);
    border: 2px solid #ff1e42;
    border-radius: 12px;
    padding: 20px 15px;
    margin-bottom: 20px;
    animation: borderShine 3s infinite ease-in-out;
}

.hero-card h2 {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    animation: textGlow 2s infinite alternate;
}

.hero-card p {
    font-size: 12px;
    color: #e5e7eb;
}

/* Tombol Aksi (CTA) */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    display: block;
    text-align: center;
    padding: 13px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

/* Animasi Tombol Login & Daftar */
@keyframes redGlow {
    0% { box-shadow: 0 0 5px #ff1e42, 0 0 10px #ff1e42; }
    50% { box-shadow: 0 0 15px #ff1e42, 0 0 25px #ff1e42; }
    100% { box-shadow: 0 0 5px #ff1e42, 0 0 10px #ff1e42; }
}

@keyframes goldShine {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

/* Tombol Login: Merah Menyala dengan Animasi */
.btn-login {
    background: linear-gradient(135deg, #cc0000, #ff1e42);
    color: white;
    border: 1px solid #ff4d6d;
    animation: redGlow 1.5s infinite alternate;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tombol Daftar: Gold / Emas Mewah dengan Efek Kilau Berjalan */
.btn-daftar {
    background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
    background-size: 200% 100%;
    color: #111;
    border: 1px solid #d4af37;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: goldShine 3s linear infinite;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Tombol Sosial Media Berdampingan */
.social-row {
    display: flex;
    gap: 10px;
}

.social-row .btn {
    flex: 1;
    font-size: 13px;
    padding: 12px 5px;
}

.btn-whatsapp {
    background-color: #10b981;
    color: white;
    border: 1px solid #34d399;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-telegram {
    background-color: #0ea5e9;
    color: white;
    border: 1px solid #38bdf8;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

/* Informasi Situs */
.info-card {
    background: #151821;
    border: 1px solid #2a2f3d;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 13px;
    text-align: center;
    margin-bottom: 12px;
    color: #ff3355;
    letter-spacing: 1px;
}

.info-card table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.info-card td {
    padding: 8px 6px;
    border-bottom: 1px solid #2a2f3d;
}

.info-card td:last-child {
    text-align: right;
    color: #f3f4f6;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 11px;
    color: #6b7280;
    border-top: 1px solid #1f2937;
    padding-top: 12px;
}