/* Variables: global tokens */
:root {
    --color-page: #050505;
    --color-surface: #101010;
    --color-panel: #171717;
    --color-panel-strong: #1f1f1f;
    --color-panel-soft: rgb(255 255 255 / 4%);
    --color-text: #f4f1ea;
    --color-text-soft: #c7c2bb;
    --color-text-muted: #958e86;
    --color-line: rgb(255 255 255 / 10%);
    --color-line-strong: rgb(255 255 255 / 18%);
    --color-brand: #f12222;
    --color-brand-deep: #9d0f0f;
    --color-action: #16c327;
    --color-action-deep: #0e921c;
    --color-dark: #080808;
    --gradient-page: radial-gradient(circle at top, rgb(255 32 32 / 14%), transparent 32%), linear-gradient(180deg, #0f0f0f 0%, #040404 100%);
    --gradient-hero: linear-gradient(90deg, rgb(0 0 0 / 84%) 0%, rgb(0 0 0 / 68%) 42%, rgb(0 0 0 / 30%) 72%, rgb(0 0 0 / 12%) 100%);
    --gradient-card: linear-gradient(180deg, rgb(0 0 0 / 0%) 0%, rgb(0 0 0 / 28%) 52%, rgb(0 0 0 / 88%) 100%);
    --gradient-divider: linear-gradient(90deg, rgb(241 34 34 / 0%) 0%, rgb(241 34 34 / 70%) 50%, rgb(241 34 34 / 0%) 100%);

    /* Variables: typography */
    --font-base: "InterVar", "Segoe UI", sans-serif;
    --font-size-body: clamp(0.98rem, 0.16vw + 0.94rem, 1.04rem);
    --font-size-nav: clamp(0.9rem, 0.12vw + 0.87rem, 0.98rem);
    --font-size-label: clamp(0.72rem, 0.22vw + 0.66rem, 0.88rem);
    --font-size-title: clamp(1.4rem, 0.9vw + 1.12rem, 2.2rem);
    --font-size-lead: clamp(2.05rem, 2.8vw + 1.2rem, 4.9rem);
    --font-size-amount: clamp(3rem, 5vw + 1.5rem, 6.8rem);
    --font-size-button: clamp(0.9rem, 0.22vw + 0.84rem, 1.02rem);
    --font-size-card: clamp(1rem, 0.24vw + 0.93rem, 1.14rem);
    --font-size-small: clamp(0.76rem, 0.18vw + 0.71rem, 0.88rem);
    --line-base: 1.5;
    --line-tight: 1.05;
    --tracking-wide: 0.12em;
    --tracking-mid: 0.04em;

    /* Variables: layout */
    --container-max: 75rem;
    --space-edge: clamp(1rem, 1.2vw + 0.65rem, 1.5rem);
    --space-2xs: clamp(0.35rem, 0.2vw + 0.29rem, 0.5rem);
    --space-xs: clamp(0.55rem, 0.36vw + 0.45rem, 0.82rem);
    --space-sm: clamp(0.78rem, 0.56vw + 0.62rem, 1.2rem);
    --space-md: clamp(1rem, 0.85vw + 0.75rem, 1.6rem);
    --space-lg: clamp(1.4rem, 1.1vw + 1.05rem, 2.2rem);
    --space-xl: clamp(2rem, 1.6vw + 1.5rem, 3.2rem);
    --space-2xl: clamp(2.8rem, 2.6vw + 2rem, 5rem);
    --section-gap: clamp(3rem, 3vw + 2rem, 5.4rem);

    /* Variables: sizes */
    --line-thin: 1px;
    --radius-sm: clamp(0.8rem, 0.32vw + 0.7rem, 1rem);
    --radius-md: clamp(1.1rem, 0.45vw + 0.96rem, 1.4rem);
    --radius-pill: 999px;
    --header-height: clamp(4.5rem, 0.9vw + 4.2rem, 5.2rem);
    --logo-width: clamp(8rem, 3vw + 7rem, 10.75rem);
    --button-height: clamp(2.8rem, 0.5vw + 2.64rem, 3.2rem);
    --button-pad: clamp(1rem, 0.7vw + 0.8rem, 1.5rem);
    --hero-min: clamp(26rem, 14vw + 22rem, 37rem);
    --hero-copy-max: clamp(17rem, 23vw + 10rem, 34rem);
    --game-min: clamp(16rem, 4vw + 15rem, 18rem);
    --badge-height: clamp(2rem, 0.8vw + 1.75rem, 2.6rem);
    --mobile-panel-max: 26rem;

    /* Variables: effects */
    --shadow-soft: 0 1.5rem 3rem rgb(0 0 0 / 34%);
    --shadow-card: 0 1rem 2rem rgb(0 0 0 / 30%);
    --shadow-action: 0 1rem 2rem rgb(22 195 39 / 28%);
    --blur-header: 12px;
    --transition-fast: 220ms ease;
}

/* Fonts */
@font-face {
    font-family: "InterVar";
    src: url("../fonts/Inter-VariableFont_slnt,wght.woff2") format("woff2");
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-base);
    font-size: var(--font-size-body);
    line-height: var(--line-base);
    color: var(--color-text);
    background: var(--gradient-page);
}

