﻿:root {
  --bg: #0f1115;
  --panel: #1b1f29;
  --text: #f4f6f8;
  --muted: #b5bcc9;
  --accent: #e64a19;
  --accent-2: #ff7043;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #1e2532, var(--bg));
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #2e3443;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
}

nav a, footer a {
  color: var(--muted);
  margin-left: 16px;
  text-decoration: none;
}

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

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}

.hero {
  background: linear-gradient(135deg, #202635, #141925);
  border: 1px solid #2d3342;
  border-radius: 12px;
  padding: 32px;
}

.section {
  margin-top: 32px;
}

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

.card, .plan {
  background: var(--panel);
  border: 1px solid #2d3342;
  border-radius: 10px;
  padding: 16px;
}

.thumb {
  height: 120px;
  border-radius: 8px;
  background: #2d3342;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.btn {
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
}

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

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  background: #2b3241;
  color: var(--text);
}

footer {
  margin-top: 40px;
  padding: 20px 24px;
  border-top: 1px solid #2e3443;
  color: var(--muted);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.gate-card {
  width: min(92%, 420px);
  padding: 24px;
  background: #161b26;
  border: 1px solid #2e3443;
  border-radius: 12px;
  text-align: center;
}

.gate-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.hidden {
  display: none;
}