@charset "UTF-8";
:root {
    --bg-0: #050000;
    --bg-1: #0b0202;
    --bg-2: #150303;
    --surface-0: rgba(15, 3, 3, 0.78);
    --surface-1: rgba(31, 7, 7, 0.72);
    --surface-2: rgba(47, 12, 12, 0.72);
    --surface-solid: #140606;

    --border-soft: rgba(255, 118, 118, 0.13);
    --border-mid: rgba(255, 88, 88, 0.24);
    --border-strong: rgba(255, 62, 62, 0.45);

    --text-main: #f4eeee;
    --text-soft: #d9baba;
    --text-muted: #9f7373;
    --text-dim: #755050;

    --red-0: #ff4d4d;
    --red-1: #df2f2f;
    --red-2: #9b1515;
    --red-3: #5d0909;

    --green-0: #5dffa4;
    --green-1: #24c873;
    --green-2: #16884d;

    --gold-0: #ffe08a;
    --gold-1: #e0b847;
    --gold-2: #b98522;

    --purple: #a45dff;
    --orange: #ff8a3d;
    --gray: #a8a8a8;
    --blue: #70cfff;

    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.35);
    --shadow-red: 0 18px 60px rgba(255, 0, 0, 0.14);
    --shadow-green: 0 14px 36px rgba(36, 200, 115, 0.18);
    --shadow-gold: 0 14px 36px rgba(224, 184, 71, 0.20);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --focus-ring: 0 0 0 3px rgba(255, 77, 77, 0.23);

    --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ==================== Base ==================== */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--text-main);
    font-family: var(--font-main);
    overscroll-behavior: none;
    scroll-behavior: smooth;
}

html {
    background: var(--bg-0);
}

body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: clamp(18px, 4vw, 46px) clamp(12px, 3vw, 24px);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 16% 7%, rgba(255, 64, 64, 0.18), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(255, 164, 70, 0.08), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(123, 0, 0, 0.32), transparent 42%),
        linear-gradient(135deg, #020000 0%, #0d0101 38%, #1b0404 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 78%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.24) 58%, rgba(0, 0, 0, 0.55) 100%);
}

::selection {
    color: #fff;
    background: rgba(255, 65, 65, 0.55);
}

a {
    color: inherit;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

p {
    color: var(--text-soft);
}

/* ==================== Main container ==================== */
.box {
    position: relative;
    width: min(100%, 980px);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 38px);
    text-align: center;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.016)),
        var(--surface-0);
    box-shadow: var(--shadow-soft), var(--shadow-red);
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    overflow: hidden;
}

.box::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(120deg, rgba(255, 77, 77, 0.18), transparent 26%, transparent 70%, rgba(255, 144, 64, 0.09));
    opacity: 0.7;
}

.box > * {
    position: relative;
    z-index: 1;
}

/* ==================== Logo ==================== */
.logo {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(42px, 8vw, 76px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.6vw, 5px);
    text-shadow:
        0 0 18px rgba(255, 66, 66, 0.38),
        0 0 48px rgba(255, 0, 0, 0.18);
}

.logo::first-letter {
    color: var(--red-0);
}

/* ==================== Server header / layout ==================== */
.main-server-block {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
    align-items: stretch;
    gap: 18px;
    margin: 20px 0 34px;
}

.server-header {
    margin: 0 0 12px;
    color: var(--text-soft);
    font-size: 18px;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-align: center;
}

.server-info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 280px;
    padding: 22px;
    text-align: left;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255, 77, 77, 0.08), rgba(255,255,255,0.018)),
        rgba(18, 3, 3, 0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
}

.server-info::before {
    content: "";
    position: absolute;
    top: -55px;
    right: -45px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(255, 44, 44, 0.13);
    filter: blur(10px);
}

.server-info p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.45;
}

.server-info strong {
    display: block;
    margin-bottom: 3px;
    color: #ffc0c0;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.restart {
    color: var(--text-soft);
}

.green-ip,
.online-count {
    color: var(--green-0);
    font-weight: 850;
    text-shadow: 0 0 12px rgba(93, 255, 164, 0.18);
}

/* ==================== Buttons ==================== */
.buttons-vertical,
.vip-shop {
    display: flex;
    flex-direction: column;
}

.buttons-vertical {
    gap: 12px;
    min-width: 0;
}

.buttons-vertical a,
.single-button a,
.donate-button,
.show-all-players,
.vip-buy,
.news-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    border: 0;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition:
        transform 0.22s var(--ease),
        box-shadow 0.22s var(--ease),
        filter 0.22s var(--ease),
        border-color 0.22s var(--ease),
        background 0.22s var(--ease);
}

.buttons-vertical a,
.single-button a {
    width: 100%;
    padding: 13px 18px;
    background:
        linear-gradient(135deg, rgba(36, 200, 115, 0.98), rgba(18, 115, 64, 0.98));
    box-shadow: var(--shadow-green);
}

.buttons-vertical a:hover,
.single-button a:hover,
.show-all-players:hover,
.donate-button:hover,
.vip-buy:not(.disabled):hover,
.news-more:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.buttons-vertical a:active,
.single-button a:active,
.show-all-players:active,
.donate-button:active,
.vip-buy:active,
.news-more:active {
    transform: translateY(-1px) scale(0.99);
}

.single-button {
    width: 100%;
    margin: 0 auto 28px;
}

.donate-button {
    width: 100%;
    margin-top: 12px;
    padding: 16px 20px;
    font-size: 18px;
    background:
        linear-gradient(135deg, #ff4b4b 0%, #c01616 48%, #7a0909 100%);
    box-shadow: 0 18px 38px rgba(255, 42, 42, 0.25);
}

.donate-button::after,
.buttons-vertical a::after,
.single-button a::after,
.vip-buy::after,
.show-all-players::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), transparent 46%);
    pointer-events: none;
}

/* ==================== Online players ==================== */
.online-row,
.online-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.online-block {
    margin-top: 8px;
}

.online-text {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.online-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    margin-right: 2px;
    border-radius: 50%;
}

.online-dot.online {
    background: var(--green-0);
    box-shadow: 0 0 12px rgba(93, 255, 164, 0.95);
}

.online-dot.offline {
    background: var(--red-0);
    box-shadow: 0 0 12px rgba(255, 77, 77, 0.95);
}

.online-players {
    margin-top: 10px;
}

.players-label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.players-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 8px;
}

