:root {
  --bg: #0f0f1a;
  --card: #1e1e2e;
  --border: #333355;
  --accent: #6c63ff;
  --text: #ffffff;
  --muted: #aaaacc;
  --dim: #8888aa;
  --green: #4ade80;
  --red: #f87171;
  --max: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  padding: 24px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.brand img { width: 36px; height: 36px; border-radius: 8px; }

.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 60px 0 80px;
  text-align: center;
}

.hero img.logo {
  width: 180px;
  height: 180px;
  margin: 0 auto 32px;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(108, 99, 255, 0.25);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--text);
  padding: 18px 32px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108, 99, 255, 0.4); text-decoration: none; }

.cta-note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--dim);
}

/* App Store badge */
.app-store-badge {
  display: inline-block;
  transition: transform 0.15s, opacity 0.15s;
}

.app-store-badge img {
  height: 56px;
  width: auto;
  display: block;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  text-decoration: none;
}

.footer-badge {
  margin-bottom: 24px;
}

.footer-badge img {
  height: 44px;
  margin: 0 auto;
}

/* Nav CTA */
.nav-cta {
  background: var(--accent);
  color: var(--text) !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.nav-cta:hover {
  background: #8079ff;
  text-decoration: none !important;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-align: center;
}

.section .lead {
  font-size: 18px;
  color: var(--muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.feature .ico {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.feature p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* Screenshots */
.screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: end;
}

.shot {
  text-align: center;
}

.shot .frame {
  background: #000;
  padding: 8px;
  border-radius: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  max-width: 280px;
}

.shot img {
  border-radius: 28px;
  width: 100%;
}

.shot .caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

/* Audience */
.audience {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.audience ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.audience li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--text);
}

.audience li .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

/* Drama section */
.drama {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.06), transparent);
}

.drama h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-align: center;
  line-height: 1.15;
}

.drama .lead {
  font-size: 18px;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.drama-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.drama-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.drama-card img {
  width: 140px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.drama-tag {
  font-size: 22px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.drama-tag-win {
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.drama-tag-loss {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.drama-label {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
}

.drama-quote {
  font-size: 16px;
  color: var(--text);
  font-style: italic;
  opacity: 0.85;
}

.drama-win {
  border-color: rgba(74, 222, 128, 0.25);
}

.drama-loss {
  border-color: rgba(248, 113, 113, 0.25);
}

/* Trust */
.trust {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.05));
  padding: 60px 0;
}

.trust h2 { margin-bottom: 16px; }
.trust p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 16px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--dim);
  font-size: 14px;
}

.site-footer .footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.site-footer .footer-links a {
  color: var(--muted);
  font-weight: 600;
}

/* Legal pages */
.legal {
  padding: 60px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 20px;
  margin: 32px 0 12px;
  color: var(--text);
}

.legal p,
.legal ul {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
}

.legal a { color: var(--accent); }

/* Back to home link */
.back {
  display: inline-block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .hero { padding: 40px 0 60px; }
  .section { padding: 60px 0; }
  .audience { padding: 24px; }
  .nav { gap: 12px; }
  .nav a { font-size: 13px; }
  .nav a:not(.nav-cta) { display: none; }
  .app-store-badge img { height: 50px; }
  .drama-grid { grid-template-columns: 1fr; gap: 16px; }
  .drama-card { padding: 28px 20px; }
  .drama-card img { width: 110px; height: 140px; }
}
