:root {
  --bg-dark: #0d1117;
  --bg-panel: #161b22;
  --primary: #5865f2;
  --primary-light: #7289da;
  --text: #e6e6e6;
  --text-dim: #a0a0a0;
  --radius: 12px;
  --font: 'Inter', 'Segoe UI', sans-serif;
}

body {
  background: var(--bg-dark) url('{{ "images/bg-duel.jpg" | relURL }}') center/cover no-repeat fixed;
  color: var(--text);
  font-family: var(--font);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at top right, rgba(80, 60, 200, 0.4), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(120, 60, 255, 0.3), transparent 70%);
  filter: blur(120px);
}

/* === HEADER === */
header {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 60px;
  height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

header .logo img {
  height: 40px;
  vertical-align: middle;
  transform: translateY(2px);
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 28px;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

/* === HERO === */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p {
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.btn {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 30px 0;
  background: rgba(22, 27, 34, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 0.9rem;
}
