/* ==========================================================================
   SpinFakta — Game Detail Page (single-game.php)
   Scoped under .sgd-* — zero global pollution.
   Consumes skin-dark.css tokens: --skin-bg, --skin-card, --skin-text, etc.
   Mobile-first. No horizontal overflow.
   ========================================================================== */

/* ── Layout wrapper ──────────────────────────────────────────────────────── */
.sgd-portal {
    min-height: 100dvh;
}

.sgd-main {
    /* width/padding-x controlled by .sf-container */
    padding-bottom: 64px;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.sgd-breadcrumb {
    padding: 12px 0;
    border-bottom: 1px solid var(--skin-line, #1F2B45);
    margin-bottom: 0;
}
.sgd-breadcrumb__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--skin-text-2, #B3C0D4);
}
.sgd-breadcrumb__inner a { color: var(--skin-text-2, #B3C0D4); text-decoration: none; transition: color .15s; }
.sgd-breadcrumb__inner a:hover { color: var(--skin-amber, #F59E0B); }
.sgd-bc-sep { color: var(--skin-text-3, #7C8BA3); font-size: 11px; }
.sgd-breadcrumb__current { color: var(--skin-text, #E6EDF7); font-weight: 600; }

/* ── Trust dots ─────────────────────────────────────────────────────────── */
.sgd-trust-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.sgd-trust-dot--verified { background: var(--skin-green, #34D399); box-shadow: 0 0 5px var(--skin-green, #34D399); }
.sgd-trust-dot--partial  { background: var(--skin-amber, #F59E0B); box-shadow: 0 0 5px var(--skin-amber, #F59E0B); }
.sgd-trust-dot--pending  { background: var(--skin-text-3, #7C8BA3); }

/* ── Hero section ────────────────────────────────────────────────────────── */
.sgd-hero {
    background: linear-gradient(135deg, #04081A 0%, #0D1832 50%, #080E1A 100%);
    border-bottom: 1px solid var(--skin-line, #1F2B45);
    padding: 32px 0 28px;
    position: relative;
    overflow: hidden;
    margin: 0 -24px;  /* bleed outside .sf-container 24px gutter */
    padding-left: 24px;
    padding-right: 24px;
}
.sgd-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 100% at 30% 50%, rgba(30,64,175,.12) 0%, transparent 70%);
    pointer-events: none;
}
.sgd-hero__inner {
    /* width/padding-x controlled by .sf-container */
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: center;   /* cover vertically centred beside the (now compact) title block — no void */
    position: relative;
}

/* Cover */
.sgd-cover-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid var(--skin-line, #1F2B45);
    box-shadow: 0 16px 48px rgba(0,0,0,.6);
    /* #7: 16:9 aspect anchors the minimum height; align-items:stretch lets the
       column grow taller when the right column is taller, filling the void. */
    aspect-ratio: 16 / 9;
    align-self: center;         /* keep 16:9; centred beside the compact title block */
    background: var(--skin-card, #121C30);
    flex-shrink: 0;
}
.sgd-cover__img,
.sgd-cover-wrap img,
.sgd-cover-wrap .sf-cover {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.sgd-cover-wrap .sf-cover {
    border-radius: 0;
}

.sgd-cover-badge {
    position: absolute;
    background: rgba(8,14,26,.88);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 4px 11px;
    font-size: 12.5px; font-weight: 800;
    display: flex; align-items: center; gap: 5px;
}
.sgd-cover-badge--rtp {
    top: 11px; right: 11px;
    border: 1.5px solid var(--skin-green, #34D399);
    color: var(--skin-green, #34D399);
}
.sgd-cover-badge--vol {
    top: 11px; left: 11px;
    border: 1.5px solid var(--skin-amber, #F59E0B);
    color: var(--skin-amber, #F59E0B);
    font-size: 11px;
}

/* Hero info */
.sgd-hero__info {
    display: flex; flex-direction: column; gap: 14px; justify-content: center;
}
/* Full-width facts + actions row below cover+title — removes the old left void */
.sgd-hero__facts {
    margin-top: 24px;
    display: flex; flex-direction: column; gap: 16px;
}
.sgd-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.sgd-hero__title {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--skin-text, #E6EDF7);
    margin: 0;
}
.sgd-hero__meta {
    font-size: 13.5px;
    color: var(--skin-text-2, #B3C0D4);
}
.sgd-trust-line {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--skin-text-3, #7C8BA3);
    flex-wrap: wrap;
}
.sgd-trust-line strong { color: var(--skin-text-2, #B3C0D4); }
.sgd-trust-line a { color: var(--skin-amber, #F59E0B); text-decoration: none; }
.sgd-trust-line a:hover { text-decoration: underline; }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.sgd-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: 20px;
    font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.sgd-badge--provider {
    background: rgba(255,255,255,.08);
    color: var(--skin-text, #E6EDF7);
    border: 1px solid var(--prov-color, rgba(255,255,255,.15));
}
.sgd-badge--vol-high {
    background: rgba(249,115,22,.15);
    color: #F97316;
    border: 1px solid rgba(249,115,22,.3);
}
.sgd-badge--vol-med {
    background: rgba(245,158,11,.12);
    color: var(--skin-amber, #F59E0B);
    border: 1px solid rgba(245,158,11,.25);
}

/* ── Quick Facts Strip ──────────────────────────────────────────────────── */
.sgd-qfs {
    /* Flex (not fixed 3-col grid) so an odd item count — most games have 5
       facts — fills the last row instead of leaving an empty 6th cell. Items
       grow to share the row width; the 1px gap + card bg fake the hairline grid. */
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--skin-line, #1F2B45);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 10px;
    overflow: hidden;
}
.sgd-qfs__item {
    background: var(--skin-card, #121C30);
    padding: 11px 13px;
    display: flex; flex-direction: column; gap: 4px;
    /* ~3 per row on desktop; grow to absorb the leftover so 5 items split
       3 + 2 (each of the 2 wider) with no empty cell. */
    flex: 1 1 calc(33.333% - 1px);
    min-width: 130px;
}
.sgd-qfs__label {
    font-size: 10px; font-weight: 700;
    color: var(--skin-text-3, #7C8BA3);
    text-transform: uppercase; letter-spacing: .06em;
}
.sgd-qfs__value {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1rem; font-weight: 800;
    color: var(--skin-text, #E6EDF7);
}
.sgd-qfs__value--src {
    font-size: .78rem; font-weight: 600;
    color: var(--skin-text-2, #B3C0D4);
    font-family: 'Inter', sans-serif;
    display: flex; align-items: center; gap: 5px;
}

/* ── RTP colour classes ─────────────────────────────────────────────────── */
.sgd-rtp--green { color: var(--skin-green, #34D399) !important; }
.sgd-rtp--amber { color: var(--skin-amber, #F59E0B) !important; }
.sgd-rtp--red   { color: var(--skin-red,   #F87171) !important; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.sgd-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.sgd-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 10px 20px; border-radius: 8px;
    font-weight: 700; font-size: .9rem;
    border: none; cursor: pointer; line-height: 1.3;
    font-family: inherit; text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.sgd-btn--amber {
    background: var(--skin-amber, #F59E0B); color: #0B1122;
}
.sgd-btn--amber:hover { background: #FBBF24; transform: translateY(-1px); }
.sgd-btn--blue {
    background: #3B82F6; color: #fff;
}
.sgd-btn--blue:hover { background: #60A5FA; transform: translateY(-1px); }
.sgd-btn--outline {
    background: transparent; color: var(--skin-text, #E6EDF7);
    border: 1px solid var(--skin-line, #1F2B45);
}
.sgd-btn--outline:hover { border-color: #3B82F6; background: rgba(59,130,246,.08); }
.sgd-btn--lg { padding: 13px 26px; font-size: 1rem; border-radius: 10px; }
.sgd-btn--sm { padding: 6px 14px; font-size: .82rem; }

/* ── Page Layout ─────────────────────────────────────────────────────────── */
.sgd-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    padding-top: 36px;
}

/* ── Content blocks ─────────────────────────────────────────────────────── */
.sgd-content { min-width: 0; }

.sgd-block {
    margin-bottom: 48px;
}
.sgd-block__hd {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    border-left: 3px solid var(--skin-amber, #F59E0B);
    padding-left: 12px;
    margin-bottom: 20px;
}
.sgd-block__hd h2 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.15rem; font-weight: 800;
    color: var(--skin-text, #E6EDF7);
    margin: 0;
}
.sgd-block__hd a {
    font-size: 13px; color: var(--skin-amber, #F59E0B);
    font-weight: 600; text-decoration: none; white-space: nowrap;
}
.sgd-block__hd--muted { border-left-color: var(--skin-text-3, #7C8BA3); }
.sgd-block__hd--muted h2 {
    font-size: 13px; font-weight: 700; color: var(--skin-text-3, #7C8BA3);
    text-transform: uppercase; letter-spacing: .06em;
}
.sgd-block__intro {
    font-size: 13.5px; color: var(--skin-text-2, #B3C0D4);
    margin-bottom: 20px; line-height: 1.6;
}
.sgd-block__intro strong { color: var(--skin-text, #E6EDF7); }
.sgd-note {
    font-size: 13px; color: var(--skin-text-3, #7C8BA3);
    font-style: italic;
}

/* ── Dual RTP card ──────────────────────────────────────────────────────── */
.sgd-dual-rtp {
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 14px;
    overflow: hidden;
}
.sgd-dual-rtp__tracks {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.sgd-rtp-track {
    padding: 22px 26px;
    display: flex; flex-direction: column; gap: 10px;
}
.sgd-rtp-track:first-child { border-right: 1px solid var(--skin-line, #1F2B45); }
.sgd-rtp-track__label {
    font-size: 10.5px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: var(--skin-text-3, #7C8BA3);
}
.sgd-rtp-num {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 2.4rem; font-weight: 900;
    line-height: 1;
}
.sgd-rtp-num--partial { color: var(--skin-amber, #F59E0B); }
.sgd-rtp-num--pending { color: var(--skin-text-3, #7C8BA3); }
.sgd-rtp-source {
    display: flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: var(--skin-text-2, #B3C0D4);
}
.sgd-rtp-ts { font-size: 11.5px; color: var(--skin-text-3, #7C8BA3); }
.sgd-dual-rtp__verdict {
    border-top: 1px solid var(--skin-line, #1F2B45);
    padding: 16px 26px;
    background: rgba(239,68,68,.04);
    font-size: 13.5px; color: var(--skin-text-2, #B3C0D4); line-height: 1.65;
}
.sgd-dual-rtp__verdict strong { color: #FCA5A5; }
.sgd-dual-rtp__verdict a { color: var(--skin-amber, #F59E0B); text-decoration: none; }
.sgd-dual-rtp__verdict a:hover { text-decoration: underline; }

/* ── Demo card ──────────────────────────────────────────────────────────── */
.sgd-demo-card {
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 14px; overflow: hidden;
}
.sgd-demo-card__header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--skin-line, #1F2B45);
}
.sgd-demo-card__header h2 {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.1rem; font-weight: 800;
    color: var(--skin-text, #E6EDF7); margin: 0 0 6px;
}
.sgd-demo-card__header p { font-size: 13px; color: var(--skin-text-2, #B3C0D4); margin: 0; }
.sgd-demo-frame {
    background: var(--skin-card-2, #16213A);
    min-height: 200px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    padding: 32px 20px;
    text-align: center;
}
.sgd-demo-frame__icon {
    font-size: 2.5rem; line-height: 1;
    background: var(--skin-card, #121C30);
    border: 1.5px solid var(--skin-line, #1F2B45);
    border-radius: 50%;
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
}
.sgd-demo-frame__text { font-size: 14px; color: var(--skin-text-2, #B3C0D4); }
.sgd-demo-frame__sub  { font-size: 12px; color: var(--skin-text-3, #7C8BA3); }

/* ── Video grid ─────────────────────────────────────────────────────────── */
.sgd-video-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.sgd-video-card {
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 10px; overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.sgd-video-card:hover { border-color: #3B82F6; transform: translateY(-2px); }
.sgd-video-cover {
    aspect-ratio: 16/9;
    background: var(--skin-card-2, #16213A);
    display: flex; align-items: center; justify-content: center;
}
.sgd-play-btn { width: 40px; height: 40px; color: var(--skin-amber, #F59E0B); }
.sgd-video-info { padding: 12px 14px; }
.sgd-video-title { font-size: 13px; font-weight: 600; color: var(--skin-text, #E6EDF7); line-height: 1.4; }
.sgd-video-meta  { font-size: 11.5px; color: var(--skin-text-3, #7C8BA3); margin-top: 4px; }

/* ── Article prose content ──────────────────────────────────────────────── */
.sgd-prose { font-size: 15px; line-height: 1.75; color: var(--skin-text-2, #B3C0D4); }
.sgd-prose h2 { font-size: 1.15rem; font-weight: 800; color: var(--skin-text, #E6EDF7); margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--skin-line, #1F2B45); }
.sgd-prose h3 { font-size: 1rem; font-weight: 700; color: var(--skin-text, #E6EDF7); margin: 20px 0 8px; }
.sgd-prose p  { margin: 0 0 16px; }
.sgd-prose ul, .sgd-prose ol { padding-left: 22px; margin-bottom: 16px; }
.sgd-prose li { margin-bottom: 6px; }
.sgd-prose strong { color: var(--skin-text, #E6EDF7); }
.sgd-prose a { color: #3B82F6; text-decoration: underline; text-underline-offset: 2px; }
.sgd-prose a:hover { color: #60A5FA; }
.sgd-prose blockquote {
    border-left: 3px solid var(--skin-amber, #F59E0B);
    margin: 20px 0; padding: 12px 16px;
    background: rgba(245,158,11,.06);
    border-radius: 0 8px 8px 0;
    color: var(--skin-text-2, #B3C0D4);
}

/* ── Tips list ──────────────────────────────────────────────────────────── */
.sgd-tips {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 12px;
}
.sgd-tip {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 10px; padding: 16px 18px;
}
.sgd-tip__num {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--skin-card-2, #16213A);
    border: 1.5px solid #3B82F6;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 800;
    color: #3B82F6; flex-shrink: 0;
}
.sgd-tip__body h3 { font-size: 14px; font-weight: 700; color: var(--skin-text, #E6EDF7); margin: 0 0 5px; }
.sgd-tip__body p  { font-size: 13px; color: var(--skin-text-2, #B3C0D4); margin: 0; }
.sgd-tip__body a  { color: var(--skin-amber, #F59E0B); text-decoration: none; }
.sgd-tip__body a:hover { text-decoration: underline; }

/* ── Calculator ─────────────────────────────────────────────────────────── */
.sgd-calc-card {
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 14px; overflow: hidden;
    box-sizing: border-box; max-width: 100%;
}
.sgd-calc-card__body { padding: 24px; box-sizing: border-box; }
.sgd-calc-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-bottom: 20px;
    box-sizing: border-box; max-width: 100%;
}
.sgd-calc-field {
    display: flex; flex-direction: column; gap: 6px;
    box-sizing: border-box; max-width: 100%; min-width: 0;
}
.sgd-calc-field label {
    font-size: 12.5px; font-weight: 700;
    color: var(--skin-text-2, #B3C0D4);
}
.sgd-calc-field input,
.sgd-calc-field select {
    background: var(--skin-card-2, #16213A);
    border: 1.5px solid var(--skin-line, #1F2B45);
    border-radius: 8px; padding: 10px 14px;
    font-size: 14px; color: var(--skin-text, #E6EDF7);
    font-family: inherit; outline: none;
    transition: border-color .2s;
    box-sizing: border-box; width: 100%; max-width: 100%;
}
.sgd-calc-field input:focus,
.sgd-calc-field select:focus { border-color: #3B82F6; }
.sgd-calc-field select option { background: var(--skin-card, #121C30); }
.sgd-calc-hint { font-size: 11.5px; color: var(--skin-text-3, #7C8BA3); max-width: 100%; }
.sgd-calc-run {
    display: flex; align-items: flex-end;
}
.sgd-calc-run .sgd-btn { width: 100%; }

.sgd-calc-results {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--skin-line, #1F2B45);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 10px; overflow: hidden;
}
.sgd-cr-item {
    background: var(--skin-card-2, #16213A);
    padding: 14px;
    display: flex; flex-direction: column; gap: 5px;
}
.sgd-cr-label { font-size: 10.5px; font-weight: 700; color: var(--skin-text-3, #7C8BA3); text-transform: uppercase; letter-spacing: .06em; }
.sgd-cr-value { font-family: 'Sora', 'Inter', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--skin-amber, #F59E0B); }

.sgd-calc-disclaimer {
    border-top: 1px solid var(--skin-line, #1F2B45);
    padding: 14px 24px;
    font-size: 12px; color: var(--skin-text-3, #7C8BA3); line-height: 1.6;
}
.sgd-calc-disclaimer strong { color: var(--skin-text-2, #B3C0D4); }

/* ── Spec table ─────────────────────────────────────────────────────────── */
.sgd-spec-table {
    width: 100%; border-collapse: collapse;
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 10px; overflow: hidden;
    font-size: 13.5px;
}
.sgd-spec-table thead { background: var(--skin-card-2, #16213A); }
.sgd-spec-table th {
    padding: 12px 18px; font-size: 11px; font-weight: 700;
    color: var(--skin-text-3, #7C8BA3);
    text-transform: uppercase; letter-spacing: .06em; text-align: left;
    border-bottom: 1px solid var(--skin-line, #1F2B45);
}
.sgd-spec-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--skin-line, #1F2B45);
    color: var(--skin-text-2, #B3C0D4);
}
.sgd-spec-table tr:last-child td { border-bottom: none; }
.sgd-spec-key {
    font-weight: 600; color: var(--skin-text, #E6EDF7); font-size: 13px; width: 200px;
}
.sgd-inline-trust {
    display: inline-flex; align-items: center; gap: 6px;
}

/* ── Related carousel ───────────────────────────────────────────────────── */
.sgd-related-scroll {
    display: flex; gap: 14px;
    overflow-x: auto; padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--skin-line, #1F2B45) transparent;
}
.sgd-related-scroll::-webkit-scrollbar { height: 4px; }
.sgd-related-scroll::-webkit-scrollbar-thumb { background: var(--skin-line, #1F2B45); border-radius: 2px; }

.sgd-rel-card {
    flex: 0 0 140px;
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 10px; overflow: hidden;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
    display: block;
}
.sgd-rel-card:hover { border-color: #3B82F6; transform: translateY(-2px); }
.sgd-rel-cover {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden;
    background: var(--skin-card-2, #16213A);
}
.sgd-rel-cover__img,
.sgd-rel-cover img,
.sgd-rel-cover .sf-cover {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.sgd-rel-cover .sf-cover { border-radius: 0; }
.sgd-rel-rtp {
    position: absolute; bottom: 5px; right: 5px;
    background: rgba(8,14,26,.85); backdrop-filter: blur(5px);
    border: 1px solid var(--skin-green, #34D399);
    border-radius: 10px; padding: 2px 7px;
    font-size: 10.5px; font-weight: 800; color: var(--skin-green, #34D399);
}
.sgd-rel-info { padding: 9px 11px; }
.sgd-rel-name { font-size: 12px; font-weight: 700; color: var(--skin-text, #E6EDF7); line-height: 1.3; }
.sgd-rel-provider { font-size: 10.5px; color: var(--skin-text-3, #7C8BA3); margin-top: 2px; }

/* ── Owl warning block ──────────────────────────────────────────────────── */
.sgd-owl-warning {
    background: var(--skin-card, #121C30);
    border: 1px solid rgba(239,68,68,.25);
    border-left: 4px solid #EF4444;
    border-radius: 14px;
    padding: 22px 26px;
    display: flex; gap: 20px; align-items: flex-start;
}
.sgd-owl-img {
    width: 68px; flex-shrink: 0;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,.5));
}
.sgd-owl-title {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 1.05rem; font-weight: 800; color: #FCA5A5;
    margin: 0 0 8px;
}
.sgd-owl-text p { font-size: 13.5px; color: var(--skin-text-2, #B3C0D4); line-height: 1.65; margin: 0; }
.sgd-owl-text strong { color: #FCA5A5; }
.sgd-owl-text a { color: var(--skin-amber, #F59E0B); font-weight: 600; text-decoration: none; }
.sgd-owl-text a:hover { text-decoration: underline; }

/* ── Sources ────────────────────────────────────────────────────────────── */
.sgd-sources-box {
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 10px; padding: 18px 22px;
}
.sgd-sources-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sgd-sources-box li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--skin-text-2, #B3C0D4); line-height: 1.5;
}
.sgd-src-icon {
    width: 20px; height: 20px; border-radius: 50%;
    background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: var(--skin-green, #34D399); font-weight: 700;
    flex-shrink: 0; margin-top: 2px;
}
.sgd-sources-box a { color: var(--skin-amber, #F59E0B); text-decoration: none; }
.sgd-sources-box a:hover { text-decoration: underline; }

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.sgd-sidebar { min-width: 0; }
.sgd-sidebar__sticky {
    position: sticky;
    top: 76px; /* nav height + gap */
    display: flex; flex-direction: column; gap: 14px;
}
.sgd-sc {
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 10px; padding: 18px;
}
.sgd-sc__verified {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; color: var(--skin-green, #34D399);
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 6px;
}
.sgd-sc__rtp-num {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 2.6rem; font-weight: 900; line-height: 1;
}
.sgd-sc__rtp-sub { font-size: 12px; color: var(--skin-text-3, #7C8BA3); margin-top: 4px; margin-bottom: 14px; }
.sgd-sc__divider { border: none; border-top: 1px solid var(--skin-line, #1F2B45); margin: 12px 0; }
.sgd-sc__row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; padding: 3px 0;
}
.sgd-sc__label { color: var(--skin-text-2, #B3C0D4); }
.sgd-sc__val   { font-weight: 700; color: var(--skin-text, #E6EDF7); }
.sgd-sc__btn   { display: block; width: 100%; margin-top: 14px; text-align: center; }

.sgd-sc--warning {
    border-color: rgba(239,68,68,.25);
    background: rgba(239,68,68,.04);
}
.sgd-sc__warn-icon { font-size: 1.2rem; margin-bottom: 7px; }
.sgd-sc--warning h3 { color: #FCA5A5; font-size: .95rem; margin: 0 0 8px; }
.sgd-sc--warning p  { font-size: 12.5px; color: var(--skin-text-2, #B3C0D4); margin: 0; }

.sgd-sc--tips h3 { font-size: .95rem; color: var(--skin-text, #E6EDF7); margin: 0 0 12px; }
.sgd-sc--tips ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.sgd-sc--tips li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--skin-text-2, #B3C0D4); }
.sgd-ok { color: var(--skin-green, #34D399); font-size: 13px; flex-shrink: 0; margin-top: 2px; }

.sgd-sc--tg { text-align: center; }
.sgd-sc__tg-icon { font-size: 1.8rem; margin-bottom: 8px; }
.sgd-sc--tg h3 { font-size: 1rem; font-weight: 800; color: var(--skin-text, #E6EDF7); margin: 0 0 8px; }
.sgd-sc--tg p  { font-size: 12.5px; color: var(--skin-text-2, #B3C0D4); margin: 0 0 14px; }

/* ── Scroll to top ──────────────────────────────────────────────────────── */
.sgd-scroll-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 40px; height: 40px; border-radius: 50%;
    background: #1E40AF; border: 1px solid #3B82F6;
    color: #fff; font-size: 18px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transform: translateY(8px);
    transition: opacity .3s, transform .3s;
    z-index: 80;
}
.sgd-scroll-top--visible { opacity: 1; transform: translateY(0); }
.sgd-scroll-top:hover { background: #3B82F6; }

/* ── Cerita & Tema (#6) ─────────────────────────────────────────────────── */
.sgd-story-card {
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 14px; overflow: hidden;
}
.sgd-story-fig { margin: 0; }
.sgd-story-cover {
    max-height: 280px; overflow: hidden;
}
.sgd-story-body {
    padding: 22px 26px;
}

/* ── Screenshot gallery (#6) ─────────────────────────────────────────────── */
.sgd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
.sgd-gallery__item { margin: 0; }
.sgd-gallery__item .sf-gamecover {
    border-radius: 8px; overflow: hidden;
    border: 1px solid var(--skin-line, #1F2B45);
    background: var(--skin-card, #121C30);
}
.sgd-gallery__note {
    font-size: 11.5px; color: var(--skin-text-3, #7C8BA3); margin: 0;
}
.sgd-gallery-placeholder {
    background: var(--skin-card, #121C30);
    border: 1px dashed var(--skin-line, #1F2B45);
    border-radius: 10px;
    padding: 32px 24px; text-align: center;
}
.sgd-gallery-placeholder__icon { font-size: 2rem; margin-bottom: 10px; }
.sgd-gallery-placeholder p { font-size: 13.5px; color: var(--skin-text-2, #B3C0D4); margin: 0 0 4px; }
.sgd-gallery-placeholder__sub { font-size: 12px; color: var(--skin-text-3, #7C8BA3) !important; }

/* ── Cara Bermain video (#6) ─────────────────────────────────────────────── */
.sgd-cb-video {
    background: var(--skin-card, #121C30);
    border: 1px solid var(--skin-line, #1F2B45);
    border-radius: 14px; overflow: hidden;
}
.sgd-video-main { border-radius: 0; }
.sgd-cb-video__caption {
    padding: 12px 18px;
    font-size: 13px; color: var(--skin-text-2, #B3C0D4);
    border-top: 1px solid var(--skin-line, #1F2B45);
    margin: 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sgd-layout { grid-template-columns: 1fr 240px; gap: 24px; }
    .sgd-hero__inner { grid-template-columns: 200px 1fr; gap: 24px; }
    .sgd-video-grid { grid-template-columns: repeat(2, 1fr); }
    .sgd-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .sgd-hero__inner { grid-template-columns: 1fr; }
    /* #7 mobile: cover sits above info, full-width capped, no void possible */
    .sgd-cover-wrap { max-width: 100%; width: 100%; align-self: auto; margin: 0; }
    /* 2 per row on tablet; an odd last item stretches full-width. */
    .sgd-qfs__item { flex-basis: calc(50% - 1px); }
    .sgd-layout { grid-template-columns: 1fr; }
    .sgd-sidebar__sticky { position: static; }
    .sgd-dual-rtp__tracks { grid-template-columns: 1fr; }
    .sgd-rtp-track:first-child { border-right: none; border-bottom: 1px solid var(--skin-line, #1F2B45); }
    .sgd-calc-grid { grid-template-columns: 1fr; max-width: 100%; }
    .sgd-calc-field { flex-direction: column; max-width: 100%; width: 100%; box-sizing: border-box; }
    .sgd-calc-field input,
    .sgd-calc-field select { width: 100%; max-width: 100%; box-sizing: border-box; }
    .sgd-calc-card__body { padding: 16px; box-sizing: border-box; }
    .sgd-calc-results { grid-template-columns: 1fr; }
    .sgd-video-grid { grid-template-columns: 1fr; }
    .sgd-owl-warning { flex-direction: column; gap: 14px; }
    .sgd-owl-img { width: 56px; }
    /* #6 mobile */
    .sgd-gallery { grid-template-columns: repeat(2, 1fr); }
    .sgd-story-body { padding: 16px 18px; }
    .sgd-story-cover { max-height: 200px; }
}
@media (max-width: 480px) {
    .sgd-main { padding-bottom: 48px; }
    .sgd-hero { padding: 20px 0 18px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
    .sgd-hero__title { font-size: 1.5rem; }
    .sgd-qfs__item { flex-basis: calc(50% - 1px); }
    .sgd-rtp-num { font-size: 2rem; }
    .sgd-gallery { grid-template-columns: repeat(2, 1fr); }
}
