/* source: base/reset.css */

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-background);
    color: var(--color-text-primary);
    font-family: "Inter", "Segoe UI", sans-serif;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

img,
picture,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

input,
textarea,
select {
    border: none;
    outline: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}



/* source: base/variables.css */

:root {
    /* ==========================================================
       COLORS
    ========================================================== */

    --color-background: #090909;
    --color-surface: #141414;
    --color-surface-hover: #1B1B1B;
    --color-primary: #E31B23;
    --color-primary-hover: #FF2D37;
    --color-text-primary: #F5F5F5;
    --color-text-secondary: #A7A7A7;
    --color-border: #2A2A2A;
    --color-white: #FFFFFF;
    /* System colors */

    --color-success: #22C55E;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-info: #3B82F6;
    /* ==========================================================
       LAYOUT
    ========================================================== */

    --container-width: 1400px;
    --content-width: 900px;
    --reading-width: 760px;
    /* ==========================================================
       SPACING
    ========================================================== */

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --section-padding: 120px;
    --content-padding: var(--space-md);
    /* ==========================================================
       BORDER RADIUS
    ========================================================== */

    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 20px;
    /* ==========================================================
       SHADOWS
    ========================================================== */

    --shadow-small: 0 5px 15px rgba(0, 0, 0, .25);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-large: 0 25px 60px rgba(0, 0, 0, .5);
    /* ==========================================================
       TRANSITIONS
    ========================================================== */

    --ease-default: cubic-bezier(.22, 1, .36, 1);
    --transition-fast: .15s ease;
    --transition: .25s ease;
    --transition-slow: .4s ease;
}



/* source: base/typography.css */

/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-primary);
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

h1 {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
}

h3 {
    font-size: clamp(24px, 3vw, 30px);
}

h4 {
    font-size: clamp(20px, 2.4vw, 24px);
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

strong,
b {
    font-weight: 700;
}

small {
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding-left: 1.5rem;
}

li {
    color: var(--color-text-secondary);
    line-height: 1.7;
}



/* source: base/animations.css */

/* ==========================================================
   REVEAL
========================================================== */

.reveal {
    opacity: 1;
    transform: translateY(0);
    animation: reveal-in .7s cubic-bezier(.22,1,.36,1) both;
}

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes reveal-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        animation: none;
    }
}



/* source: layout/grid.css */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}



/* source: layout/header.css */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 84px;
    z-index: 1000;
}

    .header.scrolled {
        background: rgba(10, 10, 10, .92);
        box-shadow: var(--shadow-medium);
    }

.header-inner {
    display: flex;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform .25s ease;
    margin-right: 64px;
}

    .logo:hover {
        transform: translateY(-1px);
    }

    .logo img {
        width: 57px;
        height: 57px;
        display: block;
        object-fit: contain;
        transition: transform .25s ease;
    }

    .logo:hover img {
        transform: scale(1.08);
    }

.logo-text {
    font-size: 21px;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -.4px;
}

    .logo-text span {
        color: var(--color-primary);
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 44px;
}


/* source: layout/navigation.css */

.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 40px;
}

    .navigation a {
        position: relative;
        color: var(--color-text-secondary);
        font-size: 16px;
        font-weight: 600;
        letter-spacing: .2px;
        transition: color .25s ease, transform .25s ease;
    }

        .navigation a:hover {
            color: var(--color-text-primary);
            transform: translateY(-1px);
        }

        .navigation a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 2px;
            background: var(--color-primary);
            transition: .25s;
        }

        .navigation a:hover::after,
        .navigation a.active::after {
            width: 100%;
        }

        .navigation a.active {
            color: var(--color-text-primary);
        }


/* source: layout/footer.css */

.footer {
    position: relative;
    background: var(--background-color);
    border-top: 2px solid var(--color-primary);
    padding: 80px 0 40px;
}

    .footer::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 180px;
        background: radial-gradient( ellipse at top, rgba(227, 27, 35, 0.10) 0%, rgba(227, 27, 35, 0.05) 35%, transparent 75% );
        pointer-events: none;
    }

    .footer .container {
        position: relative;
        z-index: 2;
    }

.footer__content {
    max-width: 520px;
}

.footer__title {
    margin: 0 0 18px;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.footer__description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
}

.footer__divider {
    width: 100%;
    max-width: 420px;
    height: 1px;
    margin: 48px 0 36px;
    background: rgba(255,255,255,.18);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .footer__copyright span:first-child {
        color: #fff;
        font-weight: 700;
    }

    .footer__copyright span:last-child {
        color: var(--text-secondary);
    }

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .footer__links a {
        transition: color .25s ease, transform .25s ease;
    }

        .footer__links a:hover {
            color: var(--color-primary);
            transform: translateX(4px);
        }

        .footer__links a:focus-visible {
            outline: 2px solid var(--color-primary);
            outline-offset: 4px;
        }


@media (max-width: 768px) {

    .footer {
        padding: 60px 0 32px;
    }

    .footer__title {
        font-size: 30px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 32px;
    }

    .footer__divider {
        width: 100%;
    }
}


/* source: components/buttons.css */

/* ==========================================================
   BUTTONS
========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 68px;
    padding: 0 var(--space-lg);
    border: none;
    border-radius: var(--radius-medium);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    box-shadow: 0 12px 30px rgba(227, 27, 35, .30);
}

    .btn-primary:hover {
        background: var(--color-primary-hover);
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(227, 27, 35, .45);
    }

.btn-secondary {
    background: rgba(255,255,255,.035);
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}

    .btn-secondary:hover {
        background: rgba(227,27,35,.12);
        border-color: rgba(227,27,35,.35);
        transform: translateY(-3px);
    }

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.btn:disabled,
.btn.disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}



/* source: components/hero.css */

/* ==========================================================HERO========================================================== */

.hero {
    position: relative;
    min-height: calc(100vh - 84px);
    overflow: hidden;
    background: #090909;
    display: block;
}

    .hero .container {
        position: relative;
        z-index: 10;
    }

/* ==========================================================BACKGROUND========================================================== */

.hero__background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 34%, rgba(227, 27, 35, .16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, .025), transparent 45%);
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(9,9,9,.98) 0%, rgba(9,9,9,.95) 18%, rgba(9,9,9,.82) 45%, rgba(9,9,9,.45) 72%, rgba(9,9,9,.08) 100% );
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: .45;
    pointer-events: none;
    z-index: 2;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(227, 27, 35, 0.35);
    z-index: 5;
}

/* ==========================================================CONTENT========================================================== */

.hero__content {
    display: grid;
    grid-template-columns: minmax(620px, 760px) 1fr;
    align-items: center;
    gap: 60px;
    margin-top: 250px
}

.hero__left {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    transform: translateY(-340px);
}

.hero__right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    overflow: visible;
    transform: translateY(-120px);
}

/* ==========================================================EYEBROW========================================================== */

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #ffffff;
}

    .section-eyebrow::before {
        content: "";
        width: 46px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient( 90deg, #E31B23, #FF5151 );
        box-shadow: 0 0 12px rgba(227,27,35,.45);
    }

/* ==========================================================TITLE========================================================== */

.hero__title {
    margin: 0;
    line-height: .88;
    text-transform: uppercase;
}

.hero__white, .hero__red {
    display: block;
    letter-spacing: -.05em;
    font-weight: 900;
    font-size: clamp(82px,6.5vw,132px);
}

.hero__white {
    color: #F5F5F5;
}

.hero__red {
    color: var(--color-primary);
    text-shadow: 0 0 18px rgba(227,27,35,.45), 0 0 70px rgba(227,27,35,.28);
}

.hero__nickname {
    margin: 10px 0;
}

/* ==========================================================DESCRIPTION========================================================== */

.hero__description {
    margin-top: 36px;
    margin-bottom: 34px;
    max-width: 620px;
    color: var(--text-secondary);
    font-size: 20px;
    line-height: 1.9;
}

/* ==========================================================BUTTONS========================================================== */

.hero__buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 34px;
}

    .hero__buttons .btn {
        min-width: 220px;
        justify-content: center;
    }

/* ==========================================================TAGS========================================================== */

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 56px;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(12px);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

    .hero__tag:hover {
        color: #fff;
        border-color: rgba(227,27,35,.35);
        background: rgba(227,27,35,.12);
        transform: translateY(-2px);
    }

/* ==========================================================STATS========================================================== */

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin-top: -450px;
}

.hero-stat {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 22px;
    background: rgb(9,9,9);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1), background .35s cubic-bezier(.22,1,.36,1);
}

    .hero-stat::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 3px;
        background: linear-gradient( 90deg, #E31B23, #FF5050 );
    }

    .hero-stat::after {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        background: radial-gradient( circle at top right, rgba(227,27,35,.18), transparent 70% );
        transition: opacity .35s ease;
        pointer-events: none;
    }

    .hero-stat:hover {
        transform: translateY(-8px) scale(1.02);
        background: rgba(55,55,55,.045);
        border-color: rgba(227,27,35,.28);
        box-shadow: 0 18px 45px rgba(0,0,0,.32);
    }

        .hero-stat:hover::after {
            opacity: 1;
        }

.hero-stat__value {
    margin-bottom: 26px;
    font-size: 78px;
    font-weight: 900;
    line-height: 1;
    color: #e31b23;
    text-align: center;
}

.hero-stat__text {
    color: var(--text-secondary);
    font-size: 25px;
    line-height: 1.65;
    text-align: center;
}

/* ==========================================================IMAGE========================================================== */

.hero__image {
    position: relative;
    margin-bottom: -60px;
}

    .hero__image::before {
        content: "";
        position: absolute;
        left: 60%;
        top: 38%;
        width: 640px;
        height: 640px;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        background: radial-gradient( circle, rgba(227,27,35,.20) 0%, rgba(227,27,35,.10) 38%, transparent 72% );
        filter: blur(24px);
        z-index: -1;
    }

    .hero__image img {
        display: block;
        width: clamp(950px,72vw,1800px);
        max-width: none;
        height: auto;
        transform: translate(-140px, 60px);
    }

    /* ==========================================================IMAGE DECORATION========================================================== */

    .hero__image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at 65% 35%, rgba(227,27,35,.35), transparent 25% );
        mix-blend-mode: screen;
        pointer-events: none;
        z-index: 3;
    }

/* ==========================================================FLOATING========================================================== */

