@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Geist";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Geist Mono";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist-mono-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Geist Mono";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/geist-mono-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ff-bg: #020713;
    --ff-surface: #091426;
    --ff-surface-light: #0e1d33;
    --ff-text: #f4f8ff;
    --ff-muted: #91a0b5;
    --ff-dim: #5d6d84;
    --ff-line: rgba(133, 174, 231, 0.13);
    --ff-line-strong: rgba(105, 163, 255, 0.34);
    --ff-accent: #347dff;
    --ff-accent-light: #69a3ff;
    --ff-cyan: #20d4ff;
    --ff-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);

    --bg-dark: var(--ff-bg);
    --bg-card: var(--ff-surface);
    --bg-card-hover: var(--ff-surface-light);
    --primary-blue: var(--ff-accent);
    --primary-cyan: var(--ff-cyan);
    --accent-green: var(--ff-cyan);
    --text-main: var(--ff-text);
    --text-muted: var(--ff-muted);
    --border-color: var(--ff-line);
    --border-highlight: var(--ff-line-strong);
    --glow-blue: 0 12px 42px rgba(52, 125, 255, 0.24);
    --glow-cyan: 0 12px 42px rgba(32, 212, 255, 0.16);
}

html {
    scroll-behavior: smooth;
}

body:not(.page-admin) {
    background:
        radial-gradient(ellipse 70% 44% at 8% 18%, rgba(40, 103, 255, 0.035), transparent 68%),
        radial-gradient(ellipse 58% 38% at 96% 46%, rgba(32, 212, 255, 0.018), transparent 72%),
        linear-gradient(180deg, #01040b 0%, #020713 48%, #01040b 100%);
    background-attachment: fixed;
    color: var(--ff-text);
    font-family: "Geist", Arial, sans-serif;
    min-height: 100vh;
    user-select: text;
}

body:not(.page-admin)::before {
    background:
        linear-gradient(rgba(121, 174, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(121, 174, 255, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    content: none;
    inset: 0;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
    pointer-events: none;
    position: fixed;
    z-index: -3;
}

body:not(.page-admin) h1,
body:not(.page-admin) h2,
body:not(.page-admin) h3,
body:not(.page-admin) .logo,
body:not(.page-admin) .btn-primary,
body:not(.page-admin) .btn-secondary,
body:not(.page-admin) .price {
    font-family: "Geist", Arial, sans-serif;
    letter-spacing: -0.04em;
    text-transform: none;
}

body:not(.page-admin) .bg-grid {
    display: none;
}

body:not(.page-admin) .glow-spot {
    background: var(--ff-accent);
    filter: blur(120px);
    opacity: 0.05;
}

body:not(.page-admin) .text-blue {
    color: var(--ff-accent);
    text-shadow: none;
}

body:not(.page-admin) .text-gradient {
    background: linear-gradient(100deg, var(--ff-accent-light), var(--ff-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body:not(.page-admin) ::selection {
    background: rgba(52, 125, 255, 0.38);
    color: #fff;
}

/* Shared header */
body:not(.page-admin) .navbar {
    background: transparent;
    border: 0;
    box-shadow: none;
    left: 0;
    padding: 18px 28px 0;
    right: 0;
    top: 0;
    width: auto;
}

body:not(.page-admin) .nav-container {
    background: rgba(5, 13, 27, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
    gap: 8px;
    height: 70px;
    max-width: 1440px;
    padding: 0 12px 0 24px;
}

body:not(.page-admin) .logo {
    font-family: "Geist", Arial, sans-serif;
    font-size: 20px;
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-transform: none;
}

body:not(.page-admin).lang-ru .logo {
    font-family: "Geist", Arial, sans-serif !important;
    font-weight: 780 !important;
    letter-spacing: -0.045em !important;
    text-transform: none !important;
}

body:not(.page-admin) .nav-menu {
    gap: 22px;
    margin-left: 30px;
}

body:not(.page-admin) .nav-links {
    gap: 24px;
}

body:not(.page-admin).lang-ru .nav-links,
body:not(.page-admin).is-logged-in .nav-links,
body:not(.page-admin).is-logged-in.lang-ru .nav-links {
    transform: none;
}

body:not(.page-admin) .nav-links a {
    color: #9da1a7;
    font-family: "Geist", Arial, sans-serif;
    font-size: 13px;
    font-weight: 620;
    letter-spacing: 0;
    transform: none;
}

body:not(.page-admin) .nav-links a::after {
    background: var(--ff-accent);
    bottom: -8px;
}

body:not(.page-admin) .nav-links a:hover,
body:not(.page-admin) .nav-links a.text-blue {
    color: #fff;
}

body:not(.page-admin) .nav-actions {
    gap: 9px;
    min-width: auto;
}

body:not(.page-admin) .btn-login {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    color: #b7c3d4;
    display: inline-flex;
    font-family: "Geist", Arial, sans-serif;
    font-size: 11px;
    font-weight: 650;
    gap: 18px;
    min-height: 44px;
    padding: 0 14px;
}

body:not(.page-admin) .btn-login:last-child {
    background: var(--ff-cyan);
    border-color: var(--ff-cyan);
    color: #06111f;
}

body:not(.page-admin) .btn-login:hover {
    border-color: var(--ff-accent);
    box-shadow: none;
    color: #fff;
    transform: translateY(-2px);
}

body:not(.page-admin) .btn-login:last-child:hover {
    background: #70eaff;
    color: #06111f;
}

body:not(.page-admin) .lang-toggle {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--ff-muted);
    display: inline-flex;
    font-family: "Geist", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    gap: 5px;
    min-height: 40px;
    padding: 0 10px;
}

body:not(.page-admin) .lang-toggle .lang-option {
    color: #607188;
}

body:not(.page-admin) .lang-toggle .lang-option.is-active {
    color: #dceaff;
}

body:not(.page-admin) .lang-toggle .lang-separator {
    color: #405069;
}

body:not(.page-admin) .mobile-toggle {
    color: var(--ff-text);
}

/* Shared buttons and inputs */
body:not(.page-admin) .btn-primary,
body:not(.page-admin) button.btn-primary,
body:not(.page-admin) a.btn-primary {
    background: var(--ff-accent);
    border: 1px solid var(--ff-accent);
    border-radius: 16px;
    box-shadow: var(--glow-blue);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0;
}

body:not(.page-admin) .btn-primary:hover {
    background: var(--ff-accent-light);
    border-color: var(--ff-accent-light);
    box-shadow: 0 16px 46px rgba(52, 125, 255, 0.28);
    transform: translateY(-2px);
}

body:not(.page-admin) .btn-secondary {
    background: #10213a;
    border: 1px solid var(--ff-line);
    border-radius: 14px;
    color: var(--ff-text);
    letter-spacing: 0;
}

body:not(.page-admin) input,
body:not(.page-admin) textarea,
body:not(.page-admin) select {
    background-color: #0b1a2f;
    border-color: rgba(133, 174, 231, 0.16);
    color: var(--ff-text);
    font-family: "Geist", Arial, sans-serif;
}

body:not(.page-admin) input:focus,
body:not(.page-admin) textarea:focus,
body:not(.page-admin) select:focus {
    border-color: var(--ff-accent);
    box-shadow: 0 0 0 3px rgba(52, 125, 255, 0.12);
    outline: 0;
}

/* Secondary page hero */
.page-catalog .hero,
.page-media .hero,
.page-support .hero {
    background: transparent;
    max-width: none;
    min-height: 430px !important;
    padding: 150px 24px 72px !important;
}

.page-catalog .hero-content,
.page-media .hero-content,
.page-support .hero-content {
    max-width: 920px !important;
}

.page-catalog .hero h1,
.page-media .hero h1,
.page-support .hero h1 {
    font-size: clamp(54px, 6vw, 92px);
    font-weight: 650;
    letter-spacing: -0.07em;
    line-height: 0.94;
}

.page-catalog .hero p,
.page-media .hero p,
.page-support .hero p {
    color: var(--ff-muted);
    font-family: "Geist", Arial, sans-serif;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* Catalog and product cards */
.page-catalog .search-bar-wrap {
    margin-bottom: 28px;
}

.page-catalog .search-bar {
    background: rgba(9, 20, 38, 0.88);
    border: 1px solid var(--ff-line);
    border-radius: 20px;
    box-shadow: none;
}

.page-catalog .search-bar__input {
    font-family: "Geist", Arial, sans-serif;
}

.page-catalog .games-section,
.page-product #product-container,
.page-program #program-container {
    max-width: 1440px !important;
}

.page-product #product-container {
    max-width: 1440px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: min(100%, 1440px) !important;
}

html.qhd-density .page-product #product-container {
    max-width: 1440px !important;
    width: min(100%, 1440px) !important;
}

.game-card,
.program-card-v2 {
    background: #091527;
    border: 1px solid var(--ff-line);
    border-radius: 28px;
    box-shadow: none;
    overflow: hidden;
}

.game-card:hover,
.program-card-v2:hover {
    border-color: rgba(52, 125, 255, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    transform: none;
}

.game-card.featured {
    border-color: rgba(52, 125, 255, 0.42);
}

.game-card h3,
.program-card-v2 h3,
.card-title {
    font-family: "Geist", Arial, sans-serif;
    font-weight: 650;
    letter-spacing: -0.04em;
    text-transform: none;
}

.game-card .price,
.program-card-v2 .price,
.price-tag {
    color: var(--ff-text);
    font-family: "Geist", Arial, sans-serif;
}

.card-image-wrapper {
    background: #0b1a2f;
}

.status-overlay,
.status-badge {
    backdrop-filter: blur(12px);
    background: rgba(4, 12, 25, 0.78) !important;
    border: 1px solid rgba(32, 212, 255, 0.35) !important;
    border-radius: 999px !important;
    color: #c5f7ff !important;
}

.btn-gold {
    background: var(--ff-accent);
    border-radius: 13px;
    color: #fff;
    font-family: "Geist", Arial, sans-serif;
    text-transform: none;
}

.btn-gold:hover {
    background: var(--ff-cyan);
    box-shadow: none;
    color: #04101f;
}

/* Game page banner and premium product cards */
.page-product #product-container {
    padding: 0 24px !important;
}

.game-page-banner {
    border: 1px solid rgba(133, 174, 231, 0.2);
    border-radius: 44px;
    box-shadow: var(--ff-shadow);
    height: clamp(430px, 48vw, 610px);
    isolation: isolate;
    margin-bottom: 78px;
    overflow: hidden;
    position: relative;
}

.game-page-banner::after {
    background:
        linear-gradient(rgba(121, 174, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(121, 174, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(to right, #000, transparent 78%);
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.game-page-banner__image {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index: 0;
}

.game-page-banner__shade {
    background:
        linear-gradient(90deg, rgba(2, 7, 19, 0.98) 0%, rgba(2, 7, 19, 0.88) 34%, rgba(2, 7, 19, 0.28) 72%, rgba(2, 7, 19, 0.16) 100%),
        linear-gradient(0deg, rgba(2, 7, 19, 0.72), transparent 62%);
    inset: 0;
    position: absolute;
    z-index: 1;
}

.game-page-banner__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    padding: 34px 42px 46px;
    position: relative;
    z-index: 3;
}

.game-page-banner__back {
    align-items: center;
    backdrop-filter: blur(14px);
    background: rgba(9, 20, 38, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    color: #bdc9da;
    display: inline-flex;
    font-size: 11px;
    font-weight: 650;
    gap: 10px;
    min-height: 43px;
    padding: 0 15px;
    width: fit-content;
}

.game-page-banner__back:hover {
    background: var(--ff-accent);
    border-color: var(--ff-accent);
    color: #fff;
    transform: translateX(-3px);
}

.game-page-banner__copy {
    max-width: 760px;
}

.game-page-banner__status {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(5, 13, 27, 0.72);
    border: 1px solid rgba(133, 174, 231, 0.22);
    border-radius: 999px;
    color: #899ab2;
    display: inline-flex;
    font-family: "Geist Mono", monospace;
    font-size: 8px;
    font-weight: 650;
    gap: 8px;
    letter-spacing: 0.08em;
    padding: 9px 12px;
    text-transform: uppercase;
}

.game-page-banner__status i {
    background: #71839c;
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.game-page-banner__status.is-online {
    color: #c5f7ff;
}

.game-page-banner__status.is-online i {
    background: var(--ff-cyan);
    box-shadow: 0 0 14px rgba(32, 212, 255, 0.82);
}

.game-page-banner h1 {
    font-size: clamp(58px, 7vw, 104px);
    font-weight: 660;
    letter-spacing: -0.075em;
    line-height: 0.88;
    margin: 22px 0 18px;
    max-width: 850px;
}

.game-page-banner__copy > p {
    color: #a4b1c3;
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 680px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.game-page-banner__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.game-page-banner__meta span {
    background: rgba(9, 20, 38, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    color: #7f91aa;
    font-family: "Geist Mono", monospace;
    font-size: 8px;
    letter-spacing: 0.06em;
    padding: 10px 12px;
    text-transform: uppercase;
}

.game-page-banner__meta strong {
    color: var(--ff-text);
    font-size: 12px;
}

.program-list-heading {
    align-items: end;
    display: grid;
    gap: 8vw;
    grid-template-columns: 1fr 0.72fr;
    margin-bottom: 34px;
}

.program-list-heading > div > span {
    color: var(--ff-accent-light);
    font-family: "Geist Mono", monospace;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.program-list-heading h2 {
    font-size: clamp(42px, 4.4vw, 68px);
    font-weight: 620;
    letter-spacing: -0.065em;
    line-height: 0.95;
    margin: 17px 0 0;
}

.program-list-heading > p {
    color: var(--ff-muted);
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
}

.game-products-heading {
    align-items: end;
    border-bottom: 1px solid var(--ff-line);
    display: grid;
    gap: 38px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 30px;
    padding: 8px 2px 28px;
}

.game-products-heading__back {
    align-items: center;
    color: var(--ff-accent-light);
    display: inline-flex;
    font-family: "Geist Mono", monospace;
    font-size: 8px;
    font-weight: 650;
    gap: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-products-heading__back:hover {
    color: var(--ff-cyan);
    transform: translateX(-3px);
}

.game-products-heading h1 {
    font-size: clamp(42px, 4.8vw, 68px);
    font-weight: 650;
    letter-spacing: -0.07em;
    line-height: 0.94;
    margin: 19px 0 10px;
}

.game-products-heading > div:first-child > p {
    color: var(--ff-muted);
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    max-width: 680px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.game-products-heading__meta {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-products-heading__meta > strong {
    color: var(--ff-text);
    font-family: "Geist Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.game-products-heading__status {
    align-items: center;
    background: #0b1a2f;
    border: 1px solid var(--ff-line);
    border-radius: 999px;
    color: #8394aa;
    display: inline-flex;
    font-family: "Geist Mono", monospace;
    font-size: 7px;
    gap: 7px;
    letter-spacing: 0.06em;
    padding: 8px 10px;
    text-transform: uppercase;
}

.game-products-heading__status i {
    background: #71839c;
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.game-products-heading__status.is-online {
    color: #c5f7ff;
}

.game-products-heading__status.is-online i {
    background: var(--ff-cyan);
    box-shadow: 0 0 12px rgba(32, 212, 255, 0.72);
}

.program-grid--premium {
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-grid--premium .prog-card {
    background:
        radial-gradient(circle at 88% 0%, rgba(52, 125, 255, 0.07), transparent 28%),
        #091527;
    border: 1px solid var(--ff-line);
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    min-height: 270px;
    overflow: hidden;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.program-grid--premium .prog-card::after {
    display: none;
}

.program-grid--premium .prog-card:hover {
    border-color: rgba(52, 125, 255, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
    transform: none;
}

.program-grid--premium .prog-card--best {
    border-color: rgba(52, 125, 255, 0.48);
}

.program-grid--premium .prog-card__img {
    background: #0b1a2f;
    height: 165px;
}

.program-grid--premium .prog-card__img img {
    transition: none;
}

.program-grid--premium .prog-card:hover .prog-card__img img {
    transform: none;
}

.program-grid--premium .prog-card__img-overlay {
    background:
        linear-gradient(to top, #091527 0%, rgba(9, 21, 39, 0.16) 54%, transparent 74%),
        linear-gradient(to right, rgba(2, 7, 19, 0.3), transparent 62%);
}

.program-grid--premium .prog-card__badge {
    backdrop-filter: blur(12px);
    background: rgba(52, 125, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    box-shadow: none;
    font-family: "Geist Mono", monospace;
    font-size: 6px;
    left: 9px;
    padding: 5px 8px;
    top: 9px;
}

.program-grid--premium .prog-card__status {
    align-items: center;
    backdrop-filter: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: flex;
    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    gap: 6px;
    letter-spacing: 0.02em;
    margin-bottom: 9px;
    padding: 0;
    position: static;
    width: fit-content;
}

.program-grid--premium .prog-card__status i {
    background: currentColor;
    border-radius: 50%;
    flex: 0 0 6px;
    height: 6px;
    opacity: 0.9;
    width: 6px;
}

.program-grid--premium .prog-card__status--undetected {
    color: #52e6ba;
}

.program-grid--premium .prog-card__status--updating,
.program-grid--premium .prog-card__status--testing {
    color: #ffb85c;
}

.program-grid--premium .prog-card__status--risky,
.program-grid--premium .prog-card__status--detected {
    color: #ff6f7d;
}

.program-grid--premium .prog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 14px 13px;
}

.prog-card__eyebrow {
    color: #596c86;
    font-family: "Geist Mono", monospace;
    font-size: 6px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.program-grid--premium .prog-card__name {
    color: var(--ff-text);
    font-family: "Russo One", "Geist", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.015em;
    line-height: 1.15;
    margin: 0 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.program-grid--premium .prog-card__footer {
    border-top: 1px solid var(--ff-line);
    gap: 7px;
    margin-top: auto;
    min-width: 0;
    padding-top: 7px;
}

.program-grid--premium .prog-card__price {
    color: var(--ff-text);
    display: block;
    flex: 1 1 auto;
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.program-grid--premium .prog-card__price small {
    color: #6c7d95;
    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    margin-left: 4px;
}

.prog-card__cta {
    align-items: center;
    background: rgba(52, 125, 255, 0.14);
    border: 1px solid rgba(105, 163, 255, 0.28);
    border-radius: 9px;
    color: var(--ff-accent-light);
    display: inline-flex;
    font-family: "Geist", Arial, sans-serif;
    font-size: 8px;
    font-weight: 650;
    flex: 0 0 auto;
    gap: 6px;
    height: 26px;
    justify-content: center;
    letter-spacing: 0.055em;
    min-height: 26px;
    padding: 0 9px;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.prog-card__cta .open-arrow {
    display: inline-block;
    flex: 0 0 9px;
    height: 7px;
    position: relative;
    width: 9px;
}

.prog-card__cta .open-arrow::before {
    background: currentColor;
    content: "";
    height: 1.5px;
    left: 0;
    position: absolute;
    right: 1px;
    top: 2.75px;
}

.prog-card__cta .open-arrow::after {
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    content: "";
    height: 3.5px;
    position: absolute;
    right: 0;
    top: 0.75px;
    transform: rotate(45deg);
    width: 3.5px;
}

.prog-card:hover .prog-card__cta {
    background: rgba(52, 125, 255, 0.24);
    border-color: rgba(105, 163, 255, 0.48);
    color: #c9dcff;
}

/* Program detail and checkout */
.page-program #program-container,
.page-product #product-container {
    margin-bottom: 110px !important;
    margin-top: 145px !important;
}

.program-product-back {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #6ca1ff;
    display: inline-flex;
    font-family: "Geist Mono", monospace;
    font-size: 8px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 0.07em;
    margin-bottom: 24px;
    min-height: 0;
    padding: 0;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.program-product-back a {
    align-items: center;
    color: inherit;
    display: inline-flex;
    gap: 6px;
    text-decoration: none;
    transition: color 160ms ease;
}

.program-product-back__arrow {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.program-product-back__separator {
    color: #40577a;
}

.program-product-back a:hover {
    color: #d8e6ff;
}

.program-header-section h1 {
    font-size: clamp(48px, 5vw, 76px) !important;
    font-weight: 650;
    letter-spacing: -0.07em;
}

.program-layout-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 400px;
}

.checkout-card {
    background:
        radial-gradient(circle at 90% 0%, rgba(52, 125, 255, 0.13), transparent 34%),
        rgba(9, 20, 38, 0.94);
    border: 1px solid var(--ff-line);
    border-radius: 28px;
    box-shadow: var(--ff-shadow);
    padding: 28px;
}

.checkout-card:hover {
    border-color: var(--ff-line-strong);
    box-shadow: var(--ff-shadow);
}

.section-title {
    border-bottom-color: var(--ff-line);
    color: var(--ff-text);
    font-family: "Geist", Arial, sans-serif;
    letter-spacing: -0.035em;
    text-transform: none;
}

.section-title i {
    color: var(--ff-accent-light);
}

.feature-pill,
.plan-item,
.region-btn {
    background: #0b1a2f;
    border: 1px solid var(--ff-line);
    border-radius: 14px;
}

.plan-item:hover,
.plan-item.active,
.region-btn:hover,
.region-btn.active {
    background: rgba(52, 125, 255, 0.14);
    border-color: var(--ff-accent);
    box-shadow: none;
}

.radio-circle,
.plan-item.active .radio-circle {
    border-color: var(--ff-accent);
}

.plan-item.active .radio-circle::after {
    background: var(--ff-accent);
}

.info-tabs {
    border-bottom-color: var(--ff-line) !important;
}

.info-tab-btn {
    background: transparent !important;
    border-bottom-color: transparent !important;
    color: var(--ff-muted) !important;
    font-family: "Geist", Arial, sans-serif !important;
    letter-spacing: 0 !important;
}

.info-tab-btn:hover:not(.active) {
    color: #c2d2e8 !important;
}

.info-tab-btn.active {
    border-bottom-color: var(--ff-accent) !important;
    color: var(--ff-accent-light) !important;
}

.grid-screenshot {
    border: 1px solid var(--ff-line);
    border-radius: 20px;
}

.payment-modal-overlay {
    backdrop-filter: blur(18px);
    background: rgba(2, 7, 19, 0.82);
}

.payment-modal-content,
.pwm-card {
    background:
        radial-gradient(circle at 88% 0%, rgba(52, 125, 255, 0.13), transparent 30%),
        #091426 !important;
    border: 1px solid var(--ff-line-strong) !important;
    border-radius: 30px !important;
    box-shadow: var(--ff-shadow) !important;
}

.btn-pay-option {
    background: #0b1a2f;
    border-color: var(--ff-line);
    border-radius: 18px;
}

.btn-pay-option:hover {
    border-color: var(--ff-accent);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Authentication */
.page-auth {
    background: transparent;
}

.page-auth .auth-wrapper {
    padding: 80px 20px;
}

.page-auth .auth-card-premium {
    background:
        radial-gradient(circle at 88% 0%, rgba(32, 212, 255, 0.09), transparent 31%),
        rgba(9, 20, 38, 0.94);
    border: 1px solid var(--ff-line);
    border-radius: 30px;
    box-shadow: var(--ff-shadow);
    max-width: 460px;
    padding: 48px;
}

.page-auth .auth-card-premium::before {
    background: linear-gradient(90deg, transparent, var(--ff-accent), var(--ff-cyan), transparent);
    height: 2px;
}

.page-auth .auth-logo {
    color: var(--ff-text);
    font-family: "Geist", Arial, sans-serif;
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -0.055em;
    text-shadow: none;
}

.page-auth .auth-header p,
.page-auth .auth-footer {
    color: var(--ff-muted);
}

.page-auth .input-group input {
    background: #0b1a2f;
    border: 1px solid var(--ff-line);
    border-radius: 15px;
    color: var(--ff-text);
    font-family: "Geist", Arial, sans-serif;
    min-height: 54px;
}

.page-auth .input-group input:focus {
    background: #0b1a2f;
    border-color: var(--ff-accent);
    box-shadow: 0 0 0 3px rgba(52, 125, 255, 0.12);
}

.page-auth .input-icon,
.page-auth .input-group:focus-within .input-icon,
.page-auth .link-animate {
    color: var(--ff-accent-light);
}

/* Support and media */
.download-card,
.creator-cta {
    background:
        radial-gradient(circle at 90% 0%, rgba(52, 125, 255, 0.1), transparent 34%),
        #091527;
    border: 1px solid var(--ff-line);
    border-radius: 28px;
    box-shadow: none;
}

.download-card:hover {
    border-color: rgba(52, 125, 255, 0.55);
    box-shadow: var(--ff-shadow);
    transform: translateY(-6px);
}

.download-card .dl-icon {
    background: rgba(52, 125, 255, 0.13);
    border-radius: 18px;
    color: var(--ff-accent-light);
}

.support-help-container {
    background:
        radial-gradient(circle at 85% 0%, rgba(32, 212, 255, 0.09), transparent 34%),
        #091527 !important;
    border: 1px solid var(--ff-line) !important;
    border-radius: 32px !important;
}

.btn-discord,
.btn-telegram,
.btn-discord-creator {
    border-radius: 16px !important;
    box-shadow: none !important;
}

.btn-telegram {
    background: var(--ff-accent) !important;
}

.btn-discord-creator,
.btn-discord {
    background: #102a50 !important;
    border: 1px solid rgba(105, 163, 255, 0.28) !important;
}

/* Legal pages */
.page-legal .legal-container {
    margin-bottom: 110px !important;
    margin-top: 150px !important;
    max-width: 980px !important;
}

.page-legal .legal-container > h1 {
    font-size: clamp(52px, 5.5vw, 82px) !important;
    font-weight: 650;
    letter-spacing: -0.07em;
}

.page-legal .legal-content {
    background:
        radial-gradient(circle at 92% 0%, rgba(52, 125, 255, 0.09), transparent 30%),
        #091527 !important;
    border: 1px solid var(--ff-line) !important;
    border-radius: 30px !important;
    box-shadow: var(--ff-shadow);
    color: var(--ff-muted) !important;
    padding: 46px !important;
}

.page-legal .legal-content h3 {
    color: var(--ff-text) !important;
    font-size: 19px !important;
    letter-spacing: -0.02em;
}

/* Profile */
.page-profile .profile-container {
    gap: 22px;
    margin: 145px auto 110px;
    max-width: 1180px;
}

.page-profile .profile-sidebar,
.page-profile .profile-content {
    background:
        radial-gradient(circle at 90% 0%, rgba(52, 125, 255, 0.08), transparent 30%),
        #091527;
    border: 1px solid var(--ff-line);
    border-radius: 28px;
    box-shadow: var(--ff-shadow);
}

.page-profile .profile-sidebar {
    padding: 28px 20px;
}

.page-profile .profile-content {
    min-height: 480px;
    padding: 34px;
}

.page-profile .user-avatar {
    background: rgba(52, 125, 255, 0.14);
    border: 1px solid rgba(105, 163, 255, 0.3);
    color: var(--ff-accent-light);
}

.page-profile .user-name {
    font-family: "Geist", Arial, sans-serif;
    letter-spacing: -0.04em;
}

.page-profile .profile-nav button {
    border-radius: 14px;
    color: var(--ff-muted);
}

.page-profile .profile-nav button:hover,
.page-profile .profile-nav button.active {
    background: rgba(52, 125, 255, 0.14);
    color: var(--ff-text);
}

/* Footer */
body:not(.page-admin) .main-footer {
    background: rgba(3, 10, 21, 0.96);
    border-top: 1px solid var(--ff-line);
    padding: 58px 20px 46px;
}

body:not(.page-admin) .footer-content {
    max-width: 900px;
}

body:not(.page-admin) .footer-logo h2 {
    font-family: "Geist", Arial, sans-serif;
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -0.055em;
}

body:not(.page-admin) .footer-logo p,
body:not(.page-admin) .footer-links a {
    color: #65748a;
    font-family: "Geist", Arial, sans-serif;
}

body:not(.page-admin) .footer-links a:hover,
body:not(.page-admin) .socials a:hover {
    color: var(--ff-accent-light);
}

/* Admin */
.page-admin {
    --admin-bg: #020713;
    --admin-surface: #091426;
    --admin-card: #0b1a2f;
    --admin-border: rgba(133, 174, 231, 0.13);
    --admin-cyan: #347dff;
    background:
        radial-gradient(ellipse 68% 46% at 72% 0%, rgba(52, 125, 255, 0.035), transparent 70%),
        #01040b;
    color: var(--ff-text);
    font-family: "Geist", Arial, sans-serif;
}

.page-admin .admin-topbar {
    background: rgba(5, 13, 27, 0.92);
    border-bottom: 1px solid var(--ff-line);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.2);
}

.page-admin .topbar-logo,
.page-admin .sidebar-brand,
.page-admin h1,
.page-admin h2,
.page-admin h3,
.page-admin .stat-value {
    font-family: "Geist", Arial, sans-serif;
    letter-spacing: -0.035em;
}

.page-admin .topbar-logo span,
.page-admin .sidebar-brand i,
.page-admin .section-title i {
    color: var(--ff-accent-light);
}

.page-admin .topbar-badge {
    background: rgba(52, 125, 255, 0.13);
    border: 1px solid rgba(105, 163, 255, 0.28);
    color: var(--ff-accent-light);
}

.page-admin .sidebar {
    background: #07101e;
    border-right: 1px solid var(--ff-line);
}

.page-admin .sidebar-btn {
    border-radius: 13px;
    color: #7f90a8;
    font-family: "Geist", Arial, sans-serif;
}

.page-admin .sidebar-btn:hover,
.page-admin .sidebar-btn.active {
    background: rgba(52, 125, 255, 0.14);
    color: var(--ff-text);
}

.page-admin .sidebar-btn.active::before {
    background: var(--ff-accent);
}

.page-admin .admin-main {
    background: transparent;
}

.page-admin .stat-card,
.page-admin .quick-actions,
.page-admin .game-admin-card,
.page-admin .table-wrap,
.page-admin .ticket-card {
    background:
        radial-gradient(circle at 90% 0%, rgba(52, 125, 255, 0.07), transparent 34%),
        #091426;
    border: 1px solid var(--ff-line);
    border-radius: 22px;
    box-shadow: none;
}

.page-admin .stat-card:hover,
.page-admin .game-admin-card:hover {
    border-color: rgba(52, 125, 255, 0.48);
    box-shadow: var(--ff-shadow);
    transform: translateY(-3px);
}

.page-admin .stat-icon {
    background: rgba(52, 125, 255, 0.13) !important;
    color: var(--ff-accent-light) !important;
}

.page-admin .qa-btn,
.page-admin .btn-add,
.page-admin .btn-save {
    background: var(--ff-accent);
    border: 1px solid var(--ff-accent);
    border-radius: 13px;
    box-shadow: none;
    color: #fff;
    font-family: "Geist", Arial, sans-serif;
}

.page-admin .qa-btn:hover,
.page-admin .btn-add:hover,
.page-admin .btn-save:hover {
    background: var(--ff-accent-light);
    transform: translateY(-2px);
}

.page-admin .search-box,
.page-admin .form-input {
    background: #0b1a2f;
    border: 1px solid var(--ff-line);
    border-radius: 13px;
    color: var(--ff-text);
    font-family: "Geist", Arial, sans-serif;
}

.page-admin .form-input:focus {
    border-color: var(--ff-accent);
    box-shadow: 0 0 0 3px rgba(52, 125, 255, 0.12);
}

.page-admin .data-table th {
    background: #0b1a2f;
    color: #7186a4;
    font-family: "Geist Mono", monospace;
}

.page-admin .data-table td,
.page-admin .data-table th {
    border-color: var(--ff-line);
}

.page-admin .data-table tr:hover td {
    background: rgba(52, 125, 255, 0.06);
}

.page-admin .modal-overlay {
    backdrop-filter: blur(16px);
    background: rgba(2, 7, 19, 0.78);
}

.page-admin .modal {
    background:
        radial-gradient(circle at 88% 0%, rgba(52, 125, 255, 0.11), transparent 30%),
        #091426;
    border: 1px solid var(--ff-line-strong);
    border-radius: 26px;
    box-shadow: var(--ff-shadow);
}

.page-admin .modal-header,
.page-admin .modal-footer,
.page-admin .form-section {
    border-color: var(--ff-line);
}

@media (max-width: 1500px) {
    .program-grid--premium {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .program-grid--premium {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .program-grid--premium .prog-card {
        min-height: 270px;
    }

    .program-grid--premium .prog-card__img {
        height: 165px;
    }

    .program-layout-grid {
        grid-template-columns: 1fr;
    }

    .program-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    body:not(.page-admin) .navbar {
        padding: 12px 12px 0;
    }

    body:not(.page-admin) .nav-container {
        border-radius: 18px;
        height: 62px;
        padding: 0 16px;
    }

    body:not(.page-admin) .nav-menu {
        background: rgba(2, 7, 19, 0.98);
        gap: 34px;
        margin: 0;
    }

    body:not(.page-admin) .nav-links {
        gap: 25px;
    }

    body:not(.page-admin) .nav-links a {
        font-size: 18px;
    }

    body:not(.page-admin) .nav-actions {
        min-width: min(100%, 320px);
    }

    .page-catalog .hero,
    .page-media .hero,
    .page-support .hero {
        min-height: 370px !important;
        padding: 128px 20px 55px !important;
    }

    .page-catalog .hero h1,
    .page-media .hero h1,
    .page-support .hero h1 {
        font-size: clamp(46px, 13vw, 64px);
    }

    .page-auth .auth-card-premium {
        border-radius: 24px;
        padding: 36px 24px;
    }

    .page-product #product-container {
        padding: 0 16px !important;
    }

    .game-products-heading {
        align-items: start;
        gap: 18px;
        grid-template-columns: 1fr;
        padding-bottom: 22px;
    }

    .game-products-heading h1 {
        font-size: clamp(34px, 10vw, 50px);
    }

    .game-products-heading__meta {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

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

    .program-grid--premium .prog-card {
        min-height: 215px;
    }

    .program-grid--premium .prog-card__img {
        height: 128px;
    }

    .page-profile .profile-container {
        margin-top: 115px;
    }

    .page-profile .profile-sidebar,
    .page-profile .profile-content {
        border-radius: 22px;
    }

    .page-legal .legal-container {
        margin-top: 115px !important;
        padding: 20px !important;
    }

    .page-legal .legal-content {
        border-radius: 22px !important;
        padding: 28px 22px !important;
    }

    .checkout-card,
    .payment-modal-content,
    .pwm-card {
        border-radius: 22px !important;
    }
}

@media (max-width: 520px) {
    .program-grid--premium {
        grid-template-columns: 1fr;
    }

    .program-grid--premium .prog-card {
        min-height: 235px;
    }

    .program-grid--premium .prog-card__img {
        height: 140px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.page-admin) *,
    .page-admin * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