.player-tag,
.more-players {
    display: inline-flex;
    align-items: center;
    max-width: 150px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.player-tag {
    color: #ecdcdc;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.055);
}

.more-players {
    color: var(--green-0);
    border: 1px solid rgba(93,255,164,0.22);
    background: rgba(93,255,164,0.10);
}

.players-empty {
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
}

.show-all-players {
    width: 100%;
    margin-top: 16px;
    padding: 14px 18px;
    font-size: 16px;
    background: linear-gradient(135deg, var(--green-1), var(--green-2));
    box-shadow: var(--shadow-green);
}

.show-all-players:focus,
.show-all-players:active {
    outline: none;
    border: none;
}

/* ==================== Commands ==================== */
.commands {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
}

.command {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    column-gap: 24px;

    min-height: 56px;
    padding: 13px 16px;

    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--red-1);
    border-radius: var(--radius-sm);

    background: rgba(35, 5, 5, 0.72);
    font-size: 15px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.cmd {
    display: block;
    color: var(--green-0);
    font-weight: 850;
    text-align: left;
    white-space: nowrap;
}

.desc {
    display: block;
    min-width: 0;
    color: var(--text-soft);
    text-align: right;
    line-height: 1.4;
    word-break: break-word;
}

/* ==================== News / cards ==================== */
.news-title,
.spawn-title {
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 0 26px rgba(255, 42, 42, 0.25);
}

.news-title {
    margin: 42px 0 18px;
    font-size: clamp(28px, 4.5vw, 42px);
    text-align: left;
}

.news,
.priv-cards {
    margin-top: 18px;
}

.news {
    position: relative;
    display: grid;
    gap: 18px;
    padding-left: 28px;
}

.news::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 77, 77, 0.38), transparent);
}

.item,
.priv-card,
.spawn-item,
.about-server,
.payment-info {
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--red-1);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012)),
        var(--surface-1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.item,
.priv-card {
    width: 100%;
    margin: 0 0 18px;
    padding: 18px 20px;
    text-align: left;
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    transition:
        transform 0.35s var(--ease),
        opacity 0.35s var(--ease),
        border-color 0.25s ease,
        background 0.25s ease;
}

.item {
    position: relative;
}

.item::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 24px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--red-0);
    box-shadow:
        0 0 0 5px rgba(255, 77, 77, 0.09),
        0 0 18px rgba(255, 77, 77, 0.75);
}

.item:hover,
.priv-card:hover,
.spawn-item:hover {
    border-color: var(--border-mid);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
        rgba(40, 8, 8, 0.74);
}

.item.animate,
.priv-card.animate,
.priv-card.vip-shop.animate {
    animation: cardAppear 0.6s var(--ease) forwards;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.date {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    margin-bottom: 8px;
    padding: 3px 9px;
    border: 1px solid rgba(255, 77, 77, 0.16);
    border-radius: var(--radius-pill);
    color: #f0a5a5;
    background: rgba(255, 77, 77, 0.09);
    font-size: 12px;
    font-weight: 750;
}

.title {
    margin-bottom: 8px;
    color: #ffe2e2;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.25;
}

.text {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.65;
}

.chat-note {
    margin-top: 10px;
    padding-left: 4px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: left;
}

.about-server {
    margin-top: 20px;
    padding: 20px 22px;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}

.news-more-wrapper {
    position: relative;
    width: 100%;
    margin-top: 22px;
    text-align: center;
}

.news-more-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 77, 0.35), transparent);
    transform: translateY(-50%);
}

.news-more {
    position: relative;
    z-index: 1;
    min-height: 38px;
    padding: 9px 18px;
    border: 1px solid var(--border-mid);
    color: #ffd0d0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
        var(--surface-solid);
}

.news-more:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--red-1), var(--red-3));
}

/* ==================== News images / lightbox ==================== */
.news-images {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 13px;
}

.news-thumb {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition:
        transform 0.22s var(--ease),
        opacity 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.news-thumb:hover {
    opacity: 0.92;
    transform: translateY(-2px) scale(1.035);
    border-color: var(--border-strong);
    box-shadow: 0 10px 22px rgba(255, 0, 0, 0.18);
}

.lightbox-overlay,
.players-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-overlay {
    background: rgba(0, 0, 0, 0.88);
}

.lightbox-overlay.active,
.players-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-img {
    max-width: min(92vw, 1280px);
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    user-select: none;
    box-shadow: 0 24px 70px rgba(0,0,0,0.6);
}

.lightbox-img.zoomed {
    cursor: zoom-out;
}

.lightbox-close,
.lightbox-nav,
.players-close {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    background: rgba(255,255,255,0.08);
    transition:
        background 0.2s ease,
        transform 0.2s var(--ease),
        border-color 0.2s ease;
    user-select: none;
}

.lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 10000;
    width: 44px;
    height: 44px;
    border: none;
    font-size: 28px;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.players-close:hover {
    background: rgba(255, 77, 77, 0.28);
    border-color: rgba(255, 77, 77, 0.36);
    transform: scale(1.04);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 10000;
    width: 50px;
    height: 50px;
    font-size: 28px;
    transform: translateY(-50%);
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.04);
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 10000;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-pill);
    color: rgba(255,255,255,0.68);
    background: rgba(0,0,0,0.34);
    font-size: 13px;
    pointer-events: none;
    transform: translateX(-50%);
}
/* Лайтбокс оверлей и элементы */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000; /* поверх всего */
  overflow: hidden;
}

/* Изображение */
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  cursor: default;
  transition: transform 0.25s ease;
  touch-action: none; /* захватываем жесты */
}



/* Кнопки навигации и закрытия */
.lightbox-nav, .lightbox-close {
  position: absolute;
  background: rgba(50,50,50,0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}
.lightbox-nav:hover, .lightbox-close:hover {
  background: rgba(80,80,80,0.8);
}
.lightbox-nav.prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-close { top: 1rem; right: 1rem; font-size: 2.5rem; }

/* Класс для блокировки скролла при открытии */
.lightbox-open { overflow: hidden; }

/* ==================== Players modal ==================== */
.players-overlay {
    padding: 20px;
    background: rgba(0,0,0,0.70);
}

.players-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    max-height: 82vh;
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.016)),
        rgba(12, 2, 2, 0.96);
    box-shadow:
        0 24px 70px rgba(0,0,0,0.58),
        0 0 60px rgba(255, 0, 0, 0.10);
    animation: playersModalShow 0.22s var(--ease);
}

.players-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-soft);
    color: #ffd0d0;
    background: rgba(255,255,255,0.025);
    font-size: 18px;
    font-weight: 850;
}

.players-close {
    width: 34px;
    height: 34px;
    border: none;
    color: rgba(255,255,255,0.72);
    font-size: 22px;
    background: rgba(255,255,255,0.055);
}

.players-modal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    overflow-y: auto;
}

.players-modal-list::-webkit-scrollbar {
    width: 10px;
}

.players-modal-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.035);
    border-radius: var(--radius-pill);
}