@keyframes heroFloat {

    0% {
        transform: translate3d(0,0,0);
    }

    50% {
        transform: translate3d(0,-10px,0);
    }

    100% {
        transform: translate3d(0,0,0);
    }
}

/* ==========================================================SELECTION========================================================== */

.hero ::selection {
    color: #ffffff;
    background: rgba(227,27,35,.85);
}

/* ==========================================================REDUCED MOTION========================================================== */

@media (prefers-reduced-motion: reduce) {

    .hero * {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================RESPONSIVE========================================================== */

/* На широких экранах фиксированная шапка не должна перекрывать hero-контент. */
@media (min-width: 1201px) {
    .hero {
        min-height: 100vh;
        padding-top: 84px;
    }
}

@media (max-width:1920px) {

    .hero__image img {
        width: 1550px;
        transform: translate(-80px,60px);
    }
}

@media (max-width: 1600px) {
    .hero__image {
        right: -4%;
        bottom: -14%;
        height: 95vh;
    }

        .hero__image img {
            width: 1450px;
            transform: translate(-260px,60px);
        }

    .hero__content {
        grid-template-columns: 500px 1fr;
        gap: 10px;
    }

    .hero__white,
    .hero__red {
        font-size: 96px;
    }

    .hero__left {
        max-width: 500px;
    }
}

@media (max-width: 1440px) {

    .hero__content {
        grid-template-columns: 880px 1fr;
        gap: 20px;
    }

    .hero__image img {
        width: 920px;
        transform: translate(-320px, 60px);
    }

    .hero__white,
    .hero__red {
        font-size: 80px;
    }

    .hero__stats {
        margin-top: -400px; /* или уменьшить отрицательный margin */
    }
}

@media (max-width: 1200px) {

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero__content {
        min-height: auto;
        gap: 60px;
    }

    .hero__left {
        max-width: 620px;
    }

    .hero__white,
    .hero__red {
        font-size: clamp(58px, 7vw, 92px);
    }

    .hero__description {
        font-size: 18px;
        line-height: 1.8;
    }

    .hero__image {
        width: min(42vw, 560px);
        right: -30px;
    }

    .hero-stat__value {
        font-size: 48px;
    }
}

@media (max-width: 992px) {

    .hero {
        padding: 48px 0 64px;
    }

    .hero__content {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
        gap: 32px;
        margin-top: 0;
    }

    .hero__left {
        max-width: 100%;
        text-align: center;
        transform: none;
    }

    .section-eyebrow {
        justify-content: center;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__tags {
        justify-content: center;
    }

    .hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 32px;
    }

    .hero__right {
        position: relative;
        width: 100%;
        height: auto;
        min-height: clamp(390px, 96vw, 560px);
        justify-content: center;
        transform: none;
    }

    .hero__image {
        position: relative;
        display: block;
        isolation: isolate;
        width: min(92vw, 560px);
        height: auto;
        aspect-ratio: 1 / 1;
        right: auto;
        bottom: auto;
        margin: 24px auto 0;
    }

    .hero__image::before {
        left: 50%;
        top: 50%;
        width: 128%;
        height: 128%;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        background: radial-gradient(
            circle at 50% 52%,
            rgba(255, 53, 61, .78) 0%,
            rgba(227, 27, 35, .58) 26%,
            rgba(183, 17, 24, .32) 48%,
            rgba(227, 27, 35, .12) 64%,
            transparent 78%
        );
        filter: blur(10px);
        box-shadow: none;
        z-index: 0;
    }

    .hero__image img {
        position: absolute;
        left: 50%;
        bottom: 0;
        z-index: 1;
        width: min(185vw, 900px);
        max-width: none;
        transform: translateX(-42%);
    }

    .hero__image::after {
        inset: auto -5% -3% -5%;
        height: 38%;
        background: linear-gradient(to top, rgba(9, 9, 9, .88), transparent);
        mix-blend-mode: normal;
        z-index: 2;
    }
}

@media (max-width: 768px) {

    .hero {
        padding: 36px 0 52px;
    }

    .hero__white,
    .hero__red {
        font-size: clamp(44px, 10vw, 62px);
    }

    .hero__nickname {
        margin: 6px 0;
    }

    .hero__description {
        font-size: 17px;
    }

    .hero__buttons {
        flex-direction: column;
    }

        .hero__buttons .btn {
            width: 100%;
            max-width: 340px;
        }

    .hero__stats {
        grid-template-columns: 1fr;
    }

    .hero-stat {
        padding: 24px;
    }

    .hero-stat__value {
        font-size: 42px;
    }

    .hero__image {
        width: min(90vw, 470px);
        margin-top: 28px;
    }
}

@media (max-width: 576px) {

    .hero {
        padding: 80px 0 50px;
    }

    .section-eyebrow {
        font-size: 11px;
        letter-spacing: .16em;
    }

    .hero__description {
        font-size: 16px;
    }

    .hero__tag {
        font-size: 12px;
        padding: 9px 15px;
    }

    .hero-stat {
        border-radius: 18px;
    }

    .hero-stat__value {
        font-size: 36px;
    }

    .hero-stat__text {
        font-size: 14px;
    }

    .hero__image {
        width: min(94vw, 390px);
    }

    .hero__right {
        min-height: min(102vw, 430px);
    }

    .hero__image img {
        width: min(190vw, 760px);
    }
}



/* source: components/why-choose-me.css */

/* ==========================================================
   WHY SECTION
========================================================== */

.why {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    background: var(--surface-color);
}

    .why .container {
        position: relative;
        z-index: 2;
    }

/* ==========================================================
   BACKGROUND
========================================================== */

.why__smoke {
    position: absolute;
    inset: -260px;
    z-index: 1;
    pointer-events: none;
    opacity: .55;
    background: radial-gradient(circle at 18% 18%, rgba(227,27,35,.20), transparent 34%), radial-gradient(circle at 82% 20%, rgba(227,27,35,.14), transparent 28%), radial-gradient(circle at 50% 95%, rgba(227,27,35,.18), transparent 36%);
    filter: blur(130px);
}

/* ==========================================================
   HEADER
========================================================== */

.why__header {
    max-width: 760px;
    margin: 0 auto 80px;
    text-align: center;
}

    .why__header .section-tag {
        margin-bottom: 18px;
    }

    .why__header .section-title {
        margin-bottom: 22px;
    }

    .why__header .section-description {
        max-width: 650px;
        margin: 0 auto;
    }

/* ==========================================================
   GRID
========================================================== */

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(340px, 1fr);
    grid-template-areas:
        "featured right"
        "reliability individual";
    column-gap: 24px;
    row-gap: 24px;
    align-items: start;
}

/* ==========================================================
   GRID ITEMS
========================================================== */

.why-card--featured {
    grid-area: featured;
    min-height: 620px;
}

.why-grid__right {
    grid-area: right;
    display: grid;
    grid-template-rows: repeat(2, 298px);
    gap: 24px;
    align-content: start;
}

.why-card--emotions,
.why-card--lan {
    min-height: 298px;
}

.why-card--reliability {
    grid-area: reliability;
    min-height: 240px;
}

.why-card--individual {
    grid-area: individual;
    min-height: 240px;
}

/* ==========================================================
   SAFETY
========================================================== */

.why-grid > * {
    min-width: 0;
}

/* ==========================================================
   CARD
========================================================== */

.why-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #1A1A1A;
    isolation: isolate;
    cursor: default;
    box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.05);
    transition: transform .45s ease, box-shadow .45s ease;
}

/* ==========================================================
   IMAGE
========================================================== */

.why-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1);
    transition: transform .8s ease, filter .8s ease;
}

/* ==========================================================
   OVERLAY
========================================================== */

.why-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( to top, rgba(9,9,9,.96) 0%, rgba(9,9,9,.76) 38%, rgba(9,9,9,.26) 72%, rgba(9,9,9,.08) 100% );
}

/* ==========================================================
   RED GLOW
========================================================== */

.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity .45s ease;
    background: radial-gradient( circle at left bottom, rgba(227,27,35,.24), transparent 62% );
}

/* ==========================================================
   SHINE
========================================================== */

.why-card::after {
    content: "";
    position: absolute;
    inset: -150%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient( 115deg, transparent 35%, rgba(255,255,255,.16) 47%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.16) 53%, transparent 65% );
    transform: translateX(-120%) rotate(8deg);
    transition: transform .9s cubic-bezier(.22,.61,.36,1);
}

/* ==========================================================
   CONTENT
========================================================== */

.why-card__content {
    position: absolute;
    left: 36px;
    right: 36px;
    bottom: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
}

/* ==========================================================
   HOVER
========================================================== */

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(227,27,35,.18);
}

    .why-card:hover::before {
        opacity: 1;
    }

    .why-card:hover::after {
        transform: translateX(120%) rotate(8deg);
    }

    .why-card:hover .why-card__image {
        transform: scale(1.06);
        filter: saturate(1.08);
    }


/* source: pages/home.css */

body {
}



/* source: pages/services.css */

.services {
    max-width: 1100px;
    margin: 0 auto;
    padding: 96px 20px 80px;
}

