/* Apex landing styles. Apps in subdirectories ship their own CSS, so this
   file only theming the apex page. Light/dark aware so the apex doesn't
   clash with any individual app's preferred theme. */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #5a5a5a;
  --line: #e6e6e6;
  --accent: #6b2fa0;
  --max: 880px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #181b22;
    --ink: #ececec;
    --ink-soft: #9aa3ad;
    --line: #2a2e36;
    --accent: #b885e5;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

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

header {
  padding: 80px 24px 40px;
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.tagline {
  color: var(--ink-soft);
  margin: 0;
  font-size: 18px;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px 80px;
}

.apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.app {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.1s ease, border-color 0.1s ease;
}

.app:hover {
  text-decoration: none;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

/* Per-app icon colors — matches each app's brand at a glance. */
.app-icon.brainrot { background: #FFD700; color: #0D0D0D; }
.app-icon.club     { background: #4F8BFF; color: white; }
.app-icon.dark     { background: #1a1a1a; color: white; }
.app-icon.tone     { background: #FF6B35; color: white; }
.app-icon.pp       { background: #32C671; color: white; }

.app-body h2 {
  font-size: 19px;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.app-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

footer a { color: var(--ink-soft); }
