/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font4.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/font6.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font4.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/font6.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font4.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/font6.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/font1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/font2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/font3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/font4.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/font5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/font6.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/font1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/font2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/font3.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/font4.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/font5.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/font6.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   LUNARIS — Minimal × Minecraft
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent-1: #89A37C;
  --accent-2: #4A9585;
  --accent-grad: linear-gradient(135deg, #9DB78F 0%, #89A37C 38%, #4A9585 100%);

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --font-ui: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-pixel: 'Manrope', system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---------- DARK ---------- */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg-0: #0c0f0d;
  --bg-1: #111614;
  --bg-2: #181e1b;
  --bg-3: #1e2622;
  --ink: #e8eeea;
  --ink-soft: #9eaaa3;
  --ink-faint: #5a6660;
  --border: rgba(255,255,255,.08);
  --border-hi: rgba(255,255,255,.16);
  --card-bg: #161b18;
  --card-shadow: 0 2px 16px rgba(0,0,0,.4);
  --card-shadow-hov: 0 8px 32px rgba(0,0,0,.55);
  --field-bg: #1a201d;
  --field-border: rgba(255,255,255,.1);
  --accent-glow: 0 8px 28px rgba(74,149,133,.45);
  --on-accent: #fff;
  --grid-line: rgba(255,255,255,.03);
}

/* ---------- LIGHT ---------- */
[data-theme="light"] {
  color-scheme: light;
  --bg-0: #f0f3f0;
  --bg-1: #f8faf7;
  --bg-2: #ffffff;
  --bg-3: #eef1ed;
  --ink: #14201a;
  --ink-soft: #4f5e57;
  --ink-faint: #96a49c;
  --border: rgba(0,0,0,.07);
  --border-hi: rgba(0,0,0,.14);
  --card-bg: #ffffff;
  --card-shadow: 0 2px 12px rgba(0,0,0,.08);
  --card-shadow-hov: 0 8px 28px rgba(0,0,0,.13);
  --field-bg: #f4f6f4;
  --field-border: rgba(0,0,0,.1);
  --accent-glow: 0 8px 24px rgba(74,149,133,.3);
  --on-accent: #fff;
  --grid-line: rgba(0,0,0,.025);
}

/* ============================================================
   BASE
   ============================================================ */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--bg-0);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .3s;
}

