/* =========================================================
   V8Club - main stylesheet
   Hand-written, mobile-first, no framework.
   Google-friendly: explicit sizes, no layout shift, dark navy theme.
   ========================================================= */

:root {
    --c-bg:        #0F1B3D;
    --c-bg-2:      #0a1330;
    --c-bg-soft:   #16255a;
    --c-text:      #E6ECFF;
    --c-text-dim:  #A9B4D9;
    --c-accent:    #FFB627;
    --c-accent-2:  #FF6A3D;
    --c-success:   #2ED47A;
    --c-line:      rgba(255,255,255,0.08);
    --c-card:      rgba(255,255,255,0.04);
    --radius:      12px;
    --radius-lg:   20px;
    --shadow:      0 8px 24px rgba(0,0,0,0.25);
    --maxw:        1200px;
    --gap:         24px;
    --font:        "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--c-text);
    background: radial-gradient(1200px 800px at 80% -10%, #1a2a6a 0%, var(--c-bg) 60%) fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem); }
h2 { font-size: clamp(1.4rem, 1.6vw + 1rem, 1.9rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--c-text-dim); }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--c-accent);
    color: #000; padding: 8px 12px; border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ============= Header / Nav ============= */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(15,27,61,0.85);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
    display: flex; align-items: center; gap: 16px; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand__mark {
    display: inline-grid; place-items: center; width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
    color: #1a1100; border-radius: 8px; font-weight: 900; font-size: 14px;
}
.brand__name { letter-spacing: .5px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.site-nav a {
    display: inline-block; padding: 10px 12px; color: var(--c-text); border-radius: 8px;
}
.site-nav a:hover { background: var(--c-card); text-decoration: none; }
.site-nav a.is-active { color: var(--c-accent); background: var(--c-card); }

.site-header__cta { display: flex; gap: 8px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
    border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease;
}
.btn--primary { background: var(--c-accent) !important; color: #fff !important; font-weight: 800 !important; letter-spacing: .3px; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.btn--primary:hover { background: #ffc24a; text-decoration: none; }
.btn--ghost   { background: transparent; color: var(--c-text); border-color: var(--c-line); }
.btn--ghost:hover { background: var(--c-card); text-decoration: none; }

.nav-toggle {
    display: none; background: transparent; border: 0; width: 40px; height: 40px;
    margin-left: auto; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--c-text); margin: 5px 0; border-radius: 2px; }

@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--c-bg-2); border-bottom: 1px solid var(--c-line); display: none; }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; padding: 8px; }
    .site-header__cta .btn--ghost { display: none; }
}

/* ============= Hero ============= */
.hero {
    position: relative; overflow: hidden;
    padding: 64px 0 48px;
    background: linear-gradient(180deg, rgba(15,27,61,0) 0%, rgba(15,27,61,.6) 100%);
}
.hero__grid {
    display: grid; gap: 32px; align-items: center;
    grid-template-columns: 1.1fr .9fr;
}
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--c-accent); }
.hero p.lead { color: var(--c-text); font-size: 1.05rem; }
.hero__cta { display: flex; gap: 12px; margin-top: 16px; }
.hero__art picture, .hero__art img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ============= Section ============= */
.section { padding: 48px 0; }
.section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head a { color: var(--c-accent); }

/* ============= Card grid ============= */
.cards {
    display: grid; gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.card {
    background: var(--c-card); border: 1px solid var(--c-line);
    border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
    transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255,182,39,.4); }
