:root {
  --bg: #0b0c10;
  --bg-elevated: #1f2833;
  --platinum: #e0e0e0;
  --accent: #00e5ff;
  --health: #00e676;
  --glass: rgba(31, 40, 51, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glow: 0 0 24px rgba(0, 229, 255, 0.35);
  --radius: 16px;
  --font: "Inter", "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
  --space-section: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--platinum);
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hidden {
  display: none !important;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 12px auto;
  width: min(1100px, 92vw);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.35rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--platinum);
  text-decoration: none;
  font-weight: 700;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.25);
}

.brand strong {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(224, 224, 224, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(0, 229, 255, 0.08));
  color: var(--accent);
  border: 1px solid rgba(0, 229, 255, 0.45);
}

.btn-glow {
  box-shadow: var(--glow);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
  }
  50% {
    box-shadow: 0 0 32px rgba(0, 229, 255, 0.45);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--platinum);
  border: 1px solid var(--glass-border);
}

.btn-premium {
  background: rgba(0, 230, 118, 0.12);
  color: var(--health);
  border: 1px solid rgba(0, 230, 118, 0.35);
  white-space: nowrap;
}

.btn-xl {
  font-size: 1.05rem;
  padding: 1rem 2rem;
  margin-top: 1rem;
}

.hero {
  padding: 5rem 0 3rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero-sub {
  max-width: 640px;
  color: rgba(224, 224, 224, 0.65);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.section {
  padding: var(--space-section) 0;
  position: relative;
  z-index: 1;
}

.section-head h2 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: rgba(224, 224, 224, 0.7);
  font-size: 0.92rem;
}

.section-head p {
  color: rgba(224, 224, 224, 0.55);
  margin: 0;
}

.silver-author {
  color: rgba(192, 192, 210, 0.9) !important;
  font-size: 1rem !important;
  margin-top: 0.75rem !important;
  font-weight: 500;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  padding: 1.25rem;
}

.card h3 {
  color: var(--accent);
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(224, 224, 224, 0.7);
}

.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-step {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.timeline-step h3 {
  margin: 0 0 0.35rem;
}

.timeline-step p {
  margin: 0;
  color: rgba(224, 224, 224, 0.7);
  font-size: 0.95rem;
}

code {
  font-size: 0.85em;
  background: rgba(0, 229, 255, 0.1);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.download-card {
  text-align: center;
  padding: 3rem 2rem;
  border-color: rgba(0, 229, 255, 0.25);
}

.download-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(224, 224, 224, 0.45);
}

.download-sub {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(224, 224, 224, 0.45);
}

.download-sub a {
  color: var(--accent);
}

.comment-form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(224, 224, 224, 0.55);
}

input,
select,
textarea {
  font-family: inherit;
  background: rgba(11, 12, 16, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  color: var(--platinum);
}

.comment-feed {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
}

.comment-bubble {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(31, 40, 51, 0.4);
  border: 1px solid var(--glass-border);
}

.comment-bubble strong {
  color: var(--accent);
}

.comment-meta {
  font-size: 0.8rem;
  color: rgba(224, 224, 224, 0.45);
  margin-bottom: 0.35rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(224, 224, 224, 0.45);
  position: relative;
  z-index: 1;
}

.footer-meta {
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
}

.footer-links a {
  color: rgba(224, 224, 224, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer-links span {
  color: rgba(224, 224, 224, 0.25);
  user-select: none;
}

/* --- Legal pages --------------------------------------------------------- */
.legal-page {
  position: relative;
  z-index: 1;
}

.legal-content {
  position: relative;
  z-index: 1;
  padding: 2rem 0 1rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.legal-header h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.legal-updated {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(224, 224, 224, 0.45);
}

.legal-body {
  padding: 2rem 2.25rem;
  max-width: 820px;
  margin: 0 auto 2rem;
}

.legal-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--platinum);
  letter-spacing: -0.02em;
}

.legal-body h2:first-of-type {
  margin-top: 1.25rem;
}

.legal-body h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(224, 224, 224, 0.9);
}

.legal-body p {
  margin: 0 0 1rem;
  color: rgba(224, 224, 224, 0.75);
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: rgba(224, 224, 224, 0.75);
}

.legal-body li {
  margin-bottom: 0.4rem;
}

.legal-body a {
  color: var(--accent);
  text-decoration: none;
}

.legal-body a:hover,
.legal-body a:focus-visible {
  text-decoration: underline;
}

.legal-body strong {
  color: var(--platinum);
  font-weight: 600;
}

/* --- AdSense slot -------------------------------------------------------- */
.adsense-slot {
  margin-top: 1.5rem;
  padding: 1rem;
  min-height: 90px;
  border-radius: 12px;
  background: rgba(11, 12, 16, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .header-actions {
    order: 2;
    width: 100%;
    justify-content: stretch;
  }

  .header-actions .btn {
    flex: 1;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .legal-body {
    padding: 1.35rem 1.25rem;
  }
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-discord {
  border: 1px solid rgba(88, 101, 242, 0.55);
  background: rgba(88, 101, 242, 0.15);
  color: #c7ccff;
}

.btn-discord:hover {
  background: rgba(88, 101, 242, 0.28);
}

.btn-youtube {
  border: 1px solid rgba(255, 0, 0, 0.45);
  background: rgba(255, 0, 0, 0.12);
  color: #ffb3b3;
}

.btn-youtube:hover {
  background: rgba(255, 0, 0, 0.22);
}

.brand img {
  filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.35));
}

.advisor-card {
  padding: 1.75rem 1.6rem;
}

.advisor-kicker {
  margin: 0 0 0.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.advisor-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.7rem;
}

.advisor-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: rgba(224, 224, 224, 0.82);
}

.advisor-list li {
  margin-bottom: 0.4rem;
}
