/* ==================================================
   GAMES PAGE
================================================== */

.games-main {
    width: min(1400px, 95%);
    margin: 2rem auto;
}

.games-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.games-dashboard-header {
    background: #1e2733;
    border: 2px solid #2f4055;
    border-radius: 20px;
    color: white;
    z-index: -10;
}

.games-dashboard-label {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #29425f;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.games-dashboard-header h4 {
    margin: 0;
}

.games-dashboard-header p {
    color: #d5dde7;
}

/* ==================================================
   GRID
================================================== */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    justify-content: center;
    gap: 1.5rem;
}

/* ==================================================
   GAME CARD
================================================== */

.game-card {
    background: #1e2733;
    border: 2px solid #2f4055;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.game-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;

    padding: 1.25rem 1.5rem;

    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card-icon {
    font-size: 2rem;
}

.game-card-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8fb7e0;
}

.game-card-header h3 {
    margin: 0.25rem 0 0;
    color: white;
}

/* ==================================================
   GAME AREA
================================================== */

.game-embed-container {
    min-height: unset;
    padding: 2rem 1.5rem;
    background: #121923;

    display: flex;
    align-items: center;
    justify-content: center;
}

.game-embed-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
}

.game-placeholder {
    text-align: center;
    color: white;
}

.game-placeholder span {
    display: block;
    font-size: 5rem;
    margin-bottom: 1rem;
}

.game-placeholder p {
    margin: 0;
    font-size: 1.1rem;
}

/* ==================================================
   SAFETY CARD
================================================== */

.games-safety-notice {
    background: #233548;
    border-left: 6px solid #4ea3ff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    color: white;
    margin: 0 auto;
    margin-bottom: 30px;
    text-align: center;
}

.games-safety-notice strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: gold;
}

.games-safety-notice p {
    margin: 0;
    line-height: 1.6;
}

.play-game-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #1f6feb;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    transition: 0.2s ease;
}

.play-game-btn:hover {
    background: #388bfd;
    transform: translateY(-2px);
}



/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-embed-container {
        min-height: 500px;
    }

    .game-embed-container iframe {
        height: 500px;
    }

    .games-dashboard-header p {
        font-size: 0.7rem;
    }
}