/* Pool Master – PlayMix Games */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:       #080b18;
    --card:     #111827;
    --accent:   #4d79ff;
    --gold:     #facc15;
    --text:     #f1f5f9;
    --muted:    #64748b;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.hidden { display: none !important; }

/* ─── GAME SCREEN ─────────────────────────────────────────────── */
#game-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 80vh;
    padding-top: 30px;
    background: radial-gradient(circle at center, #112 0%, #000 100%);
    position: relative;
    padding-bottom: 40px;
}

#arena {
    width: min(95vw, 850px);
    margin: 0 auto;
}

.board-outer {
    position: relative;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 15px 50px rgba(0,0,0,0.6);
    width: 100%;
    aspect-ratio: 15 / 8.25;
    background: #060e0a;
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .board-outer, #poolHUD {
        margin-right: 170px; /* Provides space for 160x600 right sidebar ad */
    }
}

canvas#screen {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* ─── INFO SECTIONS ───────────────────────────────────────────── */
.game-info {
    background: #07090f;
    padding: 40px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.info-container {
    display: flex; flex-wrap: wrap; gap: 24px;
    max-width: 900px; margin: 0 auto;
}
.info-card {
    flex: 1 1 280px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px; padding: 24px;
}
.info-card h2 {
    font-size: 1.1rem; font-weight: 900; color: var(--accent);
    margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px;
}
.info-content p { color: #94a3b8; line-height: 1.7; margin-bottom: 10px; font-size: 0.91rem; }
.info-content ul { padding-left: 18px; color: #94a3b8; }
.info-content ul li { margin-bottom: 7px; line-height: 1.6; font-size: 0.91rem; }
.info-content strong { color: #e2e8f0; }

