/* ==========================================================
   No More Care — nomorecare.gg
   Terminal-indie aesthetic. Dark, monospace accents, amber/green.
   ========================================================== */

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

:root {
  --bg:        #0a0a0c;
  --bg-2:      #0e0e12;
  --bg-3:      #14141a;
  --surface:   #15151b;
  --surface-2: #1b1b23;
  --border:    #23232d;
  --border-2:  #2e2e3c;

  --text:      #e6e6ea;
  --text-dim:  #8a8a9a;
  --text-mute: #555566;

  --green:     #4ade80;       /* CRT green */
  --green-dim: #22c55e;
  --amber:     #fbbf24;       /* CRT amber */
  --amber-dim: #f59e0b;
  --warn:      #ef4444;
  --cta:       #fbbf24;       /* CTA = amber */

  --mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.mono { font-family: var(--mono); }
.dim  { color: var(--text-dim); }

::selection { background: var(--amber); color: #000; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 0 1.5rem;
  transition: background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10,10,12,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: .35rem;
  font-family: var(--mono); font-weight: 700; font-size: .95rem;
  color: var(--text);
}
.nav-prompt { color: var(--green); }
.nav-cursor {
  color: var(--green);
  animation: blink 1.1s steps(1) infinite;
}
.nav-links { display: flex; gap: .25rem; }
.nav-link {
  padding: .5rem .85rem;
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--text-dim);
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--green); background: rgba(74,222,128,.06); }
.nav-link.active { color: var(--green); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  width: 22px; height: 2px; background: var(--text-dim); border-radius: 1px;
  transition: transform .25s, opacity .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 6rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(74,222,128,.08), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(251,191,36,.05), transparent 60%),
    var(--bg);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,222,128,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.scanlines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,.012) 2px,
    rgba(255,255,255,.012) 3px
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
}
.hero-meta {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--mono); font-size: .78rem;
  color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .12em;
  padding: .4rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  margin-bottom: 2rem;
}
.dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.sep { color: var(--text-mute); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}

.hero-title {
  font-family: var(--mono);
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
}
.hero-title span { display: block; }
.hero-accent { color: var(--green); position: relative; }
.cursor {
  display: inline-block;
  color: var(--green);
  animation: blink 1.1s steps(1) infinite;
  margin-left: .1em;
}

.hero-tagline {
  font-family: var(--mono);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--amber);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex; gap: .75rem;
  justify-content: center; flex-wrap: wrap;
}
.hero-bottom {
  position: absolute; bottom: 1.5rem; left: 0; right: 0;
  z-index: 2;
  display: flex; justify-content: center;
}
.hero-status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem;
  padding: .35rem .8rem;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.4);
  border-radius: 4px;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.25rem;
  font-family: var(--mono);
  font-size: .88rem;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta);
  color: #1a1207;
  border-color: var(--cta);
}
.btn-primary:hover {
  background: #fcd34d;
  border-color: #fcd34d;
  box-shadow: 0 0 0 4px rgba(251,191,36,.15);
  transform: translateY(-1px);
}
.btn-ghost {
  color: var(--text);
  border-color: var(--border-2);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(74,222,128,.05);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 6rem 1.5rem;
}
.section-divider { border-top: 1px solid var(--border); }
.section-dim { background: var(--bg-2); border-top: 1px solid var(--border); }
.section-inner { max-width: 1180px; margin: 0 auto; }

.section-head { margin-bottom: 3rem; }
.section-tag {
  display: block;
  font-size: .8rem;
  color: var(--green);
  margin-bottom: .5rem;
  letter-spacing: .05em;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

/* ---------- Game: Terminal Stake (featured) ---------- */
.game-featured { margin-bottom: 4rem; }

.terminal {
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: #050507;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(74,222,128,.06),
    0 25px 60px -20px rgba(0,0,0,.6),
    0 0 80px rgba(74,222,128,.04);
}
.terminal-bar {
  display: flex; align-items: center;
  padding: .65rem 1rem;
  background: linear-gradient(to bottom, #1a1a22, #131319);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.terminal-dots { display: flex; gap: .35rem; }
.terminal-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--border-2);
}
.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }
.terminal-title {
  flex: 1; text-align: center;
  font-size: .8rem; color: var(--text-dim);
}
.terminal-controls {
  font-size: .85rem; color: var(--text-mute); letter-spacing: .25em;
}

.terminal-body { padding: 0; }
.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.terminal-screen {
  padding: 1.75rem;
  font-family: var(--mono);
  font-size: .85rem;
  line-height: 1.7;
  color: var(--green);
  background:
    radial-gradient(ellipse at center, rgba(74,222,128,.04), transparent 75%),
    #050507;
  text-shadow: 0 0 6px rgba(74,222,128,.4);
  border-right: 1px solid var(--border);
  position: relative;
  min-height: 420px;
}
.terminal-screen::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0,0,0,.35) 2px,
    rgba(0,0,0,.35) 3px
  );
  mix-blend-mode: multiply;
}

.term-line { white-space: pre; }
.term-prompt { color: var(--amber); }
.term-cmd { color: var(--text); }
.term-ok { color: var(--green); }
.term-amber { color: var(--amber); text-shadow: 0 0 6px rgba(251,191,36,.4); }
.term-warn { color: var(--warn); text-shadow: 0 0 6px rgba(239,68,68,.4); }
.term-blink {
  display: inline-block; color: var(--green);
  animation: blink 1.1s steps(1) infinite;
}

.game-info { padding: 2rem; display: flex; flex-direction: column; }

