/* Turtles & Gaming — Turtles & Chill inspired */

:root {
  --bg: #000;
  --panel: rgba(14, 18, 15, .92);
  --panel-soft: rgba(13, 18, 15, .72);
  --text: #f7faf8;
  --muted: #8f9992;
  --soft: #cbd5cf;
  --green: #00d12f;
  --green-deep: #063914;
  --border: rgba(255,255,255,.11);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 209, 47, .10), transparent 28rem),
    #000;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 950;
  text-decoration: none;
  letter-spacing: -.04em;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 14px;
  background: rgba(0, 209, 47, .08);
  border: 1px solid rgba(0, 209, 47, .22);
}

.site-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 900;
  font-size: .94rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.live {
  color: #001906;
  background: var(--green);
  padding: 12px 20px;
  border-radius: 999px;
}

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 70px 0 90px;
}

.hero-logo {
  color: var(--green);
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .9rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(4.5rem, 12vw, 8.7rem);
  line-height: .88;
  letter-spacing: -.085em;
  margin-bottom: 26px;
}

.hero h1 .amp {
  color: var(--green);
}

.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  line-height: 1.35;
  font-weight: 850;
  margin-bottom: 32px;
}

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 78px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.055);
  color: var(--text);
  text-decoration: none;
  font-weight: 950;
}

.button.primary {
  background: var(--green);
  color: #001906;
  border-color: transparent;
}

.stream-area {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: stretch;
}

.embed-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
}

.video-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  background: #111;
}

.chat-frame {
  display: block;
  width: 100%;
  min-height: 430px;
  border: 0;
  background: #111;
}

.quick-section {
  padding: 0 0 74px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.quick-card,
.command-card,
.event-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(13, 18, 15, .88);
  padding: 24px;
  text-decoration: none;
}

.quick-card h2 {
  font-size: 1.35rem;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.quick-card p,
.command-description,
.lede {
  color: var(--muted);
}

.section {
  padding: 44px 0;
}

.section-title {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: .9;
  letter-spacing: -.08em;
  margin-bottom: 16px;
}

.calendar-frame {
  width: 100%;
  min-height: 650px;
  border: 0;
  display: block;
  background: white;
}

.footer {
  color: #5f6963;
  text-align: center;
  padding: 44px 0 54px;
}

/* Commands page */
.commands-hero {
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 15%, rgba(0,209,47,.14), transparent 22rem),
    linear-gradient(135deg, rgba(13,18,15,.96), rgba(8,12,10,.96));
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0,1fr) 200px;
  gap: 28px;
  align-items: center;
  margin: 38px 0 24px;
}

.kicker {
  color: var(--green);
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 10px;
}

.commands-hero h1 {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: .92;
  letter-spacing: -.07em;
  margin-bottom: 18px;
}

.stat-box {
  justify-self: end;
  width: 170px;
  min-height: 120px;
  border-radius: 22px;
  border: 1px solid rgba(0,209,47,.24);
  background: rgba(0,209,47,.08);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}

.stat-number {
  color: var(--green);
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}

.stat-label {
  color: var(--muted);
  font-size: .92rem;
  margin-top: 6px;
}

.controls {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(10,14,12,.82);
  padding: 18px;
  margin: 24px 0 14px;
}

label {
  display: block;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 850;
  margin-bottom: 8px;
}

.search {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.045);
  color: var(--text);
  padding: 0 16px;
  font: inherit;
  outline: none;
}

.search:focus {
  border-color: rgba(0,209,47,.55);
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.category-button {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.055);
  color: var(--soft);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.category-button.active {
  background: var(--green-deep);
  color: #fff;
  border-color: rgba(0,209,47,.55);
}

.count {
  color: var(--muted);
  margin: 14px 4px 16px;
  font-weight: 750;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
  align-items: stretch;
}

.command-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.command-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.command-title {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.command-category {
  color: var(--green);
  font-weight: 950;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.command-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 2px 0 16px;
}

.command-chip {
  border: 1px solid rgba(0,209,47,.3);
  background: rgba(0,209,47,.12);
  color: #dfffe6;
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 900;
  font-size: .82rem;
}

.command-description {
  overflow-wrap: anywhere;
  word-break: break-word;
  margin-bottom: 18px;
}

.copy-button {
  margin-top: auto;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight: 950;
  cursor: pointer;
}

.copy-button:hover {
  background: rgba(0,209,47,.14);
}

@media (max-width: 1040px) {
  .stream-area {
    grid-template-columns: 1fr;
  }

  .chat-frame {
    min-height: 520px;
  }

  .quick-grid,
  .command-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 12px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  .stream-area,
  .quick-grid,
  .command-grid {
    grid-template-columns: 1fr;
  }

  .video-frame,
  .chat-frame {
    min-height: 300px;
  }

  .commands-hero {
    grid-template-columns: 1fr;
  }

  .stat-box {
    justify-self: start;
  }
}
