:root {
    color-scheme: dark;

    --bg: #101113;
    --surface: #191b20;
    --surface-raised: #212329;
    --text: #f4f2ee;
    --muted: #96979f;
    --accent: #ff7547;
    --line: rgba(255, 255, 255, 0.09);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

main {
    flex: 1;
    min-width: 0;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.container {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

.accent {
    color: var(--accent) !important;
}

.muted {
    color: var(--muted);
}

.eyebrow {
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

.tiny-label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
    line-height: 1.5;
}

.status-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(255, 117, 71, 0.35);
}

.status-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 9px;
    white-space: nowrap;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line);
    background: rgba(16, 17, 19, 0.9);
    backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 88px;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding-right: 4px;
    border: 1px solid rgba(255, 117, 71, 0.35);
    border-radius: 12px;
    background: rgba(255, 117, 71, 0.06);
    color: var(--text);
    font-size: 23px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -3px;
}

.brand-name {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand-name > span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    position: relative;
    padding-block: 12px;
    color: var(--muted);
    font-size: 12px;
    transition: color 0.2s;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.nav-link.is-active::after {
    transform: scaleX(1);
}

/* BUTTONS */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 52px;
    padding: 15px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    transition:
            transform 0.2s,
            background 0.2s,
            border-color 0.2s;
}

.button > span {
    font-size: 20px;
}

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

.button-primary {
    background: var(--accent);
    color: #19110e;
    box-shadow: 0 10px 35px rgba(255, 117, 71, 0.12);
}

.button-primary:hover {
    background: #ff936e;
}

.button-outline {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.button-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.button-quiet {
    color: var(--muted);
}

.button-quiet:hover {
    color: var(--text);
}

.button-small {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 10px;
}

.button-full {
    width: 100%;
}

.button-discord {
    background: #7772e8;
    color: #fff;
}

.button-discord:hover {
    background: #8b86ff;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--accent);
    font-size: 13px;
    line-height: 1.7;
}

.text-link:hover {
    color: #ffa17e;
}

/* HOME HERO */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-grid {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(to right, transparent, #000 75%);
}

.hero-glow {
    position: absolute;
    z-index: -1;
    top: -150px;
    right: -150px;
    width: 850px;
    height: 850px;
    border-radius: 50%;
    background: radial-gradient(
            circle,
            rgba(255, 117, 71, 0.14),
            transparent 68%
    );
    pointer-events: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: 32px;
    min-height: 700px;
    padding-block: 65px;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: enter 0.7s both;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 117, 71, 0.2);
    border-radius: 6px;
    background: rgba(255, 117, 71, 0.04);
    color: #d6b6a8;
    font-size: 9px;
    letter-spacing: 1px;
}

.hero h1 {
    margin: 28px 0 24px;
    font-size: clamp(46px, 5.3vw, 76px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
}

.hero h1 > span {
    color: var(--accent);
}

.hero-description {
    max-width: 410px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-facts {
    display: flex;
    gap: 32px;
    margin-top: 44px;
}

.hero-facts > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-facts > div + div {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.hero-facts strong {
    font-size: 27px;
    letter-spacing: -1px;
}

.hero-facts div > span {
    color: #797c84;
    font-size: 8px;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    height: 520px;
    min-width: 0;
    animation: enter 0.9s both;
}

.orbit {
    position: absolute;
    top: 50px;
    left: 50%;
    width: 410px;
    height: 410px;
    border: 1px solid rgba(255, 117, 71, 0.13);
    border-radius: 50%;
    transform: translateX(-50%);
}

.orbit-one::after {
    position: absolute;
    top: 54px;
    right: 54px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 22px var(--accent);
    content: "";
}

.orbit-two {
    top: 20px;
    width: 470px;
    height: 470px;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.06);
    animation: orbit-turn 90s linear infinite;
}

.visual-label {
    position: absolute;
    top: 0;
    right: 0;
    color: #777078;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 2px;
}

.emblem {
    position: absolute;
    inset: 40px 0 85px;
    display: grid;
    place-items: center;
    animation: float 7s ease-in-out infinite;
}

.emblem-main,
.emblem-outline {
    grid-area: 1 / 1;
    padding-right: 35px;
    font-size: clamp(180px, 23vw, 300px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -35px;
    line-height: 1;
    user-select: none;
}

.emblem-main {
    background: linear-gradient(
            150deg,
            #ffe0cc,
            #ff9169 25%,
            #f3572b 65%,
            #79331f
    );
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 20px 40px rgba(255, 93, 42, 0.2));
}

.emblem-outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 117, 71, 0.3);
    transform: translate(15px, 14px);
}

.floating-label {
    position: absolute;
    z-index: 3;
    top: 90px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(24, 26, 30, 0.85);
    backdrop-filter: blur(12px);
    transform: rotate(-5deg);
}

.floating-label > span {
    font-size: 28px;
}

.floating-label strong {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
}

.server-preview {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 10px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(27, 28, 32, 0.9);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    transition: transform 0.2s, border-color 0.2s;
}

.server-preview:hover {
    border-color: rgba(255, 117, 71, 0.4);
    transform: translateY(-4px);
}

.preview-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 117, 71, 0.1);
    color: var(--accent);
    font-size: 25px;
}

