
:root {
  --bg: #0b0d10;
  --bg2: #11151a;
  --card: rgba(22, 27, 34, .86);
  --line: rgba(255,255,255,.09);
  --text: #f7f8fa;
  --muted: #aeb7c2;
  --accent: #70ef9b;
  --accent2: #39c46d;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(0,0,0,.28);
}

* { 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;
  background: var(--bg);
  color: var(--text);
}

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

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

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 70% 20%, rgba(80,255,145,.12), transparent 28%),
    #0b0d10;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .48;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,11,.95) 0%, rgba(7,9,11,.78) 48%, rgba(7,9,11,.42) 100%),
    linear-gradient(0deg, #0b0d10 0%, transparent 42%);
  z-index: 1;
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: #d6dbe1;
}

.nav-links a:hover { color: white; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 128px 0 120px;
  margin-top: auto;
  margin-bottom: auto;
}

.live-pill {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(112,239,155,.25);
  background: rgba(112,239,155,.09);
  color: #b8ffcb;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.live-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent);
}

h1 {
  font-size: clamp(4rem, 11vw, 8.6rem);
  line-height: .88;
  margin: 30px 0 20px;
  letter-spacing: -.07em;
}

.hero-subtitle {
  max-width: 720px;
  color: #d6dbe0;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.55;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.badges span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 9px 14px;
  color: #e8eaed;
}

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

.btn {
  border: 0;
  border-radius: 14px;
  padding: 15px 21px;
  cursor: pointer;
  font-weight: 800;
}

.btn-primary {
  background: var(--accent);
  color: #07110b;
}

.btn-primary:hover { background: #8bffad; }

.btn-secondary {
  color: white;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
}

.hero-note {
  max-width: 780px;
  margin-top: 28px;
  color: #b7c0ca;
  line-height: 1.6;
}

.section { padding: 96px 0; }

.alt {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title span {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .78rem;
}

.section-title h2 {
  margin: 9px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.045em;
}

.section-title p {
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

.server-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 42px;
}

.server-card,
.info-card {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}

.edition {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .08em;
  font-size: .78rem;
}

.online {
  font-size: .78rem;
  background: rgba(112,239,155,.11);
  color: #b6ffc9;
  padding: 7px 10px;
  border-radius: 999px;
}

.server-card h3,
.info-card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.server-card > p,
.info-card p {
  color: var(--muted);
  line-height: 1.6;
}

.connection-box {
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.22);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.connection-box small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}

.connection-box strong {
  overflow-wrap: anywhere;
}

.copy-mini {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.06);
  color: white;
  padding: 9px 12px;
  cursor: pointer;
}

.info-grid { grid-template-columns: repeat(4, 1fr); }

.icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(112,239,155,.1);
  color: var(--accent);
  font-weight: 900;
  font-size: 1.15rem;
}

.specs {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid var(--line);
}

.specs > div:last-child { border-bottom: 0; }
.specs span { color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-content strong { color: white; }
.footer-content p { margin: 6px 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: white;
  color: #111;
  font-weight: 800;
  padding: 11px 16px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { min-height: 680px; }
  .hero-content { padding-top: 100px; }
  .server-grid, .info-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; align-items: flex-start; }
  .specs > div { flex-direction: column; gap: 5px; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 26px, 1160px); }
  .section { padding: 70px 0; }
  h1 { font-size: 4.5rem; }
}
