:root {
    --primary-color: #00bcd4; /* biru neon */
    --accent-color: #ff4081;  /* pink magenta */
    --bg-dark: #0a0f1a;       /* biru gelap */
    --bg-card: rgba(255, 255, 255, 0.08); /* efek glass */
    --text-light: #e0f7fa;
    --text-soft: #9eaec0;
    --border-glow: rgba(0, 188, 212, 0.5);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top left, #0a0f1a 0%, #05080f 100%);
    color: var(--text-light);
    line-height: 1.7;
    letter-spacing: 0.3px;
}

/* Header */
header {
    background: linear-gradient(to right, #051937, #002647, #003b6f);
    color: var(--primary-color);
    text-align: center;
    padding: 20px;
    border-bottom: 2px solid var(--border-glow);
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.25);
    backdrop-filter: blur(10px);
}

h1, h2, h3 {
    transition: color 0.3s ease;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-top: 10px;
}

h3:hover {
    color: var(--primary-color);
}

/* Game iframe */
.iframe-container {
    text-align: center;
    margin: 25px 0;
}

.game-iframe {
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Game details */
.game-details {
    margin: 30px auto;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    color: var(--text-soft);
    width: 95%;
    max-width: 1200px;
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.25);
    border-radius: 20px;
    text-align: justify;
    backdrop-filter: blur(15px);
}

.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: 30px;
    padding: 30px;
}

.game-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    background: var(--bg-card);
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 188, 212, 0.2);
    backdrop-filter: blur(12px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.45);
}

/* Banner Image */
.game-banner {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--accent-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-banner:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-color);
}

/* Game Title */
.game-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.game-title:hover {
    color: var(--accent-color);
}

/* Button Play Now */
.play-now {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), #004d60);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.3);
}

.play-now:hover {
    background: linear-gradient(135deg, var(--accent-color), #00bcd4);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 64, 129, 0.5);
}

/* Responsive */
@media (max-width: 480px) {
    header {
        padding: 15px;
    }

    .game-iframe {
        aspect-ratio: auto;
        height: 65vh;
    }

    .game-card {
        padding: 18px;
    }

    .game-title {
        font-size: 1.2rem;
    }

    .play-now {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    .game-grid {
        gap: 20px;
    }
}
