/* Ginja shell - dark gaming layout */
:root {
    --ink-base: #080808;
    --ink-panel: #141414;
    --ink-elevated: #1e1e1e;
    --ink-border: #2a2a2a;
    --ink-muted: #8a8a8a;
    --ink-light: #e8e8e8;
    --accent-flame: #ff5a1f;
    --accent-flame-hover: #ff7339;
    --accent-glow: rgba(255, 90, 31, 0.35);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font-body: "Manrope", system-ui, sans-serif;
    --font-display: "Sora", system-ui, sans-serif;
    --header-h: 64px;
    --nav-h: 52px;
    --page-gutter: clamp(12px, 3vw, 28px);
    --max-content: 1280px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-light);
    background: var(--ink-base);
    min-height: 100vh;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ── Masthead ── */
.masthead-panel {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--ink-base);
    border-bottom: 1px solid var(--ink-border);
}

.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 10px var(--page-gutter);
    min-height: var(--header-h);
}

.brand-mark a {
    display: flex;
    align-items: center;
}

.brand-mark img {
    height: 36px;
    width: auto;
}

.brand-mark-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-flame);
    letter-spacing: -0.02em;
}

.masthead-utilities {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.utility-glyph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--ink-light);
    opacity: 0.85;
    transition: opacity 0.2s;
}

.utility-glyph:hover {
    opacity: 1;
}

.utility-glyph svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.masthead-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ink-border);
    background: var(--ink-elevated);
    color: var(--ink-light);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: var(--ink-muted);
    background: var(--ink-panel);
}

.btn-flame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    background: var(--accent-flame);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-flame:hover {
    background: var(--accent-flame-hover);
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* ── Primary nav strip (row under header) ── */
.primary-nav-strip {
    background: var(--ink-base);
    border-bottom: 1px solid var(--ink-border);
    position: sticky;
    top: var(--header-h);
    z-index: 850;
}

.nav-strip-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nav-strip-inner::-webkit-scrollbar {
    display: none;
}

.nav-chip-list {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: var(--nav-h);
    white-space: nowrap;
}

.nav-chip-item {
    flex-shrink: 0;
}

.nav-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--ink-muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s, background 0.2s;
}

.nav-chip-link:hover {
    color: var(--ink-light);
    background: var(--ink-elevated);
}

.nav-chip-link.is-active {
    color: var(--accent-flame);
    background: rgba(255, 90, 31, 0.12);
}

.nav-glyph {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nav-glyph path,
.nav-glyph circle,
.nav-glyph rect {
    fill: currentColor;
}

/* ── Mobile dock menu (bottom-right burger) ── */
.dock-menu-trigger {
    display: none;
    position: fixed;
    bottom: 22px;
    right: 18px;
    z-index: 1200;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent-flame);
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px var(--accent-glow);
    transition: transform 0.2s, background 0.2s;
}

.dock-menu-trigger:hover {
    background: var(--accent-flame-hover);
    transform: scale(1.05);
}

.dock-menu-trigger .burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.dock-menu-trigger .burger-line + .burger-line {
    margin-top: 5px;
}

.dock-menu-trigger.is-open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.dock-menu-trigger.is-open .burger-line:nth-child(2) {
    opacity: 0;
}

.dock-menu-trigger.is-open .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.dock-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
}

.dock-backdrop.is-visible {
    display: block;
}

.dock-menu-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1180;
    background: var(--ink-panel);
    border-top: 1px solid var(--ink-border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 20px var(--page-gutter) 90px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 70vh;
    overflow-y: auto;
}

.dock-menu-sheet.is-open {
    transform: translateY(0);
}

.dock-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dock-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--ink-light);
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}

.dock-nav-link:hover,
.dock-nav-link.is-active {
    background: var(--ink-elevated);
    color: var(--accent-flame);
}

