/* 1mlnbet - dark platform theme */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-base: #050505;
    --bg-panel: #111111;
    --bg-card: #1a1a1a;
    --bg-elevated: #222222;
    --bg-odds: #2a1810;
    --accent: #ff5c28;
    --accent-hover: #ff7347;
    --accent-dim: rgba(255, 92, 40, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #9a9a9a;
    --text-muted: #666666;
    --border: #2a2a2a;
    --border-light: #333333;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --header-h: 56px;
    --side-w: 240px;
    --mobile-bar-h: 52px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-base);
    min-height: 100vh;
}

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

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

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

/* ── Shell ── */
.platform-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.drawer-scrim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 900;
}

.drawer-scrim.is-visible {
    display: block;
}

/* ── Top brand bar ── */
.top-brand-bar {
    position: sticky;
    top: 0;
    z-index: 800;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
}

.drawer-trigger {
    display: none;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

.drawer-trigger svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.brand-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-width: 0;
}

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

.brand-mark-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-mark-text .accent-part {
    color: var(--accent);
}

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

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}

.btn-ghost:hover {
    background: var(--border-light);
}

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

.btn-accent:hover {
    background: var(--accent-hover);
}

/* ── Viewport grid ── */
.viewport-grid {
    flex: 1;
    display: grid;
    grid-template-columns: var(--side-w) 1fr;
    min-height: 0;
    align-items: start;
}

/* ── Side drawer / left panel ── */
.side-drawer {
    background: var(--bg-panel);
    border-right: 1px solid var(--border);
    overflow-x: hidden;
    overflow-y: auto;
    position: sticky;
    top: var(--header-h);
    align-self: start;
    width: var(--side-w);
    min-height: calc(100vh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    -webkit-overflow-scrolling: touch;
}

.side-drawer-group {
    padding: 14px 10px 18px;
}

.side-drawer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.side-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.side-drawer-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.side-drawer-link.is-current {
    background: var(--accent-dim);
    color: var(--accent);
    border-left-color: var(--accent);
}

.side-drawer-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
    opacity: 0.9;
}

.side-drawer-link.is-current .side-drawer-icon {
    opacity: 1;
}

/* ── Primary content stage ── */
.primary-stage {
    overflow-x: hidden;
    padding: 16px 20px 24px;
    min-width: 0;
}

/* ── Breadcrumbs ── */
.trail-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 12px;
}

.trail-link {
    color: var(--text-secondary);
    transition: color 0.15s;
}

.trail-link:hover {
    color: var(--accent);
}

.trail-sep {
    color: var(--text-muted);
}

/* ── Promo banners ── */
.promo-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    min-height: 200px;
}

.promo-card-visual {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 280px;
}

.promo-card-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
    background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
}

.promo-card-heading {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    max-width: 420px;
}

.promo-card-subline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.promo-card-action {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.promo-card-action:hover {
    background: var(--accent-hover);
}

/* ── Slots block ── */
.slots-block {
    margin-bottom: 28px;
}

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

.block-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.block-more-link {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.block-more-link:hover {
    text-decoration: underline;
}

.slots-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -4px;
    padding: 0 4px;
}

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

.slots-row {
    display: flex;
    gap: 12px;
    min-width: min-content;
}

.slot-tile {
    flex: 0 0 140px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.15s, transform 0.15s;
}

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

.slot-tile-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.slot-tile-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.slot-tile:hover .slot-tile-media::before {
    opacity: 1;
}

.slot-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.slot-tile:hover .slot-tile-img {
    transform: scale(1.06);
}

.slot-tile-action {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.88);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 96px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb347 0%, var(--accent) 55%, #e04010 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 6px 20px rgba(255, 92, 40, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    opacity: 0;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.slot-tile-action::before {
    content: "";
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
    margin-left: 2px;
}

