/*
 * Slottomat.com - World-Class Game Page Styling
 * Version: 2.0 - Premium Edition
 * Date: October 30, 2025
 *
 * Features:
 * - Magazine-quality typography with optimal readability
 * - Professional spacing and visual hierarchy
 * - Modern card-based layouts
 * - Smooth micro-interactions
 * - Enhanced content presentation
 * - World-class user experience
 */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Brand Colors */
    --navy: #0b004b;
    --navy-light: #1a0066;
    --navy-lighter: #2d1a7a;
    --red: #da1f15;
    --red-hover: #b01811;
    --red-light: #ff3128;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #f4f5f7;
    --medium-gray: #e1e4e8;
    --text-dark: #2c3e50;
    --text-medium: #5a6c7d;
    --text-light: #8392a5;

    /* Accent Colors */
    --accent-blue: #3498db;
    --accent-green: #27ae60;
    --accent-orange: #e67e22;
    --accent-purple: #9b59b6;

    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-secondary: 'Inter', -apple-system, sans-serif;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.15vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
    --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.75rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 0.75vw, 2.25rem);
    --text-3xl: clamp(1.875rem, 1.6rem + 1vw, 3rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Content Width */
    --content-width: 1200px;
    --content-width-narrow: 800px;
    --content-width-wide: 1400px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

.game-content *,
.game-content *::before,
.game-content *::after {
    box-sizing: border-box;
}

/* ============================================
   TYPOGRAPHY - WORLD-CLASS
   ============================================ */

.game-content {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--text-dark);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.game-content h1 {
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: var(--space-2xl) 0 var(--space-xl);
    font-family: var(--font-primary);
}

.game-content h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--navy);
    margin: var(--space-xl) 0 var(--space-lg);
    font-family: var(--font-primary);
    position: relative;
    padding-bottom: var(--space-sm);
}

.game-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--red) 0%, var(--red-light) 100%);
    border-radius: 2px;
}

.game-content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--navy-lighter);
    margin: var(--space-lg) 0 var(--space-md);
    font-family: var(--font-primary);
}

.game-content h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
    margin: var(--space-md) 0 var(--space-sm);
    font-family: var(--font-primary);
}

/* Paragraph Styling */
.game-content p {
    font-size: var(--text-base);
    line-height: 1.8;
    margin: 0 0 var(--space-lg);
    color: var(--text-dark);
    max-width: 75ch; /* Optimal reading width */
}

.game-content p:first-of-type {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-medium);
}

/* Drop Cap for First Paragraph */
.game-content p:first-of-type::first-letter {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 0.85;
    float: left;
    margin: 0.1em 0.15em 0 0;
    color: var(--red);
    font-family: var(--font-primary);
}

/* Lists */
.game-content ul,
.game-content ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
    color: var(--text-dark);
}

.game-content li {
    margin: var(--space-sm) 0;
    line-height: 1.7;
    padding-left: var(--space-xs);
}

.game-content ul li {
    list-style-type: none;
    position: relative;
}

.game-content ul li::before {
    content: '▸';
    position: absolute;
    left: calc(var(--space-lg) * -1);
    color: var(--red);
    font-weight: 700;
}

/* Links */
.game-content a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: all var(--transition-fast);
}

.game-content a:hover {
    color: var(--red);
    text-decoration-color: var(--navy);
}

/* Strong & Em */
.game-content strong {
    font-weight: 700;
    color: var(--navy);
}

.game-content em {
    font-style: italic;
    color: var(--text-medium);
}

/* ============================================
   CALLOUT BOXES & CARDS
   ============================================ */

/* Info Box */
.game-content .info-box,
.game-content .tip-box,
.game-content .warning-box,
.game-content .highlight-box {
    background: var(--light-gray);
    border-left: 4px solid var(--accent-blue);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.game-content .tip-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-left-color: var(--accent-green);
}

.game-content .warning-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: var(--accent-orange);
}

.game-content .highlight-box {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-left-color: var(--accent-purple);
}