.dock-nav-glyph {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.dock-nav-glyph path,
.dock-nav-glyph circle,
.dock-nav-glyph rect {
    fill: currentColor;
}

/* ── Page canvas ── */
.page-canvas {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 20px var(--page-gutter) 40px;
}

/* ── Path trail (breadcrumbs) ── */
.path-trail {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--ink-muted);
}

.path-trail a {
    color: var(--ink-muted);
    transition: color 0.2s;
}

.path-trail a:hover {
    color: var(--accent-flame);
}

.path-trail-sep {
    color: var(--ink-border);
    user-select: none;
}

/* ── Hero carousel ── */
.hero-carousel-zone {
    margin-bottom: 28px;
}

.hero-slide-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-panel);
    margin-bottom: 12px;
}

.hero-slide-card picture {
    display: block;
    width: 100%;
}

.hero-slide-card picture,
.hero-slide-card img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.hero-slide-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(16px, 4vw, 40px);
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.hero-slide-headline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.75rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    max-width: 420px;
}

.hero-slide-sub {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    color: var(--ink-muted);
    margin-bottom: 16px;
    max-width: 380px;
}

.hero-slide-cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    background: var(--accent-flame);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.2s;
}

.hero-slide-cta:hover {
    background: var(--accent-flame-hover);
}

/* ── Catalog blocks (games) ── */
.catalog-block {
    margin-bottom: 32px;
}

.catalog-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.catalog-block-label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink-light);
}

.catalog-view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ink-border);
    color: var(--ink-muted);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.catalog-view-all:hover {
    color: var(--accent-flame);
    border-color: var(--accent-flame);
}

.tile-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--page-gutter));
    padding: 0 var(--page-gutter);
}

.tile-scroll::-webkit-scrollbar {
    display: none;
}

.tile-row {
    display: flex;
    gap: 12px;
    padding-bottom: 4px;
}

.tile-unit {
    flex: 0 0 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--ink-panel);
    border: 1px solid var(--ink-border);
    transition: border-color 0.2s, transform 0.2s;
}

.tile-unit:hover {
    border-color: var(--accent-flame);
    transform: translateY(-2px);
}

.tile-visual {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.tile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.2s;
}

.tile-unit:hover .tile-play-overlay {
    opacity: 1;
}

.tile-play-action {
    gap: 6px;
    padding: 9px 18px;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.tile-play-icon {
    font-size: 10px;
    line-height: 1;
}

@media (hover: none) {
    .tile-play-overlay {
        opacity: 1;
        align-items: flex-end;
        padding-bottom: 10px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
    }

    .tile-play-action {
        padding: 7px 14px;
        font-size: 11px;
    }
}

.tile-caption {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ink-muted);
}

/* ── Bonus cards ── */
.promo-grid-block {
    margin-bottom: 36px;
}

.promo-grid-block .catalog-block-label {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ink-border);
    position: relative;
}

.promo-grid-block .catalog-block-label::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-flame);
    box-shadow: 0 0 8px var(--accent-glow);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.promo-tile {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-panel);
    border: 1px solid var(--ink-border);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.promo-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(160deg, rgba(255, 90, 31, 0.3) 0%, transparent 40%, transparent 60%, rgba(255, 90, 31, 0.15) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
}

.promo-tile:hover {
    border-color: rgba(255, 90, 31, 0.5);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 90, 31, 0.08);
    transform: translateY(-4px);
}

.promo-tile:hover::before {
    opacity: 1;
}

.promo-tile-visual {
    position: relative;
    overflow: hidden;
}

.promo-tile-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 8, 0.7) 100%);
    pointer-events: none;
}

.promo-tile-visual img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promo-tile:hover .promo-tile-visual img {
    transform: scale(1.05);
}

.promo-tile-body {
    padding: 18px 20px 20px;
}

.promo-tile-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink-light);
    line-height: 1.3;
}

.promo-tile-desc {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 14px;
    line-height: 1.55;
}

.promo-tile-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-flame);
    margin-bottom: 10px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 90, 31, 0.1);
    border: 1px solid rgba(255, 90, 31, 0.2);
}