/* subtle pixel grid on bg */
.atmosphere {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 38px 38px;
}
/* accent blobs — softer without blur overlap */
.blob { display: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.layout { display: flex; flex-direction: column; min-height: 100vh; }
.main { flex: 1; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--bg-0); border-bottom: 1px solid var(--border);
  transition: background .5s var(--ease);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 28px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.cube {
  width: 28px; height: 28px; position: relative; flex: none;
}
.cube i { position: absolute; inset: 0; display: block; }
.cube .top   { clip-path: polygon(50% 0,100% 26%,50% 52%,0 26%); background: linear-gradient(#b6cfa8,#89A37C); }
.cube .left  { clip-path: polygon(0 26%,50% 52%,50% 100%,0 74%); background: linear-gradient(#6f9a8b,#4A9585); }
.cube .right { clip-path: polygon(50% 52%,100% 26%,100% 74%,50% 100%); background: linear-gradient(#5f8c7e,#3c7c6e); }
.brand-name {
  font-family: var(--font-pixel); font-weight: 600; font-size: 22px;
  letter-spacing: .5px; color: var(--ink); line-height: 1;
}
.brand-name b { color: var(--accent-1); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  text-decoration: none; padding: 8px 14px; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a.active { color: var(--ink); background: var(--bg-2); }

.theme-toggle {
  width: 38px; height: 38px; flex: none; cursor: pointer;
  border-radius: var(--r-sm); border: 1px solid var(--border);
  background: var(--bg-2); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .25s var(--ease), border-color .2s;
}
.theme-toggle:hover { transform: rotate(-15deg); border-color: var(--border-hi); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun  { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid; grid-template-columns: 1.85fr 1fr; gap: 16px;
  padding: 28px 0 8px;
}
.hero-main {
  border-radius: var(--r-lg); overflow: hidden; padding: 42px 44px;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px;
  background: var(--card-bg); border: 1px solid var(--border);
  box-shadow: var(--card-shadow); position: relative; min-height: 360px;
}
/* subtle accent wash */
.hero-main::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 100% at 90% 10%, rgba(74,149,133,.1), transparent 60%);
}
.hero-text { position: relative; z-index: 1; }
.hero-kicker {
  font-family: var(--font-pixel); font-size: 14px; letter-spacing: 1.5px;
  color: var(--accent-1); text-transform: uppercase; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-1); }
.hero-title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; line-height: 1.06; letter-spacing: -.8px; }
.hero-sub { margin-top: 10px; color: var(--ink-soft); font-size: 15px; max-width: 34ch; }
.hero-cta { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.hero-ip { font-family: var(--font-pixel); font-size: 15px; letter-spacing: .3px; display: inline-flex; align-items: center; gap: 8px; }
.hero-ip .copy-ic { font-family: var(--font-ui); font-size: 14px; color: var(--ink-faint); }

/* floating item */
.hero-feature { position: relative; z-index: 1; display: grid; place-items: center; min-height: 260px; }
.feature-glow {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,149,133,.3), transparent 65%);
  filter: blur(22px); animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ opacity:.8; transform: scale(1) } 50%{ opacity:1; transform: scale(1.08) } }
.feature-ground {
  position: absolute; bottom: 4%; width: 55%; height: 20px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.3), transparent 70%); filter: blur(6px);
}
[data-theme="light"] .feature-ground { background: radial-gradient(ellipse, rgba(40,72,58,.18), transparent 70%); }
.feature-img {
  position: relative; z-index: 1; width: min(230px, 90%); height: auto;
  object-fit: contain; image-rendering: pixelated; image-rendering: crisp-edges;
  filter: drop-shadow(0 14px 20px rgba(74,149,133,.45)) drop-shadow(0 2px 0 rgba(0,0,0,.2));
  animation: bob 4.6s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(0) } 50%{ transform: translateY(-14px) rotate(-1.5deg) } }
@media (prefers-reduced-motion: reduce){ .feature-img,.feature-glow{ animation: none; } }

/* ---------- BUTTONS ---------- */
.btn {
  font-family: var(--font-ui); font-weight: 700; font-size: 14.5px;
  border: none; cursor: pointer; border-radius: var(--r-xl);
  padding: 12px 22px; transition: transform .18s var(--ease), box-shadow .2s, filter .18s;
  white-space: nowrap; display: inline-flex; align-items: center;
}
.btn:active { transform: scale(.96); }
.btn-accent {
  color: var(--on-accent); background: var(--accent-grad);
  box-shadow: var(--accent-glow);
}

.btn-accent a {
  color: var(--on-accent); background: var(--accent-grad);
  box-shadow: var(--accent-glow);
}
.btn-accent:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost {
  color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-hi); }