main,
section,
header,
footer,
nav {
    display: block;
}

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

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

figure {
    margin: 0;
}

figure.block-image {
    margin: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
}

.container {
    width: min(var(--container-max), calc(100% - (var(--space-edge) * 2)));
    margin-inline: auto;
}

.page-shell {
    overflow: clip;
}

/* Header */
.caliente-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgb(5 5 5 / 86%);
    border-bottom: var(--line-thin) solid var(--color-line);
    backdrop-filter: blur(var(--blur-header));
}

.header-row {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.brand-mark {
    flex: 0 0 auto;
    width: var(--logo-width);
}

.site-nav {
    margin-inline: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list a,
.drawer-list a {
    font-size: var(--font-size-nav);
    font-weight: 700;
    color: var(--color-text-soft);
    transition: color var(--transition-fast);
}

.nav-list a:hover,
.nav-list a:focus-visible,
.drawer-list a:hover,
.drawer-list a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--color-brand);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.link-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--button-height);
    padding-inline: var(--button-pad);
    border-radius: var(--radius-pill);
    border: var(--line-thin) solid transparent;
    font-size: var(--font-size-button);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--tracking-mid);
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.link-chip:hover,
.link-chip:focus-visible,
.hero-action:hover,
.hero-action:focus-visible,
.game-card:hover,
.game-card:focus-visible {
    transform: translateY(-2px);
}

.chip-muted {
    border-color: var(--color-line-strong);
    background: rgb(255 255 255 / 2%);
    color: var(--color-text);
}

.chip-strong {
    background: var(--color-brand);
    color: var(--color-text);
    box-shadow: 0 0.75rem 1.75rem rgb(241 34 34 / 24%);
}

.menu-button {
    display: none;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    width: var(--button-height);
    height: var(--button-height);
    padding: 0;
    border: var(--line-thin) solid var(--color-line-strong);
    border-radius: 50%;
    background: rgb(255 255 255 / 3%);
    color: var(--color-text);
    cursor: pointer;
}

.menu-icon {
    display: grid;
    gap: 4px;
    width: 1.05rem;
}

.menu-icon span {
    display: block;
    height: 2px;
    border-radius: var(--radius-pill);
    background: currentColor;
}

.menu-drawer {
    display: none;
    background: rgb(10 10 10 / 96%);
    border-top: var(--line-thin) solid var(--color-line);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height var(--transition-fast), opacity var(--transition-fast), visibility var(--transition-fast);
}

