@font-face {
    font-family: "Lexend Local";
    src: url("/res/typefaces/lexend-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lexend Local";
    src: url("/res/typefaces/lexend-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Local";
    src: url("/res/typefaces/source-sans-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Local";
    src: url("/res/typefaces/source-sans-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink-deep: #0b0d14;
    --ink-panel: #12151f;
    --ink-raised: #1a1e2b;
    --ink-line: rgba(255, 255, 255, 0.08);
    --flare-red: #e01924;
    --flare-red-dim: #b8141d;
    --text-bright: #f4f5f8;
    --text-muted: #9aa3b5;
    --text-gold: #d4b06a;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-soft: 0 8px 28px rgba(0, 0, 0, 0.45);
    --font-display: "Lexend Local", system-ui, sans-serif;
    --font-body: "Source Sans Local", system-ui, sans-serif;
    --content-max: 1280px;
    --masthead-h: 64px;
    --route-strip-h: 52px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-bright);
    background: var(--ink-deep);
    min-height: 100vh;
}

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

a {
    color: inherit;
}

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

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

.brand-mark {
    flex-shrink: 0;
    margin: 0;
}

.brand-mark-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-mark-img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.brand-mark-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    color: var(--text-gold);
}

.brand-mark--hidden {
    width: 0;
    overflow: hidden;
}

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

.cta-outline,
.cta-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.cta-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: var(--text-bright);
}

.cta-outline:hover {
    border-color: var(--text-bright);
    background: rgba(255, 255, 255, 0.06);
}

.cta-accent {
    border: 1px solid var(--flare-red);
    background: var(--flare-red);
    color: #fff;
}

.cta-accent:hover {
    background: var(--flare-red-dim);
    border-color: var(--flare-red-dim);
}

.nav-drawer-trigger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-sm);
    background: var(--ink-raised);
    cursor: pointer;
}

.nav-drawer-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-bright);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-drawer-trigger.is-open .nav-drawer-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-drawer-trigger.is-open .nav-drawer-bar:nth-child(2) {
    opacity: 0;
}

.nav-drawer-trigger.is-open .nav-drawer-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Route strip (menu under header) ── */
.route-strip {
    background: var(--ink-raised);
    border-bottom: 1px solid var(--ink-line);
}

.route-strip-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 12px;
}

.route-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.route-nav::-webkit-scrollbar {
    display: none;
}

.route-list {
    display: flex;
    align-items: stretch;
    gap: 4px;
    list-style: none;
    min-height: var(--route-strip-h);
}

.route-item {
    flex-shrink: 0;
}

.route-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 100%;
    min-height: var(--route-strip-h);
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.route-link:hover {
    color: var(--text-bright);
    background: rgba(255, 255, 255, 0.04);
}

.route-link.is-active {
    color: #fff;
    background: var(--flare-red);
    border-bottom-color: var(--flare-red-dim);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.route-glyph-wrap {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-glyph {
    width: 100%;
    height: 100%;
}

/* ── Mobile drawer ── */
.nav-veil {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 950;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.nav-veil.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    background: var(--ink-panel);
    border-left: 1px solid var(--ink-line);
    z-index: 960;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    padding: calc(var(--masthead-h) + 12px) 0 24px;
    box-shadow: var(--shadow-soft);
}

.nav-drawer.is-open {
    transform: translateX(0);
}

.nav-drawer-list {
    list-style: none;
}

.nav-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-left: 3px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-drawer-link:hover,
.nav-drawer-link.is-active {
    color: #fff;
    background: rgba(224, 25, 36, 0.12);
    border-left-color: var(--flare-red);
}

/* ── Main layout ── */
.page-body {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.82rem;
}

.breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: var(--text-bright);
}

.breadcrumb-divider {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ── Hero slider ── */
.hero-carousel {
    position: relative;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-raised);
    border: 1px solid var(--ink-line);
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.hero-slide {
    flex: 0 0 100%;
    position: relative;
}

.hero-slide-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 764 / 245;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #080a10;
}

.hero-slide-frame picture,
.hero-slide-frame img {
    width: 100%;
    height: 100%;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 24px;
    background: linear-gradient(90deg, rgba(11, 13, 20, 0.75) 0%, rgba(11, 13, 20, 0.15) 55%, transparent 100%);
    pointer-events: none;
}

.hero-slide-overlay > * {
    pointer-events: auto;
}

.hero-slide-title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.45rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 6px;
    max-width: 520px;
}