/* ---------- SIDEBAR ---------- */
.hero-side { display: flex; flex-direction: column; gap: 12px; }
.side-card {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px; text-decoration: none; color: var(--ink);
  border-radius: var(--r-md);
  background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--card-shadow);
  transition: transform .22s var(--ease), box-shadow .22s, border-color .2s;
}
a.side-card:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hov); border-color: var(--border-hi); }
.side-ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff;
}
.side-ico svg { width: 22px; height: 22px; }
.side-ico.discord { background: #5865F2; }
.side-ico.telegram { background: #229ED9; }
.side-ico.online { background: var(--accent-grad); }
.side-meta { display: flex; flex-direction: column; gap: 1px; }
.side-title { font-weight: 700; font-size: 14.5px; }
.side-sub { font-size: 12.5px; color: var(--ink-soft); }

.online-card { flex-direction: column; align-items: stretch; gap: 12px; }
.online-head { display: flex; align-items: center; gap: 13px; }
.online-dot { position: relative; width: 10px; height: 10px; }
.online-dot::before, .online-dot::after { content:''; position: absolute; inset: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.9); }
.online-dot::after { animation: ping 1.8s ease-in-out infinite; }
@keyframes ping { 0%{ transform: scale(1); opacity:.7 } 80%,100%{ transform: scale(2.4); opacity:0 } }
.side-ico.online.small { width: 38px; height: 38px; }
.copy-ip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; cursor: pointer;
  border: 1px dashed var(--border-hi); background: var(--field-bg); color: var(--ink);
  border-radius: 12px; padding: 10px 13px;
  font-family: var(--font-pixel); font-size: 16px; letter-spacing: .3px;
  transition: border-color .2s, transform .15s;
}
.copy-ip:hover { border-color: var(--accent-2); }
.copy-ip:active { transform: scale(.98); }
.copy-ip .copy-ic { font-family: var(--font-ui); font-size: 13px; color: var(--ink-faint); }
.copy-ip.copied { border-color: var(--accent-2); color: var(--accent-1); border-style: solid; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider { display: flex; align-items: center; gap: 16px; margin: 44px 0 24px; }
.divider span {
  font-family: var(--font-pixel); font-size: 14px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ink-faint); white-space: nowrap;
}
.divider .line { flex: 1; height: 1px; background: var(--border); }

/* ============================================================
   PRODUCTS — reference card style
   ============================================================ */
.products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.product {
  border-radius: var(--r-lg); overflow: hidden; cursor: default;
  background: var(--card-bg); border: 1px solid var(--border);
  box-shadow: var(--card-shadow); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hov); border-color: var(--border-hi); }