.menu-drawer[data-open="true"] {
    max-height: var(--mobile-panel-max);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.drawer-list {
    width: min(var(--container-max), calc(100% - (var(--space-edge) * 2)));
    margin-inline: auto;
    display: grid;
    gap: var(--space-2xs);
    padding-block: var(--space-md);
}

.drawer-list a {
    display: block;
    padding-block: var(--space-xs);
    border-bottom: var(--line-thin) solid var(--color-line);
}

/* Hero */
.hero-area {
    padding-block: var(--space-xl) var(--section-gap);
}

.hero-frame {
    position: relative;
    min-height: var(--hero-min);
    border: var(--line-thin) solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-dark);
    box-shadow: var(--shadow-soft);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media > .block-image {
    width: 100%;
    height: 100%;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(241 34 34 / 10%) 0%, rgb(0 0 0 / 0%) 20%, rgb(0 0 0 / 18%) 100%);
}

.hero-overlay {
    position: relative;
    z-index: 1;
    min-height: var(--hero-min);
    display: flex;
    align-items: center;
    padding: var(--space-xl);
    background: var(--gradient-hero);
}

.hero-copy {
    max-width: var(--hero-copy-max);
    display: grid;
    gap: var(--space-sm);
}

.hero-kicker {
    font-size: var(--font-size-label);
    font-weight: 900;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: #ffffff;
}

.hero-title {
    display: grid;
    gap: var(--space-2xs);
    font-size: var(--font-size-lead);
    line-height: 0.95;
    font-weight: 860;
}

.hero-title strong {
    font-size: var(--font-size-amount);
    color: var(--color-brand);
    font-weight: 880;
}

.hero-stack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(1.8rem, 1vw + 1.5rem, 2.5rem);
    aspect-ratio: 1;
    border-radius: 50%;
    border: var(--line-thin) solid var(--color-line-strong);
    font-size: clamp(1.3rem, 0.8vw + 1rem, 1.8rem);
    font-weight: 800;
}

.hero-subline {
    font-size: clamp(1.15rem, 0.8vw + 0.92rem, 1.8rem);
    font-weight: 760;
    line-height: 1.08;
}

.hero-subline span {
    color: var(--color-brand);
}

.hero-note {
    font-size: clamp(0.95rem, 0.25vw + 0.88rem, 1.08rem);
    color: var(--color-text-soft);
    max-width: 26rem;
}

.hero-action {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(3rem, 0.5vw + 2.84rem, 3.4rem);
    padding-inline: clamp(1.4rem, 1vw + 1.1rem, 2.2rem);
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, var(--color-action) 0%, var(--color-action-deep) 100%);
    color: #ffffff;
    font-size: clamp(1rem, 0.4vw + 0.88rem, 1.16rem);
    font-weight: 860;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
    box-shadow: var(--shadow-action);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

/* Slots */
.games-area {
    padding-bottom: var(--section-gap);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-md);
}

.game-card {
    min-height: var(--game-min);
    display: grid;
    grid-template-rows: minmax(11rem, 1fr) auto;
    overflow: hidden;
    border: var(--line-thin) solid var(--color-line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, var(--color-panel-strong) 0%, var(--color-panel) 100%);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.game-card:hover,
.game-card:focus-visible {
    border-color: rgb(241 34 34 / 42%);
    box-shadow: 0 1rem 2rem rgb(241 34 34 / 10%);
}

.game-media {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.game-media > .block-image {
    width: 100%;
    height: 100%;
}

.game-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.game-card:hover .game-media img,
.game-card:focus-visible .game-media img {
    transform: scale(1.04);
}

.game-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
}

.game-tag {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding-inline: 0.8rem;
    border-radius: var(--radius-pill);
    background: rgb(0 0 0 / 60%);
    border: var(--line-thin) solid rgb(255 255 255 / 12%);
    font-size: var(--font-size-small);
    font-weight: 760;
    letter-spacing: var(--tracking-mid);
    text-transform: uppercase;
}

.game-copy {
    display: grid;
    gap: var(--space-xs);
    padding: var(--space-md);
}

.game-name {
    font-size: var(--font-size-card);
    font-weight: 800;
    line-height: 1.1;
}

.game-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: var(--space-2xs);
    font-size: var(--font-size-small);
    font-weight: 820;
    text-transform: uppercase;
    letter-spacing: var(--tracking-mid);
    color: #ffffff;
}

