﻿:root {
  color-scheme: dark;
  --bg: #0c0d10;
  --card: rgba(14, 16, 22, 0.72);
  --card-strong: rgba(8, 9, 12, 0.64);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #e7e9f4;
  --muted: #a7adbd;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-soft: rgba(139, 92, 246, 0.2);
  --warn: #ffd166;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --vip: #ffd700;
  --vipplus: #00ff7f;


}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  filter: blur(12px) brightness(0.4);
  transform: scale(1.05);
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top, rgba(16, 18, 26, 0.2), rgba(6, 7, 10, 0.95)),
    linear-gradient(180deg, rgba(12, 13, 16, 0.1), rgba(12, 13, 16, 0.65));
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: -8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Unbounded", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.topbar .brand-logo {
  flex: 0 0 42px;
  max-width: 42px;
  max-height: 42px;
}

.nav,
.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav {
  justify-content: flex-end;
  max-width: 560px;
}

.nav a,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(8, 9, 12, 0.32);
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.36);
  background: rgba(139, 92, 246, 0.12);
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.hero-left {
  min-height: 360px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.hero-right,
.card {
  padding: 28px;
}

.eyebrow {
  color: var(--muted);
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
}

.hero p,
.section-head p,
.legal p {
  color: var(--muted);
  line-height: 1.65;
}

.hero p {
  max-width: 760px;
  font-size: 17px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 45%, #22d3ee 100%);
  box-shadow: 0 12px 30px rgba(109, 40, 217, 0.45), inset 0 0 18px rgba(255, 255, 255, 0.08);
  font-family: "Russo One", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pill:hover {
  transform: translateY(-2px) scale(1.01);
  filter: saturate(1.1);
  box-shadow: 0 18px 45px rgba(34, 211, 238, 0.35), inset 0 0 22px rgba(255, 255, 255, 0.14);
}

.pill.wide {
  width: 100%;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.card-head,
.section-head {
  margin-bottom: 18px;
}

.card-head h2,
.section-head h2,
.legal-doc h2 {
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-head p {
  max-width: 560px;
}

.server-card,
.service-box,
.contact-card,
.doc-links a,
.details-list div,
.stat {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: var(--card-strong);
}

.server-card {
  padding: 16px;
}

.server-title {
  margin-bottom: 6px;
  font-family: "Russo One", sans-serif;
  font-size: 18px;
}

.server-ip {
  color: var(--accent);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.server-stats {
  display: grid;
  grid-template-columns: minmax(92px, 0.72fr) minmax(150px, 1.35fr) minmax(104px, 0.82fr);
  gap: 10px;
  margin-top: 12px;
}

.stat {
  min-height: 70px;
  padding: 12px;
}

.stat-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}

.stat-value {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.content {
  display: grid;
  gap: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.service-box {
  min-height: 340px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-featured {
  border-color: rgba(34, 211, 238, 0.18);
}

.service-top {
  min-height: 92px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.donate-title {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 800;
}

.donate-price {
  flex: 0 0 auto;
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.donate-note,
.mini-list,
.feature-list,
.steps {
  color: var(--muted);
  line-height: 1.55;
}

.donate-note {
  font-size: 14px;
}

.mini-list,
.feature-list,
.steps {
  display: grid;
  gap: 9px;
  padding-left: 18px;
}

.service-box .pill {
  margin-top: auto;
}

.offer-check {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.offer-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.offer-check a,
.feature-list a,
.legal a,
.details-list a,
.doc-links a,
.footer a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pill.is-disabled {
  opacity: 0.45;
  filter: grayscale(0.3);
  box-shadow: none;
}

.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(10, 11, 14, 0.6);
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.notice strong {
  color: var(--text);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 6, 0.72);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(460px, 100%);
  padding: 26px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.modal-panel h2 {
  margin-top: 8px;
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
}

.modal-service {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.payment-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 9, 12, 0.72);
  color: var(--text);
  outline: none;
  padding: 12px 14px;
  font: inherit;
}

.field input:focus {
  border-color: rgba(34, 211, 238, 0.42);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.helper-link {
  width: fit-content;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  min-height: 20px;
  color: var(--warn);
  font-size: 14px;
  line-height: 1.4;
}

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

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

.gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.contact-grid,
.doc-links,
.details-list {
  display: grid;
  gap: 12px;
}

.wide-contacts {
  max-width: none;
}

.contact-card,
.doc-links a,
.details-list div {
  padding: 14px 16px;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.contact-title,
.details-list dt {
  color: var(--text);
  font-weight: 700;
}

.contact-link,
.details-list dd {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.details-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
}

.needs-data {
  color: var(--warn);
}

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

.legal-hero .hero-left {
  min-height: 260px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.legal-side {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.legal-side a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}

.legal-side a:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.legal-doc {
  display: grid;
  gap: 28px;
}

.legal-doc article {
  scroll-margin-top: 24px;
  display: grid;
  gap: 11px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-doc article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.admin-token-form {
  max-width: 520px;
}

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

.order-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(10, 12, 18, 0.48);
}

.order-main,
.order-grid {
  display: grid;
  gap: 10px;
}

.order-main {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.order-main strong {
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: 18px;
}

.order-main span {
  color: var(--accent);
  font-weight: 800;
}

.order-grid {
  grid-template-columns: 120px minmax(0, 1fr);
  color: var(--muted);
  font-size: 14px;
}

.order-grid.compact {
  grid-template-columns: 86px minmax(0, 1fr);
}

.order-grid b {
  color: var(--text);
  overflow-wrap: anywhere;
}

.order-status {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.order-status-paid {
  color: #7ef0aa;
  background: rgba(44, 190, 105, 0.12);
  border-color: rgba(126, 240, 170, 0.28);
}

.order-status-pending {
  color: #ffd36a;
  background: rgba(255, 211, 106, 0.12);
  border-color: rgba(255, 211, 106, 0.28);
}

.order-status-error {
  color: #ff8b8b;
  background: rgba(255, 86, 86, 0.12);
  border-color: rgba(255, 139, 139, 0.28);
}

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

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .info-grid,
  .requisites-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-box {
    min-height: 0;
  }

  .server-stats {
    grid-template-columns: 1fr;
  }

  .legal-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .shell {
    padding: 24px 14px 44px;
  }

  .topbar,
  .section-head,
  .service-top,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-left,
  .hero-right,
  .card {
    padding: 22px;
  }

  .hero-left {
    min-height: 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .gallery-grid,
  .legal-side,
  .details-list div {
    grid-template-columns: 1fr;
  }
}
