@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:        #080810;
  --bg2:       #0f0f1e;
  --bg3:       #16162a;
  --border:    #1e1e38;
  --red:       #c0392b;
  --red-hover: #e74c3c;
  --gold:      #e67e22;
  --text:      #dde1ec;
  --muted:     #6b7280;
  --green:     #27ae60;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}

/* ── NAVBAR ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,16,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 36px; }
.nav-logo span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .5px;
}

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-links a.active { color: var(--text); background: var(--bg3); }
.nav-links .btn-discord {
  background: #5865F2;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links .btn-discord:hover { background: #4752c4; color: #fff; }

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 48px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(192,57,43,.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(192,57,43,.08), transparent);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 0 40px rgba(192,57,43,.5));
}
.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 30%, var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 300;
}
.hero-by {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
  letter-spacing: .3px;
}
.hero-by strong { color: var(--red); }
.hero .btn { margin-top: 0; }

/* ── CARDS GRID ── */
.section { padding: 64px 48px; max-width: 1100px; margin: 0 auto; }
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #2e2e55; transform: translateY(-2px); }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.icon-red   { background: rgba(192,57,43,.15); }
.icon-gold  { background: rgba(230,126,34,.15); }
.icon-blue  { background: rgba(52,152,219,.15); }
.icon-green { background: rgba(39,174,96,.15); }

.card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 8px;
}
.card-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}
.card-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── SEPARATOR ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0 48px; }

/* ── DISCORD BANNER ── */
.discord-banner {
  background: linear-gradient(135deg, #3c4294, #5865F2);
  border-radius: 16px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.discord-banner h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}
.discord-banner p { color: rgba(255,255,255,.75); font-size: 15px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: #3c4294; }
.btn-white:hover { background: #eef0ff; }
.btn-red { background: var(--red); color: #fff; font-size: 16px; }
.btn-red:hover { background: var(--red-hover); }

/* ── DOWNLOAD PAGE ── */
.version-latest {
  background: var(--bg2);
  border: 1px solid var(--red);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.version-latest::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(192,57,43,.08), transparent);
  pointer-events: none;
}
.badge-latest {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.version-latest h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}
.version-meta { color: var(--muted); font-size: 13px; display: flex; gap: 20px; flex-wrap: wrap; }
.version-meta span { display: flex; align-items: center; gap: 6px; }

.versions-table {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.versions-table table {
  width: 100%;
  border-collapse: collapse;
}
.versions-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.versions-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.versions-table tr:last-child td { border-bottom: none; }
.versions-table tr:hover td { background: var(--bg3); }
.badge-old {
  display: inline-block;
  background: var(--bg3);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.no-dl { color: var(--muted); font-size: 13px; font-style: italic; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .hero { padding: 60px 20px 50px; }
  .section { padding: 40px 20px; }
  .divider { margin: 0 20px; }
  footer { padding: 24px 20px; }
  .discord-banner { padding: 28px 24px; }
  .version-latest { padding: 24px; }
}
