:root {
  --bg: #050505;
  --bg-soft: #0c0c0f;
  --panel: rgba(18, 18, 22, 0.74);
  --panel-strong: rgba(24, 24, 28, 0.92);
  --yellow: #facc15;
  --yellow-strong: #eab308;
  --text: #f8fafc;
  --muted: #a1a1aa;
  --border: rgba(250, 204, 21, 0.25);
  --danger: #ef4444;
  --ok: #22c55e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(250, 204, 21, 0.16), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(250, 204, 21, 0.1), transparent 24%),
    linear-gradient(135deg, #030303 0%, #0b0b0d 48%, #111006 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(250, 204, 21, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 204, 21, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.45) 100%);
}

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

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid rgba(250, 204, 21, 0.16);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #050505;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--yellow), #fff2a1);
  box-shadow: 0 0 32px rgba(250, 204, 21, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.mobile-menu a {
  padding: 11px 14px;
  border-radius: 999px;
  color: #d4d4d8;
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-menu a:hover,
.mobile-menu a.active {
  color: #050505;
  background: var(--yellow);
  box-shadow: 0 8px 28px rgba(250, 204, 21, 0.22);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--yellow);
  font-size: 22px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 0 0 18px;
  flex-direction: column;
  gap: 6px;
}

.hero {
  padding: 88px 0 54px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(250, 204, 21, 0.08);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 20px 0 16px;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

h1 span,
.section-title span,
.yellow {
  color: var(--yellow);
  text-shadow: 0 0 34px rgba(250, 204, 21, 0.25);
}

.lead {
  max-width: 720px;
  color: #d4d4d8;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(250, 204, 21, 0.25);
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #050505;
  background: linear-gradient(135deg, var(--yellow), #fff2a1);
  box-shadow: 0 18px 48px rgba(250, 204, 21, 0.24);
}

.btn-secondary {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  background: rgba(250, 204, 21, 0.1);
}

.hero-card,
.card,
.form-card {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 420px;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  right: -70px;
  top: -70px;
  background: rgba(250, 204, 21, 0.26);
  filter: blur(18px);
}

.server-box {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat strong {
  display: block;
  font-size: 26px;
  color: var(--yellow);
  margin-bottom: 4px;
}

.stat small {
  color: var(--muted);
  font-weight: 700;
}

.big-panel {
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.16), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(250, 204, 21, 0.24);
}

.big-panel h2 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.05em;
}

.big-panel p {
  margin: 0;
  color: #e4e4e7;
  line-height: 1.55;
}

.section {
  padding: 56px 0;
}

.page-hero {
  padding: 68px 0 28px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.section-subtitle {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

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

.card {
  padding: 24px;
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.48);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #050505;
  background: var(--yellow);
  font-size: 22px;
  box-shadow: 0 12px 34px rgba(250, 204, 21, 0.2);
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 9px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.card p,
.card li {
  color: #c7c7d1;
  line-height: 1.6;
}

.card p {
  margin: 0;
}

.rules-list {
  counter-reset: rules;
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.rule {
  counter-increment: rules;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 24px;
}

.rule::before {
  content: counter(rules, decimal-leading-zero);
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.28);
  color: var(--yellow);
  font-weight: 1000;
}

.rule h3 {
  margin: 0 0 6px;
}

.rule p {
  margin: 0;
  color: #c7c7d1;
  line-height: 1.6;
}

.price {
  display: flex;
  align-items: end;
  gap: 6px;
  margin: 12px 0 16px;
}

.price strong {
  font-size: 42px;
  color: var(--yellow);
}

.price span {
  color: var(--muted);
  padding-bottom: 8px;
}

.staff-avatar {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #050505;
  background: linear-gradient(135deg, var(--yellow), #fff2a1);
  font-size: 28px;
  font-weight: 1000;
}

.role {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.22);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

.form-card {
  padding: 28px;
  margin-top: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group {
  display: grid;
  gap: 8px;
}

.input-group.full {
  grid-column: 1 / -1;
}

label {
  color: #e4e4e7;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 16px;
  outline: none;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  font: inherit;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(250, 204, 21, 0.72);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.1);
}

.notice {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.5;
  font-weight: 800;
}

.notice.ok {
  display: block;
  color: #d1fae5;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}

.notice.error {
  display: block;
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
}

.footer {
  margin-top: 40px;
  padding: 32px 0;
  color: var(--muted);
  border-top: 1px solid rgba(250, 204, 21, 0.15);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-menu.open {
    display: flex;
  }

  .hero {
    padding-top: 56px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-card,
  .card,
  .form-card {
    border-radius: 22px;
  }

  .status-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .actions .btn {
    width: 100%;
  }
}