.promo-tile-value::before {
    content: "★";
    font-size: 12px;
    opacity: 0.8;
}

.promo-tile-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ink-elevated);
    border: 1px solid var(--ink-border);
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.promo-tile-terms {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--ink-border);
    font-size: 11px;
    line-height: 1.55;
    color: var(--ink-muted);
}

/* ── Payment methods ── */
.pay-strip-block {
    margin: 32px 0;
}

.pay-tile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.pay-tile {
    flex: 0 0 calc(25% - 9px);
    min-width: 100px;
    padding: 14px 10px;
    border-radius: var(--radius-md);
    background: var(--ink-panel);
    border: 1px solid var(--ink-border);
    text-align: center;
    transition: border-color 0.2s;
}

.pay-tile:hover {
    border-color: var(--ink-muted);
}

.pay-tile img {
    height: 32px;
    width: auto;
    margin: 0 auto 8px;
    object-fit: contain;
}

.pay-tile-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-muted);
}

/* ── SEO article zone (only place with h1/h2/h3) ── */
.article-seo-zone {
    margin-top: 40px;
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    background: var(--ink-panel);
    border: 1px solid var(--ink-border);
    position: relative;
}

.article-seo-zone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 36px;
    width: 48px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--accent-flame);
    box-shadow: 0 0 10px var(--accent-glow);
}

.article-seo-zone h1 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 16px;
    color: var(--ink-light);
    border-bottom: 1px solid var(--ink-border);
    line-height: 1.25;
}

.article-seo-zone h2 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 700;
    margin: 32px 0 14px;
    padding-left: 14px;
    color: var(--ink-light);
    border-left: 3px solid var(--accent-flame);
    line-height: 1.35;
}

.article-seo-zone h2:first-of-type {
    margin-top: 8px;
}

.article-seo-zone h3 {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.12rem);
    font-weight: 700;
    margin: 22px 0 10px;
    color: var(--ink-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-seo-zone h3::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-flame);
    flex-shrink: 0;
}

.article-seo-zone p {
    margin-bottom: 16px;
    color: var(--ink-muted);
    line-height: 1.7;
    font-size: 15px;
}

.article-seo-zone p + h2,
.article-seo-zone p + h3 {
    margin-top: 28px;
}

.article-seo-zone a {
    color: var(--accent-flame);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 90, 31, 0.35);
    transition: border-color 0.2s, color 0.2s;
}

.article-seo-zone a:hover {
    color: var(--accent-flame-hover);
    border-bottom-color: var(--accent-flame);
}

.article-seo-zone img {
    border-radius: var(--radius-md);
    margin: 20px 0;
    border: 1px solid var(--ink-border);
}

.article-seo-zone blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--accent-flame);
    background: var(--ink-elevated);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--ink-muted);
    font-style: italic;
    line-height: 1.65;
}

.article-seo-zone ul,
.article-seo-zone ol {
    margin: 16px 0 20px;
    padding-left: 24px;
    color: var(--ink-muted);
    line-height: 1.7;
}

.article-seo-zone ul {
    list-style: disc;
}

.article-seo-zone ol {
    list-style: decimal;
}

.article-seo-zone li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.article-seo-zone li::marker {
    color: var(--accent-flame);
}

.article-seo-zone table {
    margin: 20px 0;
}

.page-canvas--contact .article-seo-zone::before,
.page-canvas--legal .article-seo-zone::before {
    display: none;
}

/* ── Scrollable tables (mobile) ── */
.scroll-table-frame {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-border);
}

.scroll-table-frame table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    font-size: 14px;
}

.scroll-table-frame th,
.scroll-table-frame td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--ink-border);
    white-space: nowrap;
}

.scroll-table-frame th {
    background: var(--ink-elevated);
    font-weight: 700;
    color: var(--ink-light);
    position: sticky;
    top: 0;
}

.scroll-table-frame td {
    color: var(--ink-muted);
}

.scroll-table-frame caption {
    padding: 10px 14px;
    font-weight: 600;
    text-align: left;
    color: var(--ink-light);
    caption-side: top;
}

