/* =========================================================
   DynaPixel Network — shared site theme
   Palette: black / #ff9000 / white (Pornhub-inspired)
   Interaction: Apple-like spacing, depth and restraint
   ========================================================= */

:root {
    --orange: #ff9000;
    --orange-light: #ffab33;
    --orange-deep: #df7d00;

    --bg: #000000;
    --surface: #0b0b0b;
    --surface-2: #111111;
    --surface-3: #171717;

    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);

    --text: #f5f5f5;
    --text-2: #a3a3a3;
    --text-3: #737373;

    --success: #3ddc97;
    --danger: #ff5d5d;
    --rank-mvp: #8ec5ff;
    --rank-plus-yellow: #ffd166;

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 15px;
    --radius-sm: 11px;
    --pill: 999px;

    --header-h: 76px;
    --container: 1180px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.55);
    --shadow-orange: 0 12px 34px rgba(255, 144, 0, 0.22);

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
        "Noto Sans SC", "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas,
        "Liberation Mono", monospace;
}

/* ---------------------------------------------------------
   Reset and base
   --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--header-h);
    color: var(--text);
    background: var(--bg);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color-scheme: dark;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(920px 520px at 50% -200px, rgba(255, 144, 0, 0.18), transparent 66%),
        radial-gradient(760px 460px at 94% 4%, rgba(255, 144, 0, 0.07), transparent 62%),
        radial-gradient(680px 620px at -6% 46%, rgba(255, 255, 255, 0.03), transparent 64%);
}

main {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    display: block;
}

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

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
    color: var(--orange-light);
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

p {
    margin: 0;
}

ul, ol {
    list-style: none;
}

::selection {
    color: #000;
    background: var(--orange);
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

[id] {
    scroll-margin-top: calc(var(--header-h) + 24px);
}

.fa, .fas, .far, .fab {
    line-height: 1;
}

[hidden] {
    display: none !important;
}

/* ---------------------------------------------------------
   Layout helpers
   --------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container);
    padding: 0 28px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 920px;
}

.site-main {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-3);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 7px;
    height: 7px;
    content: "";
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 144, 0, 0.12);
}

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

.subtle {
    color: var(--text-3);
}

.accent {
    color: var(--orange);
}

.mono {
    font-family: var(--mono);
}

.mobile-break {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 3000;
    padding: 10px 18px;
    color: #000;
    background: var(--orange);
    border-radius: var(--pill);
    font-weight: 700;
    transform: translate(-50%, -170%);
    transition: transform 0.25s var(--ease);
}

.skip-link:focus {
    color: #000;
    transform: translate(-50%, 0);
}

/* ---------------------------------------------------------
   Buttons and links
   --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    color: #fff;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--pill);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    transition:
        color 0.22s var(--ease),
        background-color 0.22s var(--ease),
        border-color 0.22s var(--ease),
        box-shadow 0.22s var(--ease),
        transform 0.22s var(--ease);
}

.btn:hover {
    color: #fff;
}

.btn:active {
    transform: scale(0.975);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.btn-primary {
    color: #000;
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    color: #000;
    background: var(--orange-light);
    border-color: var(--orange-light);
    box-shadow: 0 16px 38px rgba(255, 144, 0, 0.3);
    transform: translateY(-1px);
}

.btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--line-strong);
}

.btn-outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost {
    color: var(--text-2);
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-orange-ghost {
    color: var(--orange);
    border-color: rgba(255, 144, 0, 0.4);
    background: rgba(255, 144, 0, 0.06);
}

.btn-orange-ghost:hover {
    color: #000;
    background: var(--orange);
    border-color: var(--orange);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
    height: 54px;
    border-radius: var(--radius-md);
    font-size: 15px;
}

.btn .arrow {
    display: inline-block;
    transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
    transform: translateX(3px);
}

.btn.is-loading {
    pointer-events: none;
}

.btn.is-loading .btn-label {
    opacity: 0.7;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: dp-spin 0.8s linear infinite;
}

.spinner-light {
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: var(--orange);
}

@keyframes dp-spin {
    to { transform: rotate(360deg); }
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
}

.icon-link:hover {
    color: var(--orange);
}

/* ---------------------------------------------------------
   Header / navigation
   --------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.72);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
}

.site-header::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--orange) 28%, var(--orange) 72%, transparent);
    opacity: 0.85;
}

.nav-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand:hover {
    color: #fff;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #000;
    background: linear-gradient(145deg, var(--orange-light), var(--orange) 58%, var(--orange-deep));
    border-radius: 10px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 7px 20px rgba(255, 144, 0, 0.25);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand:hover .brand-mark {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 10px 26px rgba(255, 144, 0, 0.38);
    transform: rotate(-4deg) scale(1.04);
}

.brand-text {
    font-size: 18px;
}

.nav-menu {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: 26px;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    color: var(--text-2);
    border-radius: var(--pill);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-links a.is-active {
    color: #000;
    background: var(--orange);
    box-shadow: var(--shadow-orange);
    font-weight: 800;
}

.nav-links .ext {
    color: var(--orange);
    font-size: 11px;
    transition: transform 0.25s var(--ease);
}

.nav-links a:hover .ext {
    transform: translate(2px, -2px);
}

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

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 190px;
    padding: 5px 12px 5px 5px;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: var(--pill);
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.user-chip:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 144, 0, 0.4);
}

.user-chip .chip-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #000;
    background: var(--orange);
    border-radius: 50%;
    font-size: 12px;
}

.user-chip .chip-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--line-strong);
}

.nav-toggle .bars {
    position: relative;
    display: block;
    width: 19px;
    height: 13px;
}

.nav-toggle .bars span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), top 0.28s var(--ease);
}

.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5.5px; }
.nav-toggle .bars span:nth-child(3) { top: 11px; }

.site-header.is-open .nav-toggle .bars span:nth-child(1) {
    top: 5.5px;
    transform: rotate(45deg);
}

.site-header.is-open .nav-toggle .bars span:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .nav-toggle .bars span:nth-child(3) {
    top: 5.5px;
    transform: rotate(-45deg);
}

/* ---------------------------------------------------------
   Page hero / section headings
   --------------------------------------------------------- */