.server-preview strong {
    font-size: 12px;
}

.server-preview .status-inline {
    margin-left: auto;
}

/* TICKER */

.ticker {
    --ticker-gap: clamp(28px, 4vw, 80px);
    width: 100%;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: #151619;
}

.ticker-track {
    display: flex;
    width: 100%;
}

.ticker-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    gap: var(--ticker-gap);
    padding: 20px var(--ticker-gap) 20px 0;
    animation: ticker-scroll 36s linear infinite;
}

.ticker-group > span {
    flex-shrink: 0;
    color: #d8d5d1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.ticker-group > i {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 24px;
    font-style: normal;
    line-height: 1;
}

/* COMMON SECTIONS AND CARDS */

.section {
    padding-block: 90px;
}

.section-compact {
    padding-top: 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 36px;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
}

h2 > span {
    color: #7e818a;
}

.section-description {
    max-width: 310px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

.interactive-card {
    --mouse-x: 50%;
    --mouse-y: 50%;

    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.interactive-card::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(
            420px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 117, 71, 0.09),
            transparent 65%
    );
    opacity: 0;
    content: "";
    pointer-events: none;
    transition: opacity 0.3s;
}

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

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.destination-card {
    display: block;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform 0.25s, border-color 0.25s;
}

.destination-card:hover {
    border-color: rgba(255, 117, 71, 0.35);
    transform: translateY(-5px);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.card-top .tiny-label {
    margin: 0;
}

.card-arrow {
    color: var(--accent);
    font-size: 25px;
}

.destination-card h3 {
    margin: 35px 0 14px;
    font-size: 23px;
    letter-spacing: -1px;
}

.destination-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.panel > h3 {
    margin-bottom: 25px;
    font-size: 19px;
}

/* COMMUNITY */

.community-panel {
    position: relative;
    overflow: hidden;
    padding: 56px;
    border: 1px solid rgba(255, 117, 71, 0.2);
    border-radius: 24px;
    background:
            radial-gradient(ellipse at 90% 50%, rgba(255, 117, 71, 0.12), transparent 65%),
            #1a191b;
    isolation: isolate;
}

.community-watermark {
    position: absolute;
    z-index: -1;
    top: 5px;
    right: 65px;
    color: rgba(255, 117, 71, 0.04);
    font-size: 340px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -40px;
    line-height: 1;
    user-select: none;
    transform: rotate(-10deg);
}

.community-panel h2 > span {
    color: var(--accent);
}

.community-description {
    max-width: 420px;
    margin-block: 24px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

/* INNER PAGES */

.page-main {
    padding-bottom: 90px;
}

.page-intro {
    position: relative;
    padding-top: 65px;
    padding-bottom: 42px;
    animation: enter 0.6s both;
}

.page-title {
    margin-bottom: 22px;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.08;
}

.page-title > span {
    color: var(--accent);
}

.page-description {
    max-width: 580px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.page-section {
    padding-top: 8px;
}

.notice {
    padding: 16px 18px;
    border: 1px solid rgba(255, 117, 71, 0.15);
    border-radius: 10px;
    background: rgba(255, 117, 71, 0.045);
    color: #c5afa5;
    font-size: 12px;
    line-height: 1.8;
}

.notice-wide {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

/* SERVERS PAGE */

.server-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    gap: 24px;
}

.server-card {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #242126, #191b20 70%);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 117, 71, 0.2);
    border-radius: 6px;
    color: #dfb5a4;
    font-size: 8px;
    letter-spacing: 1px;
}

.server-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
}

.server-title-row h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.server-symbol {
    color: var(--accent);
    font-size: 70px;
}

.server-description {
    max-width: 390px;
    margin-block: 22px;
    font-size: 13px;
    line-height: 1.85;
}

.server-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-block: 24px;
    border-block: 1px solid var(--line);
}

.server-specs span {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 1px;
}

.server-specs strong {
    font-size: 12px;
}

.server-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
}