.players-modal-list::-webkit-scrollbar-thumb {
    border: 2px solid rgba(15, 0, 0, 0.9);
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, rgba(255, 77, 77, 0.78), rgba(120, 18, 18, 0.95));
}

.players-modal-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 96, 96, 0.95), rgba(160, 30, 30, 1));
}

.players-modal-item {
    padding: 14px 16px;
    border: 1px solid rgba(255, 118, 118, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-soft);
    background: rgba(255,255,255,0.03);
    font-size: 15px;
    transition:
        transform 0.18s var(--ease),
        border-color 0.18s ease,
        background 0.18s ease;
}

.players-modal-item:hover {
    transform: translateX(3px);
    border-color: rgba(255, 118, 118, 0.30);
    background: rgba(255,255,255,0.055);
}

@keyframes playersModalShow {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==================== Spawn gallery ==================== */
.spawn-title {
    margin: 34px 0 42px;
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
}

.spawn-gallery {
    display: flex;
    flex-direction: column;
    gap: 38px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.spawn-item {
    padding: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.6s var(--ease),
        transform 0.6s var(--ease),
        border-color 0.25s ease,
        background 0.25s ease;
}

.spawn-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.spawn-image-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,0.38);
}

.spawn-image-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: inherit;
}

.spawn-main-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
    cursor: pointer;
    transition: transform 0.45s var(--ease), filter 0.45s ease;
}

.spawn-main-img:hover {
    transform: scale(1.025);
    filter: contrast(1.04) saturate(1.05);
}

.spawn-date {
    margin-top: 12px;
    padding-right: 8px;
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
    text-align: right;
}

/* ==================== Payment / offer / forms ==================== */
.payment-info {
    margin-top: 20px;
    padding: 20px;
    text-align: left;
}

.payment-info.success { border-left-color: var(--green-1); }
.payment-info.pending { border-left-color: var(--red-1); }

.payment-title {
    margin-bottom: 15px;
    color: #ffe0e0;
    font-size: 18px;
    font-weight: 850;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.055);
    color: var(--text-soft);
    font-size: 15px;
}

.payment-row:last-child { border-bottom: none; }
.status { color: var(--text-soft); font-weight: 850; }
.payment-info .status.success { color: var(--green-0) !important; }
.payment-info .status.pending { color: var(--red-0) !important; }

.rid {
    color: var(--text-muted);
    font-size: 13px;
    word-break: break-all;
}

.offer-block {
    width: 100%;
    margin-top: 15px;
    color: #cfc0c0;
    font-size: 14px;
    text-align: left;
}

.offer-text a,
.offer-checkbox a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(207, 192, 192, 0.62);
    text-underline-offset: 3px;
}

.offer-checkbox {
    margin: 4px 0;
}

.offer-checkbox label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 6px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: background 0.18s ease;
}

.offer-checkbox label:hover {
    background: rgba(255, 77, 77, 0.07);
}

.offer-checkbox input {
    display: none;
    margin-right: 6px;
}

.checkmark {
    position: relative;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    background: #080404;
    transition:
        transform 0.18s var(--ease),
        background 0.18s ease,
        border-color 0.18s ease;
}

.checkmark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
}

.offer-checkbox input:checked + .checkmark {
    border-color: var(--red-0);
    background: linear-gradient(to bottom, #260606, var(--red-1));
}

.offer-checkbox input:checked + .checkmark::after {
    opacity: 1;
}

.offer-checkbox label:active .checkmark {
    transform: scale(0.92);
}

.input-wrap {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 13px;
}

.input-hint {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.vip-input {
    display: block;
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    outline: none;
    color: #fff;
    background: rgba(0,0,0,0.34);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vip-input::placeholder { color: rgba(255,255,255,0.38); }

.vip-input:focus {
    border-color: rgba(255, 224, 138, 0.82);
    background: rgba(0,0,0,0.44);
    box-shadow:
        0 0 0 3px rgba(255, 224, 138, 0.16),
        0 0 18px rgba(255, 224, 138, 0.10);
}

.error-slot {
    overflow: hidden;
    max-height: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.45s var(--ease), opacity 0.25s ease, transform 0.3s var(--ease), margin 0.25s ease;
}

.error-slot.show {
    max-height: 110px;
    margin: 10px 0 2px;
    opacity: 1;
    transform: translateY(0);
}

.error-box {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 80, 80, 0.42);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 71, 71, 0.90), rgba(145, 18, 18, 0.92));
    box-shadow: 0 12px 26px rgba(255, 45, 45, 0.18);
    font-size: 13.5px;
    line-height: 1.4;
}

.payment-notes {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 13px;
    color: var(--text-dim);
    font-size: 13px;
    text-align: center;
}

/* ==================== Privileges / VIP shop ==================== */
.priv-cards { display: grid; gap: 18px; }
.priv-card.owner { border-left-color: var(--red-0); }
.priv-card.legend { border-left-color: var(--purple); }
.priv-card.vip { border-left-color: var(--gold-1); }
.priv-card.old { border-left-color: var(--orange); }
.priv-card.overwatch { border-left-color: var(--gray); }

.priv-card.vip .vip-content,
.priv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.vip-text { flex: 1; text-align: left; }

.priv-card h2 {
    margin: 0 0 10px;
    color: #ffd0d0;
    font-size: 20px;
    line-height: 1.25;
}

.priv-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== Rules page ==================== */
.rules-page {
    max-width: 1060px;
}

.rules-hero {
    position: relative;
    margin: 0 0 22px;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(255, 77, 77, 0.18);
    border-radius: var(--radius-lg);
    text-align: left;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 77, 77, 0.15), transparent 34%),
        radial-gradient(circle at 92% 12%, rgba(255, 224, 138, 0.075), transparent 30%),
        linear-gradient(145deg, rgba(43, 7, 7, 0.82), rgba(13, 2, 2, 0.82));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 20px 52px rgba(0,0,0,0.26),
        0 0 48px rgba(255, 0, 0, 0.08);
    overflow: hidden;
}

.rules-hero::after {
    content: "HW";
    position: absolute;
    right: 18px;
    bottom: -8px;
    color: rgba(255,255,255,0.035);
    font-size: clamp(62px, 12vw, 128px);
    font-weight: 950;
    line-height: .8;
    letter-spacing: -0.08em;
    pointer-events: none;
}

.rules-hero-kicker,
.rules-note-kicker {
    width: fit-content;
    margin-bottom: 9px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 224, 138, 0.18);
    border-radius: var(--radius-pill);
    color: var(--gold-0);
    background: rgba(255, 224, 138, 0.055);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rules-hero h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 9px;
    color: #fff1f1;
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-shadow: 0 0 24px rgba(255, 77, 77, 0.20);
}

.rules-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: #d9baba;
    font-size: 15.5px;
    line-height: 1.65;
}