/* Quick Answer Box */
.game-content .quick-answer {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.game-content .quick-answer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.game-content .quick-answer h3 {
    color: var(--white);
    font-size: var(--text-xl);
    margin-top: 0;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
}

.game-content .quick-answer h3::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    margin-right: var(--space-md);
    font-weight: 700;
    font-size: 1.2em;
}

.game-content .quick-answer p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 0;
    font-size: var(--text-lg);
    max-width: none;
}

/* ============================================
   STATS TABLE - PREMIUM DESIGN
   ============================================ */

/* ============================================   STATS TABLE - PREMIUM DESIGN   ============================================ */#single-game-table {    list-style: none;    padding: 0;    margin: 2rem 0 3rem;    display: grid;    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));    gap: 1.25rem;}#single-game-table li {    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);    border-radius: 16px;    padding: 1.75rem 1.5rem;    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);    position: relative;    overflow: hidden;    border: 1px solid rgba(0, 0, 0, 0.05);}#single-game-table li::before {    display: none;}#single-game-table li::after {    content: "";    position: absolute;    top: 0;    left: 0;    width: 100%;    height: 4px;    background: linear-gradient(90deg, #0b004b 0%, #da1f15 100%);}#single-game-table li:hover {    transform: translateY(-4px);    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.08);    border-color: rgba(218, 31, 21, 0.2);}#single-game-table li span:first-child {    display: block;    font-size: 0.75rem;    font-weight: 700;    color: #8392a5;    text-transform: uppercase;    letter-spacing: 0.08em;    margin-bottom: 0.75rem;    font-family: "Montserrat", sans-serif;}#single-game-table li span:last-child {    display: block;    font-size: 1.75rem;    font-weight: 800;    color: #0b004b;    font-family: "Montserrat", sans-serif;    line-height: 1.2;    letter-spacing: -0.02em;}#single-game-table li:nth-child(1) span:last-child {    color: #27ae60;}#single-game-table li:nth-child(4) span:last-child {    color: #da1f15;}@media (max-width: 992px) {    #single-game-table {        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));        gap: 1rem;    }    #single-game-table li {        padding: 1.5rem 1.25rem;    }    #single-game-table li span:last-child {        font-size: 1.5rem;    }}@media (max-width: 768px) {    #single-game-table {        grid-template-columns: repeat(2, 1fr);        gap: 0.875rem;    }    #single-game-table li {        padding: 1.25rem 1rem;    }    #single-game-table li span:first-child {        font-size: 0.7rem;        margin-bottom: 0.5rem;    }    #single-game-table li span:last-child {        font-size: 1.375rem;    }}@media (max-width: 576px)
    .game-content h2::after {
        width: 40px;
    }

    .game-content .quick-answer {
        padding: var(--space-lg);
    }

    .game-content .quick-answer h3::before {
        width: 24px;
        height: 24px;
        font-size: 1em;
    }

    .game-cta-button,
    .game-content .btn-primary {
        width: 100%;
        padding: var(--space-md);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .game-content {
        color: #000;
        background: #fff;
    }

    .game-content a {
        text-decoration: underline;
        color: #000;
    }

    #newHeader {
        background: none;
        border: 2px solid #000;
        color: #000;
    }

    #newHeader h1 {
        color: #000;
        text-shadow: none;
    }

    .game-content .quick-answer {
        background: none;
        border: 2px solid #000;
        color: #000;
    }

    .game-cta-button,
    .game-content .btn-primary {
        display: none;
    }

    .accordion-header {
        background: none;
        border: 1px solid #000;
    }
}

/* ============================================
   DARK MODE SUPPORT (Future Ready)
   ============================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --off-white: #242424;
        --light-gray: #2d2d2d;
        --medium-gray: #3d3d3d;
        --text-dark: #e1e4e8;
        --text-medium: #b8bdc4;
        --text-light: #8b949e;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus States */
.game-content a:focus,
.game-content button:focus,
.accordion-header:focus {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .game-content {
        color: #000;
    }

    .game-content a {
        text-decoration-thickness: 3px;
    }

    #newHeader {
        border: 3px solid currentColor;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.p-xl {
    padding: var(--space-xl);
}

.rounded {
    border-radius: var(--radius-md);
}

.shadow {
    box-shadow: var(--shadow-md);
}