.hero-slide-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    max-width: 480px;
}

.hero-slide-cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    background: var(--flare-red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-slide-cta:hover {
    background: var(--flare-red-dim);
}

.hero-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 14px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.hero-dot.is-active {
    background: var(--flare-red);
    transform: scale(1.2);
}

/* ── Game sections ── */
.slot-zone {
    margin-bottom: 36px;
}

.slot-zone-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.slot-zone-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-bright);
}

.slot-zone-more {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--flare-red);
    text-decoration: none;
    white-space: nowrap;
}

.slot-zone-more:hover {
    text-decoration: underline;
}

.slot-rail {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--flare-red) transparent;
    padding-bottom: 6px;
}

.slot-rail-inner {
    display: flex;
    gap: 14px;
}

.slot-tile {
    flex: 0 0 148px;
    width: 148px;
}

.slot-tile-visual {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--ink-raised);
    border: 1px solid var(--ink-line);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-tile-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slot-tile-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(11, 13, 20, 0.72);
    opacity: 0;
    transition: opacity 0.22s;
}

.slot-tile:hover .slot-tile-actions,
.slot-tile:focus-within .slot-tile-actions {
    opacity: 1;
}

.slot-action-primary,
.slot-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 120px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}

.slot-action-primary {
    background: var(--flare-red);
    color: #fff;
    border: 1px solid var(--flare-red);
}

.slot-action-primary:hover {
    background: var(--flare-red-dim);
}

.slot-action-secondary {
    background: transparent;
    color: var(--text-bright);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.slot-action-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

.slot-tile-name {
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Bonuses ── */
.deal-zone {
    margin-bottom: 36px;
}

.deal-zone .slot-zone-head {
    margin-bottom: 20px;
}

.deal-zone .slot-zone-title {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    background: linear-gradient(135deg, var(--text-bright) 0%, var(--text-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.deal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(224, 25, 36, 0.35) 0%, transparent 40%, rgba(212, 176, 106, 0.2) 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;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    border-color: rgba(224, 25, 36, 0.25);
}

.deal-card:hover::before {
    opacity: 1;
}

.deal-card-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    background: #080a10;
    transition: transform 0.3s;
}

.deal-card:hover .deal-card-img {
    transform: scale(1.03);
}

.deal-card-body {
    padding: 18px 18px 20px;
    position: relative;
}

.deal-card-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text-bright);
}

.deal-card-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-card-value {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(224, 25, 36, 0.18) 0%, rgba(212, 176, 106, 0.12) 100%);
    border: 1px solid rgba(212, 176, 106, 0.25);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-gold);
    margin-bottom: 10px;
}

.deal-card-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ink-line);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.deal-card-terms {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
    border-top: none;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ── Payment row ── */
.pay-row {
    margin: 36px 0;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--ink-panel);
    border: 1px solid var(--ink-line);
}

.pay-row-head {
    margin-bottom: 16px;
}

.pay-row-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pay-row-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.pay-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--ink-raised);
    border: 1px solid var(--ink-line);
    min-width: 90px;
}

.pay-chip-img {
    height: 28px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
}

.pay-chip-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── SEO text block (only place for h1-h3) ── */
.text-content {
    max-width: 900px;
    margin: 36px auto 0;
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--ink-panel) 0%, rgba(18, 21, 31, 0.95) 100%);
    border: 1px solid var(--ink-line);
    box-shadow: var(--shadow-soft);
}

.text-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 16px;
    color: var(--text-bright);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--flare-red), var(--text-gold), transparent) 1;
    line-height: 1.25;
}