.rules-tree {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 18px;
    text-align: left;
}

.rules-tree::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 26px;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 77, 77, 0.20), transparent);
}

.rule-card {
    position: relative;
    margin: 0;
    padding: 18px;
    border-left-color: rgba(255, 77, 77, 0.55);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 77, 77, 0.075), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,0.046), rgba(255,255,255,0.014)),
        rgba(27, 5, 5, 0.74);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.045),
        0 16px 38px rgba(0,0,0,0.25);
    overflow: hidden;
}

.rule-card::before {
    display: none;
}

.rule-card::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -70px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(255, 77, 77, 0.07);
    filter: blur(3px);
    pointer-events: none;
}

.rule-card:hover {
    border-color: rgba(255, 118, 118, 0.30);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 77, 77, 0.11), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.058), rgba(255,255,255,0.018)),
        rgba(35, 7, 7, 0.78);
}

.rule-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
}

.rule-number,
.rule-subnumber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.rule-number {
    min-width: 48px;
    min-height: 38px;
    border: 1px solid rgba(255, 77, 77, 0.24);
    border-radius: 14px;
    color: #ffe2e2;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015)),
        rgba(255, 77, 77, 0.072);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 22px rgba(255, 77, 77, 0.10);
    font-size: 15px;
}

.rule-content h2 {
    margin: 0 0 6px;
    color: #ffe2e2;
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.rule-content p,
.rule-child p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.62;
}

.rule-content p {
    font-size: 15px;
}

.rule-children {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 9px;
    margin: 15px 0 0 62px;
    padding-left: 20px;
}

.rule-children::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    bottom: 17px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 77, 77, 0.30), rgba(255, 77, 77, 0.075));
}

.rule-child {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 11px 12px;
    border: 1px solid rgba(255, 118, 118, 0.095);
    border-radius: 13px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.034), rgba(255,255,255,0.012)),
        rgba(0, 0, 0, 0.075);
}

.rule-child::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 24px;
    width: 20px;
    height: 1px;
    background: rgba(255, 77, 77, 0.22);
}

.rule-subnumber {
    width: fit-content;
    min-width: 38px;
    min-height: 25px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 224, 138, 0.14);
    border-radius: 10px;
    color: #ffe9b0;
    background: rgba(255, 224, 138, 0.043);
    font-size: 12px;
}

.rule-child p {
    font-size: 14px;
}

.rule-punishment {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 14px 0 0 62px;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,0.066);
    border-radius: 14px;
    background: rgba(0,0,0,0.13);
}

.rule-punishment-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #cfa2a2;
    background: rgba(255,255,255,0.035);
    font-size: 10.5px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rule-punishment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.penalty {
    --penalty-color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 27px;
    padding: 4px 8px;
    border: 1px solid color-mix(in srgb, var(--penalty-color) 20%, rgba(255,255,255,0.055));
    border-radius: 999px;
    color: #d8c4c4;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.030), rgba(255,255,255,0.010)),
        color-mix(in srgb, var(--penalty-color) 5%, transparent);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.12;
}

.penalty-type {
    color: var(--penalty-color);
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.penalty-type::after {
    content: ":";
    color: rgba(255,255,255,0.28);
    margin-left: 1px;
}

.penalty-warn {
    --penalty-color: var(--gold-0);
}

.penalty-mute {
    --penalty-color: #f2eaea;
}

.penalty-ban {
    --penalty-color: var(--red-0);
}

.rules-admin-note,
.rules-contact {
    margin-top: 26px;
    text-align: left;
}

.rules-admin-note {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255, 77, 77, 0.16);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 77, 77, 0.10), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,0.040), rgba(255,255,255,0.014)),
        rgba(17, 3, 3, 0.60);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.052),
        0 16px 38px rgba(0,0,0,0.22);
    overflow: hidden;
}

.rules-admin-note .title {
    margin-bottom: 12px;
    color: #ffe2e2;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 950;
    letter-spacing: -0.02em;
}

.rules-actions-list {
    display: grid;
    gap: 10px;
}

.rules-action-item {
    display: grid;
    grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr);
    gap: 12px;
    padding: 12px 13px;
    border: 1px solid rgba(255, 118, 118, 0.095);
    border-radius: 14px;
    background: rgba(255,255,255,0.022);
}

.rules-action-item b {
    color: #ffe9b0;
    font-size: 13px;
    line-height: 1.45;
}

.rules-action-item span {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.55;
}

.rules-contact {
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0.010)),
        rgba(255,255,255,0.018);
    text-align: center;
}

.rules-contact .text {
    color: #d8c4c4;
    font-size: 15.5px;
    line-height: 1.6;
}

.rules-contact a {
    color: #ffbbbb;
    font-weight: 850;
    text-decoration: underline;
    text-decoration-color: rgba(255, 187, 187, 0.48);
    text-underline-offset: 4px;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.rules-contact a:hover {
    color: #fff;
    text-decoration-color: var(--red-0);
}

@media (max-width: 700px) {
    .rules-hero {
        padding: 17px 14px;
    }

    .rules-hero h2 {
        font-size: clamp(23px, 8vw, 32px);
    }

    .rules-tree::before {
        display: none;
    }

    .rule-card {
        padding: 15px 13px;
    }

    .rule-main {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rule-number {
        width: fit-content;
        min-height: 31px;
        padding: 6px 10px;
    }

    .rule-children {
        margin-left: 0;
        padding-left: 15px;
    }

    .rule-child {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 11px 12px;
    }

    .rule-child::before {
        left: -15px;
        width: 15px;
    }

    .rule-subnumber {
        width: fit-content;
    }

    .rule-punishment {
        grid-template-columns: 1fr;
        align-items: flex-start;
        margin-left: 0;
        padding: 10px;
    }

    .penalty {
        width: auto;
        max-width: 100%;
    }

    .rules-admin-note,
    .rules-contact {
        margin-top: 20px;
        padding: 15px 13px;
    }

    .rules-action-item {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 11px 12px;
    }

    .rules-contact .text,
    .rules-action-item span {
        font-size: 14.5px;
    }
}

.priv-card.vip-shop {
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin: 18px 0 0 !important;
    padding: clamp(18px, 3vw, 26px);
    text-align: left;
    border: 1px solid rgba(255, 88, 88, 0.24);
    border-left: 4px solid var(--gold-1);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 224, 138, 0.10), transparent 34%),
        radial-gradient(circle at 90% 5%, rgba(93, 255, 164, 0.08), transparent 28%),
        linear-gradient(145deg, rgba(42, 8, 8, 0.90), rgba(15, 4, 4, 0.96));
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.36), 0 12px 32px rgba(255, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    opacity: 1;
    transform: none;
    overflow: hidden;
}

.vip-shop-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    width: 100%;
}

