:root {
    --primary-color: #9c27b0; /* ungu neon */
    --accent-color: #00e676;  /* hijau elektrik */
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --text-light: #f5f5f5;
    --text-soft: #aaaaaa;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(to right, #2a003f, #3c1c5d);
    color: var(--accent-color);
    text-align: center;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 255, 100, 0.3);
}

h1, h2, h3 {
    transition: color 0.3s ease;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

h3:hover {
    color: var(--accent-color);
}

/* Game iframe */
.iframe-container {
    text-align: center;
    margin: 20px 0;
}

.game-iframe {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    border: 1px solid #444;
    border-radius: 15px;
    box-shadow: 0 6px 10px rgba(0, 255, 100, 0.3);
    background-color: #1a1a1a;
}

/* Game details */
.game-details {
    margin: 20px auto;
    padding: 25px;
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    color: var(--text-soft);
    width: 95%;
    max-width: 1200px;
    box-shadow: 0 6px 10px rgba(156, 39, 176, 0.3);
    border-radius: 15px;
    text-align: justify;
}

.game-details p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Grid Layout */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 25px;
}

.game-card {
    border: 1px solid #333;
    border-radius: 15px;
    padding: 20px;
    background-color: var(--bg-card);
    text-align: center;
    box-shadow: 0 6px 10px rgba(0, 255, 100, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 16px rgba(0, 255, 100, 0.5);
}

.game-banner {
    width: 100%;
    max-width: 300px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.game-banner:hover {
    transform: scale(1.05);
}

.game-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.game-title:hover {
    color: var(--accent-color);
}

/* Button Play Now */
.play-now {
    padding: 12px 20px;
    background: linear-gradient(to right, var(--primary-color), #7b1fa2);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.play-now:hover {
    background: linear-gradient(to right, #ab47bc, var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 230, 118, 0.5);
}

/* Responsive */
@media (max-width: 480px) {
    .game-iframe {
        aspect-ratio: auto;
        height: 70vh;
    }

    .game-title {
        font-size: 1.2rem;
    }

    .game-card {
        padding: 15px;
    }

    .play-now {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .game-grid {
        gap: 15px;
    }
}