/* same style as v1 with small tweaks for table pages */
:root {
  --bg: #0c121a;
  --panel: #0a1118;
  --blue: #4aa3ff;
  --text: #e9f2ff;
  --muted: #a8c1da;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Prompt', system-ui, Arial, sans-serif;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: #071017;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.logo {
  font-weight: 500;
  letter-spacing: .5px;
}

.logo .blue {
  color: var(--blue);
}

.nav a {
  margin: 0 10px;
  color: #cfe3ff;
  text-decoration: none;
  font-weight: 400;
  opacity: .9;
}

.nav a:hover,
.nav a.active {
  opacity: 1;
  text-shadow: 0 0 24px rgba(74,163,255,.35);
}

.account .btn-small {
  margin-left: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--blue);
  color: #00162b;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 0 24px rgba(74,163,255,.35);
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, #0a121a 0%, #0a141e 60%, #0b1824 100%);
}

.hero-title {
  font-size: 64px;
  line-height: 1.05;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-title .glow {
  color: #bfe2ff;
  text-shadow: 0 0 14px #9fd8ff, 0 0 28px #4faeff;
}

.sub {
  max-width: 900px;
  color: var(--muted);
  font-size: 18px;
}

.hero-cta {
  margin-top: 18px;
}

/* Buttons */
.btn-blue,
.btn-outline {
  display: inline-block;
  margin: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 400;
}

.btn-blue {
  background: var(--blue);
  color: #00162b;
  box-shadow: 0 0 24px rgba(74,163,255,.35);
}

.btn-outline {
  border: 2px solid rgba(74,163,255,.5);
  color: #bfe2ff;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

.countdown div {
  background: #0c1622;
  border: 1px solid rgba(255,255,255,.06);
  padding: 12px 18px;
  border-radius: 10px;
  min-width: 90px;
}

.countdown span {
  font-size: 28px;
  font-weight: 500;
  display: block;
}

.countdown small {
  color: #86a7c6;
}

/* Sections */
.pad {
  padding: 80px 24px;
}

.section-dark {
  background: #0a1219;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin: 0 0 40px;
  text-shadow: 0 0 24px rgba(74,163,255,.35);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature {
  background: #0c1622;
  border: 1px solid rgba(255,255,255,.05);
  padding: 22px;
  border-radius: 14px;
}

.feature .icon {
  font-size: 28px;
  margin-bottom: 10px;
}

/* Classes */
.classes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.card {
  background: #0c1622;
  border: 1px solid rgba(255,255,255,.05);
  padding: 18px;
  border-radius: 14px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  background: linear-gradient(180deg, #112030, #0c1622);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.news {
  background: #0c1622;
  border: 1px solid rgba(255,255,255,.05);
  padding: 18px;
  border-radius: 14px;
}

.news .thumb {
  height: 160px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1a2b3f, #0c1622);
}

/* Socials */
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.socials .circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #0c1622;
  border: 1px solid rgba(255,255,255,.06);
  color: #bfe2ff;
  text-decoration: none;
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 28px;
  text-align: center;
  color: rgba(255,255,255,.2);
  background: #071017;
  font-size: .85rem;
  letter-spacing: .05em;
}

/* Forms */
.form-card {
  width: 420px;
  max-width: 92vw;
  margin: 80px auto;
  padding: 30px;
  background: #0c1622;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(74,163,255,.35);
}

.form-card input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: #0a131d;
  color: #eaf2ff;
}

.errors {
  padding: 10px 12px;
  background: #2a1b1b;
  border: 1px solid #4a2b2b;
  border-radius: 8px;
  color: #ffbfbf;
  margin-bottom: 10px;
}

.welcome {
  margin-right: 8px;
  opacity: .9;
}