.game-link::after {
    content: ">";
    color: var(--color-action);
}

/* Footer */
.caliente-site-footer {
    border-top: var(--line-thin) solid var(--color-line);
    background: linear-gradient(180deg, rgb(255 255 255 / 1%) 0%, rgb(0 0 0 / 0%) 100%);
    padding-block: var(--space-xl);
}

.footer-shell {
    display: grid;
    gap: var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
    gap: var(--space-xl);
    align-items: start;
}

.footer-brand {
    display: grid;
    gap: var(--space-sm);
}

.footer-brand img {
    width: var(--logo-width);
}

.footer-text {
    color: var(--color-text-soft);
    max-width: 30rem;
}

.footer-warning {
    color: var(--color-text-muted);
    font-size: var(--font-size-small);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
}

.footer-group {
    display: grid;
    gap: var(--space-sm);
}

.footer-title {
    font-size: var(--font-size-label);
    font-weight: 820;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-brand);
}

.footer-group ul {
    display: grid;
    gap: var(--space-xs);
}

.footer-group a {
    color: var(--color-text-soft);
    transition: color var(--transition-fast);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-md);
    border: var(--line-thin) solid var(--color-line);
    border-radius: var(--radius-md);
    background: var(--color-panel-soft);
}

.badge-row img {
    width: auto;
    height: var(--badge-height);
}

.badge-row > .block-image {
    display: block;
}

.badge-row > .block-image img {
    width: auto;
    height: var(--badge-height);
}

.footer-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: var(--line-thin) solid var(--color-line);
    color: var(--color-text-muted);
    font-size: var(--font-size-small);
}

/* Media queries */
@media screen and (max-width: 920px) {
    .site-nav,
    .chip-muted {
        display: none;
    }

    .header-actions {
        display: flex;
        margin-left: auto;
    }

    .chip-strong {
        min-height: clamp(2.5rem, 0.5vw + 2.34rem, 2.9rem);
        padding-inline: clamp(0.9rem, 0.5vw + 0.75rem, 1.15rem);
    }

    .menu-button,
    .menu-drawer {
        display: flex;
    }

    .menu-drawer {
        flex-direction: column;
    }

    .hero-overlay {
        align-items: end;
    }

    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-top,
    .footer-base {
        grid-template-columns: 1fr;
        justify-content: start;
    }

    .footer-base {
        display: grid;
    }
}

@media screen and (max-width: 640px) {
    .hero-overlay {
        justify-content: start;
    }

    .games-grid {
        grid-template-columns: repeat(5, minmax(15.5rem, 15.5rem));
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding-bottom: var(--space-xs);
        scrollbar-width: thin;
    }

    .game-card {
        scroll-snap-align: start;
    }

    .badge-row {
        justify-content: center;
    }
}


/* pages.css merged */
:root {
    --pages-max-width: min(100% - clamp(1rem, 0.6rem + 2vw, 2.5rem), 76rem);
    --pages-surface: rgba(18, 18, 18, 0.92);
    --pages-surface-strong: rgba(11, 11, 11, 0.98);
    --pages-surface-soft: rgba(255, 255, 255, 0.04);
    --pages-border: rgba(241, 34, 34, 0.28);
    --pages-border-strong: rgba(241, 34, 34, 0.42);
    --pages-border-soft: rgba(255, 255, 255, 0.12);
    --pages-text: rgba(244, 241, 234, 0.9);
    --pages-text-soft: rgba(244, 241, 234, 0.76);
    --pages-text-muted: rgba(244, 241, 234, 0.56);
    --pages-title: #fff7f2;
    --pages-accent: #f12222;
    --pages-accent-strong: #ff7a00;
    --pages-success: #16c327;
    --pages-shadow: 0 1.6rem 3rem rgba(0, 0, 0, 0.34);
}

body {
    background:
        radial-gradient(circle at top left, rgba(241, 34, 34, 0.18), transparent 25%),
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.1), transparent 28%),
        linear-gradient(180deg, #0a0a0a 0%, #040404 100%);
}