/* ── FAQ / HowTo ── */
.faq-accordion-zone {
    margin: 18px 0;
}

.faq-entry {
    border: 1px solid var(--ink-border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-entry-q {
    padding: 14px 16px;
    background: var(--ink-elevated);
    font-weight: 700;
    font-size: 14px;
}

.faq-entry-a {
    padding: 14px 16px;
    color: var(--ink-muted);
    font-size: 14px;
}

.guide-steps-zone {
    margin: 18px 0;
    padding: 20px;
    background: var(--ink-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-border);
}

.guide-steps-list {
    counter-reset: guide-step;
    list-style: none;
    padding: 0;
}

.guide-step-entry {
    counter-increment: guide-step;
    padding: 14px 14px 14px 48px;
    position: relative;
    margin-bottom: 8px;
    background: var(--ink-panel);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-flame);
}

.guide-step-entry::before {
    content: counter(guide-step);
    position: absolute;
    left: 14px;
    top: 14px;
    font-weight: 800;
    color: var(--accent-flame);
    font-size: 14px;
}

.guide-step-entry strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.guide-step-entry p {
    font-size: 13px;
    color: var(--ink-muted);
    margin: 0;
}

.list-block {
    margin: 14px 0;
}

.list-block ul,
.list-block ol {
    padding-left: 22px;
    color: var(--ink-muted);
}

.list-block ul { list-style: disc; }
.list-block ol { list-style: decimal; }
.list-block li { margin-bottom: 6px; }

/* ── App info table ── */
.page-canvas--app .app-specs-zone {
    position: relative;
    margin: 8px 0 32px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--ink-panel) 0%, var(--ink-elevated) 50%, var(--ink-panel) 100%);
    border: 1px solid var(--ink-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.page-canvas--app .app-specs-zone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-flame), #ff8c42, var(--accent-flame));
    box-shadow: 0 0 20px var(--accent-glow);
}

.page-canvas--app .app-specs-zone::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-canvas--app .app-specs-zone .scroll-table-frame {
    border-radius: 0;
    background: transparent;
    border: none;
    overflow: visible;
}

.page-canvas--app .app-specs-table {
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.page-canvas--app .app-specs-table tbody {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.page-canvas--app .app-specs-table tr {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: var(--ink-base);
    border: 1px solid var(--ink-border);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.page-canvas--app .app-specs-table tr:hover {
    border-color: rgba(255, 90, 31, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-canvas--app .app-specs-table tr:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(255, 90, 31, 0.08) 0%, var(--ink-base) 60%);
    border-color: rgba(255, 90, 31, 0.25);
}

.page-canvas--app .app-specs-table tr:last-child {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    padding: 28px;
    background: linear-gradient(180deg, var(--ink-base) 0%, rgba(255, 90, 31, 0.06) 100%);
}

.page-canvas--app .app-specs-table td {
    white-space: normal;
    border: none;
    padding: 0;
}

.page-canvas--app .app-specs-table tr:first-child td:last-child,
.page-canvas--app .app-specs-table tr:last-child td:last-child {
    flex: 1;
}

.page-canvas--app .app-specs-table td:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 90, 31, 0.12);
    flex-shrink: 0;
}

.page-canvas--app .app-specs-table tr:first-child td:first-child,
.page-canvas--app .app-specs-table tr:last-child td:first-child {
    display: none;
}

.app-specs-icon {
    width: 22px;
    height: 22px;
    color: var(--accent-flame);
}

.app-brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-brand-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 2px solid var(--ink-border);
    background: var(--ink-elevated);
    padding: 4px;
}

.app-brand-label {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--ink-light);
}

.app-fetch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-flame) 0%, #ff8c42 100%);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 24px var(--accent-glow);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.app-fetch-btn::before {
    content: "⬇";
    font-size: 14px;
}