.server-bottom strong {
    font-size: 12px;
    font-weight: 400;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
}

.info-row > span {
    color: var(--muted);
    font-size: 12px;
}

.info-row strong {
    font-size: 13px;
    font-weight: 400;
}

.panel .notice {
    margin-block: 24px;
}

/* STORE PAGE */

.store-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.store-sidebar {
    padding: 22px;
}

.filter-list {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.filter-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    font-size: 12px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-button > span {
    font-size: 10px;
    opacity: 0.65;
}

.filter-button:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.filter-button.is-active {
    border-color: rgba(255, 117, 71, 0.2);
    background: rgba(255, 117, 71, 0.08);
    color: var(--accent);
}

.sidebar-note {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.sidebar-note strong {
    font-size: 12px;
}

.sidebar-note p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    transition: border-color 0.25s;
}

.product-card:hover {
    border-color: rgba(255, 117, 71, 0.35);
}

.product-art {
    position: relative;
    display: grid;
    place-items: center;
    height: 200px;
    margin: 10px;
    overflow: hidden;
    border-radius: 10px;
}

.art-orange {
    --art-accent: #ff976e;
    background: radial-gradient(ellipse at 50% 70%, #63301f, #241c1b 70%);
}

.art-purple {
    --art-accent: #bca2f7;
    background: radial-gradient(ellipse at 50% 70%, #40305b, #201d28 70%);
}

.art-green {
    --art-accent: #a3d4bc;
    background: radial-gradient(ellipse at 50% 70%, #29463d, #192522 70%);
}

.product-art::before {
    position: absolute;
    inset: 0;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
}

.product-glyph {
    position: relative;
    color: var(--art-accent, var(--accent));
    font-size: 130px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-shadow: 8px 9px 0 rgba(0, 0, 0, 0.2);
    transform: rotate(-10deg);
    transition: transform 0.4s;
}

.product-card:hover .product-glyph {
    transform: rotate(0deg) translateY(-7px);
}

.glyph-symbol {
    font-style: normal;
}

.art-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-family: monospace;
    font-size: 7px;
    letter-spacing: 1px;
}

.product-content {
    padding: 14px 18px 20px;
}

.product-content .tiny-label {
    font-size: 8px;
}

.product-content h3 {
    margin-block: 12px;
    font-size: 23px;
    letter-spacing: -1px;
}

.product-content p {
    min-height: 66px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.product-bottom button {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.025);
    color: #858791;
    font-size: 10px;
}

/* RULES PAGE */

.rules-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.rules-navigation {
    position: sticky;
    top: 115px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px;
}

.rules-navigation a {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    transition: color 0.2s;
}

.rules-navigation a:hover {
    color: var(--accent);
}

.rules-content {
    display: grid;
    gap: 20px;
}

.rule-card {
    scroll-margin-top: 145px;
}

.rule-card h2 {
    margin-bottom: 20px;
    font-size: 27px;
    letter-spacing: -1px;
}

.rule-card p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.rule-card p:last-child {
    margin-bottom: 0;
}

/* HELP PAGE */

.help-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 44px;
}

.support-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 117, 71, 0.2);
    border-radius: 13px;
    background: rgba(255, 117, 71, 0.06);
    color: var(--accent);
    font-size: 30px;
}

.support-card h2 {
    font-size: 38px;
}

