/* Neko Cafe Industries — cinematic presentation (Endfield zone) */

:root {
  --bg: #0a0810;
  --bg2: #12101a;
  --panel: #1a1524;
  --line: #342a48;
  --text: #f3effa;
  --muted: #a396bc;
  --amber: #ffc678;
  --teal: #5eead4;
  --rose: #ff8ec8;
  --gold: #ffd56a;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Orbitron", "Manrope", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.present {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: linear-gradient(120deg, var(--amber), #ff8a4c);
  color: #1a0f08;
}
.btn.ghost {
  border-color: rgba(243, 239, 250, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(6, 4, 10, 0.92);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
}
.age-gate[hidden] { display: none !important; }
.age-card {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}
.age-card img { margin: 0 auto 1rem; }
.age-badge {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--amber);
  border: 2px solid var(--amber);
  border-radius: 12px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.8rem;
}
.age-actions { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1.25rem; flex-wrap: wrap; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 4vw;
  background: rgba(10, 8, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(52, 42, 72, 0.8);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}
.brand em { font-style: normal; color: var(--rose); }
.nav-links { display: flex; gap: 1.25rem; }
.nav-links a {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 0.65rem 1.1rem; font-size: 0.9rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 16, 0.25) 0%, rgba(10, 8, 16, 0.55) 45%, rgba(10, 8, 16, 0.95) 100%),
    linear-gradient(90deg, rgba(10, 8, 16, 0.75) 0%, rgba(10, 8, 16, 0.15) 55%, rgba(10, 8, 16, 0.45) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
  animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 0; }
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 4vw 4rem;
  max-width: 820px;
  animation: heroRise 1.1s ease both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--teal);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 1.6rem;
  padding: 0 0.45rem;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  border-radius: 0.45rem;
  font-weight: 700;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
}
.hero h1 span { color: var(--rose); }
.lede {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }
.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-tags li {
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
}

/* Marquee */
.strip {
  border-block: 1px solid var(--line);
  background: #100e18;
  overflow: hidden;
  padding: 0.85rem 0;
}
.strip-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--amber);
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 5rem 4vw; }
.section.alt { background: var(--bg2); }
.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.kicker {
  font-family: var(--display);
  color: var(--teal);
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.7rem;
}
.section-head p { color: var(--muted); }

.op-stage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.2rem;
}
.op-grid {
  display: grid;
  gap: 1.2rem;
}
.op-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  min-height: 220px;
  isolation: isolate;
}
.op-card.featured { min-height: 100%; }
.op-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}
.op-card:hover video,
.op-card.is-playing video { transform: scale(1.06); }
.op-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(8, 6, 14, 0.92) 40%);
}
.op-meta h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0.35rem 0 0.25rem;
}
.op-meta p { color: var(--muted); font-size: 0.92rem; }
.rarity {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  border: 1px solid currentColor;
}
.rarity.ur { color: var(--gold); }
.rarity.ssr { color: #d8b4ff; }
.center-link { text-align: center; margin-top: 2rem; }

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.loop-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.loop-grid article:hover {
  border-color: rgba(255, 198, 120, 0.45);
  transform: translateY(-3px);
}
.loop-grid img { width: 100%; aspect-ratio: 900 / 340; object-fit: cover; }
.loop-grid h3 {
  font-family: var(--display);
  font-size: 1rem;
  padding: 0.9rem 1rem 0.35rem;
}
.loop-grid p { color: var(--muted); padding: 0 1rem 1.1rem; font-size: 0.92rem; }

.rating-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.rating-badge {
  width: 140px;
  height: 140px;
  border: 3px solid var(--amber);
  border-radius: 18px;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(255, 198, 120, 0.06);
}
.rating-badge strong {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--amber);
  line-height: 1;
}
.rating-badge span {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.35rem;
}
.tag-cloud {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.tag-cloud li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tag-cloud li:hover {
  color: var(--text);
  border-color: rgba(94, 234, 212, 0.5);
  background: rgba(94, 234, 212, 0.08);
}

.cta {
  padding: 4.5rem 4vw 5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 142, 200, 0.12), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(94, 234, 212, 0.1), transparent 35%),
    var(--bg2);
  border-top: 1px solid var(--line);
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.cta-inner img { margin: 0 auto 1rem; }
.cta-inner h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.8rem;
}
.cta-inner p { color: var(--muted); margin-bottom: 1.4rem; }
.cta-inner .hero-cta { justify-content: center; }

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4vw 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer strong { display: block; color: var(--text); }
.footer-links { display: flex; gap: 1rem; }
.footer-age { width: 100%; font-size: 0.78rem; }

@media (max-width: 980px) {
  .op-stage { grid-template-columns: 1fr; }
  .loop-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .rating-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-inner { padding: 4rem 5vw 3rem; }
  .loop-grid { grid-template-columns: 1fr; }
  .nav { padding: 0.75rem 4vw; }
  .brand span { font-size: 0.8rem; }
}
