/* ==========================================================================
   Poko Games - Modern Glassmorphism & High-Performance Gaming Theme
   AdSense Approval Ready & Compliant Architecture
   ========================================================================== */

:root {
    --brand-primary: #3b82f6;
    --brand-primary-hover: #2563eb;
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --card-border: rgba(51, 65, 85, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Base Body & Background */
body {
    background-color: #0f172a;
    color: #f1f5f9;
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Ambient Gradient Glow in Background */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 20%;
    width: 60vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.03) 50%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Game Card Hover Micro-Interactions */
.game-card-transition {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

/* Compliant Ad Slot Containers */
.poko-ad-wrapper {
    margin: 1.5rem auto;
    text-align: center;
    overflow: hidden;
}

.poko-ad-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-bottom: 6px;
    user-select: none;
}

.poko-ad-box {
    background: rgba(30, 41, 59, 0.4);
    border: 1px dashed rgba(71, 85, 105, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 8px;
    transition: border-color 0.2s;
}

.poko-ad-box:hover {
    border-color: rgba(100, 116, 139, 0.8);
}

/* Responsive 16:9 Gameplay Container */
.game-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #020617;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.game-player-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Legal Content Typography (Ensures readable, high-quality editorial formatting for AdSense) */
.legal-content h1, .legal-content h2, .legal-content h3, .legal-content h4 {
    color: #ffffff;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.legal-content h2 {
    font-size: 1.35rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    padding-bottom: 0.4rem;
}

.legal-content h3 {
    font-size: 1.15rem;
}

.legal-content p {
    color: #cbd5e1;
    margin-bottom: 1.1rem;
    line-height: 1.75;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: #cbd5e1;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

.legal-content th, .legal-content td {
    border: 1px solid #334155;
    padding: 0.75rem 1rem;
    text-align: left;
}

.legal-content th {
    background: #1e293b;
    color: #f8fafc;
    font-weight: 600;
}

.legal-content td {
    background: rgba(15, 23, 42, 0.5);
    color: #cbd5e1;
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.animate-pulse-glow {
    animation: pulseGlow 3s infinite ease-in-out;
}