.app-fetch-btn:hover {
    background: linear-gradient(135deg, var(--accent-flame-hover) 0%, #ff9f5a 100%);
    box-shadow: 0 8px 32px var(--accent-glow);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-canvas--app .app-specs-zone {
        padding: 20px 16px;
    }

    .page-canvas--app .app-specs-table tbody {
        grid-template-columns: 1fr;
    }

    .page-canvas--app .app-specs-table tr:first-child {
        flex-direction: column;
        text-align: center;
    }

    .app-brand-row {
        flex-direction: column;
    }
}

/* ── Ground section (footer) ── */
.ground-section {
    position: relative;
    margin-top: 56px;
    background: linear-gradient(180deg, #101010 0%, var(--ink-panel) 18%, var(--ink-base) 100%);
    border-top: 1px solid var(--ink-border);
    padding: 0 var(--page-gutter) 28px;
    overflow: hidden;
}

.ground-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 80vw);
    height: 200px;
    background: radial-gradient(ellipse at center top, rgba(255, 90, 31, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ground-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-flame) 30%, #ff8c42 50%, var(--accent-flame) 70%, transparent 100%);
    box-shadow: 0 0 20px var(--accent-glow);
}

.ground-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding-top: 40px;
}

.ground-hero-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    margin-bottom: 36px;
    border-radius: var(--radius-lg);
    background: var(--ink-elevated);
    border: 1px solid var(--ink-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.ground-brand-row {
    margin-bottom: 0;
}

.ground-brand-row img {
    height: 36px;
    width: auto;
}

.ground-brand-row .brand-mark-text {
    font-size: 1.75rem;
}

.ground-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.ground-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.ground-btn:hover {
    transform: translateY(-1px);
}

.ground-btn-primary {
    background: var(--accent-flame);
    color: #fff;
}

.ground-btn-primary:hover {
    background: var(--accent-flame-hover);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.ground-btn-secondary {
    background: transparent;
    color: var(--ink-light);
    border: 1px solid var(--ink-border);
}

.ground-btn-secondary:hover {
    border-color: var(--ink-muted);
    background: rgba(255, 255, 255, 0.04);
}

.ground-btn-accent {
    background: linear-gradient(135deg, #ff5a1f 0%, #ff8c42 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 90, 31, 0.25);
}

.ground-btn-accent:hover {
    box-shadow: 0 6px 24px var(--accent-glow);
}

.ground-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--ink-border);
}

.ground-col-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ground-col-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-flame);
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--accent-glow);
}

.ground-link-list li {
    margin-bottom: 4px;
}

.ground-link-list a {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--ink-muted);
    transition: color 0.2s, padding-left 0.2s;
}

.ground-link-list a::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 2px;
    background: var(--accent-flame);
    margin-right: 0;
    border-radius: 1px;
    transition: width 0.2s, margin-right 0.2s;
    vertical-align: middle;
}

.ground-link-list a:hover,
.ground-link-list a.is-active {
    color: var(--ink-light);
    padding-left: 4px;
}

.ground-link-list a:hover::before,
.ground-link-list a.is-active::before {
    width: 10px;
    margin-right: 8px;
}

.ground-link-list a.is-active {
    color: var(--accent-flame);
}

.ground-col-social {
    min-width: 0;
}

.ground-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ground-social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--ink-elevated);
    border: 1px solid var(--ink-border);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.ground-social-chip:hover {
    border-color: var(--accent-flame);
    background: rgba(255, 90, 31, 0.1);
    box-shadow: 0 4px 16px rgba(255, 90, 31, 0.15);
    transform: translateY(-2px);
}

.ground-social-img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.ground-social-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-muted);
}

.ground-app-zone {
    margin-bottom: 28px;
}

.ground-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-border);
    background: var(--ink-elevated);
    color: var(--ink-light);
    font-weight: 600;
    font-size: 14px;
    transition: border-color 0.2s;
}

.ground-app-btn:hover {
    border-color: var(--accent-flame);
}

.ground-app-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.ground-pay-zone {
    margin-bottom: 32px;
}