.vip-shop-title-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.vip-shop-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 27px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 224, 138, 0.20);
    border-radius: var(--radius-pill);
    color: #f7d87a;
    background: rgba(255, 224, 138, 0.065);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vip-title {
    margin: 0;
    color: var(--gold-0);
    font-size: clamp(44px, 7vw, 74px);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: 0.025em;
    text-align: left;
    text-shadow:
        0 0 18px rgba(255, 224, 138, 0.24),
        0 0 36px rgba(255, 138, 61, 0.13);
}

.vip-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 7px;
    min-width: 190px;
    text-align: right;
}

.vip-price-line {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.vip-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 224, 138, 0.34);
    border-radius: var(--radius-pill);
    color: var(--gold-0);
    background: rgba(255, 224, 138, 0.09);
    box-shadow: 0 0 16px rgba(255, 224, 138, 0.10);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}


.vip-old-price {
    position: relative;
    width: fit-content;
    color: rgba(255, 255, 255, 0.48);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 800;
    line-height: 1.1;
}

.vip-old-price::after {
    content: "";
    position: absolute;
    left: -5px;
    right: -5px;
    top: 50%;
    height: 2px;
    border-radius: var(--radius-pill);
    background: rgba(255, 77, 77, 0.72);
    transform: rotate(-10deg);
}

.vip-new-price {
    color: var(--red-0);
    font-size: clamp(25px, 3.1vw, 34px);
    font-weight: 950;
    line-height: 1.08;
    text-shadow: 0 0 17px rgba(255, 77, 77, 0.18);
}

.vip-shop-hint {
    display: block;
    width: 100%;
    margin: 12px 0 16px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 4px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.026);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
}

.vip-shop-hint.is-error {
    color: var(--red-0);
    border-color: rgba(255, 77, 77, 0.20);
    border-left-color: var(--red-0);
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.075), rgba(255, 255, 255, 0.018));
}

.vip-shop-hint.is-ok {
    color: #dfffea;
    border-color: rgba(93, 255, 164, 0.16);
    border-left-color: var(--green-1);
    background: linear-gradient(135deg, rgba(93, 255, 164, 0.065), rgba(255, 255, 255, 0.020));
}

.vip-shop-hint.is-info {
    color: #ffe9ad;
    border-color: rgba(255, 224, 138, 0.18);
    border-left-color: var(--gold-1);
    background: linear-gradient(135deg, rgba(255, 224, 138, 0.065), rgba(255, 255, 255, 0.020));
}

.vip-features-panel {
    width: 100%;
    margin: 0 0 16px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.028);
}

.vip-features {
    margin: 0;
    padding-left: 21px;
    color: var(--text-soft);
    text-align: left;
    line-height: 1.75;
    font-size: 15px;
}

.vip-features li + li { margin-top: 4px; }