.support-card > p:not(.eyebrow) {
    margin-block: 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 24px;
    list-style: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary > span {
    color: var(--accent);
    font-size: 25px;
    transition: transform 0.2s;
}

.faq-list details[open] summary > span {
    transform: rotate(45deg);
}

.faq-list details p {
    margin-bottom: 24px;
    padding-right: 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* FOOTER */

.footer {
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: #0d0e10;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: 34px;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a,
.footer-links button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-links button:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px;
    border-top: 1px solid var(--line);
    color: #797b83;
    font-size: 9px;
    line-height: 1.8;
}

.footer-bottom p {
    max-width: 390px;
    margin: 0;
}

/* OVERLAYS */

.launch-dialog {
    position: fixed;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    padding: 38px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background:
            radial-gradient(circle at top right, rgba(255, 117, 71, 0.1), transparent 60%),
            #191a1e;
    color: var(--text);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.launch-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
}

.launch-dialog[open] {
    animation: enter 0.25s both;
}

.dialog-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #bbb;
    font-size: 27px;
}

.dialog-close:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dialog-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 117, 71, 0.2);
    border-radius: 14px;
    background: rgba(255, 117, 71, 0.07);
    color: var(--accent);
    font-size: 30px;
}

.dialog-description {
    margin-block: 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.toast {
    position: fixed;
    z-index: 60;
    bottom: 24px;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 15px 22px;
    border: 1px solid rgba(255, 117, 71, 0.25);
    border-radius: 12px;
    background: #242125;
    color: var(--text);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
    font-size: 13px;
    line-height: 1.6;
    opacity: 0;
    transform: translate(-50%, 15px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ANIMATIONS */

.js-motion .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s, transform 0.6s;
}

.js-motion .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-10deg);
    }

    50% {
        transform: translateY(-15px) rotate(-7deg);
    }
}

@keyframes orbit-turn {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media (hover: hover) {
    .ticker:hover .ticker-group {
        animation-play-state: paused;
    }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .nav {
        gap: 16px;
    }

    .hero-layout {
        min-height: 640px;
    }

    .hero-visual {
        height: 460px;
    }

    .orbit-one {
        top: 50px;
        width: 330px;
        height: 330px;
    }

    .orbit-two {
        top: 20px;
        width: 390px;
        height: 390px;
    }

    .floating-label {
        top: 55px;
    }

    .server-preview {
        gap: 10px;
        padding: 15px;
    }

    .server-preview strong {
        font-size: 10px;
    }

    .store-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 20px;
    }

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

@media (max-width: 900px) {
    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 14px;
        padding-block: 14px;
    }

    .nav {
        order: 3;
        justify-content: space-between;
        width: 100%;
        padding-top: 6px;
        border-top: 1px solid var(--line);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-block: 45px;
    }

    .hero h1 {
        font-size: clamp(48px, 9vw, 78px);
    }

    .hero-description {
        max-width: 480px;
    }

    .hero-visual {
        width: min(540px, 100%);
        margin-inline: auto;
    }

    .emblem-main,
    .emblem-outline {
        font-size: 260px;
    }

    .section {
        padding-block: 65px;
    }

    .section-compact {
        padding-top: 0;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .section-description {
        max-width: 520px;
    }

    .destination-grid {
        gap: 16px;
    }

    .destination-card {
        padding: 24px;
    }

    .server-layout,
    .help-layout {
        grid-template-columns: 1fr;
    }

    .help-layout {
        gap: 30px;
    }

    .support-card {
        max-width: 600px;
    }

    .rules-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }

    .rules-navigation {
        top: 150px;
        padding: 22px;
    }

    .rule-card {
        scroll-margin-top: 170px;
    }

    .footer-main {
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-end;
        gap: 18px;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }
}

