/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: radial-gradient(circle at top, #1a1a1a, #0d0d0d 70%);
    color: #e4e4e4;
    line-height: 1.6;
}

/* Header */
header {
    background: #0d0d0d;
    color: #00eaff;
    text-align: center;
    padding: 14px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-bottom: 3px solid #b537f2;
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.6);
}

/* Headings */
h1, h2, h3 {
    font-family: 'Baloo 2', cursive;
}

h1 {
    font-size: 2.4rem;
    color: #00eaff;
    text-shadow: 0 0 10px rgba(0, 234, 255, 0.7);
}

h2 {
    font-size: 2rem;
    color: #b537f2;
    text-shadow: 0 0 10px rgba(181, 55, 242, 0.7);
}

/* Iframe Container */
.iframe-container {
    display: flex;
    justify-content: center;
    padding: 35px 0;
}

.iframe-container iframe {
    width: 95%;
    max-width: 1000px;
    height: 550px;
    border: none;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.4);
}

/* Game Details */
.game-details {
    background: #1a1a1a;
    padding: 35px;
    margin: 25px auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.15);
    text-align: center;
}

.game-details h3 {
    color: #12f7d6;
    margin-bottom: 18px;
    text-shadow: 0 0 8px rgba(18, 247, 214, 0.7);
}

/* Grid Layout */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 25px;
    justify-items: center;
}

/* Game Card */
.game-card {
    background: #1a1a1a;
    padding: 22px;
    width: 260px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 0 18px rgba(0, 234, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #242424;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(18, 247, 214, 0.35);
    border-color: #12f7d6;
}

.game-banner {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
}

/* Game Title */
.game-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00eaff;
    text-shadow: 0 0 6px rgba(0, 234, 255, 0.6);
    margin-bottom: 10px;
}

/* Button */
.play-now {
    display: inline-block;
    padding: 12px 20px;
    background: #b537f2;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 0 12px rgba(181, 55, 242, 0.5);
}

.play-now:hover {
    background: #12f7d6;
    box-shadow: 0 0 20px rgba(18, 247, 214, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .iframe-container iframe {
        height: 400px;
    }
}