.ground-pay-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ground-pay-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: var(--ink-elevated);
    border: 1px solid var(--ink-border);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.ground-pay-item:hover {
    border-color: rgba(255, 90, 31, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

.ground-pay-item img {
    height: 26px;
    width: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.2s;
}

.ground-pay-item:hover img {
    filter: grayscale(0%);
}

.ground-trust-zone {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--ink-border);
}

.ground-trust-zone .ground-col-label {
    justify-content: center;
}

.ground-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.ground-trust-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    background: var(--ink-elevated);
    border: 1px solid var(--ink-border);
    transition: border-color 0.2s, opacity 0.2s;
}

.ground-trust-chip:hover {
    border-color: var(--ink-muted);
}

.ground-trust-chip img {
    height: 32px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.ground-trust-chip:hover img {
    opacity: 1;
}

.ground-legal-box {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: var(--ink-elevated);
    border: 1px solid var(--ink-border);
    text-align: center;
    position: relative;
}

.ground-legal-box::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 90, 31, 0.25) 0%, transparent 50%, rgba(255, 90, 31, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ground-copyright {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-light);
    margin-bottom: 6px;
}

.ground-disclaimer {
    font-size: 11px;
    line-height: 1.65;
    color: var(--ink-muted);
}

/* ── Error page ── */
.page-canvas--fault {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-h) - var(--nav-h) - 120px);
    padding: 40px var(--page-gutter);
}

.fault-panel {
    position: relative;
    text-align: center;
    padding: 56px 40px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: var(--ink-panel);
    border: 1px solid var(--ink-border);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.fault-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.35) 0%, rgba(255, 140, 66, 0.12) 40%, transparent 70%);
    pointer-events: none;
    animation: fault-pulse 4s ease-in-out infinite;
}

@keyframes fault-pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.fault-code {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 7.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #ff8c42 0%, var(--accent-flame) 50%, #e04410 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 24px var(--accent-glow));
    letter-spacing: -0.04em;
}

.fault-title {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--ink-light);
    line-height: 1.35;
}

.fault-desc {
    position: relative;
    color: var(--ink-muted);
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.fault-cta {
    position: relative;
    padding: 12px 32px;
    font-size: 14px;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 24px var(--accent-glow);
}

.fault-cta:hover {
    transform: translateY(-2px);
}

/* ── Contact page ── */
.page-canvas--contact .article-seo-zone {
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible;
}

.page-canvas--contact .article-seo-zone h1 {
    position: relative;
    text-align: center;
    padding: 48px 32px 40px;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--ink-panel) 0%, var(--ink-elevated) 100%);
    border: 1px solid var(--ink-border);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    overflow: hidden;
}

.page-canvas--contact .article-seo-zone h1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-flame), #ff8c42, var(--accent-flame));
    box-shadow: 0 0 16px var(--accent-glow);
}

.page-canvas--contact .article-seo-zone h1::after {
    content: "✉";
    display: block;
    font-size: 2.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px var(--accent-glow));
}

.page-canvas--contact .article-seo-zone > p:first-of-type {
    text-align: center;
    font-size: 16px;
    color: var(--ink-light);
    max-width: 480px;
    margin: -16px auto 36px;
    padding: 0 20px;
}

.page-canvas--contact .article-seo-zone h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--ink-elevated);
    border-left: 4px solid var(--accent-flame);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.page-canvas--contact .article-seo-zone h2 {
    border-left: none;
    padding-left: 16px;
}

.page-canvas--contact .article-seo-zone h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 90, 31, 0.12);
    color: var(--accent-flame);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.page-canvas--contact .article-seo-zone h3::before {
    display: none;
}

.page-canvas--contact .article-seo-zone h3 + p {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--ink-panel);
    border: 1px solid var(--ink-border);
    color: var(--ink-light);
    margin-bottom: 8px;
}

.page-canvas--contact .article-seo-zone a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    font-weight: 600;
    text-decoration: none;
    color: var(--accent-flame);
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.page-canvas--contact .article-seo-zone a:hover {
    color: var(--accent-flame-hover);
    border-bottom-color: var(--accent-flame);
}

