/* ==========================================================================
   Baazi Club — Site Stylesheet
   Professional, trust-focused, accessibility-first.
   ========================================================================== */

:root {
    /* Brand */
    --accent: #E94560;
    --accent-dark: #c53052;

    /* Surfaces */
    --bg: #FAFAFA;
    --surface: #FFFFFF;
    --surface-2: #F4F4F6;
    --border: #E4E4E8;

    /* Text */
    --text: #1A1A1F;
    --text-muted: #5A5A66;
    --text-faint: #8A8A95;

    /* Spacing */
    --max-width: 880px;

    /* Type */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
                  Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Menlo, Consolas, Monaco, monospace;
}

/* Reset & base ============================================================ */

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-stack);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Skip link for keyboard / screen reader users ============================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--text);
    color: var(--surface);
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Header ================================================================== */

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand .dot {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 15px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
}

.nav a:hover,
.nav a:focus,
.nav a[aria-current="page"] {
    color: var(--text);
    text-decoration: none;
}

/* Layout ================================================================== */

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 56px 24px;
}

main.narrow {
    max-width: 720px;
}

section {
    margin-bottom: 56px;
}

section:last-child {
    margin-bottom: 0;
}

/* Typography ============================================================== */

h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: var(--text);
}

h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin: 48px 0 16px;
    color: var(--text);
}

h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 28px 0 10px;
    color: var(--text);
}

p {
    margin: 0 0 16px;
}

.lead {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.55;
}

.tagline {
    color: var(--accent);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

ul,
ol {
    padding-left: 24px;
    margin: 0 0 16px;
}

li {
    margin-bottom: 6px;
}

strong {
    color: var(--text);
    font-weight: 600;
}

/* Hero ==================================================================== */

.hero {
    text-align: center;
    padding: 24px 0 32px;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

.hero .lead {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

/* CTA buttons ============================================================= */

.cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: var(--surface);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--accent);
    transition: background 0.15s, border-color 0.15s;
}

.btn:hover,
.btn:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--surface);
    text-decoration: none;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--text-muted);
}

.btn[aria-disabled="true"] {
    background: var(--surface-2);
    color: var(--text-faint);
    border-color: var(--border);
    cursor: not-allowed;
    pointer-events: none;
}

.coming-soon-note {
    color: var(--text-faint);
    font-size: 13px;
    text-align: center;
}

/* Feature cards =========================================================== */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.feature h3 {
    margin-top: 0;
}

.feature p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 15px;
}

/* Game list =============================================================== */

.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    list-style: none;
    padding: 0;
}

.games-list li {
    background: var(--surface);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin: 0;
}

.games-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 17px;
}

.games-list span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Info boxes (callouts) =================================================== */

.note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    padding: 18px 22px;
    border-radius: 8px;
    margin: 24px 0;
}

.note p:last-child {
    margin-bottom: 0;
}

.warn {
    border-left-color: #d97706;
}

/* Definition-like rows (privacy) ========================================== */

.dl-rows dt {
    font-weight: 700;
    margin-top: 16px;
    color: var(--text);
}

.dl-rows dd {
    margin: 4px 0 0;
    color: var(--text-muted);
}

/* Footer ================================================================== */

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 36px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 80px;
}

.site-footer .container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer nav {
    margin-bottom: 16px;
}

.site-footer nav a {
    color: var(--text-muted);
    margin: 0 12px;
}

.site-footer nav a:hover {
    color: var(--text);
}

.site-footer .copy {
    color: var(--text-faint);
    font-size: 13px;
}

/* Code / inline tags ====================================================== */

code {
    background: var(--surface-2);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--text);
}

/* Tables (used in privacy policy) ========================================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    font-size: 15px;
}

th {
    background: var(--surface-2);
    font-weight: 700;
    color: var(--text);
}

tr:last-child td {
    border-bottom: none;
}

/* Updated date ============================================================ */

.last-updated {
    color: var(--text-faint);
    font-size: 14px;
    margin-bottom: 24px;
    font-style: italic;
}

/* Responsive ============================================================== */

@media (max-width: 640px) {
    .hero h1 {
        font-size: 38px;
    }
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 22px;
    }
    main {
        padding: 36px 20px;
    }
    .site-header {
        padding: 14px 20px;
    }
    .nav {
        gap: 18px;
        font-size: 14px;
    }
    .brand {
        font-size: 20px;
    }
}

/* Print =================================================================== */

@media print {
    .site-header,
    .site-footer,
    .cta-row {
        display: none;
    }
    main {
        padding: 0;
    }
    a {
        color: var(--text);
        text-decoration: underline;
    }
}
