:root {
  --bg: #070202;
  --panel: rgba(22, 7, 7, 0.96);
  --panel-2: rgba(14, 5, 5, 0.98);
  --line: #5e2218;
  --line-soft: #7a3322;
  --text: #fff0e5;
  --muted: #efc1ab;
  --accent: #ff6b1d;
  --accent-2: #ffb375;
  --success: #6ee07d;
  --glow: 0 24px 70px rgba(0, 0, 0, 0.42);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(140, 28, 18, .18), transparent 22%),
    linear-gradient(180deg, #130606 0%, #070202 48%, #100505 100%);
  font-family: Inter, system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-bg::before,
.site-bg::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}
.site-bg::before {
  left: -100px;
  top: 100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 96, 32, 0.14);
}
.site-bg::after {
  right: -140px;
  top: 20px;
  width: 360px;
  height: 360px;
  background: rgba(185, 28, 28, 0.18);
}
.page-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 36px;
}
.topbar,
.panel,
.footer,
.flash,
.auth-card,
.page-hero {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 10, 10, 0.96), rgba(13, 5, 5, 0.98));
  box-shadow: var(--glow);
  backdrop-filter: blur(12px);
}
.topbar {
  border-radius: 28px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand__logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.35));
}
.brand__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.brand__title {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f3f0f4;
}
.brand__subtitle {
  font-family: Rajdhani, Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #dfc3b6;
  font-size: 18px;
}
.mainnav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.mainnav a {
  position: relative;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid #773528;
  background: rgba(0,0,0,.24);
  font-family: Rajdhani, Inter, sans-serif;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .03em;
  font-weight: 700;
  color: #f7dde1;
}
.mainnav a::before,
.mainnav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, #ff4eb8, #9167ff);
  opacity: .9;
}
.mainnav a::before { top: -1px; }
.mainnav a::after { bottom: -1px; }
.mainnav a.is-active {
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 110, 32, .08);
}
.accountbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.accountbox__user,
.status-pill {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #6a3224;
  background: rgba(0,0,0,.24);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 18px;
  line-height: 1;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffe0ce;
}
.accountbox__user strong {
  color: #ffbf80;
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #6b3224;
  background: rgba(0,0,0,.28);
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #ffd6c3;
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid #7e3827;
  cursor: pointer;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn--primary {
  color: #fff8f2;
  background: linear-gradient(180deg, #d4551c, #7e220f);
  box-shadow: 0 18px 45px rgba(153, 27, 27, 0.28);
}
.btn--ghost {
  color: #ffe0ce;
  background: rgba(0,0,0,.24);
}
.btn--big {
  min-height: 64px;
  min-width: 320px;
  font-size: 28px;
}
.btn--block {
  width: 100%;
}

.flash {
  margin-top: 14px;
  border-radius: 20px;
  padding: 14px 18px;
  font-size: 15px;
}
.flash--success { border-color: #2e7b45; color: #cdf7d6; }
.flash--error { border-color: #a2392b; color: #ffd7d1; }
.flash--inline { margin-top: 18px; }

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-radius: 32px;
  border: 1px solid #582117;
  box-shadow: var(--glow);
}
.hero--static {
  min-height: auto;
  background: linear-gradient(180deg, rgba(24,8,8,.98), rgba(12,5,5,.98));
}
.hero--static .hero__banner {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero {
  margin-top: 18px;
  border-radius: 28px;
  padding: 28px;
}
.page-hero--small {
  background:
    linear-gradient(180deg, rgba(25,9,9,.92), rgba(14,5,5,.98)),
    url('../img/hero-bg.jpg') center/cover no-repeat;
}
.page-hero__content {
  max-width: 760px;
}
.page-hero__content h1 {
  margin: 16px 0 0;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  text-transform: uppercase;
  line-height: .95;
}
.page-hero__content p {
  max-width: 700px;
  color: rgba(241, 200, 180, .82);
  font-size: 17px;
  line-height: 1.75;
}

.panel {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 30px;
  padding: 22px;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,150,94,.8), transparent);
}
.section-head {
  margin-bottom: 18px;
  text-align: center;
}
.section-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: #ffb98f;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.section-title {
  text-align: center;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  text-transform: uppercase;
  font-weight: 700;
  line-height: .95;
}
.section-title--left {
  text-align: left;
}
.shop-grid,
.ranks-grid,
.news-grid,
.faq-grid,
.dashboard {
  display: grid;
  gap: 18px;
}
.shop-grid { grid-template-columns: repeat(3, 1fr); }
.ranks-grid { grid-template-columns: repeat(4, 1fr); }
.news-grid { grid-template-columns: repeat(2, 1fr); }
.faq-grid { grid-template-columns: repeat(4, 1fr); }
.dashboard { grid-template-columns: .9fr 1.1fr; }

.shop-card,
.rank-card,
.news-card,
.faq-card,
.dashboard-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #6a2f21;
  background:
    radial-gradient(circle at top, rgba(255,110,40,.12), transparent 28%),
    linear-gradient(180deg, rgba(26,10,10,.96), rgba(11,5,5,.98));
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
}
.shop-card::after,
.rank-card::after,
.news-card::after,
.faq-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,140,90,.06);
}
.shop-card { padding: 18px; }
.shop-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #8d3b24;
  background: rgba(25, 8, 8, .9);
  color: #ffc499;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.shop-card__image {
  display: grid;
  place-items: center;
  min-height: 240px;
}
.shop-card__image--product {
  border-radius: 20px;
  border: 1px solid #6b3222;
  background: linear-gradient(180deg, rgba(20,8,8,.7), rgba(10,4,4,.92));
  padding: 20px 16px;
}
.shop-card__image img {
  width: min(240px, 100%);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.35));
}
.shop-card__info h3 {
  margin: 0;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 38px;
  line-height: .95;
}
.shop-card__info p {
  margin: 8px 0 0;
  color: rgba(241, 200, 180, .78);
  line-height: 1.7;
}
.shop-card__price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid #a0401e;
  background: linear-gradient(180deg, #ce521c, #7b220f);
  color: #fff6ef;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.shop-card--full .shop-card__image { min-height: 260px; }
.buy-form { margin: 0; }

.rank-card { padding: 18px; }
.rank-card__thumb {
  height: 150px;
  border-radius: 20px;
  border: 1px solid #6b3222;
  background:
    radial-gradient(circle at center, rgba(255,110,40,.16), transparent 22%),
    linear-gradient(180deg, rgba(32,11,11,.94), rgba(14,5,5,.98));
  display: grid;
  place-items: center;
  text-align: center;
}
.rank-card__thumb strong {
  display: block;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 52px;
  line-height: .9;
  letter-spacing: .04em;
}
.rank-card__label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #884022;
  background: rgba(20,8,8,.75);
  color: #ffbe97;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}
.rank-card h3 {
  margin: 16px 0 0;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 44px;
  line-height: .95;
}
.rank-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(241, 200, 180, .78);
  line-height: 1.8;
}
.rank-card__footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rank-card__footer strong {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 28px;
  color: var(--accent-2);
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.news-card__body { padding: 18px; }
.news-card__body h3 {
  margin: 0;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 34px;
  line-height: .95;
  text-transform: uppercase;
}
.news-card__body p {
  margin: 8px 0 0;
  color: rgba(241, 200, 180, .76);
  line-height: 1.75;
}
.news-card__body span {
  display: block;
  margin-top: 16px;
  color: #ffbd92;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 20px;
}

.faq-card {
  padding: 20px;
  min-height: 170px;
}
.faq-card h3 {
  margin: 0;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 30px;
  line-height: 1;
}
.faq-card p {
  margin: 12px 0 0;
  color: rgba(241, 200, 180, .76);
  line-height: 1.7;
}

.chip {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #8e3d22;
  background: rgba(36, 12, 12, .82);
  color: #ffc8a3;
  font-family: Rajdhani, Inter, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .08em;
}

.quickstart-panel { padding: 26px; }
.quickstart {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
}
.quickstart__left h2 {
  margin: 16px 0 0;
  font-family: Rajdhani, Inter, sans-serif;
  text-transform: uppercase;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .95;
}
.quickstart__left p {
  margin: 14px 0 0;
  color: rgba(241, 200, 180, .78);
  line-height: 1.8;
  max-width: 720px;
}
.quickstart__right { display: grid; gap: 16px; }
.quickstart__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.quickstart__actions .btn { flex: 1 1 220px; }
.mini-pills {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mini-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #6a3224;
  background: rgba(0,0,0,.22);
  font-family: Rajdhani, Inter, sans-serif;
  text-transform: uppercase;
  color: #ffd7c2;
}

.server-box {
  width: min(580px, 100%);
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #7d3422;
  background: linear-gradient(180deg, rgba(36, 12, 12, .94), rgba(14, 6, 6, .96));
  box-shadow: 0 0 30px rgba(255, 96, 32, .08);
}
.server-box--compact { width: 100%; }
.server-box__label {
  color: #ffbf97;
  font-family: Rajdhani, Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 15px;
}
.server-box__ip {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .95;
  margin-top: 8px;
}
.server-box__status {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 26px;
  color: #d5fed7;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 12px rgba(110,224,125,.9);
}

.auth-wrap {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding-top: 18px;
}
.auth-card {
  width: min(640px, 100%);
  border-radius: 28px;
  padding: 28px;
}
.auth-card h1 {
  margin: 18px 0 0;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(44px, 6vw, 70px);
  line-height: .95;
  text-transform: uppercase;
}
.auth-card p {
  margin: 10px 0 0;
  color: rgba(241, 200, 180, .78);
}
.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.auth-form label { display: grid; gap: 8px; }
.auth-form span {
  color: #ffdfcf;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}
.auth-form input {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid #673022;
  background: rgba(0,0,0,.26);
  color: #fff3eb;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
}
.auth-note {
  margin-top: 16px;
  color: rgba(241, 200, 180, .7);
  line-height: 1.7;
}
.auth-footer {
  margin-top: 16px;
  color: rgba(241, 200, 180, .76);
}
.auth-footer a { color: var(--accent-2); }

.info-list,
.orders-list {
  display: grid;
  gap: 12px;
}
.info-list div,
.order-item,
.empty-state {
  border-radius: 18px;
  border: 1px solid #613026;
  background: rgba(0,0,0,.2);
  padding: 14px 16px;
}
.info-list div,
.order-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.info-list span,
.order-item span {
  color: rgba(241, 200, 180, .72);
}
.order-item__right { text-align: right; }

.footer {
  margin-top: 20px;
  border-radius: 26px;
  padding: 18px 22px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #dab5a3;
}
.footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__links a:hover { color: #fff0e5; }

@media (max-width: 1200px) {
  .topbar { grid-template-columns: auto auto; }
  .mainnav {
    grid-column: 1 / -1;
    order: 3;
  }
  .accountbox { justify-self: end; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .ranks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .shop-grid,
  .news-grid,
  .dashboard,
  .quickstart {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .page-shell { width: min(100% - 16px, 1380px); }
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 14px;
  }
  .brand__logo {
    width: 60px;
    height: 60px;
  }
  .brand__subtitle { font-size: 13px; }
  .brand__title { font-size: 32px; }
  .nav-toggle { display: inline-block; }
  .mainnav {
    display: none;
    width: 100%;
    margin-top: 8px;
    justify-self: stretch;
    justify-content: stretch;
  }
  .mainnav.is-open { display: grid; }
  .mainnav a {
    width: 100%;
    text-align: center;
    font-size: 20px;
  }
  .accountbox {
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-wrap: wrap;
  }
  .accountbox__user,
  .status-pill {
    width: 100%;
  }
  .shop-grid,
  .ranks-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 34px; }
  .rank-card__footer,
  .info-list div,
  .order-item,
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .quickstart-panel { padding: 18px; }
  .quickstart__actions { flex-direction: column; }
  .quickstart__actions .btn { width: 100%; }
  .server-box__ip { font-size: 34px; }
  .server-box__status { font-size: 20px; }
  .btn { font-size: 20px; }
}