.text-content > p:first-of-type {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.text-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    margin: 32px 0 14px;
    padding-left: 14px;
    color: var(--text-bright);
    border-left: 3px solid var(--flare-red);
    line-height: 1.3;
}

.text-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text-gold);
    letter-spacing: 0.02em;
}

.text-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.text-content a {
    color: var(--flare-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.text-content a:hover {
    color: var(--text-gold);
}

.text-content img {
    border-radius: var(--radius-md);
    margin: 20px 0;
    border: 1px solid var(--ink-line);
}

.text-content ul,
.text-content ol {
    margin: 16px 0 20px;
    padding: 16px 20px 16px 32px;
    background: var(--ink-raised);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-md);
    color: var(--text-muted);
}

.text-content ul li,
.text-content ol li {
    margin-bottom: 10px;
    line-height: 1.55;
    font-size: 0.9rem;
}

.text-content ul li::marker {
    color: var(--flare-red);
}

.text-content ol li::marker {
    color: var(--text-gold);
    font-weight: 600;
}

.text-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--flare-red);
    background: linear-gradient(90deg, rgba(224, 25, 36, 0.06) 0%, transparent 100%);
    color: var(--text-muted);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    line-height: 1.6;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ink-line);
}

.text-content table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.text-content th,
.text-content td {
    padding: 10px 14px;
    border: 1px solid var(--ink-line);
    text-align: left;
    font-size: 0.88rem;
}

.text-content th {
    background: var(--ink-raised);
    font-weight: 600;
    white-space: nowrap;
}

.faq-wrapper {
    margin: 18px 0;
}

.faq-item-block {
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question-block {
    padding: 14px 16px;
    background: var(--ink-raised);
}

.faq-answer-block {
    padding: 14px 16px;
    color: var(--text-muted);
}

.howto-wrapper {
    margin: 18px 0;
    padding: 18px;
    background: var(--ink-raised);
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-line);
}

.howto-steps-list {
    list-style: none;
    counter-reset: step;
}

.howto-step-item {
    counter-increment: step;
    padding: 12px 0 12px 32px;
    position: relative;
    border-bottom: 1px solid var(--ink-line);
    color: var(--text-muted);
}

.howto-step-item:last-child {
    border-bottom: none;
}

.howto-step-item::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--flare-red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.howto-step-item strong {
    display: block;
    color: var(--text-bright);
    margin-bottom: 4px;
}

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

/* ── App page table ── */
.app-info-table-wrapper {
    margin: 8px 0 28px;
    position: relative;
}

.app-info-table-wrapper::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, rgba(224, 25, 36, 0.45) 0%, rgba(212, 176, 106, 0.25) 50%, rgba(224, 25, 36, 0.15) 100%);
    z-index: 0;
    pointer-events: none;
}

.app-info-table-container {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(165deg, #151a28 0%, var(--ink-panel) 40%, #0e1018 100%);
    box-shadow: var(--shadow-soft);
}

.app-info-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.app-info-row {
    border-bottom: 1px solid var(--ink-line);
    transition: background 0.2s;
}

.app-info-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.app-info-row:last-child {
    border-bottom: none;
}

.app-info-row:first-child {
    background: linear-gradient(90deg, rgba(224, 25, 36, 0.1) 0%, transparent 60%);
}

.app-info-row:first-child .app-info-value-cell {
    padding: 22px 20px;
}

.app-info-row:nth-child(2) .app-info-value-cell {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.app-info-row:nth-child(n+3):nth-child(-n+6) .app-info-value-cell {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-bright);
}

.app-info-row:last-child {
    background: linear-gradient(180deg, transparent 0%, rgba(224, 25, 36, 0.06) 100%);
}

.app-info-row:last-child .app-info-value-cell {
    padding: 20px;
    text-align: center;
}

.app-info-label-cell,
.app-info-value-cell {
    padding: 14px 18px;
    vertical-align: middle;
}

.app-info-label-cell {
    width: 60px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    background: rgba(224, 25, 36, 0.12);
    border: 1px solid rgba(224, 25, 36, 0.2);
}

.app-info-icon {
    width: 22px;
    height: 22px;
    color: var(--text-gold);
}

.app-info-row:last-child .app-info-icon {
    color: var(--flare-red);
}

.app-name-with-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-name-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 14px;
    padding: 8px;
    background: var(--ink-raised);
    border: 1px solid rgba(212, 176, 106, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.app-name-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--text-bright) 0%, var(--text-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--flare-red) 0%, var(--flare-red-dim) 100%);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 6px 24px rgba(224, 25, 36, 0.4);
    transition: transform 0.15s, box-shadow 0.2s;
}