.page-content {
    width: var(--pages-max-width);
    margin: 0 auto;
    padding: clamp(1.4rem, 2.4vw, 2.3rem) 0 clamp(3rem, 6vw, 5rem);
}

.page-content > section {
    margin-bottom: clamp(1.4rem, 2.4vw, 2.35rem);
}

.page-content > section:last-of-type {
    margin-bottom: 0;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    margin: 0 0 0.8rem;
    color: var(--pages-title);
    letter-spacing: -0.03em;
}

.page-content h1 {
    font-size: clamp(2rem, 1.45rem + 2vw, 3.65rem);
    line-height: 1.02;
    text-wrap: balance;
}

.page-content h2 {
    font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
    line-height: 1.15;
}

.page-content h3 {
    font-size: clamp(1.04rem, 0.95rem + 0.48vw, 1.35rem);
    line-height: 1.24;
}

.page-content p,
.page-content li,
.page-content td,
.page-content th,
.spoiler-toggle {
    font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.08rem);
    line-height: 1.72;
    color: var(--pages-text);
}

.page-content p {
    margin: 0 0 0.95rem;
}

.page-content p:last-child,
.page-content li p:last-child,
.page-content td p:last-child,
.page-content th p:last-child {
    margin-bottom: 0;
}

.page-content strong {
    color: var(--pages-title);
}

.page-content a {
    color: #ffd4bc;
    text-decoration-color: rgba(255, 122, 0, 0.45);
    text-underline-offset: 0.18em;
}

.page-content a:hover,
.page-content a:focus-visible {
    text-decoration-color: rgba(255, 122, 0, 0.8);
}

.page-hero,
.page-section,
.article-card,
.article-highlight,
.article-table-wrap,
.article-toc,
.spoiler,
.service-shell {
    border: 1px solid var(--pages-border);
    border-radius: 1.35rem;
    box-shadow: var(--pages-shadow);
}

.page-hero {
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(241, 34, 34, 0.18), rgba(241, 34, 34, 0.05) 40%, rgba(255, 122, 0, 0.05) 100%),
        var(--pages-surface);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.92fr);
    gap: clamp(1rem, 2vw, 1.7rem);
    align-items: center;
    padding: clamp(1.2rem, 2.3vw, 1.95rem);
}

.page-hero-copy {
    min-width: 0;
}

.page-hero-copy > p {
    color: var(--pages-text-soft);
}

.page-hero-copy > p:last-of-type {
    margin-bottom: 0;
}

.page-hero-index .page-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.88fr);
}

.page-hero-center .page-hero-grid {
    grid-template-columns: 1fr;
}

.page-hero-service .page-hero-grid {
    grid-template-columns: 1fr;
}

.page-hero-media {
    position: relative;
    min-width: 0;
}

.page-hero-media a,
.article-media a {
    display: block;
}

.page-hero-media img,
.article-media img {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-media::after {
    content: "";
    position: absolute;
    inset: auto 1rem 1rem auto;
    width: 4.4rem;
    height: 0.24rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pages-accent), var(--pages-accent-strong));
}

.article-toc {
    margin-top: 1.1rem;
    overflow: hidden;
    background: var(--pages-surface-strong);
}

.article-toc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pages-title);
    cursor: pointer;
    list-style: none;
}

.article-toc summary::-webkit-details-marker {
    display: none;
}

.article-toc summary::after {
    content: "▾";
    color: var(--pages-accent-strong);
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.article-toc[open] summary {
    border-bottom: 1px solid var(--pages-border-soft);
}

.article-toc[open] summary::after {
    transform: rotate(180deg);
}

.article-toc nav {
    padding: 0.9rem 1rem 1rem;
}

.article-toc ol {
    margin: 0;
    padding-left: 1.2rem;
}

.article-toc li {
    margin-bottom: 0.5rem;
}

.article-toc li:last-child {
    margin-bottom: 0;
}

.page-section,
.service-shell {
    padding: 1.05rem 1.1rem 1.15rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)), var(--pages-surface);
}