.slot-tile:hover .slot-tile-action {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.slot-tile-action:hover {
    background: linear-gradient(135deg, #ffc266 0%, var(--accent-hover) 55%, #ff6020 100%);
    box-shadow:
        0 8px 26px rgba(255, 92, 40, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(1.05);
}

.slot-tile-action:active {
    transform: translate(-50%, -50%) scale(0.97);
    box-shadow:
        0 4px 14px rgba(255, 92, 40, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.slot-tile-label {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Offers / bonuses ── */
.offers-block {
    margin-bottom: 28px;
}

.offers-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.offer-tile {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.15s;
}

.offer-tile:hover {
    border-color: var(--border-light);
}

.offer-tile-media img,
.bonus-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.offer-tile-body,
.bonus-content {
    padding: 16px;
}

.offer-tile-name,
.bonus-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.offer-tile-desc,
.bonus-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.offer-tile-value,
.bonus-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.offer-tag,
.bonus-category-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-elevated);
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-secondary);
}

.offer-terms,
.bonus-terms {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-muted);
}

.bonus-image-wrapper {
    overflow: hidden;
}

/* ── Payment strip ── */
.pay-strip {
    margin: 28px 0;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.pay-icons-row,
.payment-methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.pay-icon-cell,
.payment-method-card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    min-width: 90px;
}

.payment-method-image {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.pay-icon-label,
.payment-method-name {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── SEO article / text content ── */
.seo-article.text-content {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 8px 0 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow:
        0 0 0 1px rgba(255, 92, 40, 0.08),
        0 16px 36px rgba(0, 0, 0, 0.32);
}

.seo-article.text-content::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 92, 40, 0.16) 0%, transparent 68%);
    pointer-events: none;
}

.seo-article.text-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), #ffb347, var(--accent), transparent);
}

.content-header {
    position: relative;
    z-index: 1;
    padding: 28px 24px 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 92, 40, 0.06) 0%, transparent 100%);
}

