:root {
    --primary: #e50914;
    --dark-bg: #0b0b0b;
    --glass: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: radial-gradient(circle at 50% -20%, #450000, #0b0b0b 70%);
    background-attachment: fixed;
    color: #fff;
    line-height: 1.6;
}

/* Loading Screen */
#loader {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: #222;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.loading-bar::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 100%;
    background: var(--primary);
    animation: slide 1.5s infinite ease-in-out;
}

@keyframes slide {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 25px 8%;
    z-index: 100;
    transition: 0.4s;
}

.navbar.scrolled {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    padding: 15px 8%;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.logo span { color: #fff; }

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Layout Container */
.wrapper {
    padding: 120px 5% 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* AdSense Container Fix */
.ad-slot {
    width: 100%;
    max-width: 800px;
    min-height: 100px; /* Penting agar AdSense mendeteksi adanya ruang */
    margin: 20px auto;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    overflow: hidden;
}

/* Glass Card */
.main-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px 30px;
    width: 100%;
    max-width: 580px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    animation: cardEntry 1s ease-out;
}

@keyframes cardEntry {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.version-badge {
    background: var(--primary);
    font-size: 0.7rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

h1 { font-size: 2.5rem; margin: 15px 0; font-weight: 800; }

p { color: #bbb; margin-bottom: 30px; font-size: 0.95rem; }

/* Grid Info */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.stat-box {
    background: rgba(0,0,0,0.2);
    padding: 15px 5px;
    border-radius: 15px;
}

.stat-box span { display: block; font-size: 0.65rem; color: #777; text-transform: uppercase; }
.stat-box strong { font-size: 0.9rem; color: #eee; }

/* Download Button */
.download-btn {
    display: inline-block;
    width: 100%;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.3);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.5);
    background: #ff000d;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: #444;
    font-size: 0.8rem;
}

/* Responsif Mobile */
@media (max-width: 500px) {
    h1 { font-size: 1.8rem; }
    .main-card { padding: 30px 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr 1fr; }
    .stat-box strong { font-size: 0.75rem; }
}