.app-download-link::after {
    content: "↓";
    font-size: 1rem;
}

.app-download-link:hover {
    background: linear-gradient(135deg, #f0222e 0%, var(--flare-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(224, 25, 36, 0.5);
}

/* ── 404 ── */
.error-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--masthead-h) - var(--route-strip-h) - 120px);
    text-align: center;
    padding: 48px 20px 64px;
    isolation: isolate;
}

.error-panel::before {
    content: "";
    position: absolute;
    inset: 10% 15%;
    background:
        radial-gradient(circle at 30% 40%, rgba(224, 25, 36, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(212, 176, 106, 0.12) 0%, transparent 50%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.error-panel::after {
    content: "♠ ♥ ♦ ♣";
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 1.2em;
    color: rgba(212, 176, 106, 0.22);
    pointer-events: none;
    user-select: none;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(5rem, 18vw, 8.5rem);
    font-weight: 600;
    line-height: 0.9;
    margin-bottom: 20px;
    background: linear-gradient(160deg, #ff3b45 0%, var(--flare-red) 35%, var(--text-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 32px rgba(224, 25, 36, 0.35));
    animation: error-glow 3s ease-in-out infinite;
}

@keyframes error-glow {
    0%, 100% { filter: drop-shadow(0 0 24px rgba(224, 25, 36, 0.3)); }
    50% { filter: drop-shadow(0 0 48px rgba(224, 25, 36, 0.5)); }
}

.error-title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    margin-bottom: 14px;
    max-width: 520px;
    color: var(--text-bright);
    line-height: 1.35;
}

.error-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 440px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.error-panel .cta-accent {
    padding: 12px 32px;
    font-size: 0.85rem;
    box-shadow: 0 6px 28px rgba(224, 25, 36, 0.35);
}

/* ── Support page ── */
.page-body--support .text-content {
    max-width: 720px;
    margin-top: 24px;
    padding: 0;
    background: transparent;
    border: none;
}

.page-body--support .text-content h1 {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-bright) 0%, var(--text-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-body--support .text-content h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 16px auto 24px;
    background: linear-gradient(90deg, var(--flare-red), var(--text-gold));
    border-radius: 2px;
}

.page-body--support .text-content > p:first-of-type {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding: 0 12px;
}

.page-body--support .text-content h2 {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-gold);
    margin: 36px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 176, 106, 0.2);
}

.page-body--support .text-content h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 16px 20px 8px;
    font-size: 1.05rem;
    color: var(--text-bright);
    background: var(--ink-panel);
    border: 1px solid var(--ink-line);
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.page-body--support .text-content h3::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(224, 25, 36, 0.15);
    font-size: 1rem;
    flex-shrink: 0;
}

.page-body--support .text-content h3:nth-of-type(1)::before {
    content: "✉";
}

.page-body--support .text-content h3:nth-of-type(2)::before {
    content: "💬";
}

.page-body--support .text-content h3 + p {
    margin: 0 0 16px;
    padding: 14px 20px 20px;
    background: var(--ink-panel);
    border: 1px solid var(--ink-line);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    color: var(--text-muted);
    line-height: 1.6;
}

.page-body--support .text-content a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    background: var(--flare-red);
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(224, 25, 36, 0.3);
}

.page-body--support .text-content a[href^="mailto:"]:hover {
    background: var(--flare-red-dim);
    transform: translateY(-1px);
}

