/* ---------------------------------------------------
   Base / variables
--------------------------------------------------- */
:root {
  --bg:        #0b0a09;
  --bg-alt:    #151210;
  --bg-card:   #1c1714;
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text:      #fbf7f2;
  --text-dim:  #c9beb3;
  --text-faint:#8a8078;
  --accent:    #ff5a1f;
  --accent-2:  #ffb000;
  --accent-contrast: #1a0900;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.01em; }

/* ---------------------------------------------------
   Header
--------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 9, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.logo .dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  color: var(--accent-contrast) !important;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
}
.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

/* ---------------------------------------------------
   Hero
--------------------------------------------------- */
.hero {
  position: relative;
  padding: 120px 0 90px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.35) 0%, rgba(255, 176, 0, 0.12) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 6.5vw, 66px);
  line-height: 1.05;
  max-width: 820px;
  margin-bottom: 26px;
}

.accent-text {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 600px;
  color: var(--text-dim);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.15s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--accent-contrast);
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }

/* ---------------------------------------------------
   Sections
--------------------------------------------------- */
.section { padding: 90px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(27px, 3.5vw, 36px);
  margin-bottom: 12px;
}
.section-intro {
  color: var(--text-dim);
  max-width: 580px;
  font-size: 16px;
  margin-bottom: 48px;
}

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

.channel-card {
  display: block;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.channel-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.channel-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-2);
  display: block;
  margin-bottom: 18px;
}
.channel-card h3 { font-size: 21px; margin-bottom: 10px; }
.channel-card p { color: var(--text-dim); font-size: 14.5px; margin: 0 0 18px; }
.channel-link {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}
/* ---------------------------------------------------
   About
--------------------------------------------------- */
.about-wrap { max-width: 760px; }
.about-body {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.7;
}
.about-body strong { color: var(--text); }
.inline-link {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
}
.inline-link:hover { color: var(--accent-2); }

/* ---------------------------------------------------
   Contact
--------------------------------------------------- */
.contact-wrap { text-align: left; }
.contact-actions { margin: 8px 0 28px; }
.socials {
  display: flex;
  gap: 24px;
}
.socials a {
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
}
.socials a:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */
.site-footer { padding: 32px 0 48px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */
@media (max-width: 860px) {
  .channel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 96px 0 60px; }
  .footer-inner { flex-direction: column; gap: 6px; }
}

body.nav-open .nav {
  display: flex;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px;
}
body.nav-open .nav a { padding: 10px 0; width: 100%; }
