/* Call of Anime — site stylesheet */

:root {
  --bg: #0b0e17;
  --bg-alt: #121728;
  --card: #171d31;
  --border: #2a3151;
  --text: #e8ebf5;
  --text-dim: #a3aac4;
  --accent: #ff5d3b;
  --accent-2: #ffb347;
  --accent-purple: #7c5cff;
  --success: #4ade80;
  --radius: 14px;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

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

h1, h2, h3, h4 {
  font-family: "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-dim); margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(255, 179, 71, 0.1);
  border: 1px solid rgba(255, 179, 71, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}

.brand img { height: 36px; width: auto; }
.brand:hover { text-decoration: none; opacity: 0.9; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0f08;
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.07); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { text-decoration: none; border-color: var(--accent-2); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* Hero */
.hero {
  position: relative;
  padding: 76px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(124, 92, 255, 0.25), transparent),
    radial-gradient(ellipse 50% 50% at 10% 20%, rgba(255, 93, 59, 0.18), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 { margin-bottom: 0.4em; }
.hero .lede { font-size: 1.1rem; max-width: 46ch; }

.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
}
.store-btn:hover { border-color: var(--accent-2); text-decoration: none; }
.store-btn .icon { font-size: 1.4rem; }
.store-btn small { display: block; color: var(--text-dim); font-weight: 400; font-size: 0.72rem; }
.store-btn span.big { font-size: 0.95rem; }

.trust-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.trust-row strong { color: var(--text); }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-art img {
  max-height: 520px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head p { margin: 0 auto; }

.alt-bg { background: var(--bg-alt); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.feature-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 14px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 0.94rem; }

.screens-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scroll-snap-type: x mandatory;
}
.screens-row img {
  scroll-snap-align: start;
  border-radius: 16px;
  border: 1px solid var(--border);
  flex: 0 0 auto;
  height: 420px;
  width: auto;
}

.cta-band {
  background: linear-gradient(135deg, rgba(255,93,59,0.16), rgba(124,92,255,0.16));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 46px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 50ch; margin: 0 auto 22px; }

/* Blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card .post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.post-card h3 { margin-bottom: 10px; }
.post-card p { flex: 1; font-size: 0.92rem; }
.post-card .read-more { font-weight: 700; margin-top: 10px; }

.article {
  max-width: 760px;
  margin: 0 auto;
}
.article .post-meta { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.article h2 { margin-top: 1.4em; }
.article p, .article li { color: var(--text-dim); font-size: 1.02rem; }
.article ul, .article ol { padding-left: 1.3em; }
.article blockquote {
  border-left: 3px solid var(--accent);
  margin: 24px 0;
  padding: 4px 20px;
  color: var(--text);
  font-style: italic;
  background: var(--card);
  border-radius: 0 10px 10px 0;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumbs a { color: var(--text-dim); }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { margin-top: 1.6em; }
.legal p, .legal li { color: var(--text-dim); }
.legal ul { padding-left: 1.3em; }
.updated-note { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 30px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 16px;
}
.contact-card h3 { margin-bottom: 6px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: var(--text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--text-dim); margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.shots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .shots-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-art { order: -1; }
  .hero-art img { max-height: 340px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .main-nav { position: fixed; top: 66px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 18px 20px; gap: 16px; display: none; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 30px 20px; }
  .shots-grid { grid-template-columns: 1fr; }
}