.page-body--support .text-content h2:last-of-type + p {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(224, 25, 36, 0.08) 0%, rgba(212, 176, 106, 0.06) 100%);
    border: 1px solid rgba(212, 176, 106, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-bright);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 0;
}

/* ── Legal pages (privacy, rules) ── */
.page-body--legal .text-content {
    max-width: 820px;
    margin-top: 28px;
    padding: 32px 36px;
    background: var(--ink-panel);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.page-body--legal .text-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 8px;
    padding-bottom: 18px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--flare-red), var(--text-gold), transparent) 1;
    color: var(--text-bright);
}

.page-body--legal .text-content > p:first-of-type {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 8px;
    padding: 16px 0 8px;
}

.page-body--legal .text-content h2 {
    position: relative;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin: 32px 0 12px;
    padding: 12px 0 12px 18px;
    color: var(--text-gold);
    letter-spacing: 0.02em;
    border-left: 3px solid var(--flare-red);
    background: linear-gradient(90deg, rgba(224, 25, 36, 0.06) 0%, transparent 100%);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.page-body--legal .text-content h2:first-of-type {
    margin-top: 20px;
}

.page-body--legal .text-content p {
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.page-body--legal .text-content ul,
.page-body--legal .text-content ol {
    margin: 12px 0 20px;
    padding: 16px 20px 16px 36px;
    background: var(--ink-raised);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius-md);
    list-style: none;
}

.page-body--legal .text-content ul li,
.page-body--legal .text-content ol li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 4px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.page-body--legal .text-content ul li::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--flare-red);
}

.page-body--legal .text-content ol {
    counter-reset: legal-counter;
    padding-left: 20px;
}

.page-body--legal .text-content ol li {
    counter-increment: legal-counter;
    padding-left: 8px;
}

.page-body--legal .text-content ol li::before {
    content: counter(legal-counter) ".";
    position: absolute;
    left: -24px;
    color: var(--text-gold);
    font-weight: 600;
    font-size: 0.82rem;
}

.page-body--legal .text-content a {
    color: var(--flare-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.page-body--legal .text-content a:hover {
    color: var(--text-gold);
}

.page-body--legal .text-content blockquote {
    border-left-color: var(--text-gold);
    background: rgba(212, 176, 106, 0.06);
}

@media (max-width: 768px) {
    .page-body--legal .text-content {
        padding: 22px 18px;
    }
}

/* ── Footer ── */
.page-base {
    position: relative;
    margin-top: 48px;
    background: linear-gradient(180deg, #0e1119 0%, var(--ink-deep) 55%, #07080d 100%);
    border-top: 1px solid rgba(224, 25, 36, 0.22);
    padding: 0 20px 28px;
    overflow: hidden;
}

.page-base::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(224, 25, 36, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.page-base-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--flare-red) 20%, var(--text-gold) 50%, var(--flare-red) 80%, transparent 100%);
    margin-bottom: 32px;
}

.page-base-shell {
    position: relative;
    max-width: var(--content-max);
    margin: 0 auto;
}

.page-base-brand {
    text-align: center;
    margin-bottom: 22px;
}

.page-base-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ink-line);
    text-decoration: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.page-base-brand-link:hover {
    border-color: rgba(212, 176, 106, 0.35);
    box-shadow: 0 0 24px rgba(224, 25, 36, 0.12);
}

.page-base-brand-img {
    height: 38px;
    width: auto;
    margin: 0 auto;
    opacity: 0.92;
}

.page-base-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.page-base-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

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

.page-base-btn--primary {
    border: 1px solid var(--flare-red);
    background: var(--flare-red);
    color: #fff;
    box-shadow: 0 4px 18px rgba(224, 25, 36, 0.28);
}

.page-base-btn--primary:hover {
    background: var(--flare-red-dim);
    border-color: var(--flare-red-dim);
}

.page-base-btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--text-bright);
}

.page-base-btn--secondary:hover {
    border-color: var(--text-bright);
    background: rgba(255, 255, 255, 0.06);
}