.game-status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 1rem;
  letter-spacing: .1em;
}
.status-soon    { color: var(--green); background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.25); }
.status-dev     { color: var(--amber); background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25); }
.status-planned { color: var(--text-dim); background: rgba(255,255,255,.03); border: 1px solid var(--border-2); }
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.game-name {
  font-family: var(--mono);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .35rem;
}
.game-slogan {
  font-family: var(--mono);
  color: var(--amber);
  font-size: .9rem;
  font-style: italic;
  margin-bottom: 1.25rem;
  padding-left: .8rem;
  border-left: 2px solid var(--amber);
}
.game-desc {
  color: var(--text-dim);
  font-size: .95rem;
  margin-bottom: 1.25rem;
}
.game-features {
  list-style: none;
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}
.game-features li { padding: .15rem 0; }
.bullet { color: var(--green); margin-right: .5rem; }

.game-actions {
  display: flex; gap: .65rem; flex-wrap: wrap;
  margin-top: auto;
}

/* ---------- Game teasers (Incrememory, Increvolution) ---------- */
.teasers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.game-teaser {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color .25s, transform .25s;
}
.game-teaser:hover { border-color: var(--border-2); transform: translateY(-2px); }

/* Increvolution: subtle eco-green accent so the two teasers don't look identical */
.teaser-eco .teaser-glyph {
  background:
    radial-gradient(circle at 50% 50%, rgba(74,222,128,.08), transparent 70%),
    linear-gradient(135deg, var(--bg-3), var(--bg-2));
}
.teaser-eco .teaser-glyph::before {
  background-image:
    linear-gradient(rgba(74,222,128,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,222,128,.05) 1px, transparent 1px);
}
.teaser-eco .glyph-grid span {
  background: var(--green);
  animation-name: glyph-eco;
}
@keyframes glyph-eco {
  0%, 100% { opacity: .15; }
  50%      { opacity: .85; box-shadow: 0 0 8px var(--green); }
}

.teaser-glyph {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(251,191,36,.08), transparent 70%),
    linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.teaser-glyph::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(251,191,36,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,191,36,.04) 1px, transparent 1px);
  background-size: 18px 18px;
}
.glyph-grid {
  display: grid;
  grid-template-columns: repeat(3, 18px);
  grid-template-rows: repeat(3, 18px);
  gap: 6px;
  z-index: 1;
}
.glyph-grid span {
  background: var(--amber);
  border-radius: 2px;
  opacity: .15;
  animation: glyph 3.5s ease-in-out infinite;
}
.glyph-grid span:nth-child(1)  { animation-delay: 0s; }
.glyph-grid span:nth-child(2)  { animation-delay: .2s; }
.glyph-grid span:nth-child(3)  { animation-delay: .4s; }
.glyph-grid span:nth-child(4)  { animation-delay: .6s; }
.glyph-grid span:nth-child(5)  { animation-delay: .8s; }
.glyph-grid span:nth-child(6)  { animation-delay: 1.0s; }
.glyph-grid span:nth-child(7)  { animation-delay: 1.2s; }
.glyph-grid span:nth-child(8)  { animation-delay: 1.4s; }
.glyph-grid span:nth-child(9)  { animation-delay: 1.6s; }

@keyframes glyph {
  0%, 100% { opacity: .15; }
  50%      { opacity: .85; box-shadow: 0 0 8px var(--amber); }
}

.teaser-info { display: flex; flex-direction: column; gap: .35rem; }
.teaser-info .game-name { font-size: 1.4rem; }
.teaser-meta {
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--text-mute);
}

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text p {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); font-weight: 600; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-self: center;
}
.stat {
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
  transition: border-color .25s, transform .25s;
}
.stat:hover { border-color: var(--green); transform: translateY(-2px); }
.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ---------- Links ---------- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .75rem;
}
.ext-link {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all .2s ease;
}
.ext-link:hover {
  border-color: var(--green);
  background: rgba(74,222,128,.04);
  transform: translateY(-2px);
}
.ext-link.primary {
  border-color: var(--green-dim);
  background: rgba(74,222,128,.04);
}
.ext-link.primary:hover { background: rgba(74,222,128,.09); }
.ext-link.disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
.ext-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.03);
  border-radius: 6px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.ext-icon svg { width: 20px; height: 20px; }
.ext-link:hover .ext-icon { color: var(--green); }
.ext-text { flex: 1; display: flex; flex-direction: column; }
.ext-text strong {
  font-family: var(--mono); font-size: .9rem; font-weight: 600;
}
.ext-text span { font-size: .78rem; color: var(--text-dim); }
.ext-arr { color: var(--text-mute); transition: transform .2s, color .2s; }
.ext-link:hover .ext-arr { transform: translateX(3px); color: var(--green); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  background: var(--bg);
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-line { font-size: .85rem; color: var(--text-dim); }
.footer-line .term-prompt { color: var(--green); margin-right: .35rem; }
.footer-meta {
  font-size: .78rem; color: var(--text-mute);
  display: flex; gap: .5rem; align-items: center;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .terminal-grid { grid-template-columns: 1fr; }
  .terminal-screen {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-height: 320px;
    font-size: .78rem;
  }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .teasers-grid { grid-template-columns: 1fr; }
  .game-teaser { grid-template-columns: 140px 1fr; gap: 1.25rem; padding: 1.25rem; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 1rem;
    background: rgba(10,10,12,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }

  .section { padding: 4rem 1.25rem; }
  .game-info { padding: 1.5rem; }
  .game-name { font-size: 1.5rem; }
  .terminal-screen { padding: 1.15rem; font-size: .72rem; }

  .about-stats { grid-template-columns: 1fr; }
  .game-teaser { grid-template-columns: 1fr; text-align: left; }
  .teaser-glyph { max-width: 180px; }

  .footer-inner { flex-direction: column; text-align: center; }
}
