/* === GameTrack.gg Brand Styles === */

/* ---------- Variables ---------- */
:root {
  --bg: #0a0f0d;
  --bg-card: #121a17;
  --fg: #f8fafc;
  --muted: #a3a3a3;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --warn: #eab308;
  --radius: 10px;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --max-width: 1100px;
}

/* ---------- Base ---------- */
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-3);
  font-weight: 700;
}

p {
  margin: 0 0 var(--s-3);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ---------- Layout ---------- */
.hero {
  text-align: left;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-3);
}

/* ---------- Cards ---------- */
.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--s-3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.card.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

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

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

.btn-ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--accent);
  color: #000;
}

/* ---------- Badges ---------- */
.badge {
  background: var(--accent);
  color: #000;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 8px;
  text-transform: uppercase;
}

.badge.warn {
  background: var(--warn);
  color: #000;
}

/* ---------- Utilities ---------- */
.text-muted {
  color: var(--muted);
}

.small {
  font-size: var(--text-sm);
}

footer {
  margin-top: 5vh;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--s-3);
  color: var(--muted);
}