.vip-buy {
    width: 100%;
    min-height: 50px;
    margin-top: 16px;
    padding: 15px 16px;
    border-radius: 14px;
    color: #221300;
    background: linear-gradient(135deg, #ffe08a, #e0a22c);
    box-shadow: 0 16px 34px rgba(224, 184, 71, 0.16), inset 0 1px 0 rgba(255,255,255,0.24);
    font-size: 15px;
    font-weight: 950;
    letter-spacing: 0.04em;
}

.vip-buy:hover:not(.disabled) {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #fff0a8, #e8aa32);
}

.vip-buy.disabled {
    cursor: not-allowed;
    color: rgba(255,255,255,0.66);
    opacity: 0.7;
    filter: grayscale(0.15);
    background: linear-gradient(135deg, #575757, #333333);
    box-shadow: none;
}

.vip-buy.active {
    background: linear-gradient(135deg, #ffe680, #ff9f2f);
    transform: scale(1.01);
}

@media (max-width: 950px) {
    .priv-card.vip-shop {
        margin-top: 15px !important;
        padding: 18px 15px;
        border-radius: 19px;
    }

    .vip-shop-header {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .vip-shop-title-side {
        align-items: center;
        text-align: center;
    }

    .vip-title {
        text-align: center;
        font-size: clamp(46px, 16vw, 64px);
    }

    .vip-price-block {
        width: 100%;
        min-width: 0;
        align-items: center;
        text-align: center;
    }

    .vip-shop-hint {
        text-align: center;
        font-size: 18px;
    }

    .vip-features-panel { padding: 14px 15px; }
    .vip-features { font-size: 14.5px; }
}

@media (max-width: 560px) {
    .priv-card.vip-shop { padding: 16px 13px; }
    .offer-checkbox label { align-items: flex-start; padding: 10px 11px; }
    .vip-shop-hint { padding: 12px 13px; font-size: 17px; }
}

/* ==================== Footer ==================== */
.footer {
    width: 100%;
    margin-top: 42px;
    padding: 18px 20px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    background: rgba(8, 2, 2, 0.52);
    font-size: 13px;
    text-align: left;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-col.right {
    align-items: flex-end;
    text-align: right;
}

.footer-left,
.footer-right {
    min-width: 0;
}

.footer a {
    color: #c88282;
    text-decoration: none;
    transition: color 0.18s ease;
}

.footer a:hover {
    color: var(--red-0);
}

.footer-disclaimer,
.footer-cookies {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 118, 118, 0.13);
    text-align: center;
}

.footer-disclaimer {
    color: #a96565;
    font-size: 12px;
}

.footer-cookies {
    color: var(--text-dim);
    font-size: 11px;
    line-height: 1.5;
    word-break: break-word;
}

/* ==================== Utility animations ==================== */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Photo ==================== */

html.lightbox-open,
html.lightbox-open body {
    overscroll-behavior: none;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 40%, rgba(110, 18, 18, 0.22), transparent 42%),
        rgba(0, 0, 0, 0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    touch-action: none;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-stage {
    position: absolute;
    inset: 72px 86px 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: default;
}

.lightbox-stage.is-zoomed {
    cursor: grab;
}

.lightbox-stage.is-zoomed:active {
    cursor: grabbing;
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
    transform-origin: center center;
    transition: none;
    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lightbox-overlay.is-loading .lightbox-img {
    opacity: 0.35;
}

.lightbox-overlay.is-loading::after {
    content: "";
    position: fixed;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    margin-top: -17px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 90, 90, 0.95);
    animation: lightboxSpin 0.8s linear infinite;
    pointer-events: none;
}

@keyframes lightboxSpin {
    to { transform: rotate(360deg); }
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    background: rgba(22, 4, 4, 0.74);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        opacity 0.18s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(150, 28, 28, 0.82);
    border-color: rgba(255, 90, 90, 0.35);
    transform: translateY(-1px) scale(1.04);
}

.lightbox-close:active,
.lightbox-nav:active {
    transform: scale(0.96);
}

.lightbox-close {
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    width: 46px;
    height: 46px;
    border-radius: 999px;
    font-size: 23px;
    line-height: 1;
}

.lightbox-nav {
    top: 50%;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    font-size: 38px;
    line-height: 1;
}

.lightbox-prev {
    left: max(18px, env(safe-area-inset-left));
    transform: translateY(-50%);
}

.lightbox-next {
    right: max(18px, env(safe-area-inset-right));
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.04);
}

.lightbox-nav[hidden] {
    display: none;
}

.lightbox-bottom {
    position: fixed;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 10000;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: min(92vw, 640px);
    pointer-events: none;
}

.lightbox-counter {
    min-height: 18px;
    padding: 5px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(22, 4, 4, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-hint {
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
    text-align: center;
}

.news-thumb,
.spawn-main-img,
[data-lightbox],
[data-lightbox-group] {
    cursor: default;
}


@media (max-width: 700px) {
    .lightbox-stage {
        inset: 64px 0 72px;
        padding: 0 8px;
    }

    .lightbox-img {
        border-radius: 10px;
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 148px);
    }

    .lightbox-close {
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        width: 44px;
        height: 44px;
        font-size: 21px;
    }

    .lightbox-nav {
        top: auto;
        bottom: max(18px, env(safe-area-inset-bottom));
        width: 46px;
        height: 46px;
        font-size: 30px;
        background: rgba(22, 4, 4, 0.82);
    }

    .lightbox-prev {
        left: max(12px, env(safe-area-inset-left));
        transform: none;
    }

    .lightbox-next {
        right: max(12px, env(safe-area-inset-right));
        transform: none;
    }

    .lightbox-prev:hover,
    .lightbox-next:hover {
        transform: scale(1.04);
    }

    .lightbox-bottom {
        bottom: max(22px, env(safe-area-inset-bottom));
        max-width: 58vw;
    }

    .lightbox-hint {
        display: none;
    }

    .lightbox-counter {
        font-size: 12px;
        padding: 5px 10px;
    }
    .command {
        grid-template-columns: 160px 1fr;
        column-gap: 16px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .lightbox-stage {
        cursor: default;
    }

    .lightbox-close:hover,
    .lightbox-nav:hover {
        transform: none;
    }

    .lightbox-prev:hover,
    .lightbox-next:hover {
        transform: none;
    }
}


/* ==================== Tablet / mobile ==================== */
@media (max-width: 950px) {
    body {
        padding: 18px 10px;
        background-attachment: scroll;
    }

    .box {
        padding: 18px 12px;
        border-radius: 18px;
    }

    .logo {
        margin-bottom: 18px;
        font-size: clamp(38px, 13vw, 54px);
    }

    .main-server-block {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 26px;
    }

    .buttons-vertical {
        order: 1;
        width: 100%;
    }

    .server-info {
        order: 3;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 16px;
    }

    .buttons-vertical a,
    .single-button a {
        padding: 14px 16px;
        font-size: 16px;
    }

    .donate-button {
        width: 100%;
        margin: 10px 0;
    }

    .news-title {
        font-size: 30px;
    }

    .news {
        padding-left: 22px;
    }

    .item::before {
        left: -29px;
    }

    .title {
        font-size: 18px;
    }

    .text,
    .about-server {
        font-size: 14.5px;
    }

    .news-thumb {
        width: 72px;
        height: 72px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .players-modal {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 18px;
    }

    .players-modal-header {
        padding: 16px;
        font-size: 16px;
    }

    .players-modal-item {
        padding: 13px 14px;
        font-size: 14px;
    }

    .online-row,
    .online-top {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .online-text {
        align-items: center;
    }

    .show-all-players {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }

    .online-dot {
        width: 9px;
        height: 9px;
        min-width: 9px;
        margin-right: 4px;
    }

    .spawn-title {
        margin: 26px 0 34px;
        font-size: 32px;
    }

    .spawn-gallery {
        gap: 30px;
    }

    .spawn-item {
        padding: 15px;
        border-radius: 14px;
    }

    .spawn-image-container,
    .spawn-main-img {
        max-width: 100%;
        border-radius: 13px;
    }

    .spawn-date {
        margin-top: 10px;
        font-size: 13px;
    }

    .single-button {
        margin: 15px auto 25px;
    }

    .priv-cards {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .priv-card.vip .vip-content,
    .vip-top,
    .priv-header {
        flex-direction: column;
        gap: 10px;
    }

    .vip-price,
    .vip-price-block {
        justify-content: flex-start;
        text-align: left;
    }

    .vip-buy {
        padding: 12px 14px;
        font-size: 14px;
    }

    .vip-shop {
        margin-top: 15px;
    }

    .error-box {
        padding: 8px 10px;
        border-radius: 8px;
        font-size: 12px;
    }

    .vip-input {
        font-size: 14px;
    }

    .input-wrap {
        margin-top: 12px;
    }

    .footer-row {
        flex-direction: column;
        gap: 10px;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
    }

    .footer-col.right {
        align-items: flex-start;
        text-align: left;
    }

    .footer-disclaimer,
    .footer-cookies {
        text-align: left;
    }

    .footer-cookies {
        font-size: 10px;
        line-height: 1.45;
    }
}

@media (max-width: 560px) {
    .box {
        padding: 16px 10px;
    }

    .server-info,
    .item,
    .priv-card,
    .about-server,
    .payment-info {
        padding: 15px;
    }

    .command,
    .payment-row {
        flex-direction: column;
        align-items: flex-start;
    }

        .commands {
        gap: 10px;
    }

    .command {
        grid-template-columns: 1fr;
        row-gap: 6px;
        align-items: start;
        min-height: auto;
    }

    .cmd,
    .desc {
        text-align: left;
    }


    .news {
        padding-left: 0;
    }

    .news::before,
    .item::before {
        display: none;
    }

    .news-images {
        gap: 8px;
    }

    .news-thumb {
        width: calc((100vw - 70px) / 4);
        height: calc((100vw - 70px) / 4);
        min-width: 62px;
        min-height: 62px;
        max-width: 76px;
        max-height: 76px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .lightbox-counter {
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ==================== VIP SHOP FINAL SAFETY OVERRIDE ==================== */
.priv-card.vip-shop {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.priv-card.vip-shop .vip-shop-hint:empty::before {
    content: "Покупка временно недоступна";
}

/* ==================== Final donate compatibility overrides ==================== */
.priv-card.vip-shop {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.priv-card.vip-shop .vip-shop-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    width: 100%;
}

.priv-card.vip-shop .vip-price-block {
    justify-content: flex-start;
    align-items: flex-end;
    text-align: right;
}

.priv-card.vip-shop .vip-old-price,
.priv-card.vip-shop .vip-new-price {
    white-space: nowrap;
}

@media (max-width: 950px) {
    .priv-card.vip-shop .vip-shop-header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .priv-card.vip-shop .vip-shop-title-side,
    .priv-card.vip-shop .vip-price-block {
        align-items: center;
        text-align: center;
    }

    .priv-card.vip-shop .vip-title {
        text-align: center;
        font-size: clamp(46px, 16vw, 64px);
    }

    .priv-card.vip-shop .vip-shop-hint {
        text-align: center;
        font-size: 13px;
    }
}

/* ==================== Discount + stock visibility polish ==================== */
.vip-shop-hint:empty {
    display: none !important;
}

.priv-card.vip-shop .vip-price-line {
    justify-content: flex-end;
}

@media (max-width: 950px) {
    .priv-card.vip-shop .vip-price-line {
        justify-content: center;
    }
}


/* =========================================================
   HardWorld Donate Mobile UX Fix
   Вставлено в конец styles/v2/styles.css
   Цель: аккуратная мобильная адаптация страницы /donate
   ========================================================= */

.priv-card.vip-shop,
.priv-card.vip-shop * {
    min-width: 0;
}

.priv-card.vip-shop {
    isolation: isolate;
    overflow: hidden;
}

.priv-card.vip-shop .vip-shop-header {
    align-items: center;
}

.priv-card.vip-shop .vip-price-block {
    max-width: 100%;
}

.priv-card.vip-shop .vip-price-line {
    max-width: 100%;
}

.priv-card.vip-shop .vip-new-price,
.priv-card.vip-shop .vip-old-price,
.priv-card.vip-shop .vip-discount,
.priv-card.vip-shop .vip-shop-hint,
.priv-card.vip-shop .vip-features,
.priv-card.vip-shop .offer-block,
.priv-card.vip-shop .offer-checkbox label,
.priv-card.vip-shop .input-hint,
.priv-card.vip-shop .error-box {
    overflow-wrap: anywhere;
    word-break: normal;
}

.priv-card.vip-shop .vip-input {
    min-height: 50px;
    font-size: 16px;
    line-height: 1.25;
}

.priv-card.vip-shop .vip-buy {
    min-height: 54px;
    touch-action: manipulation;
}

.priv-card.vip-shop .offer-checkbox label {
    min-height: 44px;
    touch-action: manipulation;
}

@media (max-width: 950px) {
    .priv-card.vip-shop {
        padding: clamp(18px, 4vw, 24px);
    }

    .priv-card.vip-shop .vip-shop-header {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 14px;
        text-align: center;
    }

    .priv-card.vip-shop .vip-shop-title-side,
    .priv-card.vip-shop .vip-price-block {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .priv-card.vip-shop .vip-price-line {
        justify-content: center;
    }

    .priv-card.vip-shop .vip-title {
        font-size: clamp(48px, 14vw, 66px);
        line-height: 0.9;
    }

    .priv-card.vip-shop .vip-new-price {
        font-size: clamp(27px, 7vw, 36px);
    }
}

@media (max-width: 480px) {
    body {
        padding-left: 10px;
        padding-right: 10px;
    }

    .box {
        width: 100%;
        padding: 16px 10px;
        border-radius: 18px;
    }

    .logo {
        margin-bottom: 18px;
        font-size: clamp(36px, 15vw, 54px);
        line-height: 0.95;
        letter-spacing: 1.5px;
    }

    .single-button {
        margin-bottom: 18px;
    }

    .single-button a {
        min-height: 46px;
        padding: 12px 14px;
        font-size: 15px;
        line-height: 1.2;
    }

    .priv-card.vip-shop {
        margin-top: 12px !important;
        padding: 15px 11px !important;
        border-radius: 18px;
        border-left-width: 3px;
    }

    .priv-card.vip-shop .vip-shop-header {
        gap: 12px;
    }

    .priv-card.vip-shop .vip-shop-label {
        min-height: 28px;
        padding: 6px 10px;
        font-size: 10.5px;
        letter-spacing: 0.07em;
    }

    .priv-card.vip-shop .vip-title {
        font-size: clamp(44px, 18vw, 58px);
        line-height: 0.92;
        text-align: center;
    }

    .priv-card.vip-shop .vip-price-block {
        gap: 6px;
        min-width: 0;
    }

    .priv-card.vip-shop .vip-price-line {
        display: flex;
        justify-content: center;
        gap: 7px;
    }

    .priv-card.vip-shop .vip-old-price {
        font-size: 15px;
        line-height: 1.15;
    }

    .priv-card.vip-shop .vip-new-price {
        font-size: clamp(26px, 9vw, 34px);
        line-height: 1.08;
        letter-spacing: -0.02em;
        white-space: normal;
    }

    .priv-card.vip-shop .vip-discount {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 13px;
        line-height: 1;
    }

    .priv-card.vip-shop .vip-shop-hint {
        margin: 12px 0 14px;
        padding: 11px 12px;
        border-radius: 13px;
        font-size: 14px;
        line-height: 1.45;
        text-align: center;
    }

    .priv-card.vip-shop .vip-features-panel {
        margin-bottom: 14px;
        padding: 13px 12px;
        border-radius: 16px;
    }

    .priv-card.vip-shop .vip-features {
        padding-left: 18px;
        font-size: 14.5px;
        line-height: 1.62;
    }

    .priv-card.vip-shop .vip-features li + li {
        margin-top: 6px;
    }

    .priv-card.vip-shop .offer-block {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.45;
    }

    .priv-card.vip-shop .offer-checkbox {
        margin: 7px 0;
    }

    .priv-card.vip-shop .offer-checkbox label {
        align-items: flex-start;
        gap: 10px;
        min-height: 46px;
        padding: 11px 11px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.025);
    }

    .priv-card.vip-shop .offer-checkbox label:hover {
        background: rgba(255, 77, 77, 0.055);
    }

    .priv-card.vip-shop .checkmark {
        width: 22px;
        height: 22px;
        min-width: 22px;
        margin-top: 1px;
        border-radius: 7px;
    }

    .priv-card.vip-shop .checkmark::after {
        left: 7px;
        top: 3px;
        width: 5px;
        height: 10px;
    }

    .priv-card.vip-shop .input-wrap {
        margin-top: 12px;
        gap: 6px;
    }

    .priv-card.vip-shop .vip-input {
        min-height: 52px;
        padding: 14px 14px;
        border-radius: 14px;
        font-size: 16px;
        line-height: 1.25;
    }

    .priv-card.vip-shop .input-hint {
        font-size: 12px;
        line-height: 1.45;
    }

    .priv-card.vip-shop .error-slot.show {
        max-height: 150px;
        margin: 10px 0 4px;
    }

    .priv-card.vip-shop .error-box {
        padding: 11px 12px;
        border-radius: 13px;
        font-size: 13px;
        line-height: 1.45;
    }

    .priv-card.vip-shop .vip-buy {
        min-height: 56px;
        margin-top: 14px;
        padding: 15px 16px;
        border-radius: 15px;
        font-size: 16px;
        line-height: 1.15;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 360px) {
    body {
        padding-left: 8px;
        padding-right: 8px;
    }

    .box {
        padding-left: 8px;
        padding-right: 8px;
        border-radius: 16px;
    }

    .priv-card.vip-shop {
        padding: 14px 9px !important;
        border-radius: 16px;
    }

    .priv-card.vip-shop .vip-title {
        font-size: 42px;
    }

    .priv-card.vip-shop .vip-new-price {
        font-size: 25px;
    }

    .priv-card.vip-shop .vip-features {
        font-size: 14px;
        line-height: 1.58;
    }

    .priv-card.vip-shop .offer-checkbox label {
        padding: 10px;
    }
}

.priv-card.vip-shop .vip-shop-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
    align-items: stretch;
    gap: 18px;
    width: 100%;
}

.priv-card.vip-shop .vip-shop-title-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 132px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 224, 138, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 224, 138, 0.13), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016)),
        rgba(15, 3, 3, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 14px 34px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

.priv-card.vip-shop .vip-shop-title-side::before {
    content: "";
    position: absolute;
    right: -42px;
    top: -56px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(255, 224, 138, 0.12);
    filter: blur(4px);
    pointer-events: none;
}

.priv-card.vip-shop .vip-shop-title-side::after {
    position: absolute;
    right: 14px;
    bottom: 10px;
    color: rgba(255, 255, 255, 0.045);
    font-size: 34px;
    font-weight: 950;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.priv-card.vip-shop .vip-shop-label {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin-bottom: 7px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 224, 138, 0.22);
    border-radius: 999px;
    color: var(--gold-0);
    background: rgba(255, 224, 138, 0.075);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.priv-card.vip-shop .vip-title {
    position: relative;
    z-index: 1;
    margin: 0;
    width: fit-content;
    color: #fff4c4;
    font-size: clamp(58px, 8vw, 96px);
    font-weight: 950;
    line-height: 0.82;
    letter-spacing: -0.07em;
    text-shadow:
        0 0 14px rgba(255, 224, 138, 0.30),
        0 0 44px rgba(255, 77, 77, 0.20);
}

.priv-card.vip-shop .vip-title::first-letter {
    color: var(--gold-0);
}

.priv-card.vip-shop .vip-price-block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    min-width: 220px;
    padding: 18px 18px;
    border: 1px solid rgba(255, 77, 77, 0.18);
    border-radius: 18px;
    text-align: right;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 77, 77, 0.16), transparent 42%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
        rgba(18, 3, 3, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.075),
        0 14px 34px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

.priv-card.vip-shop .vip-price-block::before {
    content: "PRICE";
    position: absolute;
    left: 14px;
    top: 12px;
    color: rgba(255, 255, 255, 0.055);
    font-size: 21px;
    font-weight: 950;
    letter-spacing: 0.10em;
    pointer-events: none;
}

.priv-card.vip-shop .vip-price-line {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
    max-width: 100%;
}

.priv-card.vip-shop .vip-new-price {
    color: #ff5b5b;
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 950;
    line-height: 0.96;
    letter-spacing: -0.055em;
    text-shadow:
        0 0 14px rgba(255, 77, 77, 0.28),
        0 0 34px rgba(255, 77, 77, 0.14);
    white-space: nowrap;
}

.priv-card.vip-shop .vip-old-price {
    position: relative;
    z-index: 1;
    width: fit-content;
    color: rgba(255, 255, 255, 0.48);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.priv-card.vip-shop .vip-duration-text {
    position: relative;
    z-index: 1;
    color: rgba(255, 235, 235, 0.74);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.priv-card.vip-shop .vip-stock-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(93, 255, 164, 0.22);
    border-radius: 999px;
    color: #dcffe9;
    background:
        linear-gradient(135deg, rgba(93, 255, 164, 0.115), rgba(255, 255, 255, 0.026));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 24px rgba(93, 255, 164, 0.08);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
    white-space: nowrap;
}

.priv-card.vip-shop .vip-stock-badge.is-empty {
    color: #ffd2d2;
    border-color: rgba(255, 77, 77, 0.24);
    background:
        linear-gradient(135deg, rgba(255, 77, 77, 0.105), rgba(255, 255, 255, 0.026));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 24px rgba(255, 77, 77, 0.08);
}

.priv-card.vip-shop .vip-stock-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 999px;
    background: var(--green-0);
    box-shadow: 0 0 12px rgba(93, 255, 164, 0.85);
}

.priv-card.vip-shop .vip-stock-badge.is-empty .vip-stock-dot {
    background: var(--red-0);
    box-shadow: 0 0 12px rgba(255, 77, 77, 0.75);
}

.priv-card.vip-shop .vip-stock-text {
    overflow-wrap: anywhere;
}

@media (max-width: 950px) {
    .priv-card.vip-shop .vip-shop-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .priv-card.vip-shop .vip-shop-title-side,
    .priv-card.vip-shop .vip-price-block {
        align-items: center;
        min-width: 0;
        width: 100%;
        text-align: center;
    }

    .priv-card.vip-shop .vip-shop-label,
    .priv-card.vip-shop .vip-title,
    .priv-card.vip-shop .vip-stock-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .priv-card.vip-shop .vip-price-line {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .priv-card.vip-shop .vip-shop-title-side {
        min-height: 116px;
        padding: 15px 13px;
        border-radius: 16px;
    }

    .priv-card.vip-shop .vip-price-block {
        padding: 15px 13px;
        border-radius: 16px;
    }

    .priv-card.vip-shop .vip-shop-title-side::after {
        right: 10px;
        bottom: 8px;
        font-size: 25px;
    }

    .priv-card.vip-shop .vip-title {
        font-size: clamp(48px, 17vw, 62px);
    }

    .priv-card.vip-shop .vip-new-price {
        font-size: clamp(31px, 10vw, 40px);
    }

    .priv-card.vip-shop .vip-duration-text {
        font-size: 12.5px;
    }

    .priv-card.vip-shop .vip-stock-badge {
        min-height: 36px;
        padding: 8px 11px;
        font-size: 12.5px;
    }
}

@media (max-width: 360px) {
    .priv-card.vip-shop .vip-title {
        font-size: 44px;
    }

    .priv-card.vip-shop .vip-new-price {
        font-size: 30px;
    }

    .priv-card.vip-shop .vip-stock-badge {
        white-space: normal;
        text-align: center;
    }
}