/* =========================================
   Oscar Game — unique mobile-first design
   Inspired by premium casino aesthetics,
   rebuilt with a distinct card-based layout
========================================= */

:root {
    --bg: #08101d;
    --bg-2: #0d1728;
    --panel: rgba(14, 24, 40, 0.88);
    --panel-2: rgba(18, 31, 52, 0.96);
    --soft: rgba(255,255,255,0.05);
    --soft-2: rgba(255,255,255,0.08);
    --line: rgba(255,255,255,0.09);
    --line-strong: rgba(255,194,102,0.24);
    --text: #edf4ff;
    --muted: #afbed8;
    --accent: #ffc247;
    --accent-2: #ff9f1c;
    --accent-3: #ffdb8d;
    --success: #8ae7b0;
    --danger: #ff9d9d;
    --shadow: 0 20px 60px rgba(0,0,0,0.35);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.68;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,194,71,0.10), transparent 22%),
        radial-gradient(circle at 100% 20%, rgba(91,145,255,0.14), transparent 25%),
        linear-gradient(180deg, #08101d 0%, #0b1423 36%, #0a1320 100%);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffd88e; }
.container { width: min(var(--container), calc(100% - 28px)); margin: 0 auto; }

.skip-link {
    position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
    left: 12px; top: 12px; z-index: 1000; padding: 10px 14px;
    background: #fff; color: #111; border-radius: 10px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 16, 29, 0.84);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 74px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.01em;
}
.logo-emblem {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,194,71,1), rgba(255,159,28,1));
    box-shadow: 0 14px 26px rgba(255,159,28,0.24);
    overflow: hidden;
}
.logo-emblem::before,
.logo-emblem::after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 10px;
    border: 2px solid rgba(8,16,29,0.20);
}
.logo-emblem::after {
    inset: auto;
    width: 18px; height: 18px; right: 6px; top: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    border: none;
}
.logo-text small {
    display: block;
    color: var(--accent-3);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.logo-text span {
    display: block;
    font-size: 1rem;
}

.site-nav {
    overflow-x: auto;
    scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    min-width: max-content;
}
.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    color: var(--text);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.94rem;
}
.site-nav a:hover {
    background: rgba(255,194,71,0.10);
    border-color: rgba(255,194,71,0.22);
}
.header-cta { display: none; }

.btn, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn {
    color: #1b1507;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 30px rgba(255,159,28,0.22);
}
.btn:hover, .btn-ghost:hover { transform: translateY(-1px); }
.btn-ghost {
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
}

/* Hero */
.hero {
    padding: 22px 0 16px;
}
.hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.07);
    background:
        linear-gradient(135deg, rgba(17,29,47,0.98), rgba(10,20,34,0.98)),
        radial-gradient(circle at top right, rgba(255,194,71,0.16), transparent 24%);
    box-shadow: var(--shadow);
}
.hero-frame::before {
    content: '';
    position: absolute;
    inset: -40% auto auto -15%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255,194,71,0.12), transparent 70%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    gap: 18px;
    padding: 18px;
}
.hero-copy {
    position: relative;
    z-index: 1;
}
.hero-kicker {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.hero-kicker span,
.mini-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff5d8;
    background: rgba(255,194,71,0.10);
    border: 1px solid rgba(255,194,71,0.18);
    font-size: 0.85rem;
    font-weight: 700;
}
.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: 1.08;
}
.hero p {
    margin: 0 0 18px;
    color: var(--muted);
    max-width: 62ch;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin-top: 18px;
}
.hero-stat {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}
.hero-stat strong {
    display: block;
    color: var(--accent-3);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.hero-media {
    display: grid;
    align-items: stretch;
}
.hero-visual {
    height: 100%;
    min-height: 240px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
}
.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main blocks */
.page-main { padding: 8px 0 60px; }
.page-section,
.info-card,
.table-card,
.faq-card,
.note-card,
.promo-ribbon {
    position: relative;
    background: linear-gradient(180deg, rgba(14,24,40,0.96), rgba(12,21,36,0.96));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.page-section {
    padding: 20px 16px;
    margin: 0 0 18px;
}
.page-section::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,194,71,0.9), rgba(255,194,71,0));
    opacity: 0.6;
}
.page-section h2,
.page-section h3,
.page-section h4 {
    line-height: 1.2;
}
.page-section h2 {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 5vw, 2.1rem);
}
.page-section h3 {
    margin: 24px 0 12px;
    font-size: clamp(1.12rem, 4vw, 1.38rem);
}
.page-section p,
.page-section li {
    color: var(--text);
    font-size: 1rem;
}
.page-section p + p { margin-top: 12px; }
.page-section ul,
.page-section ol { margin: 14px 0; padding-left: 18px; }
.page-section li + li { margin-top: 8px; }
.lead {
    color: var(--muted);
    font-size: 1.03rem;
}
.section-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: var(--accent-3);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.card-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.info-card {
    padding: 16px;
    border-radius: 20px;
}
.info-card h3,
.info-card h4 { margin-top: 0; margin-bottom: 8px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card strong.value {
    display: inline-block;
    margin-top: 10px;
    color: #fff3d0;
}

.promo-ribbon {
    padding: 18px;
    margin-top: 16px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(255,194,71,0.12), rgba(255,159,28,0.06)),
        linear-gradient(180deg, rgba(14,24,40,0.96), rgba(12,21,36,0.96));
    border-color: var(--line-strong);
}
.promo-ribbon h3 { margin: 0 0 8px; }
.promo-ribbon p { margin: 0 0 14px; color: #ffefc7; }
.ribbon-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.list-grid {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}
.list-tile {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
}
.list-tile-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    color: #211804;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.list-tile p { margin: 0; }

.table-wrap {
    overflow-x: auto;
    margin: 14px -4px 0;
    padding: 0 4px 4px;
}
.table-wrap table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
}
.table-wrap th,
.table-wrap td {
    padding: 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.table-wrap th {
    color: #fff1c2;
    background: rgba(255,194,71,0.10);
    font-weight: 700;
}
.table-wrap td { color: var(--muted); }
.table-wrap tr:last-child td { border-bottom: none; }

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}
.faq-item {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 700;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.3rem;
}
.faq-item[open] summary::after { content: '–'; }
.faq-answer {
    padding: 0 18px 18px;
    color: var(--muted);
}

.cta-block {
    display: grid;
    gap: 14px;
    align-items: center;
}
.cta-panel {
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(130deg, rgba(255,194,71,0.10), rgba(255,159,28,0.04)),
        rgba(255,255,255,0.03);
    border: 1px solid rgba(255,194,71,0.16);
}
.cta-panel h2, .cta-panel h3 { margin-top: 0; }
.cta-panel p { color: #ffefc8; }

.site-footer {
    padding: 26px 0 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(6, 12, 20, 0.74);
}
.footer-grid {
    display: grid;
    gap: 18px;
}
.footer-brand {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    color: var(--text);
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}
.footer-note,
.small-note { color: var(--muted); }
.footer-note { margin-top: 10px; }

.scroll-top {
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #231a07;
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 26px rgba(255,159,28,0.28);
}

@media (min-width: 760px) {
    .header-cta { display: inline-flex; }
    .hero-grid {
        grid-template-columns: 1.08fr 0.92fr;
        align-items: center;
        gap: 24px;
        padding: 24px;
    }
    .card-grid.cols-2,
    .list-grid.cols-2,
    .footer-grid,
    .cta-block {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1080px) {
    .hero { padding-top: 30px; }
    .page-main { padding-bottom: 76px; }
    .page-section { padding: 26px 24px; }
    .header-shell { gap: 20px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr; }
}