.page-hero {
    padding: 56px 0 40px;
}

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 18px;
    font-size: clamp(40px, 5.8vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.page-hero p {
    max-width: 640px;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.75;
}

.page-hero-compact {
    padding: 36px 0 26px;
}

.page-hero-compact h1 {
    margin-bottom: 10px;
    font-size: clamp(34px, 3.6vw, 46px);
}

.page-hero-compact p {
    max-width: 620px;
    font-size: 14px;
}

.section {
    padding: 20px 0 76px;
}

.page-hero-actions {
    margin-top: 26px;
    margin-bottom: 0;
}

.page-hero-actions .btn {
    flex: 0 0 auto;
}

.section-tight {
    padding: 8px 0 48px;
}

.section-head {
    max-width: 720px;
    margin-bottom: 32px;
}

.section-head h2 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.section-head p {
    color: var(--text-2);
    font-size: 15px;
}

.card {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(9, 9, 9, 0.96));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

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

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

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

/* ---------------------------------------------------------
   Home
   --------------------------------------------------------- */

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: 58px;
    align-items: center;
    padding: 58px 0 76px;
}

.home-hero h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(44px, 5.7vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.055em;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.hero-sub {
    max-width: 580px;
    margin-bottom: 30px;
    color: var(--text-2);
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: center;
    margin-bottom: 30px;
}

.ip-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 6px 6px 18px;
    background: #0c0c0c;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
}

.ip-chip .ip-value {
    color: #fff;
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: -0.01em;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 14px;
    color: #000;
    background: var(--orange);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.copy-btn:hover {
    background: var(--orange-light);
}

.copy-btn:active {
    transform: scale(0.97);
}

.copy-btn.is-copied {
    background: #fff;
}

.hero-footnote {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: var(--text-3);
    font-size: 12px;
}

.hero-footnote span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-footnote i {
    color: var(--orange);
}

/* Live status panel */
.live-panel {
    position: relative;
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(420px 260px at 88% -10%, rgba(255, 144, 0, 0.18), transparent 68%),
        linear-gradient(180deg, #151515, #0a0a0a);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.live-panel::before {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 144, 0, 0.7), transparent);
}

.live-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.live-refresh-note {
    color: var(--text-3);
    font-size: 11px;
}

.live-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--text-3);
    border-radius: 50%;
}

