/* Base */
:root {
  --bg: #0b0d11;
  --bg-elev: #12151b;
  --text: #e7eaf0;
  --muted: #a6adbb;
  --brand: #6aa5ff;
  --brand-2: #8a7bff;
  --accent: #3dd6b5;
  --card: #11151d;
  --border: #252b36;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1000px 600px at 10% -10%, rgba(138,123,255,.15), transparent 60%),
              radial-gradient(800px 500px at 110% 10%, rgba(58,214,181,.12), transparent 60%),
              var(--bg);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,13,17,.7);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.logo {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #081019; font-weight: 800;
}
.brand-text { font-weight: 700; letter-spacing: .2px; }
.brand-subtext {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: .5px;
  opacity: 0.75;
  margin-top: 2px;
}

.nav { display: flex; gap: 18px; }
.nav a {
  color: var(--text); text-decoration: none; opacity: .9;
  padding: 6px 10px; border-radius: 6px;
}
.nav a:hover { background: var(--bg-elev); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-inner { text-align: left; }
.hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; }
.lede { color: var(--muted); max-width: 60ch; margin-bottom: 18px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); text-decoration: none; }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #081019; font-weight: 700; border: none; }

/* Sections */
.section { padding: 40px 0; }
.section h2 { font-size: 22px; margin: 0 0 14px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.card-media { height: 140px; background: #0f1622; }
.placeholder.gradient-1 { background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); filter: saturate(0.8) brightness(0.9); }
.placeholder.gradient-2 { background: linear-gradient(135deg, #0cebeb, #20e3b2, #29ffc6); filter: saturate(0.9) brightness(0.85); }

/* Diagonal ribbon */
.ribbon {
  position: absolute;
  left: -20%; right: -20%; top: 50%; transform: translateY(-50%) rotate(-20deg);
  text-align: center;
  background: rgba(0,0,0,.55);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  padding: 10px 0;
  pointer-events: none;
  border-top: 1px dashed rgba(255,255,255,.25);
  border-bottom: 1px dashed rgba(255,255,255,.25);
}

.card-body { padding: 14px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card-text { margin: 0 0 12px; color: var(--muted); }
.platforms { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.platforms li { font-size: 12px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 24px; }
.footer-inner { padding: 20px 0; color: var(--muted); font-size: 13px; }

/* Utils */
.small { font-size: 12px; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-elev: #f5f7fb;
    --text: #0e1116;
    --muted: #475569;
    --card: #ffffff;
    --border: #e2e8f0;
  }
  body { background: var(--bg); }
  .site-header { background: rgba(255,255,255,.75); }
}
