:root {
  --bg: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.7);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.4);
  --input-bg: rgba(15, 23, 42, 0.5);
  --link-color: #38bdf8;
}

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

body {
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 30%, rgba(245, 158, 11, 0.08), transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(56, 189, 248, 0.08), transparent 30%);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

header {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease-out;
}

header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
header h1 a {
  color: var(--text-main);
}
header h1 a:hover {
  text-decoration: none;
  opacity: 0.8;
}

main {
  width: 100%;
  max-width: 440px;
  animation: fadeInUp 0.8s ease-out;
}

.page-container {
  max-width: 750px;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), #fcd34d);
  transition: all 0.5s ease;
}

/* Page specific text styles */
.glass-card p {
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.glass-card ul, .glass-card ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
  color: #cbd5e1;
}

.glass-card table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.glass-card th, .glass-card td {
  border: 1px solid var(--card-border);
  padding: 8px;
}
.glass-card tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.beta-badge {
  font-size: 0.75rem;
  background: var(--accent);
  color: #000;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  font-weight: 800;
  vertical-align: top;
  margin-left: 0.3rem;
  text-transform: uppercase;
  box-shadow: 0 0 10px var(--accent-glow);
}

.home-btn {
  display: inline-block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}
.home-btn:hover {
  border-color: var(--accent);
  text-decoration: none;
  box-shadow: 0 0 10px var(--accent-glow);
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}
.footer-links a:hover {
  color: var(--text-main);
  background: rgba(255,255,255,0.05);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