.live-dot.is-online {
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(255, 144, 0, 0.12);
}

.live-panel h2 {
    margin-bottom: 6px;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.live-panel h2.is-offline {
    color: var(--text-2);
}

.live-panel.is-offline::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.live-panel .live-caption {
    margin-bottom: 28px;
    color: var(--text-3);
    font-size: 12px;
}

.live-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.live-stat {
    padding: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.live-stat strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.live-stat span {
    color: var(--text-3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.live-panel .live-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    color: #fff;
    border-top: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
}

.live-panel .live-link i {
    color: var(--orange);
    transition: transform 0.25s var(--ease);
}

.live-panel .live-link:hover i {
    transform: translate(3px, -3px);
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.feature-card {
    padding: 24px;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
    border-color: rgba(255, 144, 0, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    color: var(--orange);
    background: rgba(255, 144, 0, 0.1);
    border: 1px solid rgba(255, 144, 0, 0.2);
    border-radius: 12px;
    font-size: 17px;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.feature-card p {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.7;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.step-card {
    position: relative;
    padding: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.step-number {
    display: block;
    margin-bottom: 26px;
    color: var(--orange);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.step-card h3 {
    margin-bottom: 9px;
    font-size: 18px;
}

.step-card p {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.7;
}

.step-card::after {
    position: absolute;
    right: -20px;
    bottom: -40px;
    width: 140px;
    height: 140px;
    content: "";
    background: radial-gradient(circle, rgba(255, 144, 0, 0.1), transparent 68%);
    pointer-events: none;
}

/* Rules and FAQ */
.split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.panel {
    padding: 30px;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.panel h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 19px;
}

.panel h3 i {
    color: var(--orange);
    font-size: 16px;
}

.rule-list {
    display: grid;
    gap: 14px;
}

.rule-list li {
    position: relative;
    padding-left: 27px;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.7;
}

.rule-list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    color: var(--orange);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.faq-list {
    display: grid;
}

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

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}

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

.faq-item summary::after {
    flex: 0 0 auto;
    color: var(--orange);
    content: "+";
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 0 17px;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.7;
}

/* Contact */
.contact-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 34px;
    background:
        radial-gradient(400px 240px at 90% 0%, rgba(255, 144, 0, 0.12), transparent 66%),
        linear-gradient(180deg, #131313, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
}

.contact-panel h2 {
    margin-bottom: 8px;
    font-size: clamp(26px, 3.4vw, 36px);
    letter-spacing: -0.04em;
}

.contact-panel p {
    color: var(--text-2);
    font-size: 14px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------------------------------------------------------
   Auth / login
   --------------------------------------------------------- */

.auth-page {
    padding: 56px 0 84px;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 64px;
    align-items: center;
    min-height: calc(100vh - var(--header-h) - 170px);
}

.auth-copy h1 {
    max-width: 620px;
    margin-bottom: 20px;
    font-size: clamp(44px, 5.2vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.055em;
    word-break: keep-all;
    text-wrap: balance;
}

.auth-copy > p {
    max-width: 500px;
    margin-bottom: 30px;
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.75;
}

.auth-points {
    display: grid;
    gap: 14px;
    max-width: 460px;
    margin-bottom: 32px;
}

.auth-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.65;
}

.auth-points i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--orange);
    font-size: 12px;
}

.auth-card {
    padding: 34px;
    background: linear-gradient(180deg, rgba(19, 19, 19, 0.98), rgba(8, 8, 8, 0.98));
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.auth-card h2 {
    margin-bottom: 7px;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.auth-card .auth-intro {
    margin-bottom: 24px;
    color: var(--text-2);
    font-size: 13px;
}

.field {
    display: block;
    margin-bottom: 18px;
}

.field-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-3);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap > .input-icon {
    position: absolute;
    left: 17px;
    color: var(--text-3);
    font-size: 13px;
    pointer-events: none;
    transition: color 0.2s var(--ease);
}

.input-wrap input {
    width: 100%;
    height: 54px;
    padding: 0 48px 0 46px;
    color: #fff;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    outline: 0;
    font-size: 15px;
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.22s var(--ease);
}

.input-wrap input::placeholder {
    color: #646464;
}

.input-wrap input:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.input-wrap input:focus {
    background: #0d0d0d;
    border-color: rgba(255, 144, 0, 0.75);
    box-shadow:
        0 0 0 4px rgba(255, 144, 0, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.input-wrap:focus-within > .input-icon {
    color: var(--orange);
}

.input-wrap input.is-invalid {
    border-color: rgba(255, 144, 0, 0.8);
}

.input-action {
    position: absolute;
    right: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-3);
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.input-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.caps-hint {
    margin: -8px 0 14px;
    color: var(--orange);
    font-size: 11px;
}

.auth-card .btn-block {
    margin-top: 8px;
}

.auth-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: var(--text-3);
    font-size: 11px;
}

.auth-meta a,
.auth-meta button {
    color: var(--text-2);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 11px;
}

.auth-meta a:hover,
.auth-meta button:hover {
    color: var(--orange);
}


/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    margin-bottom: 18px;
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    font-size: 12px;
    line-height: 1.6;
}

.alert i {
    flex: 0 0 auto;
    margin-top: 2px;
}

.alert.is-error {
    color: var(--orange-light);
    background: rgba(255, 144, 0, 0.07);
    border-color: rgba(255, 144, 0, 0.3);
}

.alert.is-success {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.alert.is-warning {
    color: var(--orange);
}

/* ---------------------------------------------------------
   Status page
   --------------------------------------------------------- */

.status-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 28px;
    align-items: center;
    padding: 32px;
    background:
        radial-gradient(420px 260px at 92% 0%, rgba(255, 144, 0, 0.14), transparent 68%),
        linear-gradient(180deg, #131313, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.status-live {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.status-live .live-dot {
    flex: 0 0 auto;
    margin-top: 12px;
}

.status-live h2 {
    margin-bottom: 6px;
    font-size: clamp(28px, 3.6vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.status-live p {
    color: var(--text-2);
    font-size: 13px;
}

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

.overview-stat {
    padding: 17px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.overview-stat strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.overview-stat span {
    color: var(--text-3);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.status-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 26px 0 18px;
}

.status-toolbar .last-update {
    color: var(--text-3);
    font-size: 12px;
}

.status-toolbar .last-update.is-stale {
    color: var(--orange);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.server-card {
    padding: 24px;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.server-card:hover {
    border-color: rgba(255, 144, 0, 0.3);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.server-card.is-offline {
    background: #090909;
}

.server-card.is-offline:hover {
    border-color: var(--line-strong);
}

.server-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.server-name {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 17px;
    font-weight: 700;
}

.server-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: var(--orange);
    background: rgba(255, 144, 0, 0.09);
    border: 1px solid rgba(255, 144, 0, 0.2);
    border-radius: 12px;
    font-size: 16px;
}

.server-card.is-offline .server-icon {
    color: var(--text-3);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 5px 10px;
    color: var(--text-2);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.status-badge .status-dot {
    width: 6px;
    height: 6px;
    background: var(--text-3);
    border-radius: 50%;
}

.status-badge.is-online {
    color: var(--orange);
    background: rgba(255, 144, 0, 0.08);
    border-color: rgba(255, 144, 0, 0.28);
}

.status-badge.is-online .status-dot {
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 144, 0, 0.12);
}

.status-badge.is-offline {
    color: var(--text-3);
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 0;
}

.server-stat {
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.server-stat strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.server-stat span {
    color: var(--text-3);
    font-size: 10px;
    letter-spacing: 0.06em;
}


.status-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 0;
}

.status-footnote {
    margin-top: 14px;
    color: var(--text-3);
    font-size: 11px;
    text-align: center;
}

/* ---------------------------------------------------------
   Profile page
   --------------------------------------------------------- */

.profile-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 26px;
    background:
        radial-gradient(460px 260px at 88% -10%, rgba(255, 144, 0, 0.14), transparent 68%),
        linear-gradient(180deg, #131313, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 96px;
    height: 96px;
    overflow: hidden;
    color: var(--orange);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 171, 51, 0.35), transparent 55%),
        #151515;
    border: 1px solid rgba(255, 144, 0, 0.35);
    border-radius: 22px;
    font-size: 36px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.profile-identity {
    min-width: 0;
    flex: 1 1 260px;
}

.profile-identity h1,
.profile-identity h2 {
    margin-bottom: 5px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.profile-identity .profile-id {
    color: var(--text-3);
    font-family: var(--mono);
    font-size: 12px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 5px 10px;
    color: var(--orange);
    background: rgba(255, 144, 0, 0.08);
    border: 1px solid rgba(255, 144, 0, 0.28);
    border-radius: var(--pill);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.profile-badge::before {
    width: 6px;
    height: 6px;
    content: "";
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 144, 0, 0.12);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.stat-card {
    padding: 18px;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.stat-card .stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    color: var(--orange);
    background: rgba(255, 144, 0, 0.08);
    border-radius: 10px;
    font-size: 13px;
}

.stat-card .value {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.stat-card .label {
    color: var(--text-3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stat-card .value.is-success {
    color: var(--success);
}

.stat-card .value.is-danger {
    color: var(--danger);
}

.stat-card .value.is-muted {
    color: var(--text-3);
}

.stat-card .value .rank-admin {
    color: var(--danger);
}

.stat-card .value .rank-mvp-orange {
    color: var(--orange);
}

.stat-card .value .rank-mvp-blue {
    color: var(--rank-mvp);
}

.stat-card .value .rank-vip-green {
    color: var(--success);
}

.stat-card .value .rank-plus-red {
    color: var(--danger);
}

.stat-card .value .rank-plus-yellow {
    color: var(--rank-plus-yellow);
}

.stat-card .value .rank-none {
    color: var(--text-3);
}

.stat-card.is-success {
    border-color: rgba(61, 220, 151, 0.16);
}

.stat-card.is-success .stat-icon {
    color: var(--success);
    background: rgba(61, 220, 151, 0.08);
}

.stat-card.is-danger {
    border-color: rgba(255, 93, 93, 0.16);
}

.stat-card.is-danger .stat-icon {
    color: var(--danger);
    background: rgba(255, 93, 93, 0.08);
}

.stat-card.is-muted .stat-icon {
    color: var(--text-3);
    background: rgba(255, 255, 255, 0.05);
}

.detail-card {
    margin-top: 12px;
    padding: 22px 24px;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.detail-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 17px;
}

.detail-card h2 i {
    color: var(--orange);
    font-size: 15px;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-label {
    color: var(--text-3);
    font-size: 12px;
}

.detail-value {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    overflow-wrap: anywhere;
}

.security-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    padding: 20px 24px;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.security-card h2 {
    margin-bottom: 4px;
    font-size: 17px;
}

.security-card p {
    color: var(--text-3);
    font-size: 12px;
}

.empty-card {
    max-width: 620px;
    padding: 52px 34px;
    margin: 24px auto;
    text-align: center;
    background:
        radial-gradient(360px 220px at 50% 0%, rgba(255, 144, 0, 0.12), transparent 68%),
        linear-gradient(180deg, #121212, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.empty-card .empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    color: var(--orange);
    background: rgba(255, 144, 0, 0.08);
    border: 1px solid rgba(255, 144, 0, 0.25);
    border-radius: 20px;
    font-size: 26px;
}

.empty-card h2 {
    margin-bottom: 9px;
    font-size: 27px;
    letter-spacing: -0.04em;
}

.empty-card p {
    max-width: 380px;
    margin: 0 auto 24px;
    color: var(--text-2);
    font-size: 13px;
}

/* Loading skeleton */
.profile-loading {
    display: grid;
    gap: 14px;
    padding-top: 10px;
}

.skeleton {
    background: linear-gradient(90deg, #121212 25%, #1b1b1b 37%, #121212 63%);
    background-size: 400% 100%;
    border-radius: 14px;
    animation: dp-shimmer 1.4s ease infinite;
}

.skeleton-hero {
    height: 176px;
    border-radius: var(--radius-xl);
}

.skeleton-row {
    height: 100px;
    border-radius: var(--radius-lg);
}

.skeleton-line {
    height: 13px;
    border-radius: var(--pill);
}

@keyframes dp-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ---------------------------------------------------------
   News / changelog
   --------------------------------------------------------- */

.news-list {
    display: grid;
    gap: 14px;
}

.news-card {
    position: relative;
    padding: 28px 30px;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.news-card:hover {
    border-color: rgba(255, 144, 0, 0.3);
    transform: translateY(-2px);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.news-date {
    color: var(--orange);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.news-tag {
    padding: 3px 8px;
    color: var(--text-3);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--pill);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-card h2 {
    margin-bottom: 12px;
    font-size: clamp(20px, 2.4vw, 24px);
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.news-content {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.85;
}

.news-content a {
    color: var(--orange);
    font-weight: 600;
}

.news-content a:hover {
    color: var(--orange-light);
}

.news-content img {
    display: block;
    width: min(100%, 520px);
    margin: 16px 0 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.news-content i {
    color: var(--text-3);
}

/* ---------------------------------------------------------
   Legal / agreement
   --------------------------------------------------------- */

.legal-card {
    padding: 44px 48px;
    background: linear-gradient(180deg, #111111, #090909);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    color: var(--text-3);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}

.legal-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.legal-meta i {
    color: var(--orange);
}

.legal-intro {
    margin-bottom: 28px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.8;
}

.legal-list {
    counter-reset: legal;
    display: grid;
    gap: 22px;
}

.legal-list li {
    position: relative;
    padding-left: 54px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.85;
}

.legal-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--orange);
    content: counter(legal, decimal-leading-zero);
    counter-increment: legal;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.legal-list a {
    color: var(--orange);
    font-weight: 600;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 44px 0 28px;
    margin-top: 88px;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.4), #050505);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 1fr);
    gap: 36px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

.footer-brand .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 17px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.footer-brand-text strong {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-brand-text span {
    color: var(--text-3);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-brand p {
    flex-basis: 100%;
    max-width: 320px;
    margin-top: 12px;
    color: var(--text-3);
    font-size: 11px;
    line-height: 1.7;
}

.footer-col h3 {
    margin-bottom: 14px;
    color: var(--text-3);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: var(--text-2);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-legal {
    display: grid;
    gap: 8px;
    justify-items: start;
}

.footer-legal a {
    display: inline-flex;
    align-items: center;
    color: var(--text-3);
    font-size: 11px;
}

.footer-legal a:hover {
    color: var(--orange);
}

.footer-legal img {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    opacity: 0.7;
    filter: grayscale(1) brightness(1.6);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 20px;
    color: var(--text-3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
}

.footer-bottom span {
    color: var(--text-3);
}

/* ---------------------------------------------------------
   Toast and dialog
   --------------------------------------------------------- */

.toast-root {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 3000;
    display: grid;
    gap: 9px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    color: var(--text);
    background: rgba(14, 14, 14, 0.96);
    border: 1px solid var(--line-strong);
    border-left: 2px solid var(--orange);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
    font-size: 12px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    pointer-events: auto;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--orange);
}

.toast.is-error i {
    color: var(--orange-light);
}

.dp-dialog {
    position: fixed;
    inset: 0;
    width: min(430px, calc(100vw - 32px));
    height: fit-content;
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    overflow-y: auto;
    color: var(--text);
    background: rgba(13, 13, 13, 0.98);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.dp-dialog[open] {
    opacity: 1;
    transform: none;
}

.dp-dialog::backdrop {
    background: rgba(0, 0, 0, 0.68);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.dp-dialog-inner {
    padding: 28px;
}

.dp-dialog h3 {
    margin-bottom: 9px;
    font-size: 22px;
    letter-spacing: -0.035em;
}

.dp-dialog p {
    color: var(--text-2);
    font-size: 13px;
    line-height: 1.7;
}

.dp-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 24px;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1100px) {
    .home-hero {
        gap: 38px;
    }

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

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

@media (max-width: 980px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr);
        max-width: 620px;
        gap: 34px;
        min-height: 0;
        margin: 0 auto;
    }

    .auth-card {
        order: -1;
    }

    .auth-copy h1 {
        font-size: clamp(40px, 9vw, 56px);
    }

    .auth-points {
        margin-bottom: 20px;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-top: 42px;
    }

    .live-panel {
        max-width: 620px;
    }

    .status-overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    body {
        padding-top: 66px;
    }

    .nav-inner {
        min-height: 66px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        font-size: 16px;
    }

    .brand-text {
        font-size: 17px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        max-height: calc(100vh - 86px);
        overflow-y: auto;
        background: #0a0a0a;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
        pointer-events: none;
    }

    .site-header.is-open .nav-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
        margin-left: 0;
    }

    .nav-links a {
        justify-content: space-between;
        width: 100%;
        padding: 12px 14px;
        border-radius: 11px;
        font-size: 14px;
    }

    .nav-actions {
        width: 100%;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }

    .nav-actions .btn {
        flex: 1 1 auto;
    }

    .user-chip {
        flex: 1 1 auto;
        justify-content: flex-start;
        max-width: none;
        padding: 7px 12px 7px 7px;
    }

    body.nav-open {
        overflow: hidden;
    }

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

}

@media (max-width: 720px) {
    .mobile-break {
        display: inline;
    }

    .container {
        padding: 0 20px;
    }


    .hero-sub {
        font-size: 15px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .hero-actions .ip-chip {
        width: 100%;
        justify-content: space-between;
    }

    .section {
        padding-bottom: 54px;
    }

    .feature-grid,
    .steps-grid,
    .split-grid,
    .servers-grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .panel {
        padding: 24px;
    }

    .contact-panel {
        padding: 26px;
    }

    .contact-actions {
        width: 100%;
    }

    .contact-actions .btn {
        flex: 1 1 auto;
    }

    .status-overview {
        padding: 24px;
    }

    .overview-stats {
        gap: 8px;
    }

    .overview-stat {
        padding: 14px 8px;
    }

    .overview-stat strong {
        font-size: 22px;
    }

    .status-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .server-card {
        padding: 20px;
    }

    .profile-hero {
        padding: 24px;
    }

    .profile-avatar {
        width: 86px;
        height: 86px;
        border-radius: 22px;
        font-size: 32px;
    }

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

    .stat-card {
        padding: 16px;
    }

    .stat-card .value {
        font-size: 18px;
    }

    .detail-card,
    .security-card {
        padding: 20px;
    }

    .news-card {
        padding: 22px;
    }

    .legal-card {
        padding: 28px 22px;
    }

    .legal-list li {
        padding-left: 42px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

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

    .site-footer {
        margin-top: 60px;
    }
}

@media (max-width: 520px) {
    .auth-page {
        padding-top: 34px;
    }

    .auth-card {
        padding: 24px;
    }

    .auth-card h2 {
        font-size: 27px;
    }

    .auth-copy h1 {
        font-size: clamp(36px, 11vw, 46px);
    }

    .ip-chip {
        width: 100%;
        justify-content: space-between;
    }

    .live-panel {
        padding: 22px;
    }


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

    .toast-root {
        right: 16px;
        bottom: 16px;
    }
}

@media (hover: none) {
    .feature-card:hover,
    .server-card:hover,
    .news-card:hover {
        transform: none;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* Scrollbar */
@supports selector(::-webkit-scrollbar) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #050505;
    }

    ::-webkit-scrollbar-thumb {
        background: #2a2a2a;
        border: 2px solid #050505;
        border-radius: 999px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--orange-deep);
    }
}