.page-section-accent {
    background:
        linear-gradient(135deg, rgba(241, 34, 34, 0.12), rgba(255, 122, 0, 0.06) 55%, rgba(255, 255, 255, 0.02)),
        var(--pages-surface);
    border-color: var(--pages-border-strong);
}

.page-section-muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01)), rgba(12, 12, 12, 0.8);
}

.page-section h2 + .article-table-wrap,
.page-section h2 + .article-media,
.page-section h3 + .article-media {
    margin-top: 0.2rem;
}

.article-card,
.article-highlight {
    margin: 1rem 0 1.15rem;
    padding: 0.95rem 1rem;
}

.article-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        var(--pages-surface-strong);
}

.article-highlight {
    background:
        linear-gradient(140deg, rgba(241, 34, 34, 0.14), rgba(255, 122, 0, 0.08)),
        rgba(15, 15, 15, 0.96);
}

.article-inline-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 122, 0, 0.24);
    border-radius: 1rem;
    background: linear-gradient(90deg, rgba(241, 34, 34, 0.16), rgba(255, 122, 0, 0.08));
}

.article-inline-promo span {
    color: var(--pages-title);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-inline-promo small {
    display: block;
    color: var(--pages-text-soft);
    font-size: 0.9rem;
    line-height: 1.45;
}

.article-inline-promo a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pages-success), #0ea51f);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.05rem;
}

.page-content ul {
    padding: 0;
    list-style: none;
}

.page-content ul li {
    position: relative;
    margin-bottom: 0.58rem;
    padding-left: 1.3rem;
}

.page-content ul li::before {
    content: "";
    position: absolute;
    top: 0.78em;
    left: 0;
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, var(--pages-accent), var(--pages-accent-strong));
}

.page-content ol {
    padding-left: 1.35rem;
}

.page-content ol li {
    margin-bottom: 0.58rem;
    padding-left: 0.1rem;
}

.article-table-wrap {
    margin: 1rem 0 1.15rem;
    overflow-x: auto;
    background: rgba(7, 7, 7, 0.98);
}

.article-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 38rem;
}

.article-table-wrap th,
.article-table-wrap td {
    padding: 0.82rem 0.9rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-table-wrap thead th {
    background: linear-gradient(180deg, rgba(241, 34, 34, 0.18), rgba(241, 34, 34, 0.08));
    color: var(--pages-title);
    font-weight: 800;
}

.article-table-wrap tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

.article-media {
    margin: 0;
}

.page-section-media {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.article-media-centered {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.article-faq {
    display: grid;
    gap: 0.8rem;
}

.spoiler {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)), var(--pages-surface);
}

.spoiler-toggle,
.spoiler-content {
    margin: 0;
    padding: 0.95rem 1rem;
}

.spoiler-toggle {
    position: relative;
    padding-right: 3rem;
    color: var(--pages-title);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.spoiler-toggle::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 1.65rem;
    height: 1.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 122, 0, 0.24);
    color: var(--pages-accent-strong);
    transform: translateY(-50%);
}

.spoiler.active .spoiler-toggle::after {
    content: "−";
}

.spoiler-content {
    display: none;
    border-top: 1px solid var(--pages-border-soft);
    color: var(--pages-text-soft);
    background: rgba(0, 0, 0, 0.18);
}

.spoiler.active .spoiler-content {
    display: block;
}

.service-page .page-section,
.service-page .service-shell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.015)), rgba(11, 11, 11, 0.94);
}

.service-page .page-hero {
    background:
        linear-gradient(145deg, rgba(241, 34, 34, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(12, 12, 12, 0.95);
}

@media (max-width: 900px) {
    .page-hero-grid,
    .page-hero-index .page-hero-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-media::after {
        inset: auto auto 1rem 1rem;
    }
}

@media (max-width: 640px) {
    .page-content {
        padding-top: 1rem;
    }

    .page-hero-grid,
    .page-section,
    .service-shell {
        padding: 1rem;
    }

    .article-inline-promo {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-inline-promo a {
        width: 100%;
    }

    .article-table-wrap table {
        min-width: 32rem;
    }
}
