*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #000;
  --c1:     #111;
  --c2:     #161616;
  --border: #1e1e1e;
  --b2:     #2a2a2a;
  --white:  #fff;
  --gray:   #888;
  --dim:    #444;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 2px; }
a { color: inherit; }

/* ════ POPUP ════ */
#popup-wrap {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
#popup-wrap.hidden { display: none; }
.popup {
  background: #0d0d0d; border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 36px;
  text-align: center; max-width: 420px; width: 90%;
  position: relative;
}
.popup-x {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--gray);
  font-size: 16px; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; transition: color .2s;
}
.popup-x:hover { color: var(--white); }
.popup-icon { font-size: 36px; margin-bottom: 14px; }
.popup-title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.popup-sub { font-size: 13px; color: var(--gray); margin-bottom: 28px; line-height: 1.6; }
.popup-timer {
  display: flex; justify-content: center; gap: 12px; margin-bottom: 28px;
}
.tc {
  background: #111; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 20px; min-width: 72px;
}
.tc span { display: block; font-size: 28px; font-weight: 800; line-height: 1; }
.tc label { font-size: 10px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.popup-btn {
  display: block; background: #8b0000; color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  padding: 14px; border-radius: 6px; text-decoration: none;
  margin-bottom: 16px; transition: background .2s;
}
.popup-btn:hover { background: #a00000; }
.popup-foot { font-size: 12px; color: var(--dim); display: flex; gap: 8px; justify-content: center; }
.popup-foot a { color: var(--gray); text-decoration: none; }
.popup-foot a:hover { color: var(--white); }

/* ════ NOTIFICATIONS ════ */
#notif-container {
  position: fixed; bottom: 24px; left: 24px; z-index: 900;
  display: flex; flex-direction: column-reverse; gap: 10px;
  pointer-events: none;
}
.notif {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  background: #0d0d0d; border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 16px; min-width: 290px; max-width: 320px;
  pointer-events: auto;
  animation: nin .4s cubic-bezier(.34,1.56,.64,1) both;
}
.notif.hiding { animation: nout .3s ease both; }
@keyframes nin  { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes nout { to   { opacity:0; transform:translateY(8px); } }
.notif-left { flex: 1; }
.notif-label { font-size: 11px; color: var(--gray); }
.notif-name  { font-size: 13px; font-weight: 700; }
.notif-time  { font-size: 11px; color: var(--dim); }
.notif-loc   { font-size: 11px; color: var(--dim); }
.notif-img {
  width: 48px; height: 48px; border-radius: 8px;
  background: linear-gradient(135deg,#1a1a2e,#2a1a3e);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

/* ════ SERVER PANEL ════ */
.srv-panel {
  position: fixed; top: 80px; right: 16px; z-index: 800;
  background: #0a0a0a; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px; width: 280px;
  display: flex; flex-direction: column; gap: 14px;
}
.srv-close {
  position: absolute; top: 10px; right: 10px;
  background: none; border: none; color: var(--dim);
  font-size: 13px; cursor: pointer;
}
.srv-close:hover { color: var(--white); }
.srv-row { display: flex; gap: 10px; align-items: flex-start; }
.srv-ico { font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.srv-title { font-size: 12px; font-weight: 700; margin-bottom: 3px; }
.srv-sub { font-size: 11px; color: var(--gray); line-height: 1.5; }
.srv-sub a { color: #5865F2; text-decoration: none; }
.srv-link { font-size: 11px; color: #5865F2; text-decoration: none; }

/* ════ SOCIAL SIDEBAR ════ */
.social-sidebar {
  position: fixed; right: 18px; bottom: 24px; z-index: 800;
  display: flex; flex-direction: column; gap: 8px;
}
.soc-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none;
  transition: transform .2s, opacity .2s;
}
.soc-btn:hover { transform: scale(1.1); }
.soc-discord  { background: #5865F2; }
.soc-telegram { background: #26A5E4; }
.soc-youtube  { background: #FF0000; }
.soc-tiktok   { background: #010101; border: 1px solid #333; }

/* ════ NAV ════ */
nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 700; width: calc(100% - 40px); max-width: 1040px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,8,8,0.92); backdrop-filter: blur(24px);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 10px 18px;
}
.nav-left { display: flex; align-items: center; gap: 10px; color: var(--gray); }
.nav-brand { font-size: 14px; font-weight: 800; letter-spacing: 2px; color: var(--white); }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-size: 13px; color: var(--gray); text-decoration: none;
  font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: #8b0000; color: #fff;
  padding: 7px 16px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: #a00000; }

/* ════ HERO ════ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--gray);
  background: #0d0d0d; border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 30px; margin-bottom: 36px;
}
.hero h1 {
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 900; line-height: 1; letter-spacing: -3px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 15px; color: var(--gray); margin-bottom: 44px;
  line-height: 1.8; max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-arrow { margin-top: 64px; color: var(--dim); animation: bounce 1s ease infinite alternate; }
@keyframes bounce { from{transform:translateY(0)} to{transform:translateY(7px)} }

/* ════ BUTTONS ════ */
.btn-w {
  display: inline-flex; align-items: center; gap: 8px;
  background: #8b0000; color: #fff;
  padding: 13px 26px; border-radius: 6px;
  font-size: 14px; font-weight: 700; letter-spacing: .5px; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-w:hover { background: #a00000; transform: translateY(-1px); }
.btn-w-lg { padding: 17px 40px; font-size: 16px; }

.btn-d {
  display: inline-flex; align-items: center; gap: 8px;
  background: #111; color: var(--white);
  padding: 13px 26px; border-radius: 50px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  border: 1px solid var(--border);
  transition: background .2s, transform .15s;
}
.btn-d:hover { background: #1a1a1a; transform: translateY(-1px); }

/* ════ SECTION ════ */
.section { padding: 100px 24px; }
.dl-section { text-align: center; }
.wrap { max-width: 1040px; margin: 0 auto; }

.sec-pill, .sec-pill-sm {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--gray);
  background: #0d0d0d; border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 30px; margin-bottom: 20px;
}
.sec-h {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900; letter-spacing: -1px; margin-bottom: 14px;
}
.sec-sub {
  font-size: 14px; color: var(--gray); margin-bottom: 56px;
  line-height: 1.8; max-width: 500px;
}

/* ════ FEATURED ════ */
.feat-card {
  border-radius: 18px; overflow: hidden; position: relative;
  background: linear-gradient(135deg,#0f0f1a,#111);
  border: 1px solid var(--border); height: 280px;
}
.feat-inner {
  position: relative; z-index: 2;
  height: 100%; display: flex; align-items: flex-end;
  justify-content: space-between; padding: 32px;
}
.feat-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(255,255,255,.012) 24px, rgba(255,255,255,.012) 25px),
    radial-gradient(ellipse at 80% 50%, rgba(80,60,180,.12) 0%, transparent 60%);
}
.feat-label { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: rgba(255,255,255,.25); text-transform: uppercase; margin-bottom: 10px; }
.feat-h { font-size: 32px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.feat-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #8b0000; color: #fff;
  padding: 11px 22px; border-radius: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .5px; text-decoration: none;
  transition: background .2s;
}
.feat-btn:hover { background: #a00000; }
.feat-badge {
  text-align: right; font-size: 11px; color: var(--gray);
  line-height: 1.4;
}
.feat-badge strong { display: block; font-size: 18px; color: var(--white); font-weight: 800; }

/* ════ PLANS GRID ════ */
.plans-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px;
  margin-bottom: 14px;
}
.pcard {
  background: var(--c1); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--b2); }

.pcard-top {
  position: relative; height: 180px;
  display: flex; align-items: flex-end; padding: 16px;
}
.pcard-bg {
  position: absolute; inset: 0;
}
.pcard-bg-day   { background: linear-gradient(135deg,#111,#1a1a1a); }
.pcard-bg-week  { background: linear-gradient(135deg,#111,#1a1a1a); }
.pcard-bg-month { background: linear-gradient(135deg,#111,#1a1a1a); }
.pcard-bg-life  { background: linear-gradient(135deg,#111,#1a1a1a); }
.pcard-topo {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,transparent,transparent 22px,rgba(255,255,255,.012) 22px,rgba(255,255,255,.012) 23px);
}
.pcard-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.65); color: var(--white);
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  padding: 4px 10px; border-radius: 6px; border: 1px solid #333;
}
.pcard-badge-best {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
}
.pcard-wm {
  font-size: 14px; font-weight: 900; letter-spacing: 1px;
  color: rgba(255,255,255,.15); line-height: 1.2; position: relative; z-index: 1;
}
.pcard-wm span { font-size: 10px; font-weight: 600; display: block; }

.pcard-bot { padding: 18px 18px 20px; }
.pcard-bot h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pcard-bot p { font-size: 12px; color: var(--gray); line-height: 1.5; margin-bottom: 14px; }
.pcard-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: #8b0000; color: #fff;
  border: 1px solid #8b0000; border-radius: 6px;
  padding: 10px; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  text-decoration: none; transition: background .2s, border-color .2s;
}
.pcard-btn:hover { background: #a00000; border-color: #a00000; }
.pcard-btn-life {
  background: #8b0000; color: #fff; border-color: #8b0000;
}
.pcard-btn-life:hover { background: #a00000; border-color: #a00000; }

.pcard-life { display: grid; grid-template-columns: auto 1fr; }
.pcard-top-life { width: 300px; height: auto; min-height: 160px; }

/* ════ HOW IT WORKS ════ */
.steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative; text-align: center;
}
.step { position: relative; padding: 0 20px; }
.step-n {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--c1); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.step-line {
  position: absolute; top: 28px; left: calc(50% + 29px);
  width: calc(100% - 58px); height: 1px; background: var(--border);
}
.step-line.last { display: none; }
.step h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* ════ FAQ ════ */
.faq-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.fcard {
  background: var(--c1); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px;
  transition: border-color .2s;
}
.fcard:hover { border-color: var(--b2); }
.fcard-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: #0d0d0d; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); margin-bottom: 14px;
}
.fcard h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.fcard p { font-size: 12px; color: var(--gray); line-height: 1.65; }
.faq-support {
  text-align: center; margin-top: 32px;
  font-size: 13px; color: var(--gray);
}
.faq-support a { color: var(--white); text-decoration: none; font-weight: 600; }
.faq-support a:hover { text-decoration: underline; }

/* ════ DOWNLOAD META ════ */
.dl-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--dim);
}
.dot { color: #2a2a2a; }

/* ════ FOOTER ════ */
footer { border-top: 1px solid var(--border); }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 52px 60px; gap: 40px; flex-wrap: wrap;
}
.footer-left { display: flex; flex-direction: column; gap: 16px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 800; letter-spacing: 2px; color: var(--white);
}
.footer-logo svg { color: var(--gray); }
.footer-socials { display: flex; gap: 8px; }
.fsoc {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-decoration: none;
  border: 1px solid var(--border); background: var(--c1);
  transition: background .2s, border-color .2s;
}
.fsoc:hover { background: #1a1a1a; border-color: #333; }
.footer-cols { display: flex; gap: 60px; }
.fcol { display: flex; flex-direction: column; gap: 12px; }
.fcol-title { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--white); margin-bottom: 4px; }
.fcol a { font-size: 13px; color: var(--gray); text-decoration: none; transition: color .2s; }
.fcol a:hover { color: var(--white); }
.footer-bar {
  border-top: 1px solid var(--border);
  padding: 18px 60px; text-align: center;
}
.footer-bar p { font-size: 12px; color: var(--dim); }


/* ════ RESPONSIVE ════ */
@media (max-width: 900px) {
  .plans-grid { grid-template-columns: repeat(2,1fr); }
  .pcard-life { grid-template-columns: 1fr; }
  .pcard-top-life { width: 100%; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .step-line { display: none; }
  .nav-links { display: none; }
  .srv-panel { display: none; }
  .footer-top { padding: 40px 24px; }
  .footer-cols { gap: 32px; }
}
/* ── SCP THEME TAGS ──────────────────────────────────────────── */
.pcard-scp-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step-scp {
  display: inline-block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #8b0000;
  text-transform: uppercase;
  margin-bottom: 6px;
  border: 1px solid #2a0000;
  padding: 2px 8px;
  border-radius: 3px;
}

.fcard-scp {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #8b0000;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 10px;
  letter-spacing: 2px;
  color: #444;
  text-transform: uppercase;
  margin-top: 4px;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .plans-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; }
  .footer-bar { padding: 18px 24px; }
}