.card a { color: inherit; }
.card a:hover { text-decoration: none; }
.card__media { aspect-ratio: 3/4; background: #000; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 14px 16px 18px; }
.card__title { font-size: 1rem; margin: 0 0 4px; color: var(--c-text); }
.card__meta  { color: var(--c-text-dim); font-size: .85rem; }

.cards--wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards--wide .card__media { aspect-ratio: 16/9; }

/* ============= Stat strip ============= */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat {
    background: var(--c-card); border: 1px solid var(--c-line);
    border-radius: var(--radius); padding: 18px; display: flex; align-items: center; gap: 14px;
}
.stat__icon { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: 0 0 56px; }
.stat__icon img { width: 100%; height: 100%; object-fit: cover; }
.stat__value { font-size: 1.4rem; font-weight: 800; color: var(--c-text); }
.stat__label { color: var(--c-text-dim); font-size: .9rem; }

/* ============= CTA strip ============= */
.cta-strip {
    background: linear-gradient(135deg, var(--c-accent-2), var(--c-accent));
    color: #1a1100; border-radius: var(--radius-lg); padding: 28px; display: flex; gap: 16px;
    align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta-strip h2 { color: #1a1100; margin: 0; }
.cta-strip .btn--primary { background: #1a1100; color: var(--c-accent); }
.cta-strip .btn--primary:hover { background: #2a1c00; }

/* ============= Footer ============= */
.site-footer { margin-top: 64px; border-top: 1px solid var(--c-line); background: var(--c-bg-2); }
.site-footer__grid {
    display: grid; gap: 24px; padding: 40px 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.site-footer__title { color: var(--c-text); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--c-text-dim); }
.site-footer a:hover { color: var(--c-accent); }
.site-footer__bottom { border-top: 1px solid var(--c-line); padding: 16px 0; color: var(--c-text-dim); font-size: .85rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ============= Breadcrumb ============= */
.crumbs { padding: 16px 0; color: var(--c-text-dim); font-size: .9rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li::after { content: "›"; margin-left: 6px; color: var(--c-text-dim); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--c-text-dim); }
.crumbs [aria-current="page"] { color: var(--c-text); }

/* ============= Prose ============= */
.prose { max-width: 760px; margin-left: auto; margin-right: auto; }
.prose img { border-radius: var(--radius); margin: 16px 0; }
.prose figure { margin: 16px 0; }
.prose figcaption { color: var(--c-text-dim); font-size: .85rem; }

/* ============= Form ============= */
.form { max-width: 420px; }
.form .field { margin-bottom: 14px; }
.form label { display: block; margin-bottom: 6px; color: var(--c-text); }
.form input, .form textarea, .form select {
    width: 100%; padding: 12px 14px; border-radius: 10px;
    border: 1px solid var(--c-line); background: var(--c-bg-soft); color: var(--c-text);
    font: inherit;
}
.form input:focus { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ============= Misc ============= */
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--c-bg-soft); color: var(--c-text-dim); font-size: .8rem; }
.divider { height: 1px; background: var(--c-line); margin: 32px 0; }
.center { text-align: center; }
.muted { color: var(--c-text-dim); }

/* focus visible for a11y */
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 6px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ============= FAQ (accordion) ============= */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
    background: var(--c-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease;
}
.faq-item:hover { border-color: rgba(255,182,39,.35); }
.faq-item[open] { border-color: rgba(255,182,39,.55); background: rgba(255,255,255,0.06); }
.faq-item > summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 40px 1fr 24px;
    align-items: center;
    gap: 12px;
    color: var(--c-text);
    font-weight: 600;
    user-select: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item__num {
    display: inline-grid;
    place-items: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--c-bg-soft);
    color: var(--c-accent);
    font-weight: 800;
    font-size: .85rem;
}
.faq-item__q { line-height: 1.45; }
.faq-item__toggle {
    width: 12px; height: 12px;
    border-right: 2px solid var(--c-text-dim);
    border-bottom: 2px solid var(--c-text-dim);
    transform: rotate(45deg);
    transition: transform .25s ease, border-color .2s ease;
    margin-right: 4px;
}
.faq-item[open] .faq-item__toggle { transform: rotate(-135deg); border-color: var(--c-accent); }
.faq-item__a { padding: 0 20px 20px 72px; }
.faq-item__a p { margin: 0; color: var(--c-text-dim); line-height: 1.65; }
@media (max-width: 640px) {
    .faq-item > summary { padding: 14px 14px; gap: 10px; grid-template-columns: 32px 1fr 18px; }
    .faq-item__num { width: 28px; height: 28px; font-size: .8rem; }
    .faq-item__a { padding: 0 14px 16px 56px; }
}

/* ============= Channel cards (contact page) ============= */
.channel-card__media { position: relative; aspect-ratio: 16/9; }
.channel-card__rating {
    position: absolute; top: 10px; right: 10px;
    background: rgba(15,27,61,.85); color: #ffb627;
    padding: 4px 10px; border-radius: 999px;
    font-size: .8rem; font-weight: 700;
    backdrop-filter: blur(4px);
}
.channel-card__handle {
    font-size: 1.4rem; font-weight: 800;
    color: var(--c-accent); margin: 4px 0 8px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    word-break: break-all;
}

/* ============= Issue table (contact page) ============= */
.issue-table {
    width: 100%; border-collapse: collapse;
    background: var(--c-card); border: 1px solid var(--c-line);
    border-radius: var(--radius); overflow: hidden;
}
.issue-table th, .issue-table td {
    padding: 12px 16px; text-align: left; vertical-align: top;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-text);
}
.issue-table thead th {
    background: var(--c-bg-soft);
    color: var(--c-accent);
    font-size: .85rem; text-transform: uppercase; letter-spacing: .05em;
    font-weight: 700;
}
.issue-table tbody tr:last-child td { border-bottom: 0; }
.issue-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.issue-table a { color: var(--c-accent); font-weight: 600; }

/* ============= Warning box (fraud caution) ============= */
.warning-box {
    background: linear-gradient(135deg, rgba(255,106,61,0.12), rgba(255,182,39,0.08));
    border: 1px solid rgba(255,106,61,0.4);
    border-left: 5px solid var(--c-accent-2);
    border-radius: var(--radius);
    padding: 20px 24px;
    color: var(--c-text);
}
.warning-box__icon {
    font-size: 2.5rem; line-height: 1; flex: 0 0 auto;
}
.warning-box p { color: var(--c-text); }
.warning-box ul { color: var(--c-text-dim); }
.warning-box strong { color: #ffb627; }
@media (max-width: 640px) {
    .warning-box { padding: 16px 18px; }
    .warning-box__icon { font-size: 2rem; }
}

/* ============= RTP leaderboard table (blog top-rtp) ============= */
.rtp-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0 8px;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    background: var(--c-card);
}
.rtp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 0.95rem;
}
.rtp-table th, .rtp-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--c-line);
    vertical-align: middle;
    color: var(--c-text);
}
.rtp-table thead th {
    background: var(--c-bg-soft);
    color: var(--c-accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    white-space: nowrap;
}
.rtp-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.rtp-table tbody tr:last-child td { border-bottom: 0; }
.rtp-table tbody tr td:first-child { width: 48px; text-align: center; }
.rtp-table tbody tr td:nth-child(4) { white-space: nowrap; }
.rtp-table tbody tr td:nth-child(5) { white-space: nowrap; }

.rtp-rank {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--c-bg-soft);
    color: var(--c-text-dim);
    font-weight: 800; font-size: 0.95rem;
    border: 1px solid var(--c-line);
}
.rtp-rank--gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb627 100%);
    color: #1a1100;
    border-color: #ffb627;
    box-shadow: 0 2px 8px rgba(255, 182, 39, 0.35);
}
.rtp-rank--silver {
    background: linear-gradient(135deg, #e0e0e0 0%, #b0b0b0 100%);
    color: #1a1100;
    border-color: #b0b0b0;
}
.rtp-rank--bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #a05818 100%);
    color: #fff;
    border-color: #a05818;
}
.rtp-pct { color: #4ade80; font-weight: 800; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.rtp-source { font-size: 0.85rem; color: var(--c-text-dim); margin-top: 8px; text-align: right; }
@media (max-width: 640px) {
    .rtp-table { font-size: 0.85rem; }
    .rtp-table th, .rtp-table td { padding: 8px 10px; }
}

/* ============= Info box (highlighted callout) ============= */
.info-box {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(33, 150, 243, 0.06));
    border: 1px solid rgba(76, 175, 80, 0.35);
    border-left: 4px solid #4caf50;
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 18px 0;
    color: var(--c-text);
    font-size: 0.95rem;
    line-height: 1.7;
}
.info-box strong { color: #4ade80; }

/* ============= Pros / Cons 2-column ============= */
.proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 20px 0;
}
.proscons__col {
    background: var(--c-card);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    padding: 20px 24px;
}
.proscons__col h3 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--c-line);
}
.proscons__col--pro h3 { color: #4ade80; border-bottom-color: #4ade80; }
.proscons__col--con h3 { color: #ff6b3d; border-bottom-color: #ff6b3d; }
.proscons__col ol {
    margin: 0; padding-left: 22px;
    color: var(--c-text);
    line-height: 1.7;
}
.proscons__col ol li { margin-bottom: 10px; }
.proscons__col ol li::marker { font-weight: 700; }
.proscons__col--pro ol li::marker { color: #4ade80; }
.proscons__col--con ol li::marker { color: #ff6b3d; }
.proscons__col strong { color: var(--c-text); }
.proscons__col--pro strong { color: #4ade80; }
@media (max-width: 720px) {
    .proscons { grid-template-columns: 1fr; }
}