.services__intro { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.services__intro--left { margin-left: 0; text-align: left; }
.services__eyebrow { margin: 0 0 10px; color: var(--color-primary); font-size: .8rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.services__title { margin: 0; color: var(--color-text); font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; }
.services__subtitle { margin: 16px 0 0; color: var(--color-text-secondary); font-size: 1.05rem; line-height: 1.7; }

.service-catalog { display: grid; gap: 16px; }
.service-catalog__item {
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    min-height: 112px; padding: 28px 30px; box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
    background: rgba(255,255,255,.035); color: var(--color-text); text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.service-catalog__item:hover { transform: translateY(-3px); border-color: var(--color-primary); background: rgba(255,255,255,.06); box-shadow: 0 14px 32px rgba(0,0,0,.22); color: var(--color-text); }
.service-catalog__content { display: grid; gap: 8px; }
.service-catalog__title { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 750; }
.service-catalog__description { color: var(--color-text-secondary); line-height: 1.55; }
.service-catalog__arrow { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; box-sizing: border-box; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: var(--color-primary); line-height: 0; transition: transform .2s ease, background .2s ease; }
.service-catalog__arrow svg { display: block; width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-catalog__item:hover .service-catalog__arrow { transform: translateX(4px); background: var(--color-primary); color: #fff; }

.service-details__back { display: inline-block; margin-bottom: 36px; color: var(--color-text-secondary); text-decoration: none; }
.service-details__back:hover { color: var(--color-primary); }
.service-details__panel { overflow: visible; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: rgba(255,255,255,.03); }
.service-list { padding: 12px 30px 24px; }
.service-section { margin: 28px 0 10px; padding: 0 0 10px; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--color-primary); font-size: .92rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-section:first-child { margin-top: 10px; }
.service-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.service-item__title { color: var(--color-text); line-height: 1.5; }
.service-item__price { color: var(--color-primary); font-size: 1.1rem; font-weight: 800; white-space: nowrap; }

.watch { display: grid; gap: 16px; margin: 0 30px 28px; }
.watch__current, .watch__queue { padding: 22px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(0,0,0,.14); }
.watch h2 { margin: 0 0 14px; font-size: 1.1rem; }
.watch__title { margin: 0; font-size: 1.04rem; font-weight: 700; }
.watch__episode, .watch__info { margin: 8px 0 0; color: var(--color-text-secondary); line-height: 1.55; }
.watch__queue ol { margin: 16px 0; padding-left: 22px; }
.watch__queue li { margin-bottom: 8px; }
.watch__queue-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.watch__queue-item:last-of-type { border-bottom: 0; }

.queue-disclosure {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(0,0,0,.14);
    transition: border-color .2s ease, background .2s ease;
}
.queue-disclosure[open] { border-color: rgba(255,255,255,.16); background: rgba(0,0,0,.2); }
.queue-disclosure__button {
    display: flex; align-items: center; gap: 12px;
    min-height: 68px; padding: 0 20px;
    color: var(--color-text); font-size: 1.02rem; font-weight: 750;
    cursor: pointer; list-style: none; user-select: none;
}
.queue-disclosure__button::-webkit-details-marker { display: none; }
.queue-disclosure__button:hover { background: rgba(255,255,255,.035); }
.queue-disclosure__count {
    display: inline-grid; min-width: 30px; height: 30px; padding: 0 8px; place-items: center;
    box-sizing: border-box; border-radius: 999px;
    background: rgba(255,255,255,.08); color: var(--color-primary); font-size: .88rem;
}
.queue-disclosure__arrow {
    width: 10px; height: 10px; margin-left: auto;
    border-right: 2px solid var(--color-text-secondary); border-bottom: 2px solid var(--color-text-secondary);
    transform: rotate(45deg) translate(-2px, 2px); transition: transform .2s ease, border-color .2s ease;
}
.queue-disclosure[open] .queue-disclosure__arrow { border-color: var(--color-primary); transform: rotate(225deg) translate(-2px, 2px); }
.queue-disclosure__content { padding: 0 20px 20px; border-top: 1px solid rgba(255,255,255,.07); }
.queue-disclosure__empty { margin: 20px 0 0; color: var(--color-text-secondary); text-align: center; }
.queue-list { margin: 0; padding: 6px 0 0; list-style: none; counter-reset: queue-position; }
.queue-list__item {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06);
    counter-increment: queue-position;
}
.queue-list__item:last-child { border-bottom: 0; }
.queue-list__position {
    display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center;
    border: 1px solid rgba(255,255,255,.11); border-radius: 9px;
    color: var(--color-text-secondary); font-size: .82rem; font-weight: 750;
}
.queue-list__position::before { content: counter(queue-position); }
.queue-list__text { display: grid; min-width: 0; gap: 3px; }
.queue-list__text strong { overflow-wrap: anywhere; color: var(--color-text); font-size: .98rem; }
.queue-list__text small { color: var(--color-text-secondary); font-size: .86rem; }

.game-calculator { margin: 0 30px 28px; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(0,0,0,.2); }
.game-calculator h2 { margin: 0 0 20px; font-size: 1.45rem; }
.game-calculator .form-group { position: relative; margin-bottom: 18px; }
.game-calculator label { display: block; margin-bottom: 8px; color: var(--color-text); font-weight: 650; }
.game-calculator .form-group label:has(input[type="radio"]) { display: flex; align-items: center; gap: 7px; font-weight: 400; }
.game-calculator input[type="text"], .game-calculator select { width: 100%; min-height: 46px; padding: 0 14px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(0,0,0,.24); color: var(--color-text); }
.game-calculator select option { color: #111; background: #fff; }
.game-suggestions { position: absolute; top: calc(100% - 1px); z-index: 20; width: 100%; max-height: 260px; overflow-y: auto; border: 1px solid var(--color-primary); border-radius: 0 0 10px 10px; background: #1d1d1d; }
.game-suggestion { padding: 11px 14px; color: #fff; cursor: pointer; }
.game-suggestion:hover { background: var(--color-primary); }
.game-calculator__result { margin-top: 22px; padding: 18px; border-radius: 12px; background: rgba(255,255,255,.05); }
.game-calculator__result h3 { margin-top: 0; }

.watch-calculator__lead { margin: -8px 0 22px; color: var(--color-text-secondary); line-height: 1.6; }
.watch-calculator input[type="search"] { width: 100%; min-height: 48px; padding: 0 14px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(0,0,0,.24); color: var(--color-text); font: inherit; }
.watch-calculator input:focus { border-color: var(--color-primary); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent); }
.watch-media-search { position: relative; z-index: 25; }
.watch-media-suggestions { position: absolute; top: calc(100% - 1px); left: 0; right: 0; z-index: 30; max-height: 360px; overflow-y: auto; border: 1px solid var(--color-primary); border-radius: 0 0 12px 12px; background: #181818; box-shadow: 0 18px 35px rgba(0,0,0,.4); }
.watch-media-suggestions[hidden] { display: none; }
.watch-media-suggestion { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; width: 100%; min-height: 68px; padding: 9px 12px; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); background: transparent; color: var(--color-text); text-align: left; cursor: pointer; }
.watch-media-suggestion:last-child { border-bottom: 0; }
.watch-media-suggestion:hover, .watch-media-suggestion:focus-visible { background: rgba(255,255,255,.07); outline: 0; }
.watch-media-suggestion img, .watch-media-suggestion__placeholder { width: 48px; height: 50px; border-radius: 7px; object-fit: cover; }
.watch-media-suggestion__placeholder { display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--color-text-secondary); font-weight: 800; }
.watch-media-suggestion__text { display: grid; align-content: center; gap: 4px; min-width: 0; }
.watch-media-suggestion__text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watch-media-suggestion__text small { overflow: hidden; color: var(--color-text-secondary); text-overflow: ellipsis; white-space: nowrap; }
.watch-media-suggestions__empty { margin: 0; padding: 18px; color: var(--color-text-secondary); text-align: center; }
.watch-media-selection { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; margin: 22px 0; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.035); }
.watch-media-selection[hidden] { display: none; }
.watch-media-selection:not(:has(> img)) { grid-template-columns: 1fr; }
.watch-media-selection img { width: 96px; height: 138px; border-radius: 9px; object-fit: cover; }
.watch-media-selection h3 { margin: 0 0 5px; }
.watch-media-selection p { margin: 0 0 8px; color: var(--color-text-secondary); }
.watch-media-selection span { color: var(--color-primary); font-size: .9rem; font-weight: 750; }
.watch-media-selection a { display: block; width: fit-content; margin-top: 8px; color: var(--color-text-secondary); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.watch-media-selection a:hover { color: var(--color-primary); }
.watch-media-selection__action { display: flex; grid-column: 1 / -1; justify-content: flex-end; padding-top: 4px; }
.watch-media-selection__action .service-card__order { display: inline-flex; align-items: center; justify-content: center; min-width: 210px; margin-top: 0; color: #fff; font-size: inherit; text-decoration: none; }
.watch-media-selection--calculated { display: block; padding: 22px; border-color: color-mix(in srgb, var(--color-primary) 55%, transparent); background: color-mix(in srgb, var(--color-primary) 8%, transparent); }
.watch-media-selection--calculated h3 { margin: 0 0 14px; font-size: 1.55rem; }
.watch-calculation-table { display: grid; margin: 0; }
.watch-calculation-table > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.watch-calculation-table dt { color: var(--color-text-secondary); }
.watch-calculation-table dd { margin: 0; color: var(--color-text); font-weight: 750; text-align: right; }
.watch-calculation-table__total { margin-top: 8px; padding-top: 18px !important; border-bottom: 0 !important; }
.watch-calculation-table__total dt { color: var(--color-text); font-size: 1.08rem; }
.watch-calculation-table__total dd { color: var(--color-primary); font-size: 1.35rem; }
.watch-media-selection__action--result { margin-top: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.watch-season-selection { margin: 20px 0; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; }
.watch-season-selection[hidden] { display: none; }
.watch-season-selection legend { padding: 0 8px; color: var(--color-text); font-weight: 750; }
.watch-season-selection label { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 500; cursor: pointer; }
.watch-season-selection input { width: 17px; height: 17px; accent-color: var(--color-primary); }
.watch-season-selection__all { padding-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.watch-seasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 18px; max-height: 250px; margin-top: 14px; overflow-y: auto; }
.watch-calculator__rate { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 20px 0; padding: 16px 18px; border-radius: 11px; background: rgba(255,255,255,.045); color: var(--color-text-secondary); }
.watch-calculator__rate strong { color: var(--color-primary); font-size: 1.12rem; white-space: nowrap; }
.watch-calculator .service-card__order:disabled { cursor: not-allowed; filter: grayscale(.8); opacity: .5; transform: none; box-shadow: none; }
.watch-calculator__status { min-height: 24px; margin-top: 14px; color: var(--color-text-secondary); font-size: .92rem; }
.watch-calculation-result { margin-top: 6px; padding: 22px; border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent); border-radius: 13px; background: color-mix(in srgb, var(--color-primary) 8%, transparent); }
.watch-calculation-result h3 { margin: 0 0 14px; }
.watch-calculation-result p { margin: 8px 0; color: var(--color-text-secondary); }
.watch-calculation-result strong { color: var(--color-text); }
.watch-calculation-result__warning { padding: 11px 13px; border-radius: 9px; background: rgba(255,181,71,.1); color: #ffc978 !important; }
.watch-calculation-result__total { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 1.12rem; }
.watch-calculation-result__total strong { color: var(--color-primary); font-size: 1.35rem; }
.watch-calculator__attribution { margin: 22px 0 0; color: var(--color-text-secondary); font-size: .76rem; line-height: 1.5; opacity: .8; }
.watch-calculator__attribution a { color: inherit; text-underline-offset: 3px; }
.watch-calculator__attribution a:hover { color: var(--color-primary); }

.service-details__action { display: flex; justify-content: flex-end; padding: 0 30px 30px; }
.service-card__order { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; min-height: 48px; padding: 0 24px; border: 1px solid var(--color-primary); border-radius: 10px; background: var(--color-primary); color: #fff; font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(39,166,0,.18); transition: transform .2s ease, box-shadow .2s ease; }
.service-card__order:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(39,166,0,.28); }

@media (max-width: 768px) {
    .services { padding: 42px 16px 64px; }
    .services__intro { margin-bottom: 28px; }
    .service-catalog__item { min-height: 100px; padding: 22px 20px; gap: 14px; }
    .service-catalog__arrow { flex-basis: 36px; width: 36px; height: 36px; }
    .service-list { padding: 8px 20px 18px; }
    .service-item { align-items: flex-start; flex-direction: column; gap: 6px; }
    .service-item__price { align-self: flex-end; }
    .watch, .game-calculator { margin-right: 20px; margin-left: 20px; }
    .queue-disclosure__button { min-height: 62px; padding: 0 16px; }
    .queue-disclosure__content { padding-right: 16px; padding-left: 16px; }
    .game-calculator { padding: 20px; }
    .watch-seasons { grid-template-columns: 1fr; }
    .watch-calculator__rate { align-items: flex-start; flex-direction: column; gap: 6px; }
    .watch-calculation-table > div { grid-template-columns: 1fr; gap: 5px; }
    .watch-calculation-table dd { text-align: left; }
    .watch-media-selection__action .service-card__order { width: 100%; }
    .service-details__action { padding: 0 20px 20px; }
    .service-card__order { width: 100%; }
}



/* source: pages/portfolio.css */

.portfolio-page {
    min-height: calc(100vh - 220px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px 80px;
}

.portfolio-title {
    margin: 0 0 36px;
    color: #fff;
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.portfolio-buttons {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.portfolio-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 100%;
    height: 74px;
    background: linear-gradient(180deg, #1b1b1b 0%, #141414 100%);
    border: none;
    border-radius: 18px;
    color: #ffffff;
    text-decoration: none;
    font-size: 23px;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

    .portfolio-button i,
    .portfolio-button svg {
        font-size: 28px;
        transition: transform .25s ease;
    }

    .portfolio-button:hover {
        color: #ffffff;
        transform: translateY(-4px);
        background: linear-gradient(180deg, #232323 0%, #181818 100%);
        box-shadow: 0 0 28px rgba(237, 28, 36, .28), 0 14px 36px rgba(0, 0, 0, .55);
    }

        .portfolio-button:hover i,
        .portfolio-button:hover svg {
            transform: scale(1.08);
        }

    .portfolio-button:active {
        transform: translateY(-1px);
    }

    .portfolio-button:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(255,255,255,.15), 0 0 32px rgba(237,28,36,.35);
    }

@media (max-width: 768px) {

    .portfolio-page {
        min-height: auto;
        padding: 60px 20px;
    }

    .portfolio-title {
        font-size: 44px;
        margin-bottom: 28px;
    }

    .portfolio-buttons {
        max-width: 100%;
    }

    .portfolio-button {
        height: 68px;
        font-size: 20px;
    }

        .portfolio-button i,
        .portfolio-button svg {
            font-size: 24px;
        }
}


/* ==========================
   Анимация появления
========================== */

.portfolio-title {
    opacity: 0;
    transform: translateY(-25px);
    animation: portfolioFadeDown .7s ease forwards;
}

.portfolio-buttons {
    opacity: 0;
    transform: translateY(25px);
    animation: portfolioFadeUp .8s ease .2s forwards;
}

.portfolio-button:nth-child(1) {
    animation-delay: .35s;
}

.portfolio-button:nth-child(2) {
    animation-delay: .5s;
}

.portfolio-button {
    opacity: 0;
    transform: translateY(18px);
    animation: portfolioButton .6s ease forwards;
}

@keyframes portfolioFadeDown {

    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes portfolioFadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes portfolioButton {

    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* source: pages/order.css */

.order-page { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0; }
.order-page__intro { max-width: 720px; margin-bottom: 40px; }
.order-page__discount { margin: -20px 0 30px; padding: 14px 16px; color: var(--color-text-primary); background: rgba(227, 27, 35, .09); border: 1px solid rgba(227, 27, 35, .38); border-radius: var(--radius-small); }
.order-page__discount strong { color: var(--color-primary); }
.order-page__eyebrow { display: block; margin-bottom: 12px; color: var(--color-primary); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.order-page h1, .order-page h2 { color: var(--color-text-primary); }
.order-page h1 { margin: 0 0 16px; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.order-page__intro p, .order-info p, .order-form__hint { color: var(--color-text-secondary); line-height: 1.7; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .9fr); gap: 24px; align-items: start; }
.order-form, .order-info { padding: 32px; background: rgba(255, 255, 255, .03); border: 1px solid var(--color-border); border-radius: var(--radius-large); box-shadow: var(--shadow-small); }
.order-form__section + .order-form__section { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.order-form h2, .order-info h2 { margin: 0 0 20px; font-size: 1.35rem; }
.order-services { display: grid; gap: 12px; }
.order-service { display: flex; gap: 14px; padding: 16px; cursor: pointer; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-medium); transition: border-color var(--transition), background var(--transition), transform var(--transition); }
.order-service:hover, .order-service:has(input:checked) { background: rgba(227, 27, 35, .08); border-color: var(--color-primary); }
.order-service:hover { transform: translateY(-2px); }
.order-service input { accent-color: var(--color-primary); margin-top: 4px; }
.order-service__content { display: grid; gap: 5px; }
.order-service__title { color: var(--color-text-primary); font-weight: 700; }
.order-service__text { color: var(--color-text-secondary); font-size: .92rem; line-height: 1.5; }
.order-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.order-field { display: grid; gap: 8px; }
.order-field--full { grid-column: 1 / -1; }
.order-field--commentary { display: block; }
.order-field--watch { display: none; }
.order-form--watch .order-field--standard,
.order-form--watch .order-field--commentary { display: none; }
.order-form--watch .order-field--watch { display: grid; }
.order-form--watch .order-watch-calculator { display: block; }
.order-watch-calculator { margin: 0; }
.order-watch-calculator .service-card__order { width: 100%; }
.order-field--game { display: none; grid-column: 1 / -1; }
.order-form--game .order-field--standard,
.order-form--game .order-field--commentary,
.order-form--game .order-field--watch { display: none; }
.order-form--game .order-field--game { display: block; }
.order-game-calculator { padding: 22px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-medium); }
.order-game-calculator { position: relative; z-index: 2; }
.order-game-calculator h3 { margin: 0 0 18px; }
.order-game-calculator .order-field { position: relative; margin-top: 16px; }
.order-game-calculator select { width: 100%; min-height: 46px; padding: 0 14px; color: var(--color-text-primary); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-small); }
.order-game-calculator select option { color: #111; background: #fff; }
.order-game-options { display: grid; gap: 10px; margin: 18px 0; padding: 0; border: 0; }
.order-game-options legend { margin-bottom: 10px; font-weight: 700; }
.order-game-options label { color: var(--color-text-secondary); }
.order-game-options input { accent-color: var(--color-primary); }
.order-calculate { margin-top: 18px; }
.order-calculation-result { margin-top: 18px; padding: 16px; color: var(--color-text-primary); background: rgba(227, 27, 35, .08); border-radius: var(--radius-small); }
.order-calculation-result:empty { display: none; }
.game-suggestions { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; z-index: 50; max-height: 220px; overflow-y: auto; background: #1b1b1b; border: 1px solid var(--color-primary); border-radius: 0 0 var(--radius-small) var(--radius-small); box-shadow: var(--shadow-medium); }
.game-suggestions.is-open { display: block; }
.game-suggestions[hidden] { display: none; }
.game-suggestion { display: block; width: 100%; padding: 11px 14px; color: var(--color-text-primary); text-align: left; background: transparent; border-bottom: 1px solid var(--color-border); }
.game-suggestion:hover { background: var(--color-surface-hover); }
.order-field label { color: var(--color-text-primary); font-size: .92rem; font-weight: 700; }
.order-field label span { color: var(--color-text-secondary); font-size: .82rem; font-weight: 500; }
.order-field input, .order-field textarea, .order-field select { width: 100%; box-sizing: border-box; padding: 13px 14px; color: var(--color-text-primary); font: inherit; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-small); }
.order-field select { min-height: 48px; }
.order-field select option { color: #111; background: #fff; }
.order-field input:disabled, .order-field select:disabled { cursor: not-allowed; opacity: .52; }
.order-field input[type="file"] { padding: 9px; color: var(--color-text-secondary); }
.order-field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 12px; color: var(--color-text-primary); font: inherit; font-weight: 700; cursor: pointer; background: rgba(255, 255, 255, .07); border: 1px solid var(--color-border); border-radius: 8px; }
.order-field small { color: var(--color-text-secondary); font-size: .78rem; line-height: 1.45; }
.order-field textarea { resize: vertical; }
.order-field input:focus, .order-field textarea:focus, .order-field select:focus { outline: 2px solid rgba(227, 27, 35, .45); border-color: var(--color-primary); }
.order-commentary { min-width: 0; }
.order-commentary__heading { margin-bottom: 22px; }
.order-commentary__heading h2 { margin: 6px 0 8px; font-size: clamp(1.45rem, 3vw, 2rem); }
.order-commentary__heading p { margin: 0; color: var(--color-text-secondary); line-height: 1.55; }
.order-commentary__step { color: var(--color-primary); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.order-match-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.order-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; transition: opacity var(--transition); }
.order-teams[aria-disabled="true"] { pointer-events: none; opacity: .45; }
.order-team-card { min-width: 0; padding: 20px; background: rgba(255, 255, 255, .025); border: 1px solid var(--color-border); border-radius: var(--radius-medium); }
.order-team-card__header { margin-bottom: 18px; }
.order-team-card__header h3 { margin: 5px 0 6px; color: var(--color-text-primary); font-size: 1.15rem; }
.order-team-card__header p { margin: 0; color: var(--color-text-secondary); font-size: .84rem; line-height: 1.5; }
.order-team-card__number { color: var(--color-primary); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.order-team-card .order-field + .order-field { margin-top: 15px; }
.order-team-quick { display: grid; width: 100%; margin: 0 0 16px; padding: 12px 14px; color: var(--color-text-primary); text-align: left; cursor: pointer; background: rgba(227, 27, 35, .08); border: 1px solid rgba(227, 27, 35, .45); border-radius: var(--radius-small); }
.order-team-quick span { color: var(--color-primary); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.order-team-quick strong { margin-top: 3px; }
.order-team-search { position: relative; }
.team-suggestions { position: absolute; top: 100%; right: 0; left: 0; z-index: 60; max-height: 260px; overflow-y: auto; background: #171717; border: 1px solid var(--color-primary); border-radius: 0 0 var(--radius-small) var(--radius-small); box-shadow: var(--shadow-medium); }
.team-suggestions[hidden] { display: none; }
.team-suggestion { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; color: var(--color-text-primary); text-align: left; cursor: pointer; background: transparent; border: 0; border-bottom: 1px solid var(--color-border); }
.team-suggestion:last-child { border-bottom: 0; }
.team-suggestion:hover, .team-suggestion:focus-visible { background: rgba(227, 27, 35, .1); outline: 0; }
.team-suggestion img, .team-suggestion__placeholder { width: 38px; height: 38px; object-fit: contain; background: rgba(255, 255, 255, .05); border-radius: 8px; }
.team-suggestion__placeholder { display: grid; place-items: center; color: var(--color-text-secondary); font-weight: 800; }
.team-suggestion__name { min-width: 0; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.team-suggestion__mine { color: var(--color-primary); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.order-team-logo-preview { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 10px; color: var(--color-text-secondary); font-size: .82rem; background: rgba(255, 255, 255, .025); border-radius: var(--radius-small); }
.order-team-logo-preview[hidden] { display: none; }
.order-team-logo-preview img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; }
.order-commentary__status { min-height: 1.4em; margin-top: 16px; color: var(--color-primary); font-size: .9rem; font-weight: 700; }
.order-commentary-total { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 28px; padding: 20px 22px; background: rgba(227, 27, 35, .08); border: 1px solid rgba(227, 27, 35, .45); border-radius: var(--radius-medium); }
.order-commentary-total div { display: grid; gap: 4px; }
.order-commentary-total span { color: var(--color-text-primary); font-weight: 800; }
.order-commentary-total small { color: var(--color-text-secondary); }
.order-commentary-total strong { color: var(--color-primary); font-size: clamp(1.15rem, 3vw, 1.75rem); text-align: right; }
.order-form--watch .order-commentary-total,
.order-form--game .order-commentary-total { display: none; }
.order-form__submit { min-width: 0; width: 100%; margin-top: 32px; }
.order-form__hint { margin: 14px 0 0; font-size: .9rem; text-align: center; }
.order-info ol { display: grid; gap: 18px; padding-left: 24px; color: var(--color-text-secondary); line-height: 1.6; }
.order-info__note { margin-top: 30px; padding: 20px; background: rgba(227, 27, 35, .08); border-left: 3px solid var(--color-primary); border-radius: 0 var(--radius-small) var(--radius-small) 0; }
.order-info__note strong { color: var(--color-text-primary); }
.order-info__note p { margin: 8px 0 0; font-size: .92rem; }
@media (max-width: 950px) { .order-match-options { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .order-page { width: min(100% - 32px, 1100px); padding: 48px 0 64px; } .order-layout { grid-template-columns: 1fr; } .order-match-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .order-match-options, .order-teams { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .order-form, .order-info { padding: 22px; } .order-form__fields { grid-template-columns: 1fr; } .order-field--full { grid-column: auto; } .order-team-card { padding: 16px; } .order-commentary-total { align-items: flex-start; flex-direction: column; gap: 12px; } .order-commentary-total strong { text-align: left; } }



/* source: pages/about.css */

.about-page {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

    /* Фоновое изображение справа */
    .about-page::after {
        content: "";
        position: fixed;
        top: 120px;
        right: 0;
        width: min(55vw, 950px);
        height: calc(100vh - 120px);
        background: linear-gradient(to left, rgba(10,10,10,0) 45%, rgba(10,10,10,.45) 70%, rgba(10,10,10,.9) 88%, #0b0b0b 100%), url("/images/About/background.png") right center / contain no-repeat;
        opacity: .14;
        pointer-events: none;
        z-index: 0;
        -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%), linear-gradient(to top, black 85%, transparent 100%), linear-gradient(to bottom, black 85%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(to left, black 60%, transparent 100%), linear-gradient(to top, black 85%, transparent 100%), linear-gradient(to bottom, black 85%, transparent 100%);
        mask-composite: intersect;
    }

.about-content,
.about-socials {
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 760px;
    margin: 0 auto 80px;
}

    .about-content h1 {
        margin: 0 0 48px;
        font-size: clamp(2.8rem, 5vw, 4.3rem);
        line-height: 1.05;
        font-weight: 800;
    }

    .about-content h2 {
        margin: 70px 0 25px;
        font-size: clamp(2rem, 3vw, 2.4rem);
        font-weight: 700;
    }

    .about-content p {
        margin: 0 0 28px;
        font-size: 1.08rem;
        line-height: 1.95;
        color: var(--text-secondary);
    }

    .about-content strong {
        color: var(--color-text);
        font-weight: 700;
    }

/* Социальные сети */

.about-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

    .about-socials a {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-width: 185px;
        padding: 14px 22px;
        text-decoration: none;
        color: inherit;
        border: 1px solid var(--border-color);
        border-radius: 14px;
        background: rgba(255,255,255,.03);
        backdrop-filter: blur(10px);
        transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
    }

        .about-socials a:hover {
            transform: translateY(-4px);
            border-color: var(--accent-color);
            background: rgba(255,255,255,.06);
            box-shadow: 0 12px 30px rgba(0,0,0,.25);
        }

.social-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: .9;
}

.about-socials span {
    font-weight: 600;
}

/* ==========================
   Анимация появления
========================== */

.about-title {
    opacity: 0;
    transform: translateY(-30px);
    animation: aboutFadeDown .7s ease forwards;
}

.about-content {
    opacity: 0;
    transform: translateY(30px);
    animation: aboutFadeUp .8s ease .2s forwards;
}

.about-photo,
.about-image {
    opacity: 0;
    transform: translateX(-35px);
    animation: aboutPhoto .8s ease .25s forwards;
}

.about-text {
    opacity: 0;
    transform: translateX(35px);
    animation: aboutText .8s ease .35s forwards;
}

.about-card {
    opacity: 0;
    transform: translateY(20px);
    animation: aboutCard .6s ease forwards;
}

    .about-card:nth-child(1) {
        animation-delay: .45s;
    }

    .about-card:nth-child(2) {
        animation-delay: .55s;
    }

    .about-card:nth-child(3) {
        animation-delay: .65s;
    }

    .about-card:nth-child(4) {
        animation-delay: .75s;
    }

@keyframes aboutFadeDown {

    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutFadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutPhoto {

    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aboutText {

    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aboutCard {

    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}



/* source: pages/faq.css */

.faq-page {
    padding: 80px 0;
}

.faq-header {
    max-width: 760px;
    margin: 0 auto 70px;
    text-align: center;
}

    .faq-header h1 {
        margin-bottom: 24px;
    }

    .faq-header p {
        line-height: 1.8;
        color: var(--color-text-secondary);
    }

.faq-category + .faq-category {
    margin-top: 70px;
}

.faq-category h2 {
    margin-bottom: 28px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    overflow: hidden;
    transition: background .3s ease, border-color .3s ease, transform .25s ease, box-shadow .3s ease;
}

    .faq-item:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,.18);
        box-shadow: 0 12px 28px rgba(0,0,0,.18);
    }

    .faq-item.active {
        border-color: var(--color-primary);
        background: rgba(255,255,255,.05);
    }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    text-align: left;
    color: var(--color-text);
    background: transparent;
}

    .faq-question span:first-child {
        font-size: 1.08rem;
        font-weight: 600;
        line-height: 1.5;
    }

    .faq-question:focus-visible {
        outline: none;
        box-shadow: inset 0 0 0 2px var(--color-primary);
    }

.faq-icon {
    width: 32px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 300;
    transition: transform .35s ease, color .25s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 28px;
    transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .25s ease, padding .45s cubic-bezier(.4,0,.2,1);
}

    .faq-answer.open {
        max-height: 500px;
        opacity: 1;
        padding: 0 28px 28px;
    }

    .faq-answer p {
        color: var(--color-text-secondary);
        line-height: 1.8;
        transform: translateY(-8px);
        opacity: 0;
        transition: transform .3s ease, opacity .3s ease;
    }

    .faq-answer.open p {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 768px) {

    .faq-page {
        padding: 60px 0;
    }

    .faq-header {
        margin-bottom: 50px;
    }

    .faq-question {
        padding: 20px;
        gap: 16px;
    }

        .faq-question span:first-child {
            font-size: 1rem;
        }

    .faq-answer {
        padding: 0 20px;
    }

        .faq-answer.open {
            padding: 0 20px 20px;
        }
}



/* source: pages/account.css */

/* ==========================================================
   ACCOUNT
========================================================== */

.account-page {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) var(--content-padding);
    position: relative;
}

/* ==========================================================
   LOGIN CARD
========================================================== */

.account-card {
    width: 100%;
    max-width: 460px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-large);
    padding: 40px;
    box-shadow: var(--shadow-large);
    position: relative;
    overflow: hidden;
}

    /* Красный декоративный элемент сверху */

    .account-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--color-primary);
    }

/* ==========================================================
   HEADER
========================================================== */

.account-card__header {
    margin-bottom: 32px;
}

.account-card__title {
    margin: 0;
    color: var(--color-text-primary);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.account-card__subtitle {
    margin: 10px 0 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================
   FORM
========================================================== */

.account-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-form__label {
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 600;
}

.account-form__input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    color: var(--color-text-primary);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

    .account-form__input::placeholder {
        color: var(--color-text-secondary);
        opacity: .55;
    }

    .account-form__input:hover {
        border-color: #3A3A3A;
    }

    .account-form__input:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(227, 27, 35, .12);
    }

/* ==========================================================
   REMEMBER ME
========================================================== */

.account-form__remember {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-secondary);
    font-size: 14px;
    cursor: pointer;
}

    .account-form__remember input {
        width: 17px;
        height: 17px;
        margin: 0;
        accent-color: var(--color-primary);
        cursor: pointer;
    }

/* ==========================================================
   BUTTON
========================================================== */

.account-form__submit {
    width: 100%;
    height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: var(--radius-small);
    background: var(--color-primary);
    color: var(--color-white);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

    .account-form__submit:hover {
        background: var(--color-primary-hover);
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(227, 27, 35, .22);
    }

    .account-form__submit:active {
        transform: translateY(0);
    }

/* ==========================================================
   VALIDATION
========================================================== */

.account-validation {
    color: var(--color-error);
    font-size: 13px;
    line-height: 1.5;
}

    .account-validation:empty {
        display: none;
    }

.account-form__input.input-validation-error {
    border-color: var(--color-error);
}

.account-validation-summary {
    margin-bottom: 4px;
    padding: 12px 14px;
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .25);
    border-radius: var(--radius-small);
    color: var(--color-error);
    font-size: 13px;
}

    .account-validation-summary:empty {
        display: none;
    }

/* ==========================================================
   FOOTER
========================================================== */

.account-card__footer {
    margin-top: 28px;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 14px;
}

    .account-card__footer a {
        color: var(--color-primary);
        text-decoration: none;
        font-weight: 600;
        transition: color var(--transition-fast);
    }

        .account-card__footer a:hover {
            color: var(--color-primary-hover);
        }

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .account-page {
        padding: 40px 16px;
    }

    .account-card {
        padding: 28px 22px;
        border-radius: var(--radius-medium);
    }

    .account-card__title {
        font-size: 28px;
    }
}

/* ==========================================================
   PROFILE
========================================================== */

.profile-page {
    position: relative;
    min-height: calc(100vh - 84px);
    padding: 54px var(--content-padding) 88px;
    overflow: hidden;
}

.profile-page::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -340px;
    left: 50%;
    width: 940px;
    height: 620px;
    background: radial-gradient(circle, rgba(227, 27, 35, .13), transparent 67%);
    transform: translateX(-50%);
    pointer-events: none;
}

.profile-container {
    max-width: 1180px;
}

.profile-hero {
    display: flex;
    gap: 34px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.profile-hero__identity {
    display: flex;
    min-width: 0;
    gap: 22px;
    align-items: center;
}

.profile-avatar {
    display: grid;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 1px solid rgba(227, 27, 35, .58);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(227, 27, 35, .2), rgba(227, 27, 35, .06));
    color: var(--color-white);
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 16px 42px rgba(227, 27, 35, .13);
}

.profile-eyebrow,
.profile-panel__eyebrow {
    display: block;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.profile-hero h1 {
    margin: 5px 0 8px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.05;
}

.profile-hero p {
    max-width: 650px;
    font-size: 15px;
    line-height: 1.55;
}

.profile-hero__actions,
.account-edit-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}

.profile-button {
    display: inline-flex;
    min-height: 46px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.profile-button:hover {
    transform: translateY(-2px);
}

.profile-button:focus-visible,
.profile-icon-link:focus-visible,
.profile-text-link:focus-visible,
.profile-danger summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.profile-button--primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 12px 28px rgba(227, 27, 35, .24);
}

.profile-button--primary:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 15px 34px rgba(227, 27, 35, .34);
}

.profile-button--secondary {
    border-color: var(--color-border);
    background: rgba(255, 255, 255, .035);
    color: var(--color-text-primary);
}

.profile-button--secondary:hover {
    border-color: rgba(227, 27, 35, .48);
    background: rgba(227, 27, 35, .08);
}

.profile-button--wide {
    width: 100%;
}

.profile-notice {
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 14px;
}

.profile-notice--success {
    border-color: rgba(34, 197, 94, .28);
    background: rgba(34, 197, 94, .08);
    color: var(--color-success);
}

.profile-notice--error {
    border-color: rgba(239, 68, 68, .28);
    background: rgba(239, 68, 68, .08);
    color: var(--color-error);
}

.profile-stats {
    display: grid;
    grid-template-columns: .7fr .7fr .75fr 1.35fr;
    gap: 14px;
    margin-bottom: 18px;
}

.profile-stat,
.profile-panel {
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, .026);
    box-shadow: var(--shadow-small);
}

.profile-stat {
    position: relative;
    min-width: 0;
    padding: 20px 22px;
    overflow: hidden;
    border-radius: 14px;
}

.profile-stat::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary));
    opacity: .9;
}

.profile-stat__label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.profile-stat strong {
    display: block;
    overflow: hidden;
    color: var(--color-text-primary);
    font-size: 27px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-stat--team strong {
    font-size: 21px;
}

.profile-stat--discount strong,
.profile-loyalty__current strong {
    color: var(--color-primary);
}

.profile-stat small {
    display: block;
    margin-top: 6px;
    color: var(--color-text-secondary);
    font-size: 12px;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .85fr);
    gap: 18px;
    align-items: start;
}

.profile-sidebar {
    display: grid;
    gap: 18px;
}

.profile-loyalty__current {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin: 8px 0 14px;
}

.profile-loyalty__current strong {
    font-size: 40px;
    line-height: 1;
}

.profile-loyalty__current span,
.profile-loyalty p,
.profile-loyalty__note {
    color: var(--color-text-secondary);
}

.profile-loyalty__levels {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    margin: 18px 0 14px;
}

.profile-loyalty__levels span {
    padding: 8px 4px;
    color: var(--color-text-secondary);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--color-border);
    border-radius: 7px;
}

.profile-loyalty__levels .is-reached {
    color: var(--color-text-primary);
    background: rgba(227, 27, 35, .1);
    border-color: rgba(227, 27, 35, .42);
}

.profile-loyalty__note {
    display: block;
    font-size: 12px;
    line-height: 1.5;
}

.profile-panel {
    min-width: 0;
    padding: 26px;
    border-radius: var(--radius-medium);
}

.profile-panel--orders {
    min-height: 520px;
}

.profile-panel__header {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.profile-panel__header h2 {
    margin-top: 5px;
    font-size: 24px;
}

.profile-text-link {
    flex: 0 0 auto;
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 700;
    transition: color var(--transition), transform var(--transition);
}

.profile-text-link span {
    margin-left: 4px;
    color: var(--color-primary);
}

.profile-text-link:hover {
    color: var(--color-text-primary);
    transform: translateX(2px);
}

.profile-empty {
    display: flex;
    min-height: 390px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.profile-empty__icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    place-items: center;
    border: 1px solid rgba(227, 27, 35, .32);
    border-radius: 18px;
    background: rgba(227, 27, 35, .07);
    color: var(--color-primary);
}

.profile-empty__icon svg {
    width: 30px;
    height: 30px;
}

.profile-empty h3 {
    margin-bottom: 9px;
    font-size: 20px;
}

.profile-empty p {
    max-width: 410px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.6;
}

.profile-orders {
    border-top: 1px solid var(--color-border);
}

.profile-order {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 20px 2px;
    border-bottom: 1px solid var(--color-border);
}

.profile-order__main {
    min-width: 0;
}

.profile-order__service {
    display: block;
    margin-bottom: 5px;
    color: var(--color-text-secondary);
    font-size: 12px;
}

.profile-order__main strong {
    display: block;
    overflow: hidden;
    color: var(--color-text-primary);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-order time {
    display: block;
    margin-top: 6px;
    color: #787878;
    font-size: 11px;
}

.profile-order__meta {
    display: grid;
    justify-items: end;
    gap: 9px;
}

.profile-order__price {
    color: var(--color-text-primary);
    font-size: 15px;
}

.profile-status {
    display: inline-flex;
    min-height: 25px;
    box-sizing: border-box;
    align-items: center;
    padding: 0 9px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
}

.profile-status--waiting {
    border-color: rgba(245, 158, 11, .28);
    background: rgba(245, 158, 11, .08);
    color: var(--color-warning);
}

.profile-status--active {
    border-color: rgba(59, 130, 246, .28);
    background: rgba(59, 130, 246, .08);
    color: #70a5ff;
}

.profile-status--complete {
    border-color: rgba(34, 197, 94, .28);
    background: rgba(34, 197, 94, .08);
    color: var(--color-success);
}

.profile-status--error {
    border-color: rgba(239, 68, 68, .28);
    background: rgba(239, 68, 68, .08);
    color: var(--color-error);
}

.profile-team,
.profile-team-empty {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
}

.profile-team-logo {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    box-sizing: border-box;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    object-fit: contain;
    background: #0d0d0d;
}

.profile-team-logo--empty {
    display: grid;
    place-items: center;
    border-color: rgba(227, 27, 35, .3);
    background: rgba(227, 27, 35, .07);
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 900;
}

.profile-team__content,
.profile-team-empty > div:last-child {
    min-width: 0;
}

.profile-team__title {
    display: flex;
    min-width: 0;
    gap: 8px;
    align-items: center;
}

.profile-team h3,
.profile-team-empty strong {
    display: block;
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-team p,
.profile-team-empty p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.5;
}

.profile-team__flag {
    width: 18px;
    height: 12px;
    margin-right: 5px;
    object-fit: cover;
    vertical-align: -1px;
}

.profile-verified {
    color: var(--color-success);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-icon-link {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    color: var(--color-text-secondary);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.profile-icon-link:hover {
    border-color: var(--color-primary);
    background: rgba(227, 27, 35, .08);
    color: var(--color-primary);
}

.profile-icon-link svg {
    width: 17px;
    height: 17px;
}

.profile-contacts {
    display: grid;
    gap: 13px;
    margin: 0;
}

.profile-contacts > div {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
}

.profile-contacts dt {
    color: var(--color-text-secondary);
    font-size: 12px;
}

.profile-contacts dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--color-text-primary);
    font-size: 12px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-danger {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 11px;
}

.profile-danger summary {
    width: fit-content;
    cursor: pointer;
    transition: color var(--transition);
}

.profile-danger summary:hover {
    color: var(--color-text-primary);
}

.profile-danger p {
    margin: 10px 0;
    font-size: 11px;
    line-height: 1.45;
}

.profile-danger__button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-error);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.account-edit-actions {
    margin-top: 6px;
}

.account-edit-actions .profile-button {
    flex: 1;
}

@media (max-width: 980px) {
    .profile-hero {
        align-items: flex-start;
    }

    .profile-hero__actions {
        flex-direction: column;
        min-width: 190px;
    }

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

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

    .profile-panel--orders {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .profile-page {
        padding: 38px 16px 64px;
    }

    .profile-hero {
        flex-direction: column;
    }

    .profile-hero__actions {
        width: 100%;
        flex-direction: row;
    }

    .profile-hero__actions .profile-button {
        flex: 1;
    }

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

    .profile-stat--team {
        grid-column: auto;
    }

    .profile-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .profile-hero__identity {
        align-items: flex-start;
    }

    .profile-avatar {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        border-radius: 14px;
        font-size: 23px;
    }

    .profile-hero h1 {
        font-size: 29px;
    }

    .profile-hero__actions,
    .account-edit-actions {
        flex-direction: column;
    }

    .profile-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-stat--team {
        grid-column: auto;
    }

    .profile-panel {
        padding: 21px 18px;
    }

    .profile-panel__header {
        align-items: flex-end;
    }

    .profile-order {
        gap: 12px;
    }

    .profile-order__main strong {
        max-width: 180px;
    }
}



/* source: pages/admin.css */

/* ==========================================================
   ADMIN
========================================================== */

.admin-page {
    padding: var(--space-xl) 0 var(--space-2xl);
}

/* ==========================================================
   HEADER
========================================================== */

.admin-page__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: 32px;
    padding-top: 100px;
}

.admin-page__title {
    margin: 0;
    color: var(--color-text-primary);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.admin-page__subtitle {
    margin: 8px 0 0;
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* ==========================================================
   CARD
========================================================== */

.admin-card {
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================
   USERS TABLE
========================================================== */

.admin-users-table-wrapper {
    overflow-x: auto;
}

.admin-users-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

    .admin-users-table th {
        padding: 16px 20px;
        background: var(--color-background);
        border-bottom: 1px solid var(--color-border);
        color: var(--color-text-secondary);
        font-size: 12px;
        font-weight: 600;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .admin-users-table td {
        padding: 18px 20px;
        border-bottom: 1px solid var(--color-border);
        color: var(--color-text-primary);
        font-size: 14px;
    }

    .admin-users-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .admin-users-table tbody tr {
        transition: background var(--transition-fast);
    }

        .admin-users-table tbody tr:hover {
            background: var(--color-surface-hover);
        }

.admin-user-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .admin-user-name strong {
        color: var(--color-text-primary);
        font-weight: 600;
    }

.admin-user-public-id {
    color: var(--color-text-secondary);
    font-size: 12px;
}

/* ==========================================================
   BADGES
========================================================== */

.admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.admin-badge--admin {
    background: rgba(227, 27, 35, .10);
    border-color: rgba(227, 27, 35, .25);
    color: var(--color-primary);
}

.admin-badge--active {
    background: rgba(34, 197, 94, .08);
    border-color: rgba(34, 197, 94, .22);
    color: var(--color-success);
}

.admin-badge--inactive {
    background: rgba(239, 68, 68, .08);
    border-color: rgba(239, 68, 68, .22);
    color: var(--color-error);
}

/* ==========================================================
   ACTION
========================================================== */

.admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    background: transparent;
    color: var(--color-text-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

    .admin-action:hover {
        background: var(--color-surface-hover);
        border-color: #3A3A3A;
        color: var(--color-white);
    }

/* ==========================================================
   FORM
========================================================== */

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
}

.admin-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form__label {
    color: var(--color-text-primary);
    font-size: 14px;
    font-weight: 600;
}

.admin-form__input,
.admin-form__select,
.admin-form__textarea {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    background: var(--color-background);
    color: var(--color-text-primary);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

    .admin-form__input:focus,
    .admin-form__select:focus,
    .admin-form__textarea:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(227, 27, 35, .12);
    }

.admin-form__select {
    cursor: pointer;
}

.admin-form__textarea { min-height: 96px; padding: 14px; resize: vertical; }
.admin-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.admin-settings-grid__full { grid-column: 1 / -1; }

.admin-order-grid > div {
    display: grid;
    gap: 6px;
}

.admin-order-grid span {
    color: var(--color-text-muted, #b9b9b9);
    overflow-wrap: anywhere;
}

.admin-order-details {
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    font: inherit;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.admin-settings-success { margin: 0 0 20px; padding: 14px 16px; color: var(--color-success); background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .25); border-radius: var(--radius-small); }
.admin-settings-error { margin: 0 0 20px; padding: 14px 16px; color: #ff8b8b; background: rgba(239, 29, 39, .08); border: 1px solid rgba(239, 29, 39, .35); border-radius: var(--radius-small); }

.admin-form__checkboxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    background: var(--color-background);
    color: var(--color-text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

    .admin-form__checkbox:hover {
        background: var(--color-surface-hover);
    }

    .admin-form__checkbox input {
        width: 17px;
        height: 17px;
        margin: 0;
        accent-color: var(--color-primary);
        cursor: pointer;
    }

/* ==========================================================
   FORM ACTIONS
========================================================== */

.admin-form__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}

.admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius-small);
    background: var(--color-primary);
    color: var(--color-white);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

    .admin-button:hover {
        background: var(--color-primary-hover);
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(227, 27, 35, .20);
    }

    .admin-button:active {
        transform: translateY(0);
    }

.admin-button--secondary {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

    .admin-button--secondary:hover {
        background: var(--color-surface-hover);
        border-color: #3A3A3A;
        color: var(--color-text-primary);
        box-shadow: none;
    }

.admin-button--danger {
    background: #b4232d;
    color: #fff;
    border: 1px solid #b4232d;
}

    .admin-button--danger:hover {
        background: #d92d3a;
        border-color: #d92d3a;
    }

.account-form__submit--danger {
    background: #b4232d;
    border-color: #b4232d;
    color: #fff;
}

    .account-form__submit--danger:hover {
        background: #d92d3a;
        border-color: #d92d3a;
    }

/* ==========================================================
   VALIDATION
========================================================== */

.admin-validation {
    color: var(--color-error);
    font-size: 12px;
}

.admin-validation-summary {
    padding: 12px 14px;
    border: 1px solid rgba(239, 68, 68, .25);
    border-radius: var(--radius-small);
    background: rgba(239, 68, 68, .08);
    color: var(--color-error);
    font-size: 13px;
}

    .admin-validation-summary:empty {
        display: none;
    }

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 800px) {

    .admin-page {
        padding: 40px 0 64px;
    }

    .admin-page__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page__title {
        font-size: 28px;
    }

    .admin-form {
        padding: 24px;
    }

    .admin-form__checkboxes {
        grid-template-columns: 1fr;
    }

    .admin-settings-grid { grid-template-columns: 1fr; }
    .admin-settings-grid__full { grid-column: auto; }

    .admin-form__actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .admin-button {
        width: 100%;
    }
}

/* ==========================================================
   ADMIN DASHBOARD
========================================================== */

.admin-dashboard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-dashboard-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-height: 150px;
    padding: 28px;
    box-sizing: border-box;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    color: var(--color-text-primary);
    text-decoration: none;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

a.admin-dashboard-card:hover {
    transform: translateY(-3px);
    background: var(--color-surface-hover);
    border-color: rgba(227, 27, 35, .45);
    box-shadow: var(--shadow-medium);
}

.admin-dashboard-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-small);
    background: rgba(227, 27, 35, .10);
    border: 1px solid rgba(227, 27, 35, .20);
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 800;
}

.admin-dashboard-card__content {
    padding-right: 28px;
}

.admin-dashboard-card h2 {
    margin: 0 0 8px;
    color: var(--color-text-primary);
    font-size: 20px;
    font-weight: 700;
}

.admin-dashboard-card p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.admin-dashboard-card__arrow {
    position: absolute;
    top: 28px;
    right: 28px;
    color: var(--color-text-secondary);
    font-size: 20px;
    transition: transform var(--transition), color var(--transition);
}

a.admin-dashboard-card:hover .admin-dashboard-card__arrow {
    color: var(--color-primary);
    transform: translateX(4px);
}

.admin-dashboard-card--disabled {
    opacity: .55;
    cursor: default;
}

.admin-dashboard-card__soon {
    display: inline-flex;
    margin-top: 14px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 11px;
    font-weight: 600;
}

/* ==========================================================
   QUEUE MANAGEMENT
========================================================== */

.admin-queues-form { display: grid; gap: 24px; }
.admin-queue-section { padding: 28px; }
.admin-queue-section__header h2 { margin: 0 0 6px; color: var(--color-text-primary); }
.admin-queue-section__header p { margin: 0; color: var(--color-text-secondary); }
.admin-current-item { margin-top: 24px; padding: 20px; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: var(--color-background); }
.admin-current-item__toggle { width: fit-content; margin-bottom: 18px; }
.admin-current-item__fields { display: grid; grid-template-columns: minmax(0, 2fr) auto minmax(110px, .5fr) minmax(110px, .5fr); gap: 14px; align-items: end; transition: opacity var(--transition-fast); }
.admin-current-item__fields--game { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-current-item__fields.is-disabled { opacity: .38; }
.admin-queue-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 28px 0 14px; }
.admin-queue-toolbar h3 { margin: 0; color: var(--color-text-primary); font-size: 17px; }
.admin-queue-list { display: grid; gap: 10px; }
.admin-queue-row { display: grid; grid-template-columns: 38px minmax(240px, 2fr) minmax(120px, .65fr) minmax(100px, .5fr) auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid var(--color-border); border-radius: var(--radius-small); background: rgba(255,255,255,.015); }
.admin-queue-row--game { grid-template-columns: 38px repeat(2, minmax(180px, 1fr)) auto; }
.admin-queue-row__handle { display: grid; width: 34px; height: 34px; margin-bottom: 7px; place-items: center; border-radius: 9px; background: var(--color-surface-hover); color: var(--color-text-secondary); font-size: 13px; font-weight: 700; }
.admin-queue-row__actions { display: flex; gap: 6px; margin-bottom: 5px; }
.admin-queue-row__actions button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--color-border); border-radius: 8px; background: transparent; color: var(--color-text-secondary); cursor: pointer; transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast); }
.admin-queue-row__actions button:hover { border-color: var(--color-primary); color: var(--color-text-primary); background: var(--color-surface-hover); }
.admin-queue-row__actions [data-remove]:hover { border-color: #d92d3a; color: #ff6570; }
.admin-queues-form__actions { padding: 20px 0 0; }

@media (max-width: 900px) {
    .admin-current-item__fields, .admin-current-item__fields--game { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-queue-row, .admin-queue-row--game { grid-template-columns: 34px minmax(0, 1fr); }
    .admin-queue-row > .admin-form__group, .admin-queue-row > .admin-form__checkbox { grid-column: 2; }
    .admin-queue-row__handle { grid-row: 1; }
    .admin-queue-row__actions { grid-column: 2; justify-content: flex-end; }
}

@media (max-width: 560px) {
    .admin-queue-section { padding: 18px; }
    .admin-current-item__fields, .admin-current-item__fields--game { grid-template-columns: 1fr; }
    .admin-queue-toolbar { align-items: stretch; flex-direction: column; }
    .admin-queue-row, .admin-queue-row--game { grid-template-columns: 1fr; }
    .admin-queue-row > .admin-form__group, .admin-queue-row > .admin-form__checkbox, .admin-queue-row__actions { grid-column: 1; }
    .admin-queue-row__handle { display: none; }
}

/* ==========================================================
   ADMIN DASHBOARD MOBILE
========================================================== */

@media (max-width: 800px) {

    .admin-dashboard {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   ADMIN STATISTICS
========================================================== */

.admin-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-small);
}

.admin-stat-card__label {
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.admin-stat-card__value {
    color: var(--color-text-primary);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 800px) {

    .admin-dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Teams
   ========================= */

.admin-team-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.admin-team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 48px;
}

.admin-team-logo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #303030;
    border-radius: 8px;
    color: #777;
}

.admin-team-profile {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 24px;
    margin-bottom: 30px;
    border-bottom: 1px solid #292929;
}

.admin-team-profile__logo {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 180px;
    border-radius: 16px;
    background: #181818;
    border: 1px solid #2b2b2b;
    overflow: hidden;
}

    .admin-team-profile__logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 12px;
    }

.admin-team-profile__logo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
    font-size: 48px;
    font-weight: 700;
}

.admin-team-profile__info h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
}

.admin-team-profile__meta {
    color: #888;
    font-size: 14px;
}

.admin-page__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-empty {
    padding: 50px 30px;
    text-align: center;
}

.admin-empty__title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.admin-empty__text {
    margin-bottom: 20px;
    color: #888;
}

.admin-country {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.admin-country__flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    flex: 0 0 28px;
}

.admin-country-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    min-height: 28px;
    color: #999;
}

.admin-country-preview__flag {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .admin-table th,
    .admin-table td {
        padding: 12px 16px;
        text-align: left;
        vertical-align: middle;
        white-space: nowrap;
    }

    .admin-table th {
        font-weight: 700;
    }

        .admin-table th:nth-child(1),
        .admin-table td:nth-child(1) {
            width: 70px;
        }

        .admin-table th:nth-child(2),
        .admin-table td:nth-child(2) {
            min-width: 220px;
        }

        .admin-table th:nth-child(3),
        .admin-table td:nth-child(3) {
            min-width: 180px;
        }

        .admin-table th:nth-child(4),
        .admin-table td:nth-child(4) {
            min-width: 130px;
        }

        .admin-table th:nth-child(5),
        .admin-table td:nth-child(5) {
            min-width: 130px;
        }

        .admin-table th:last-child,
        .admin-table td:last-child {
            width: 120px;
        }



/* source: responsive.css */

@media (max-width: 1100px) {
    :root { --container-width: 100%; --section-padding: 88px; }
    .container { padding-inline: clamp(16px, 3vw, 32px); }
    .logo { margin-right: clamp(20px, 4vw, 40px); }
    .navigation { gap: clamp(16px, 2.5vw, 28px); }
    .navigation a { font-size: 14px; }
    .header-actions { margin-left: clamp(18px, 3vw, 32px); }
    .header-actions .btn { min-width: auto; height: 46px; padding-inline: 18px; }
    .why { padding-block: 96px; }
    .why-grid { grid-template-columns: minmax(0, 1.25fr) minmax(290px, .9fr); }
    .why-card--featured { min-height: 520px; }
    .why-grid__right { grid-template-rows: repeat(2, 248px); }
    .why-card--emotions, .why-card--lan { min-height: 248px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 64px; }
    .container { padding-inline: clamp(16px, 4vw, 24px); }
    .header { position: sticky; height: auto; background: rgba(9, 9, 9, .96); box-shadow: var(--shadow-small); }
    .header-inner { display: grid; grid-template-columns: 1fr auto; height: auto; min-height: 64px; gap: 8px; }
    .logo { gap: 10px; margin-right: 0; }
    .logo img { width: 40px; height: 40px; }
    .logo-text { font-size: 16px; }
    .header-actions { margin-left: 0; gap: 6px; }
    .header-actions .btn { min-width: 0; min-height: 38px; height: 38px; padding-inline: 10px; font-size: 12px; }
    .navigation { grid-column: 1 / -1; order: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; width: 100%; padding: 4px 0 12px; overflow: visible; }
    .navigation a { min-width: 0; padding-block: 5px; text-align: center; font-size: 12px; white-space: normal; }
    .navigation a::after { bottom: -4px; }
    .btn { min-width: 0; min-height: 52px; height: auto; padding: 16px 22px; }
    .section { padding-block: var(--section-padding); }
    .faq-page { padding: 60px 0; }
    .faq-header { margin-bottom: 50px; }
    .faq-question { padding: 20px; }
    .faq-answer { padding: 0 20px 20px; }
    .faq-question span:first-child { font-size: 1rem; }
    .why { padding-block: 64px; }
    .why__header { margin-bottom: 40px; }
    .why-grid { grid-template-columns: 1fr; grid-template-areas: "featured" "right" "reliability" "individual"; }
    .why-card--featured { min-height: clamp(360px, 105vw, 500px); }
    .why-grid__right { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why-card--emotions, .why-card--lan, .why-card--reliability, .why-card--individual { min-height: 260px; }
    .why-card__content { left: 24px; right: 24px; bottom: 26px; }
    .admin-users-table-wrapper, .admin-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 520px) {
    .container { padding-inline: 16px; }
    .logo-text { display: none; }
    .header-actions .btn { padding-inline: 8px; }
    .why-grid__right { grid-template-columns: 1fr; }
    .why-card--emotions, .why-card--lan, .why-card--reliability, .why-card--individual { min-height: 230px; }
    .footer__bottom { align-items: flex-start; }
}



/* source: live-banner.css */

.live-card {
    position: fixed;
    top: 85px;
    left: max(24px, calc(50% - 1090px));
    transform: none;
    width: 300px;
    min-height: 260px;
    z-index: 900;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 28px;
    border-radius: 32px;
    background: rgba(18, 18, 18, 0.96);
    border: 1px solid rgba(237, 28, 36, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 50, 50, 0.05), 0 10px 35px rgba(0, 0, 0, .45), 0 0 25px rgba(237, 28, 36, .08);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

    .live-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 1px solid rgba(255, 45, 45, 0.14);
        pointer-events: none;
    }

    .live-card::after {
        content: "";
        position: absolute;
        left: 15%;
        top: 0;
        width: 70%;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgba(255, 60, 60, .35), transparent );
        pointer-events: none;
    }

.live-card__icon:hover {
    background: #ff3138;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(145,70,255,.55);
}

.live-card__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 190%;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ed1c24;
    animation: livePulse 1.2s infinite;
}
    .live-dot.offline {
        background: #7a7a7a;
        animation: none;
    }

.live-card__title {
    margin: 35px 0 auto;
    color: #fff;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 800;
}

.live-card__icon {
    width: 150px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    align-self: center;
    background: #9146FF;
    color: #fff;
    border-radius: 18px;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 25px rgba(145,70,255,.35);
}

    .live-card__icon span {
        font-size: 15px;
        font-weight: 700;
    }

    .live-card__icon svg {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        transform: translateX(10px);
    }

@keyframes livePulse {

    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}



/* source: legal-modal.css */

/* ==========================================================
   Overlay
   ========================================================== */

.legal-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

    .legal-modal-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

body.modal-open {
    overflow: hidden;
}

/* ==========================================================
   Modal
   ========================================================== */

.legal-modal {
    width: min(900px, 100%);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #141414;
    color: #f5f5f5;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
    transform: translateY(20px) scale(.96);
    transition: transform .25s ease;
}

.legal-modal-overlay.is-open .legal-modal {
    transform: translateY(0) scale(1);
}

/* ==========================================================
   Header
   ========================================================== */

.legal-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .legal-modal__header h2 {
        margin: 0;
        font-size: 1.6rem;
        font-weight: 700;
        color: #fff;
    }

/* ==========================================================
   Close Button
   ========================================================== */

.legal-modal__close {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #d5d5d5;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}

    .legal-modal__close:hover {
        background: rgba(255,255,255,.08);
        color: #fff;
    }

    .legal-modal__close:active {
        transform: scale(.95);
    }

/* ==========================================================
   Content
   ========================================================== */

.legal-modal__content {
    padding: 32px;
    overflow-y: auto;
    line-height: 1.8;
}

    .legal-modal__content h1,
    .legal-modal__content h2,
    .legal-modal__content h3 {
        color: #fff;
    }

    .legal-modal__content h1 {
        margin-top: 0;
    }

    .legal-modal__content p {
        margin-bottom: 1.2rem;
    }

    .legal-modal__content ul,
    .legal-modal__content ol {
        padding-left: 24px;
        margin-bottom: 1.5rem;
    }

    .legal-modal__content li {
        margin-bottom: .5rem;
    }

    .legal-modal__content a {
        color: #e53935;
        text-decoration: none;
    }

        .legal-modal__content a:hover {
            text-decoration: underline;
        }

    /* ==========================================================
   Scrollbar
   ========================================================== */

    .legal-modal__content::-webkit-scrollbar {
        width: 10px;
    }

    .legal-modal__content::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.18);
        border-radius: 999px;
    }

        .legal-modal__content::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,.28);
        }

.legal-error {
    text-align: center;
    padding: 40px 20px;
}

    .legal-error h3 {
        margin-bottom: 12px;
        color: #fff;
    }

    .legal-error p {
        margin: 0;
        color: #bdbdbd;
    }

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width:768px) {

    .legal-modal-overlay {
        padding: 0;
    }

    .legal-modal {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .legal-modal__header {
        padding: 20px 24px;
    }

    .legal-modal__content {
        padding: 24px;
    }
}



