:root {
  --bg-primary: #1a1209;
  --bg-secondary: #231608;
  --bg-card: #2a1c0a;
  --accent: #d4a030;
  --accent-hover: #e8b840;
  --accent-muted: rgba(212, 160, 48, 0.25);
  --text-primary: #f5e6c0;
  --text-secondary: rgba(220, 190, 120, 0.75);
  --text-muted: rgba(200, 160, 80, 0.5);
  --border: rgba(200, 150, 50, 0.2);
  --note-red: #e05050;
  --note-blue: #4488dd;
  --note-green: #44aa66;
  --note-amber: #cc8822;
  --note-purple: #aa44cc;
  --radius: 8px;
  --radius-lg: 12px;
  --nav-height: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

img, svg { display: block; max-width: 100%; }

h1 { font-size: 2.4rem; font-weight: 500; line-height: 1.2; color: var(--text-primary); }
h2 { font-size: 1.8rem; font-weight: 500; color: var(--text-primary); }
h3 { font-size: 1.2rem; font-weight: 500; color: var(--accent); }

p { color: var(--text-secondary); }

section { padding: 5rem 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #1a0e00;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #1a0e00; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent-muted); }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.divider { border: none; border-top: 0.5px solid var(--border); }

@media (max-width: 700px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  section { padding: 3rem 0; }
}

/* NAV */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 18, 9, 0.95);
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(8px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 500;
}
.nav-logo:hover { color: var(--accent-hover); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO */
.hero { padding: 0; }
.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 5rem 2rem 3rem;
}
.hero-text { flex: 1; }
.hero-sub {
  max-width: 420px;
  margin: 1rem 0 2rem;
  font-size: 1rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-fine { margin-top: 1rem; color: var(--text-muted); font-size: 0.8rem; }
.hero-image { flex-shrink: 0; }

.platform-strip {
  border-top: 0.5px solid var(--border);
  background: var(--bg-secondary);
}
.platform-inner {
  display: flex;
  padding: 1.25rem 2rem;
}
.platform-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.platform-item + .platform-item { border-left: 0.5px solid var(--border); }
.platform-name { font-size: 1.1rem; font-weight: 500; color: var(--accent); }
.platform-name.muted { color: var(--text-muted); }
.platform-status { font-size: 0.75rem; }
.platform-status.available { color: var(--text-secondary); }
.platform-status.coming-soon { color: var(--text-muted); }

@media (max-width: 700px) {
  .hero-inner { flex-direction: column; padding: 3rem 1.5rem 2rem; }
  .hero-image { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-primary);
    border-bottom: 0.5px solid var(--border);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
}

/* ABOUT */
#about { background: var(--bg-secondary); }
.about-lead { font-size: 1.05rem; max-width: 700px; margin: 1rem 0 0.75rem; }
.about-bio { font-size: 0.95rem; max-width: 700px; margin-bottom: 3rem; color: var(--text-muted); }
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.feature-icon { font-size: 1.8rem; margin-bottom: 0.75rem; color: var(--accent); }
.feature-card p { font-size: 0.9rem; margin-top: 0.4rem; }

/* VIDEOS */
#videos { background: var(--bg-primary); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--accent-muted);
  background: var(--bg-card);
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-thumb-placeholder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--accent);
}
.play-icon { font-size: 2.5rem; }
.video-thumb-placeholder p { font-size: 0.85rem; color: var(--text-muted); }
.video-title { margin-top: 0.75rem; }
.video-desc { font-size: 0.9rem; margin-top: 0.25rem; }
.video-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }
.video-single { max-width: 800px; }

/* DOWNLOAD */
#download { background: var(--bg-secondary); }
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.download-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.download-card-dim { opacity: 0.5; }
.download-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.download-req { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.download-btn { margin-top: 0.5rem; min-width: 160px; }
.download-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.download-version { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
h3.muted { color: var(--text-muted); }

/* SUPPORT */
#support { background: var(--bg-primary); }
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.support-item {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.support-item p { font-size: 0.9rem; margin-top: 0.4rem; }

/* FOOTER */
footer {
  background: var(--bg-secondary);
  border-top: 0.5px solid var(--border);
  padding: 1.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* NEWS */
#news { background: var(--bg-primary); min-height: 60vh; }
.news-entry {
  border-left: 3px solid var(--accent);
  padding: 0 0 2.5rem 1.5rem;
  margin-bottom: 2.5rem;
}
.news-entry + .news-entry { border-top: 0.5px solid var(--border); padding-top: 2.5rem; }
.news-date { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 0.4rem; }
.news-title { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text-primary); }
