:root {
  --bg: #07090d;
  --bg-soft: #0c1016;
  --panel: rgba(15, 20, 28, 0.82);
  --panel-strong: rgba(18, 24, 34, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.04);
  --text: #f5f7fb;
  --muted: #97a3b6;
  --accent: #f3b35d;
  --accent-soft: rgba(243, 179, 93, 0.18);
  --blue: #6f97ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 151, 255, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(243, 179, 93, 0.10), transparent 28%),
    linear-gradient(180deg, #06080c 0%, #090c12 45%, #07090d 100%);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.4;
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* BACKGROUND */

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

.bg-orb--left {
  top: -120px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: rgba(111, 151, 255, 0.16);
}

.bg-orb--right {
  top: 80px;
  right: -100px;
  width: 340px;
  height: 340px;
  background: rgba(243, 179, 93, 0.14);
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 9, 13, 0.55);
  border-bottom: 1px solid var(--border-soft);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo__mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffd69d);
  box-shadow: 0 0 20px rgba(243, 179, 93, 0.6);
}

.logo__text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav a:hover {
  color: var(--text);
}

/* HERO */

.hero {
  min-height: calc(100vh - 79px);
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.hero__wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: end;
}

.hero__label {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 150px);
  line-height: 0.88;
  text-transform: uppercase;
}

.hero__subtitle {
  margin-top: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

.hero__badges {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.hero__badges span {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* SERVER BOX */

.server-box {
  padding: 24px;
  border-radius: 28px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.server-box h2 {
  font-size: 80px;
}

/* CARDS */

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

.card {
  padding: 24px;
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

/* ABOUT */

.about__wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
}

/* AUTH */

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  padding: 28px;
  border-radius: 28px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
}

.auth-title {
  font-size: 40px;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.auth-field input {
  height: 50px;
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
}

.auth-button {
  height: 50px;
  border-radius: 14px;
  background: var(--accent);
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* MOBILE */

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