.content-title {
    margin: 0 0 20px;
    font-size: clamp(22px, 4.5vw, 32px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.4px;
    background: linear-gradient(180deg, #ffb347 0%, var(--accent) 55%, #e04010 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-content-body {
    position: relative;
    z-index: 1;
    padding: 22px 24px 28px;
}

.content-lead {
    margin-top: 0;
    padding-bottom: 18px;
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.content-section-title {
    margin: 28px 0 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--accent);
    line-height: 1.4;
}

.text-content-body > .content-section-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.content-subsection-title {
    margin: 20px 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}

.content-paragraph {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.content-paragraph strong,
.content-list strong,
.faq-answer-block strong,
.howto-step-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

.content-paragraph em {
    color: var(--text-primary);
    font-style: italic;
}

.content-link,
.text-content a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 92, 40, 0.35);
    transition: color 0.15s, border-color 0.15s;
}

.content-link:hover,
.text-content a:hover {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

.content-list-block {
    margin: 0 0 18px;
    padding: 14px 18px 14px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.content-list {
    margin: 0;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.content-list li {
    margin-bottom: 8px;
}

.content-list li:last-child {
    margin-bottom: 0;
}

.content-list li::marker {
    color: var(--accent);
}

.content-quote {
    margin: 0 0 18px;
    padding: 16px 18px;
    border-left: 3px solid var(--accent);
    background: var(--bg-elevated);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.content-figure {
    margin: 0 0 20px;
    padding: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.content-image {
    width: 100%;
    border-radius: var(--radius-sm);
    margin: 0;
}

.content-table-wrap {
    margin: 0 0 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-panel);
}

.content-table-wrap table {
    min-width: 0;
}

.scroll-table,
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll-table table,
.table-wrapper table,
.text-content table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 13px;
}

.content-table-wrap table {
    min-width: 520px;
}

.scroll-table th,
.table-wrapper th,
.text-content th {
    background: var(--bg-elevated);
    padding: 11px 14px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.scroll-table td,
.table-wrapper td,
.text-content td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.scroll-table caption,
.table-wrapper caption,
.text-content caption {
    padding: 12px 14px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

/* FAQ */
.content-faq,
.faq-wrapper {
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item-block {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-elevated);
    transition: border-color 0.15s;
}

.faq-item-block:hover {
    border-color: rgba(255, 92, 40, 0.35);
}

.faq-question-block {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 92, 40, 0.06);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.45;
}

.faq-question-block::before {
    content: "?";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.faq-answer-block {
    padding: 14px 16px 16px 48px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* HowTo */
.content-howto,
.howto-wrapper {
    margin: 0 0 20px;
    padding: 18px 18px 8px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.howto-steps-list {
    list-style: none;
    counter-reset: step-n;
    margin: 0;
    padding: 0;
}

.howto-step-item {
    counter-increment: step-n;
    position: relative;
    padding: 14px 0 14px 36px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}

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

.howto-step-item::before {
    content: counter(step-n);
    position: absolute;
    left: 0;
    top: 14px;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 92, 40, 0.35);
}

.howto-step-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-size: 14px;
}

.howto-step-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.list-container ul,
.list-container ol {
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (min-width: 768px) {
    .seo-article.text-content {
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;
    }

    .content-header {
        padding: 32px 32px 0;
    }

    .text-content-body {
        padding: 24px 32px 32px;
    }
}

/* ── Support Contact page ── */
.page-support-contact .trail-nav {
    margin-bottom: 4px;
}

.page-support-contact .content-header {
    text-align: center;
}

.page-support-contact .content-title {
    text-align: center;
}

.page-support-contact .content-lead {
    text-align: center;
}

.page-support-contact .content-subsection-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 0;
    padding: 16px 18px 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.page-support-contact .content-subsection-title::before {
    content: "";
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    border: 1px solid rgba(255, 92, 40, 0.25);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.page-support-contact .text-content-body .content-subsection-title:nth-of-type(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff5c28'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.page-support-contact .text-content-body .content-subsection-title:nth-of-type(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff5c28'%3E%3Cpath d='M20 2H4a2 2 0 0 0-2 2v18l4-4h14a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
}

.page-support-contact .content-subsection-title + .content-paragraph {
    margin: 0 0 16px;
    padding: 14px 18px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-top: 1px solid var(--border-light);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.page-support-contact .content-subsection-title:nth-of-type(1) + .content-paragraph .content-link {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(255, 92, 40, 0.35);
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.page-support-contact .content-subsection-title:nth-of-type(1) + .content-paragraph .content-link:hover {
    color: #fff;
    background: var(--accent-hover);
    box-shadow: 0 6px 22px rgba(255, 92, 40, 0.45);
    transform: translateY(-1px);
}

.page-support-contact .content-section-title:last-of-type + .content-paragraph {
    padding: 16px 20px;
    color: var(--text-primary);
    background: var(--accent-dim);
    border: 1px solid rgba(255, 92, 40, 0.28);
    border-radius: var(--radius-md);
}

.page-support-contact .content-section-title:last-of-type + .content-paragraph::before {
    content: "24/7";
    display: inline-block;
    margin-right: 10px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: var(--accent);
    background: rgba(255, 92, 40, 0.15);
    border: 1px solid rgba(255, 92, 40, 0.35);
    border-radius: 999px;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .page-support-contact .seo-article.text-content {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Privacy Notice & User Terms ── */
.page-privacy-notice .content-header,
.page-user-terms .content-header {
    text-align: center;
}

.page-privacy-notice .content-title,
.page-user-terms .content-title {
    text-align: center;
}

.page-privacy-notice .content-lead,
.page-user-terms .content-lead {
    text-align: center;
}

.page-privacy-notice .text-content-body > .content-paragraph:last-of-type,
.page-user-terms .text-content-body > .content-paragraph:last-of-type {
    padding: 16px 20px;
    color: var(--text-primary);
    background: var(--accent-dim);
    border: 1px solid rgba(255, 92, 40, 0.28);
    border-radius: var(--radius-md);
}

@media (min-width: 768px) {
    .page-privacy-notice .seo-article.text-content,
    .page-user-terms .seo-article.text-content {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}

.scroll-table tr:last-child td,
.table-wrapper tr:last-child td {
    border-bottom: none;
}

/* App info table */
.app-info-table-wrapper {
    position: relative;
    margin-bottom: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow:
        0 0 0 1px rgba(255, 92, 40, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.35);
}

.app-info-table-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, var(--accent), #ffb347, var(--accent), transparent);
}

.app-info-table-wrapper::after {
    content: "";
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 92, 40, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.app-info-table-container {
    position: relative;
    z-index: 1;
    border: none;
    border-radius: 0;
    overflow: visible;
    margin: 0;
}

.scroll-table.app-info-table-container,
.table-wrapper.app-info-table-container {
    overflow: visible;
}

.scroll-table.app-info-table-container .app-info-table,
.table-wrapper.app-info-table-container .app-info-table {
    min-width: 0;
    width: 100%;
}

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

.app-info-table tbody {
    display: block;
    width: 100%;
}

.app-info-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
}

.app-info-row:nth-child(2) {
    align-items: flex-start;
    background: var(--bg-panel);
}

.app-info-row:first-child {
    background: linear-gradient(180deg, rgba(255, 92, 40, 0.08) 0%, transparent 100%);
}

.app-info-row:nth-child(3),
.app-info-row:nth-child(5) {
    border-right: none;
}

.app-info-row:last-child {
    justify-content: center;
    padding: 20px 16px 24px;
    border-bottom: none;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 92, 40, 0.06) 100%);
}

.app-info-label-cell {
    flex-shrink: 0;
    width: auto;
    padding: 16px 0 16px 16px;
    background: transparent;
    vertical-align: middle;
    border: none;
}

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

.app-info-row:nth-child(2) .app-info-label-cell {
    padding-top: 18px;
    padding-left: 20px;
}

.app-info-row:nth-child(n+3):nth-child(-n+6) .app-info-label-cell {
    padding: 14px 0 14px 14px;
}

.app-info-row:last-child .app-info-label-cell {
    display: none;
}

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    border: 1px solid rgba(255, 92, 40, 0.28);
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.app-info-row:hover .app-info-label-wrapper {
    border-color: rgba(255, 92, 40, 0.5);
    background: rgba(255, 92, 40, 0.2);
}

.app-info-row:first-child .app-info-label-wrapper {
    width: 52px;
    height: 52px;
}

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

.app-info-row:first-child .app-info-icon {
    width: 26px;
    height: 26px;
}

.app-info-value-cell {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 16px 20px 16px 12px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    vertical-align: middle;
    border: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

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

.app-info-row:nth-child(2) .app-info-value-cell {
    padding: 18px 20px 20px 12px;
    font-size: 14px;
    line-height: 1.7;
}

.app-info-row:nth-child(n+3):nth-child(-n+6) .app-info-value-cell {
    padding: 14px 14px 14px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.app-info-row:nth-child(n+3):nth-child(-n+6) .app-info-label-wrapper {
    width: 38px;
    height: 38px;
}

.app-info-row:nth-child(n+3):nth-child(-n+6) .app-info-icon {
    width: 18px;
    height: 18px;
}

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

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

.app-name-logo {
    width: 73px;
    height: 73px;
    object-fit: contain;
}

.app-name-text {
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 900;
    letter-spacing: -0.4px;
    line-height: 1.2;
    background: linear-gradient(180deg, #ffb347 0%, var(--accent) 60%, #e04010 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(255, 92, 40, 0.4);
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.app-download-link::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 4v9' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M8.5 9.5 12 13l3.5-3.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 16v2a2 2 0 002 2h10a2 2 0 002-2v-2' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.app-download-link:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 28px rgba(255, 92, 40, 0.5);
    transform: translateY(-2px);
}

@media (min-width: 600px) {
    .app-info-table tbody {
        display: flex;
        flex-wrap: wrap;
    }

    .app-info-row:first-child,
    .app-info-row:nth-child(2),
    .app-info-row:last-child {
        flex: 1 1 100%;
    }

    .app-info-row:nth-child(n+3):nth-child(-n+6) {
        flex: 1 1 calc(50% - 1px);
        max-width: calc(50% - 0.5px);
    }

    .app-info-row:nth-child(3),
    .app-info-row:nth-child(5) {
        border-right: 1px solid var(--border);
    }
}

@media (max-width: 599px) {
    .app-info-table-wrapper {
        margin-bottom: 20px;
    }

    .app-info-row:first-child {
        align-items: center;
    }

    .app-info-label-cell {
        padding: 14px 0 14px 14px;
    }

    .app-info-row:first-child .app-info-label-cell,
    .app-info-row:nth-child(2) .app-info-label-cell {
        padding-top: 16px;
        padding-left: 14px;
    }

    .app-info-row:nth-child(n+3):nth-child(-n+6) .app-info-label-cell {
        padding: 12px 0 12px 14px;
    }

    .app-info-value-cell {
        padding: 14px 14px 14px 10px;
    }

    .app-info-row:first-child .app-info-value-cell {
        padding: 16px 14px 16px 10px;
    }

    .app-info-row:nth-child(2) .app-info-value-cell {
        padding: 16px 14px 16px 10px;
    }

    .app-info-row:nth-child(n+3):nth-child(-n+6) .app-info-value-cell {
        padding: 12px 14px 12px 10px;
    }

    .app-info-row:first-child .app-info-label-wrapper {
        width: 44px;
        height: 44px;
    }

    .app-info-row:first-child .app-info-icon {
        width: 22px;
        height: 22px;
    }

    .app-name-with-logo {
        gap: 10px;
    }

    .app-name-logo {
        width: 57px;
        height: 57px;
        flex-shrink: 0;
    }

    .app-name-text {
        font-size: 20px;
    }

    .app-info-row:last-child {
        padding: 16px 14px 20px;
    }

    .app-download-link {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

/* ── 404 ── */
.error-stage {
    position: relative;
    text-align: center;
    margin: 24px auto 8px;
    padding: 56px 32px 48px;
    max-width: 560px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 92, 40, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.45);
}

.error-stage::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 92, 40, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.error-stage::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), #ffb347, var(--accent), transparent);
}

.error-code {
    position: relative;
    z-index: 1;
    font-size: clamp(88px, 18vw, 128px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -4px;
    background: linear-gradient(180deg, #ffb347 0%, var(--accent) 45%, #e04010 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(255, 92, 40, 0.45));
    animation: error-glow 3s ease-in-out infinite;
}

@keyframes error-glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 92, 40, 0.35)); }
    50% { filter: drop-shadow(0 0 36px rgba(255, 92, 40, 0.6)); }
}

.error-title {
    position: relative;
    z-index: 1;
    font-size: clamp(18px, 3.5vw, 24px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.error-desc {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.error-stage .btn-accent {
    position: relative;
    z-index: 1;
    padding: 12px 28px;
    font-size: 14px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(255, 92, 40, 0.35);
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.error-stage .btn-accent:hover {
    box-shadow: 0 6px 28px rgba(255, 92, 40, 0.5);
    transform: translateY(-1px);
}

/* ── Footer ── */
.page-foot {
    margin-top: 36px;
}

.foot-shell {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.foot-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, #ff8c42 50%, var(--accent) 80%, transparent 100%);
}

.foot-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 92, 40, 0.06) 0%, transparent 100%);
}

.foot-brand {
    min-width: 0;
}

.foot-brand-link {
    display: inline-flex;
    align-items: center;
}

.foot-brand-logo {
    height: 47px;
    width: auto;
    max-width: 234px;
    object-fit: contain;
}

.foot-brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.foot-brand-tagline {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 340px;
    line-height: 1.5;
}

.foot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.foot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.foot-block {
    padding: 22px 24px;
    border-right: 1px solid var(--border);
}

.foot-block:last-child {
    border-right: none;
}

.foot-block-label {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.foot-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.foot-link {
    display: block;
    padding: 7px 10px;
    margin-left: -10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

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

.foot-link.is-current {
    background: var(--accent-dim);
    color: var(--accent);
    border-left-color: var(--accent);
}

.foot-social-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.foot-social-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.foot-social-chip:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.foot-social-icon {
    max-height: 22px;
    max-width: 22px;
    width: auto;
    object-fit: contain;
}

.foot-social-initial {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.foot-payments {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-panel);
}

.foot-pay-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.foot-pay-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    min-width: 82px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s;
}

.foot-pay-item:hover {
    border-color: var(--border-light);
}

.foot-pay-icon {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.foot-pay-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.foot-trust {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.foot-safe-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.foot-safe-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s, opacity 0.15s;
}

.foot-safe-link:hover {
    border-color: var(--border-light);
    opacity: 1;
}

.foot-safe-badge {
    max-height: 32px;
    width: auto;
    opacity: 0.9;
}

.foot-bottom {
    padding: 18px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--bg-base);
}

.foot-copy {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 6px;
}

.foot-disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* Legacy aliases */
.footer-links { list-style: none; }
.footer-links a { font-size: 13px; color: var(--text-secondary); }
.footer-social-image { max-height: 22px; width: auto; }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
.footer-safe { margin-bottom: 14px; }
.footer-safe-links { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.safe-image { max-height: 32px; width: auto; opacity: 0.9; }

/* ── Mobile bottom bar ── */
.mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-bar-h);
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
    z-index: 700;
    padding: 0 6px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-dock-list {
    list-style: none;
    display: flex;
    height: 100%;
    align-items: center;
}

.mobile-dock-item {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-dock-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.mobile-dock-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-dock-link.is-current {
    color: var(--accent);
    background: var(--accent-dim);
}

.mobile-dock-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

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

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

    .side-drawer {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(280px, 85vw);
        min-height: 100vh;
        max-height: none;
        z-index: 950;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    }

    .side-drawer-group {
        padding-top: calc(var(--header-h) + 14px);
    }

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

    .primary-stage {
        padding: 12px 14px calc(var(--mobile-bar-h) + 16px);
    }

    .mobile-dock {
        display: block;
    }

    .promo-card-body {
        padding: 16px;
    }

    .promo-card-heading {
        font-size: 16px;
    }

    .offers-row {
        grid-template-columns: 1fr;
    }

    .content-header {
        padding: 22px 18px 0;
    }

    .content-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .text-content-body {
        padding: 18px 18px 22px;
    }

    .content-section-title {
        font-size: 11px;
        margin-top: 22px;
        padding-top: 16px;
    }

    .faq-answer-block {
        padding-left: 16px;
    }

    .page-support-contact .trail-nav {
        margin-bottom: 4px;
    }

    .brand-utilities .btn-ghost,
    .brand-utilities .btn-accent {
        padding: 7px 12px;
        font-size: 12px;
    }

    .foot-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 16px 16px;
    }

    .foot-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .foot-actions .btn-ghost,
    .foot-actions .btn-accent {
        flex: 1 1 auto;
        min-width: 0;
        padding: 9px 12px;
        font-size: 12px;
    }

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

    .foot-block {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 18px 16px;
    }

    .foot-block:last-child {
        border-bottom: none;
    }

    .foot-payments,
    .foot-trust,
    .foot-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .foot-pay-item {
        min-width: 72px;
        padding: 8px 10px;
    }

    .error-stage {
        margin-top: 8px;
        padding: 44px 20px 36px;
    }

    .error-code {
        letter-spacing: -2px;
    }
}

@media (min-width: 769px) {
    .top-brand-bar {
        padding: 0 20px;
        gap: 16px;
    }

    .drawer-trigger {
        display: none;
    }

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