:root {
    --primary: #00d4ff;
    --secondary: #062c43;
    --bg-dark: #050505;
    --card-bg: rgba(31, 40, 51, 0.7);
    --text-light: #e5e5e5;
    --neon-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li { margin: 0 15px; }

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
    font-size: 1.1rem;
}

nav ul li a:hover {
    color: var(--primary);
    text-shadow: var(--neon-shadow);
}

.btn-login {
    background: var(--primary);
    color: black !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: var(--primary);
    margin-bottom: 4px;
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1,a {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    text-decoration: none;
}

.hero p,a {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    color: #ccc;
}

.cta-btn {
    padding: 15px 40px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    transition: 0.4s;
    border-radius: 5px;
}

.cta-btn:hover {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

/* --- Games Section --- */
.container {
    padding: 80px 8%;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: 0.4s;
}

.card:hover img {
    filter: grayscale(0%);
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.card-info p {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff0055;
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    nav { padding: 20px 5%; }
    .menu-toggle { display: flex; }
    
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(5, 5, 5, 0.98);
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        transition: 0.5s;
    }

    nav ul.active { right: 0; }
    nav ul li { margin: 20px 0; }
}

.donation-stream-overlay {
    position: fixed;
    top: 20px;       /* Jarak dari atas */
    right: 20px;     /* Jarak dari kanan (bisa diatur sesuai keinginan) */
    width: 400px;    /* Sesuaikan dengan lebar box donasi kamu */
    height: 600px;   /* Sesuaikan dengan tinggi area animasi donasi */
    z-index: 9999;   /* Pastikan di atas semua elemen website */
    pointer-events: none; /* Penting: Agar klik user tetap tembus ke menu di bawahnya */
}

.donation-stream-overlay iframe {
    width: 100%;
    height: 100%;
    background: transparent; /* Pastikan background iframe bening */
}