@media (max-width: 650px) {
    .destination-grid {
        grid-template-columns: 1fr;
    }

    .destination-card h3 {
        margin-top: 20px;
    }

    .community-panel {
        padding: 32px 25px;
    }

    .community-watermark {
        top: 80px;
        right: -20px;
        font-size: 260px;
    }

    .community-panel h2 {
        font-size: 32px;
    }

    .store-layout,
    .rules-layout {
        grid-template-columns: 1fr;
    }

    .store-sidebar {
        padding: 20px;
    }

    .filter-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 14px;
    }

    .filter-button {
        width: auto;
        gap: 16px;
    }

    .sidebar-note {
        display: none;
    }

    .rules-navigation {
        position: static;
    }

    .page-intro {
        padding-top: 40px;
    }

    .page-main {
        padding-bottom: 60px;
    }

    .page-title {
        font-size: clamp(35px, 8vw, 50px);
        letter-spacing: -2px;
    }

    .page-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 12px;
    }

    .brand-name > span {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .header .button-small {
        gap: 10px;
        padding-inline: 10px;
        font-size: 9px;
    }

    .nav-link {
        font-size: 11px;
    }

    .hero h1 {
        font-size: clamp(40px, 10vw, 48px);
        letter-spacing: -2px;
    }

    .launch-badge {
        font-size: 8px;
        letter-spacing: 0;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions .button {
        gap: 12px;
        padding-inline: 16px;
        font-size: 10px;
    }

    .hero-facts {
        gap: 18px;
        margin-top: 34px;
    }

    .hero-facts > div + div {
        padding-left: 18px;
    }

    .hero-facts strong {
        font-size: 24px;
    }

    .hero-facts div > span {
        font-size: 7px;
        letter-spacing: 0;
    }

    .hero-visual {
        height: 350px;
    }

    .emblem {
        inset: 20px 0 70px;
    }

    .emblem-main,
    .emblem-outline {
        padding-right: 28px;
        font-size: 210px;
        letter-spacing: -28px;
    }

    .orbit-one {
        top: 25px;
        width: 260px;
        height: 260px;
    }

    .orbit-two {
        top: 0;
        width: 310px;
        height: 310px;
    }

    .visual-label {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .floating-label {
        top: 40px;
        padding: 10px 12px;
    }

    .floating-label strong {
        font-size: 8px;
    }

    .floating-label .tiny-label {
        font-size: 7px;
    }

    .server-preview {
        padding: 12px;
    }

    .preview-icon {
        width: 34px;
        height: 34px;
    }

    .server-preview .status-inline {
        font-size: 8px;
    }

    h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .panel,
    .server-card {
        padding: 24px;
    }

    .server-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .server-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .product-art {
        height: 230px;
    }

    .product-glyph {
        font-size: 155px;
    }

    .product-content {
        padding: 16px 24px 24px;
    }

    .product-content p {
        min-height: 0;
    }

    .rule-card h2 {
        font-size: 24px;
    }

    .rule-card p {
        font-size: 13px;
    }

    .support-card h2 {
        font-size: 34px;
    }

    .faq-list summary {
        font-size: 13px;
    }

    .footer-main,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .launch-dialog {
        padding: 32px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js-motion .reveal {
        opacity: 1;
        transform: none;
    }
}
.header-account-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.header-account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 52px;
    padding: 14px 20px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.025);
    color: #f3f0eb;

    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;

    transition:
            border-color 180ms ease,
            background-color 180ms ease,
            transform 180ms ease;
}

.header-account-button:hover {
    border-color: rgba(239, 121, 43, 0.65);
    background: rgba(239, 121, 43, 0.09);
    transform: translateY(-2px);
}

.header-account-button:focus-visible,
.header-admin-link:focus-visible {
    outline: 2px solid #ef792b;
    outline-offset: 4px;
}

.header-admin-link {
    color: #ef914e;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.header-admin-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .header-account-actions {
        gap: 8px;
    }

    .header-account-button {
        min-height: 44px;
        padding: 10px 12px;
        gap: 10px;
        font-size: 12px;
    }
}
/* =========================================================
   ШАПКА — КАБИНЕТ И АДМИН-ПАНЕЛЬ
   ========================================================= */

.header.portal-header .portal-header-actions .portal-profile-link,
.header.portal-header .portal-header-actions .portal-admin-link {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 10px;
    min-height: 42px;
    margin: 0;
    padding: 7px 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    color: #e6e2de;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition:
            transform 0.22s cubic-bezier(.22, 1, .36, 1),
            background 0.22s,
            border-color 0.22s,
            box-shadow 0.22s;
}

/* Текст не наследует увеличенный размер .button > span. */

.header.portal-header .portal-header-actions .portal-profile-link > span,
.header.portal-header .portal-header-actions .portal-admin-link > span {
    font-size: 11px;
    line-height: 1.4;
}

/* Кабинет */

.header.portal-header .portal-header-actions .portal-profile-link {
    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
    );
    box-shadow:
            inset 0 1px rgba(255, 255, 255, 0.04),
            0 5px 16px rgba(0, 0, 0, 0.12);
}

.header.portal-header .portal-header-actions .portal-account-avatar {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 117, 71, 0.22);
    border-radius: 8px;
    background: rgba(255, 117, 71, 0.07);
    color: #e0a185;
}

.header.portal-header .portal-header-actions .portal-account-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.header.portal-header .portal-header-actions .portal-account-avatar svg {
    display: block;
    width: 17px;
    height: 17px;
}

