/*
Theme Name: Games
Theme URI: https://games.digitalwebservices.xyz/
Author: Press Rogers
Author URI: https://pressrogers.com/
Description: Dark arcade presentation built on the Basic theme foundation.
Version: 0.1.0
Template: press-basic
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: games
*/

:root {
    color-scheme: dark;
    --basic-bg: radial-gradient(circle at 20% 20%, #15192f, #070910 75%);
    --basic-text: #f5f7ff;
    --basic-muted: rgba(245, 247, 255, 0.75);
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}



body.games-single {
    display: block;
    padding: 0;
    overflow-x: hidden;
    background: var(--basic-bg);
}
.basic-title {
    color: transparent;
    background: linear-gradient(120deg, #6a9bff 0%, #8c6bff 45%, #ff68b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.games-front-page .basic-screen {
    min-height: 100vh;
}

.games-hero {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    justify-items: center;
    text-align: center;
}

.games-hero__subtitle {
    margin: 0;
    max-width: min(720px, 88vw);
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(245, 247, 255, 0.75);
    line-height: 1.7;
}

.games-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.games-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(0.85rem, 2.8vw, 0.95rem);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.games-button--primary {
    color: #0b0d15;
    background: linear-gradient(120deg, #6a9bff 0%, #8c6bff 45%, #ff68b8 100%);
    box-shadow: 0 12px 45px rgba(106, 155, 255, 0.42);
}

.games-button--primary:hover,
.games-button--primary:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 55px rgba(106, 155, 255, 0.55);
}

.games-button--ghost {
    color: rgba(245, 247, 255, 0.85);
    background: transparent;
    border: 1px solid rgba(245, 247, 255, 0.3);
}

.games-button--ghost:hover,
.games-button--ghost:focus-visible {
    border-color: rgba(245, 247, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
}

.games-button:focus-visible {
    outline: 2px solid rgba(255, 104, 184, 0.9);
    outline-offset: 4px;
}

.games-archive .basic-screen {
    padding: clamp(2rem, 5vw, 4rem);
    width: 100%;
}

.games-archive .games-hero {
    margin-bottom: clamp(2rem, 6vw, 3.5rem);
}

.games-pagination {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
}

.games-pagination .page-numbers {
    display: inline-flex;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: rgba(12, 14, 24, 0.7);
    color: rgba(245, 247, 255, 0.85);
    text-decoration: none;
}

.games-pagination .current {
    background: linear-gradient(120deg, #6a9bff 0%, #8c6bff 45%, #ff68b8 100%);
    color: #080b16;
}

.games-single__wrap {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: clamp(1rem, 2vw, 1.6rem);
    box-sizing: border-box;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: clamp(1.2rem, 4vh, 2.4rem) clamp(2vw, 5vw, 6vw);
    background: rgba(10, 12, 22, 0.82);
    border-radius: clamp(0.4rem, 1.5vw, 1.2rem);
    border: 0;
    box-shadow: 0 20px 55px rgba(7, 10, 22, 0.5);
    backdrop-filter: blur(18px);
    align-content: stretch;
}

.games-single__hero {
    display: grid;
    gap: clamp(0.4rem, 1.6vw, 1rem);
    padding-bottom: clamp(0.4rem, 2vh, 0.8rem);
    text-align: left;
    align-items: flex-start;
}

.games-single__title {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.games-single__subtitle {
    margin: 0;
    max-width: 60ch;
    color: rgba(245, 247, 255, 0.75);
    line-height: 1.5;
    font-size: clamp(0.9rem, 1.6vw, 1.1rem);
}

.games-single__actions {
    display: flex;
    gap: clamp(0.6rem, 2vw, 1rem);
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: clamp(0.4rem, 1vh, 0.8rem);
}

.games-single__actions .games-button {
    min-width: 9rem;
}

.games-single__actions .games-button--ghost {
    border-color: rgba(245, 247, 255, 0.24);
    background: rgba(245, 247, 255, 0.04);
}

.games-single__layout {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(1rem, 2vw, 1.6rem);
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-items: stretch;
    min-height: 0;
}

.games-single__playable {
    padding: clamp(0.8rem, 2vw, 1.4rem);
    border-radius: clamp(0.6rem, 1.5vw, 1rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 12, 22, 0.68);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 16px 40px rgba(7, 10, 22, 0.4);
    flex: 1 1 clamp(320px, 50vw, 520px);
    max-width: clamp(320px, 50vw, 520px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.games-single__content {
    flex: 1 1 clamp(140px, 32vh, 260px);
    min-height: 0;
    overflow: auto;
    padding: clamp(0.6rem, 1.5vw, 1rem);
    background: rgba(12, 14, 28, 0.45);
    border-radius: clamp(0.6rem, 1.5vw, 1rem);
}

.games-single__content > *:first-child {
    margin-top: 0;
}

.games-single__content p {
    color: rgba(245, 247, 255, 0.75);
    line-height: 1.55;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.games-single__side {
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vw, 1.4rem);
    width: 100%;
    box-sizing: border-box;
    flex: 1 1 clamp(260px, 30vw, 360px);
    max-width: clamp(260px, 30vw, 360px);
    min-height: 0;
    align-items: stretch;
    overflow: hidden;
}

.games-single__scoreboard {
    flex: 1 1 clamp(160px, 40vh, 360px);
    display: flex;
    flex-direction: column;
    gap: clamp(0.8rem, 2vw, 1.4rem);
    min-height: 0;
}

.games-single__scoreboard .games-scoreboard {
    margin: 0;
    padding: clamp(0.8rem, 2vw, 1.2rem);
    border-radius: 12px;
    flex: 0 0 auto;
}

.games-single__scoreboard .games-scoreform {
    margin: 0;
    padding: clamp(0.8rem, 2vw, 1.2rem);
    border-radius: 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.games-single__scoreboard .games-scoreform__actions {
    margin-top: 0.9rem;
}

@media (max-width: 720px) {
    .games-single__wrap {
        border-radius: clamp(0.4rem, 3vw, 0.8rem);
        margin: 0;
        width: 100%;
        max-width: 100%;
        padding: clamp(0.8rem, 5vw, 1.4rem);
    }

    .games-single__layout {
        flex-wrap: wrap;
    }

    .games-single__playable,
    .games-single__side {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .games-single__scoreboard .games-scoreform,
    .games-single__scoreboard .games-scoreboard {
        padding: clamp(0.7rem, 4vw, 1rem);
    }
}

    .games-single__scoreboard .games-scoreform,
    .games-single__scoreboard .games-scoreboard {
        padding: clamp(0.8rem, 4vw, 1.1rem);
    }
}