/* image area */
.product-showcase {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--bg-3);
  display: grid; place-items: center;
}
.product-showcase .sc-glow {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,149,133,.3), transparent 65%);
  filter: blur(20px); pointer-events: none; transition: transform .35s var(--ease);
}
.product:hover .sc-glow { transform: scale(1.12); }
.showcase-crystal {
  position: relative; z-index: 1; width: 88px; height: 88px; border-radius: 24px;
  display: grid; place-items: center; font-size: 40px; color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  transition: transform .3s var(--ease);
}
.showcase-crystal::after { content:''; position:absolute; inset:0; border-radius:inherit; background: linear-gradient(150deg,rgba(255,255,255,.45),transparent 50%); }
.product:hover .showcase-crystal { transform: translateY(-6px) rotate(-6deg); }
.showcase-crystal.t1 { background: linear-gradient(140deg,#b4ceaa,#89A37C); }
.showcase-crystal.t2 { background: linear-gradient(140deg,#96ccb4,#5fae93); }
.showcase-crystal.t3 { background: linear-gradient(140deg,#70c0ae,#4A9585); }
.showcase-crystal.t4 { background: linear-gradient(140deg,#5aab9c,#357a6c); }
.showcase-crystal.t5 { background: linear-gradient(140deg,#aac7a0,#6f9a7f); }
.showcase-crystal.t6 { background: linear-gradient(140deg,#65b9a8,#3f8576); }
.showcase-img {
  position: relative; z-index: 1; width: 70%; height: 70%; object-fit: contain;
  image-rendering: pixelated; image-rendering: crisp-edges;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.3));
  transition: transform .35s var(--ease), filter .35s;
}
.product:hover .showcase-img { transform: translateY(-8px) scale(1.05); filter: drop-shadow(0 16px 24px rgba(0,0,0,.4)); }

/* product body — reference layout */
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.product-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.price-block { display: flex; flex-direction: column; gap: 1px; }
.price-from { font-size: 11.5px; color: var(--ink-faint); font-family: var(--font-pixel); letter-spacing: .3px; }
.product-price { font-size: 20px; font-weight: 700; letter-spacing: -.4px; white-space: nowrap; color: var(--ink); }
.btn-buy { padding: 10px 18px; font-size: 14px; border-radius: 999px; flex: none; }

/* ============================================================
   CATEGORY TABS
   ============================================================ */
.cat-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.cat-tab {
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 700;
  border: 1.5px solid var(--border); background: var(--card-bg); color: var(--ink-soft);
  transition: border-color .18s, color .18s, background .18s;
}
.cat-tab:hover { border-color: var(--border-hi); color: var(--ink); }
.cat-tab.active { border-color: var(--accent-2); background: var(--accent-2); color: #fff; }

/* ============================================================
   PRODUCT FILTER ANIMATION
   ============================================================ */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.product {
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.product.card-in { animation: cardIn .32s var(--ease) both; }
.product.hidden { display: none; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(0,0,0,.52);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto;
  border-radius: var(--r-xl); padding: 26px;
  background: var(--bg-1); border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  transform: translateY(20px) scale(.97); opacity: 0;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 6px; }

.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border); background: var(--field-bg); color: var(--ink-soft);
  font-size: 18px; display: grid; place-items: center;
  transition: transform .2s, color .2s;
}
.modal-close:hover { color: var(--ink); transform: rotate(90deg); }

.modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-right: 28px; }
.modal-head .showcase-crystal { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; }
.modal-name { font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.modal-sub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.fgroup { margin-bottom: 16px; }
.fgroup > label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 8px;
}
.fgroup .optional { text-transform: none; letter-spacing: 0; font-weight: 500; }
.qty-range { font-family: var(--font-pixel); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* duration */
.dur-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dur-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 11px 6px; cursor: pointer; border-radius: var(--r-md);
  background: var(--field-bg); border: 1.5px solid var(--field-border); color: var(--ink);
  transition: border-color .2s, background .2s; font-family: var(--font-ui);
}
.dur-btn:hover { border-color: var(--border-hi); }
.dur-btn.active { border-color: var(--accent-2); background: linear-gradient(135deg,rgba(137,163,124,.15),rgba(74,149,133,.15)); }
.dur-btn.active .dur-price { color: var(--accent-1); }
.dur-name { font-weight: 700; font-size: 13px; }
.dur-price { font-family: var(--font-pixel); font-size: 13px; color: var(--ink-soft); white-space: nowrap; }

/* qty */
.qty-control {
  display: flex; align-items: center; gap: 8px;
  background: var(--field-bg); border: 1.5px solid var(--field-border);
  border-radius: var(--r-md); padding: 5px;
}
.qty-btn {
  width: 42px; height: 42px; flex: none; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg-2); color: var(--ink);
  font-size: 20px; font-weight: 600; display: grid; place-items: center;
  transition: background .2s, transform .15s;
}
.qty-btn:hover { border-color: var(--border-hi); }
.qty-btn:active { transform: scale(.9); }
.qty-input {
  flex: 1; text-align: center; background: none; border: none; color: var(--ink);
  font-family: var(--font-pixel); font-size: 21px; font-weight: 500; outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* fields */
.field {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--field-bg); border: 1.5px solid var(--field-border); color: var(--ink);
  font-family: var(--font-ui); font-size: 14.5px; outline: none;
  transition: border-color .2s;
}
.field::placeholder { color: var(--ink-faint); }
.field:focus { border-color: var(--accent-2); }

.promo-row { display: flex; gap: 8px; }
.promo-row .field { flex: 1; }
.btn-promo {
  padding: 0 16px; border-radius: var(--r-md); cursor: pointer;
  border: 1.5px solid var(--field-border); background: var(--field-bg); color: var(--ink);
  font-family: var(--font-ui); font-weight: 700; font-size: 13.5px; transition: border-color .2s, color .2s;
}
.btn-promo:hover { border-color: var(--accent-2); color: var(--accent-1); }
.promo-status { font-size: 12.5px; margin-top: 7px; }
.promo-status.ok { color: var(--accent-1); }
.promo-status.err { color: #e07070; }

/* total */
.total-block {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; margin: 20px 0 14px; border-radius: var(--r-md);
  background: var(--field-bg); border: 1px solid var(--border);
}
.total-label { font-size: 12px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--ink-faint); }
.total-val { font-size: 26px; font-weight: 700; letter-spacing: -.6px; white-space: nowrap;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.total-val .strike { font-size: 15px; color: var(--ink-faint); text-decoration: line-through;
  -webkit-text-fill-color: var(--ink-faint); margin-right: 8px; font-weight: 600; }
.btn-submit { width: 100%; padding: 14px; font-size: 15.5px; }

/* ============================================================
   EXTRAS GRID
   ============================================================ */
.extras-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px;
}
.section-card {
  background: var(--card-bg); border: 1px solid var(--border);
  box-shadow: var(--card-shadow); border-radius: var(--r-lg); padding: 26px 24px;
}
.section-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
}
.section-head h3 {
  font-size: 15px; font-weight: 700; letter-spacing: .2px;
}
.section-ico {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; font-size: 14px; flex: none;
}

/* ============================================================
   PODIUM
   ============================================================ */
.podium {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 8px; height: 300px;
}
.podium-slot {
  display: flex; flex-direction: column; align-items: center; gap: 0;
  width: 80px; flex: none;
}
/* avatar */
.podium-avatar {
  width: 48px; height: 48px; border-radius: 10px; flex: none;
  overflow: hidden; margin-bottom: 6px; border: 2px solid transparent;
  position: relative; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.podium-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  image-rendering: pixelated; image-rendering: crisp-edges; display: block;
}
.pos-1 .podium-avatar { width: 56px; height: 56px; border-color: #e05555; box-shadow: 0 0 0 1px #e05555, 0 4px 18px rgba(224,85,85,.4); }
.pos-2 .podium-avatar { border-color: #e07830; }
.pos-3 .podium-avatar { border-color: #d4b030; }
.pos-1 .podium-avatar::before {
  content: '♛'; position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 14px; color: #e05555; filter: drop-shadow(0 0 6px rgba(224,85,85,.8));
}
.podium-nick {
  font-size: 11.5px; font-weight: 700; color: var(--ink); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 78px;
}
.pos-1 .podium-nick { font-size: 13px; }
.podium-amount {
  font-size: 11px; color: var(--ink-soft); text-align: center; margin-bottom: 6px;
}
/* platform — fixed heights so they look like actual podium steps */
.podium-platform {
  width: 100%; border-radius: 6px 6px 0 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10px;
}
.pos-1 .podium-platform { height: 160px; background: linear-gradient(135deg,#e05555,#c23030); }
.pos-2 .podium-platform { height: 110px; background: linear-gradient(135deg,#e07830,#c45a18); }
.pos-3 .podium-platform { height: 80px; background: linear-gradient(135deg,#d4b030,#b89018); }
.podium-rank {
  font-size: 20px; font-weight: 700; color: rgba(255,255,255,.75);
}

/* ============================================================
   RECENT DONORS SCROLL
   ============================================================ */
.recent-scroll {
  display: flex; flex-direction: column; gap: 0; max-height: 280px;
  overflow-y: auto; margin: 0 -4px; padding: 0 4px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.recent-scroll::-webkit-scrollbar { width: 4px; }
.recent-scroll::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 4px; }
.recent-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.recent-item:last-child { border-bottom: none; }
.recent-avatar {
  width: 36px; height: 36px; border-radius: 8px; flex: none;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.recent-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  image-rendering: pixelated; image-rendering: crisp-edges; display: block;
}
.recent-info { flex: 1; min-width: 0; }
.recent-nick { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.recent-what { font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-right { text-align: right; flex: none; }
.recent-sum { font-size: 14px; font-weight: 700; color: var(--accent-1); }
.recent-time { font-size: 11px; color: var(--ink-faint); }

/* new entry animation */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.recent-item.new { animation: slideIn .4s var(--ease) both; }

@media (max-width: 720px) {
  .extras-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NEWS
   ============================================================ */
.news { margin-top: 8px; }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 48px 0 20px; }
.news-titlewrap { display: flex; align-items: center; gap: 12px; }
.news-titlewrap h2 { font-family: var(--font-pixel); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.news-titlewrap .ico {
  width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; font-size: 16px;
}
.btn-toggle {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; font-family: var(--font-ui); font-weight: 700; font-size: 13px;
  color: var(--ink); background: var(--bg-2); border: 1px solid var(--border);
  transition: border-color .2s, color .2s;
}
.btn-toggle:hover { border-color: var(--border-hi); color: var(--accent-1); }
.btn-toggle .chev { transition: transform .35s var(--ease); font-size: 10px; }
.news.collapsed .btn-toggle .chev { transform: rotate(-90deg); }

.news-list {
  display: grid; gap: 12px;
  max-height: 1400px; opacity: 1;
  transition: max-height .45s var(--ease), opacity .3s var(--ease);
  overflow: hidden;
}
.news.collapsed .news-list { max-height: 0; opacity: 0; }

.news-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start;
  padding: 18px 20px; border-radius: var(--r-md);
  background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--card-shadow);
  transition: box-shadow .22s, border-color .2s;
}
.news-item:hover { border-color: var(--border-hi); box-shadow: var(--card-shadow-hov); }
.news-meta { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.news-badge {
  font-family: var(--font-pixel); font-size: 11px; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; color: #fff;
}
.news-badge.important { background: linear-gradient(135deg, #d98c6c, #c26f4d); }
.news-badge.update { background: var(--accent-grad); }
.news-badge.minor { background: var(--bg-3); color: var(--ink-soft); border: 1px solid var(--border); }
.news-date { font-family: var(--font-pixel); font-size: 13px; color: var(--ink-faint); }
.news-body h3 { font-size: 16px; font-weight: 700; letter-spacing: -.2px; margin-bottom: 5px; }
.news-body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }

/* ============================================================
   DONOR TICKER
   ============================================================ */
.ticker-wrap {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-1); margin: 24px 0 0; position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg-0), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(270deg, var(--bg-0), transparent); }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 32s linear infinite; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { 0%{ transform: translateX(0) } 100%{ transform: translateX(-50%) } }
.ticker-item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 24px; font-size: 13px; color: var(--ink-soft); flex: none;
}
.ticker-item strong { color: var(--ink); font-weight: 700; }
.ticker-item .t-rank { font-family: var(--font-pixel); font-size: 12px; color: var(--accent-1); }
.ticker-avatar {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 11px; color: #fff;
  background: var(--accent-grad);
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border-hi); flex: none; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.shop-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.cats { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; font-family: var(--font-ui); font-weight: 600; font-size: 13.5px;
  color: var(--ink-soft); background: var(--bg-2); border: 1px solid var(--border);
  transition: color .2s, background .2s, border-color .2s, transform .15s; white-space: nowrap;
}
.cat-btn:hover { color: var(--ink); border-color: var(--border-hi); }
.cat-btn.active { color: var(--on-accent); background: var(--accent-grad); border-color: transparent; box-shadow: 0 4px 14px rgba(74,149,133,.3); }
.cat-btn:active { transform: scale(.95); }
.cat-count { font-size: 11px; opacity: .72; }
.product.hidden { display: none; }

/* ============================================================
   TOP DONORS + EXTRAS
   ============================================================ */
.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 48px 0 0; }

.top-donors {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--card-shadow);
}
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.section-head h3 { font-size: 15px; font-weight: 700; }
.section-ico {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; font-size: 15px; flex: none;
}
.donor-list { display: flex; flex-direction: column; gap: 9px; }
.donor-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: var(--r-md); background: var(--bg-3); border: 1px solid var(--border);
  transition: border-color .2s;
}
.donor-item:hover { border-color: var(--border-hi); }
.donor-pos { font-family: var(--font-pixel); font-size: 18px; width: 26px; text-align: center; flex: none; }
.pos-1 { color: #f5c842; } .pos-2 { color: #b0bec5; } .pos-3 { color: #c8844a; }
.donor-avatar {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff;
}
.av-1 { background: linear-gradient(135deg,#f5c842,#e8a020); }
.av-2 { background: linear-gradient(135deg,#90a8b8,#6080a0); }
.av-3 { background: linear-gradient(135deg,#c8844a,#a86030); }
.donor-info { flex: 1; min-width: 0; }
.donor-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.donor-spent { font-size: 12px; color: var(--ink-faint); font-family: var(--font-pixel); }
.donor-badge {
  font-family: var(--font-pixel); font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-grad); color: #fff; flex: none; white-space: nowrap;
}

.bonus-col { display: flex; flex-direction: column; gap: 14px; }
.bonus-banner {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px 22px; box-shadow: var(--card-shadow); flex: 1; position: relative; overflow: hidden;
}
.bonus-banner::before {
  content: ''; position: absolute; top: -28px; right: -28px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,149,133,.16), transparent 70%); pointer-events: none;
}
.bonus-label {
  font-family: var(--font-pixel); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent-1); margin-bottom: 8px; display: flex; align-items: center; gap: 7px;
}
.bonus-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-1); animation: ping 1.8s ease-in-out infinite; }
.bonus-title { font-size: 17px; font-weight: 700; letter-spacing: -.3px; margin-bottom: 5px; }
.bonus-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; }
.promo-chip {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 9px 16px; border-radius: var(--r-md);
  background: var(--bg-3); border: 1.5px dashed var(--accent-2);
  font-family: var(--font-pixel); font-size: 19px; letter-spacing: .5px; color: var(--accent-1);
  transition: background .2s, transform .15s;
}
.promo-chip:hover { background: var(--field-bg); }
.promo-chip:active { transform: scale(.97); }
.chip-hint { font-family: var(--font-ui); font-size: 11.5px; color: var(--ink-faint); }
.ref-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 16px 20px; box-shadow: var(--card-shadow);
  display: flex; align-items: center; gap: 13px;
}
.ref-ico { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; font-size: 21px; background: var(--bg-3); border: 1px solid var(--border); }
.ref-text { flex: 1; min-width: 0; }
.ref-text strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.ref-text span { font-size: 12px; color: var(--ink-soft); }
.btn-ref { padding: 9px 16px; font-size: 13px; border-radius: var(--r-md); }

/* responsive extras */
@media (max-width: 680px) {
  .extras-grid { grid-template-columns: 1fr; }
  .cats { gap: 4px; }
  .cat-btn { padding: 7px 13px; font-size: 13px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 48px 28px 32px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-pixel); font-size: 15px; color: var(--ink-faint); }
.footer-brand .cube { width: 20px; height: 20px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--ink-faint); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--ink); }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px;
  background: var(--bg-1); border: 1px solid var(--border-hi); box-shadow: var(--card-shadow);
  font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 9px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast .tic { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero-main { grid-template-columns: 1.1fr .9fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .header-inner { padding: 12px 16px; }
  .nav { display: none; }
  .brand-name { font-size: 19px; }
  .hero { padding: 16px 0 4px; }
  .hero-main { grid-template-columns: 1fr; padding: 28px 22px; min-height: 0; text-align: center; }
  .hero-text { order: 2; }
  .hero-feature { order: 1; min-height: 180px; }
  .feature-img { width: min(170px,70%); }
  .hero-kicker, .hero-cta { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .divider { margin: 32px 0 18px; }
  .news-head { margin: 36px 0 16px; }
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .news-meta { flex-direction: row; align-items: center; gap: 9px; }
  /* modal bottom sheet */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    max-width: 100%; max-height: 92vh; border-radius: 24px 24px 0 0;
    transform: translateY(100%); padding: 24px 18px calc(20px + env(safe-area-inset-bottom));
  }
  .modal::before {
    content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 99px; background: var(--border-hi);
  }
  .modal-overlay.open .modal { transform: translateY(0); }
  .modal-head { margin-top: 8px; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   TEXT PAGES (rules, contacts, policy, etc.)
   ============================================================ */
.text-page { max-width: 720px; margin: 40px auto 60px; padding: 0 24px; }
.text-page .page-card { border-radius: var(--r-lg); padding: 36px 34px; background: var(--card-bg); border: 1px solid var(--border); box-shadow: var(--card-shadow); position: relative; }
.text-page h1 { font-size: 28px; font-weight: 800; letter-spacing: -.6px; margin-bottom: 22px; }
.text-page .text-content { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.text-page .text-content p { margin-bottom: 12px; }
.text-page .text-content ul { margin: 8px 0 12px 22px; }
.text-page .text-content li { margin-bottom: 4px; }
.text-page .text-content strong { color: var(--ink); font-weight: 700; }
.text-page .text-content a { color: var(--accent-1); text-decoration: none; }
.text-page .text-content a:hover { text-decoration: underline; }
.text-page .text-content a.btn { color: var(--on-accent); }
.text-page .text-content a.btn:hover { text-decoration: none; }
.text-page .text-content a.btn-ghost { color: var(--ink); }

.doc-section { display: flex; gap: 18px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--field-border); }
.doc-section:last-of-type { border-bottom: none; margin-bottom: 16px; }
.doc-num { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-pixel); font-size: 16px; font-weight: 700; color: #fff; background: var(--accent-grad); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 14px -6px rgba(74,149,133,.5); }
.doc-body { flex: 1; min-width: 0; }
.doc-title { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.doc-footer-note { margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--field-bg); border: 1px solid var(--field-border); font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.contacts-block { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.contact-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: var(--r-md); background: var(--field-bg); border: 1px solid var(--field-border); transition: border-color .2s; }
.contact-item:hover { border-color: var(--border-hi); }
.contact-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contact-icon { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 14px -6px rgba(0,0,0,.4); }
.contact-icon.is-telegram { background: linear-gradient(150deg, #45c0f5, #229ED9); }
.contact-icon.is-telegram.is-support { background: linear-gradient(150deg, #6dd5ff, #2db8e0); }
.contact-icon.is-discord { background: linear-gradient(150deg, #7c8cf0, #5865F2); }
.contact-meta { display: flex; flex-direction: column; gap: 2px; }
.contact-title { font-weight: 700; font-size: 15px; }
.contact-desc { font-size: 13px; color: var(--ink-soft); }
.btn-contact { padding: 11px 22px; font-size: 14px; }

.btn-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 12px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 700; text-decoration: none; color: var(--ink); background: var(--field-bg); border: 1px solid var(--border); transition: border-color .2s, color .2s; }
.btn-back:hover { border-color: var(--border-hi); color: var(--accent-1); }
.stats-empty { font-size: 14px; color: var(--ink-faint); text-align: center; padding: 24px 12px; }

/* ============================================================
   RESULT PAGES (success / fail)
   ============================================================ */
.result-page { max-width: 460px; margin: 80px auto; text-align: center; padding: 0 24px; }
.result-page h1 { font-size: 28px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 12px; }
.result-icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; margin: 0 auto 22px; color: #fff; }
.result-icon.success-icon { background: var(--accent-grad); box-shadow: 0 14px 40px -10px rgba(74,149,133,.6); }
.result-icon.fail-icon { background: linear-gradient(135deg, #d98c6c, #c26f4d); box-shadow: 0 14px 40px -10px rgba(201,111,77,.5); }
.result-info { font-size: 16px; margin-bottom: 8px; }
.result-info.dim, .dim { color: var(--ink-soft); }
.result-amount { font-size: 32px; font-weight: 800; letter-spacing: -.8px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }

/* ============================================================
   BRAND LOGO IMG (override .cube)
   ============================================================ */
.brand-logo { width: 36px; height: 36px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 10px rgba(74,149,133,.45)); }