.header.portal-header .portal-header-actions .portal-account-arrow {
    display: block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #8f8c94;
    transition: transform 0.22s, color 0.22s;
}

/* Админка */

.header.portal-header .portal-header-actions .portal-admin-link {
    padding-inline: 13px;
    border-color: rgba(255, 117, 71, 0.25);
    background: linear-gradient(
            135deg,
            rgba(255, 117, 71, 0.13),
            rgba(255, 117, 71, 0.045)
    );
    color: #ffae8b;
    box-shadow: inset 0 1px rgba(255, 185, 148, 0.045);
}

.header.portal-header .portal-header-actions .portal-admin-icon {
    display: block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: #ff936e;
}

/* Быстрый блик — в покое полностью скрыт. */

.header.portal-header .portal-header-actions .portal-profile-link::before,
.header.portal-header .portal-header-actions .portal-admin-link::before {
    position: absolute;
    z-index: 2;
    top: -100%;
    bottom: -100%;
    left: -45%;
    width: 18%;
    content: "";
    background: linear-gradient(
            100deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
    );
    opacity: 0;
    transform: skewX(-18deg);
    pointer-events: none;
}

.header.portal-header .portal-header-actions .portal-profile-link:focus-visible,
.header.portal-header .portal-header-actions .portal-admin-link:focus-visible {
    outline: 2px solid #ff936e;
    outline-offset: 4px;
}

/* Наведение */

@media (hover: hover) {

    .header.portal-header .portal-header-actions .portal-profile-link:hover {
        border-color: rgba(255, 117, 71, 0.4);
        background: rgba(255, 117, 71, 0.055);
        box-shadow:
                inset 0 1px rgba(255, 255, 255, 0.04),
                0 8px 22px rgba(0, 0, 0, 0.17);
        transform: translateY(-2px);
    }

    .header.portal-header .portal-header-actions .portal-profile-link:hover .portal-account-arrow {
        color: #ffad88;
        transform: translateX(2px);
    }

    .header.portal-header .portal-header-actions .portal-admin-link:hover {
        border-color: rgba(255, 117, 71, 0.5);
        background: rgba(255, 117, 71, 0.14);
        color: #ffc2a5;
        box-shadow: 0 7px 22px rgba(255, 117, 71, 0.08);
        transform: translateY(-2px);
    }

    .header.portal-header .portal-header-actions .portal-profile-link:hover::before,
    .header.portal-header .portal-header-actions .portal-admin-link:hover::before {
        animation: portal-account-shine 0.48s ease-out both;
    }

}

@keyframes portal-account-shine {
    0% {
        left: -45%;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    85% {
        opacity: 0.7;
    }

    100% {
        left: 135%;
        opacity: 0;
    }
}

/* Телефоны */

@media (max-width: 650px) {

    .header.portal-header .portal-header-actions .portal-profile-link,
    .header.portal-header .portal-header-actions .portal-admin-link {
        gap: 7px;
        min-height: 39px;
        padding: 6px 10px;
        border-radius: 9px;
    }

    .header.portal-header .portal-header-actions .portal-profile-link > span,
    .header.portal-header .portal-header-actions .portal-admin-link > span {
        font-size: 10px;
    }

    .header.portal-header .portal-header-actions .portal-account-avatar {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

    .header.portal-header .portal-header-actions .portal-account-arrow {
        display: none;
    }

    .header.portal-header .portal-header-actions .portal-admin-icon {
        width: 15px;
        height: 15px;
    }

}

/* Уменьшение движения */

@media (prefers-reduced-motion: reduce) {

    .header.portal-header .portal-header-actions .portal-profile-link,
    .header.portal-header .portal-header-actions .portal-admin-link,
    .header.portal-header .portal-header-actions .portal-account-arrow {
        transition: none !important;
    }

    .header.portal-header .portal-header-actions .portal-profile-link::before,
    .header.portal-header .portal-header-actions .portal-admin-link::before {
        animation: none !important;
        opacity: 0;
    }

    .header.portal-header .portal-header-actions .portal-profile-link:hover,
    .header.portal-header .portal-header-actions .portal-admin-link:hover,
    .header.portal-header .portal-header-actions .portal-profile-link:hover .portal-account-arrow {
        transform: none;
    }

}