.page-base-btn--accent {
    border: 1px solid rgba(212, 176, 106, 0.45);
    background: rgba(212, 176, 106, 0.12);
    color: var(--text-gold);
}

.page-base-btn--accent:hover {
    background: rgba(212, 176, 106, 0.22);
    border-color: var(--text-gold);
}

.page-base-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.page-base-col {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--ink-line);
}

.page-base-heading {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-gold);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 176, 106, 0.18);
}

.page-base-heading--center {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

.page-base-links {
    list-style: none;
}

.page-base-links li {
    margin-bottom: 7px;
}

.page-base-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s, padding-left 0.2s;
}

.page-base-links a::before {
    content: "";
    width: 0;
    height: 2px;
    background: var(--flare-red);
    transition: width 0.2s;
    flex-shrink: 0;
}

.page-base-links a:hover,
.page-base-links a.is-active {
    color: var(--text-bright);
    padding-left: 4px;
}

.page-base-links a:hover::before,
.page-base-links a.is-active::before {
    width: 10px;
}

.page-base-links--social a::before {
    display: none;
}

.page-base-social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: var(--ink-raised);
    border: 1px solid var(--ink-line);
    transition: border-color 0.2s, background 0.2s;
}

.page-base-social-link:hover {
    border-color: rgba(212, 176, 106, 0.35);
    background: rgba(255, 255, 255, 0.04);
    padding-left: 14px;
}

.page-base-social-img {
    height: 24px;
    width: auto;
}

.page-base-payments {
    margin-bottom: 28px;
    padding: 22px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--ink-line);
}

.page-base-pay-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.page-base-pay-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    min-width: 88px;
    border-radius: var(--radius-sm);
    background: var(--ink-raised);
    border: 1px solid var(--ink-line);
    transition: border-color 0.2s, transform 0.15s;
}

.page-base-pay-chip:hover {
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.page-base-pay-img {
    height: 26px;
    width: auto;
    max-width: 68px;
    object-fit: contain;
}

.page-base-pay-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-base-lower {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--ink-line);
}

.page-base-safe {
    margin-bottom: 18px;
}

.page-base-safe-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.page-base-safe-item {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ink-line);
    transition: border-color 0.2s;
}

.page-base-safe-item:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

.page-base-safe-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.page-base-safe-img {
    height: 30px;
    width: auto;
    opacity: 0.92;
}

.page-base-copy {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.page-base-copy-main {
    display: block;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.page-base-copy-note {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .nav-drawer-trigger {
        display: flex;
    }

    .route-strip {
        display: none;
    }

    .slot-tile-actions {
        opacity: 1;
        background: linear-gradient(to top, rgba(11, 13, 20, 0.92) 0%, rgba(11, 13, 20, 0.35) 60%, transparent 100%);
        justify-content: flex-end;
        padding-bottom: 14px;
    }

    .slot-action-primary,
    .slot-action-secondary {
        max-width: 110px;
        padding: 6px 8px;
        font-size: 0.68rem;
    }
}

@media (max-width: 768px) {
    .masthead-inner {
        padding: 8px 14px;
    }

    .cta-outline,
    .cta-accent {
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .page-body {
        padding: 14px;
    }

    .hero-slide-frame {
        aspect-ratio: 255 / 245;
    }

    .hero-slide-overlay {
        padding: 14px 16px;
        background: linear-gradient(to top, rgba(11, 13, 20, 0.88) 0%, rgba(11, 13, 20, 0.2) 70%, transparent 100%);
    }

    .text-content {
        padding: 18px;
    }

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

    .page-base-col {
        padding: 14px 16px;
    }

    .page-base-actions {
        gap: 8px;
    }

    .page-base-btn {
        padding: 8px 14px;
        font-size: 0.72rem;
    }
}

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

    .masthead-actions .cta-outline,
    .masthead-actions .cta-accent {
        padding: 6px 10px;
        font-size: 0.65rem;
    }

    .nav-drawer-trigger {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