/* ── Legal pages ── */
.page-canvas--legal .article-seo-zone {
    position: relative;
    padding: 36px 40px;
    background: var(--ink-panel);
    border: 1px solid var(--ink-border);
    border-radius: var(--radius-lg);
}

.page-canvas--legal .article-seo-zone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--accent-flame), #ff8c42);
    box-shadow: 0 0 12px var(--accent-glow);
}

.page-canvas--legal .article-seo-zone h1 {
    padding-bottom: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--ink-border);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    background: linear-gradient(135deg, var(--ink-light) 60%, var(--accent-flame) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-canvas--legal .article-seo-zone h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 36px 0 16px;
    padding: 8px 0 0;
    border-left: none;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--ink-light);
}

.page-canvas--legal .article-seo-zone h2::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent-flame);
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--accent-glow);
}

.page-canvas--legal .article-seo-zone h3 {
    display: block;
    margin: 22px 0 10px;
    padding-left: 14px;
    border-left: 2px solid var(--ink-border);
    font-size: 1rem;
    color: var(--ink-light);
    transition: border-color 0.2s;
}

.page-canvas--legal .article-seo-zone h3::before {
    display: none;
}

.page-canvas--legal .article-seo-zone h3:hover {
    border-left-color: var(--accent-flame);
}

.page-canvas--legal .article-seo-zone p {
    padding-left: 4px;
    line-height: 1.7;
}

.page-canvas--legal .article-seo-zone a {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 90, 31, 0.4);
    transition: border-color 0.2s, color 0.2s;
}

.page-canvas--legal .article-seo-zone a:hover {
    border-bottom-color: var(--accent-flame);
}

.page-canvas--legal .article-seo-zone ul,
.page-canvas--legal .article-seo-zone ol {
    padding-left: 28px;
}

.page-canvas--legal .article-seo-zone li::marker {
    color: var(--accent-flame);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .primary-nav-strip {
        display: none;
    }

    .dock-menu-trigger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .masthead-utilities {
        display: none;
    }

    .pay-tile {
        flex: 0 0 calc(33.333% - 8px);
    }

    .hero-slide-card {
        width: 100%;
        max-width: none;
    }

    .hero-slide-card picture,
    .hero-slide-card img {
        aspect-ratio: 1 / 1;
    }

    .hero-slide-body {
        justify-content: flex-end;
        padding: 16px;
        background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82) 100%);
    }

    .hero-slide-headline {
        max-width: none;
        font-size: clamp(0.95rem, 4vw, 1.15rem);
    }

    .hero-slide-sub {
        max-width: none;
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 56px;
    }

    .masthead-cta .btn-ghost,
    .masthead-cta .btn-flame {
        padding: 7px 12px;
        font-size: 12px;
    }

    .brand-mark img {
        height: 30px;
    }

    .tile-unit {
        flex: 0 0 120px;
    }

    .article-seo-zone {
        padding: 18px;
    }

    .pay-tile {
        flex: 0 0 calc(50% - 6px);
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .fault-panel {
        padding: 40px 24px;
    }

    .page-canvas--contact .article-seo-zone h1 {
        padding: 36px 20px 32px;
    }

    .page-canvas--legal .article-seo-zone {
        padding: 28px 20px;
    }

    .page-canvas--legal .article-seo-zone::before {
        left: 20px;
        right: 20px;
    }

    .ground-hero-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .ground-cta-row {
        width: 100%;
    }

    .ground-btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .ground-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .masthead-inner {
        gap: 8px;
    }

    .ground-grid {
        grid-template-columns: 1fr;
    }

    .ground-cta-row {
        flex-direction: column;
    }

    .ground-btn {
        width: 100%;
    }

    .ground-pay-item {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }
}

@media (min-width: 993px) {
    .dock-menu-sheet,
    .dock-backdrop {
        display: none !important;
    }

    .hero-slide-card {
        max-width: 50%;
    }
}
