:root {
  --bg: #08040a;
  --bg2: #120915;
  --panel: rgba(28, 12, 32, 0.72);
  --panel2: rgba(52, 20, 59, 0.62);
  --line: rgba(255, 159, 219, 0.22);
  --text: #fff7fb;
  --muted: #c8a8be;
  --soft: #8d6f83;
  --hot: #ff4fb8;
  --hot2: #ff8dd3;
  --violet: #9f5cff;
  --amber: #ffcb8a;
  --danger: #ff6b89;
  --shadow: 0 22px 80px rgba(0,0,0,.48);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #211028 0%, var(--bg) 45%, #020104 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.background { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.orb { position: absolute; width: 460px; height: 460px; border-radius: 999px; filter: blur(80px); opacity: .46; }
.orb-a { background: #ff39a6; left: -160px; top: 80px; }
.orb-b { background: #8a4cff; right: -130px; top: 180px; }
.orb-c { background: #ffbc73; left: 45%; bottom: -220px; opacity: .24; }
.grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent, black 20%, black 70%, transparent); }
.grain { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); opacity: .09; mix-blend-mode: screen; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 1, 6, .82);
  backdrop-filter: blur(18px);
}
.age-gate.hidden { display: none; }
.age-card {
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(31,12,37,.94), rgba(10,5,14,.92));
  box-shadow: var(--shadow);
}
.age-badge { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #210312; font-weight: 900; background: linear-gradient(135deg, var(--hot), var(--amber)); margin-bottom: 18px; }
.age-card h1 { margin: 0 0 8px; font-size: 40px; letter-spacing: -.04em; }
.age-lead { color: var(--text); font-weight: 700; line-height: 1.7; }
.age-note { color: var(--muted); line-height: 1.8; }
.age-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 4, 10, .58);
  backdrop-filter: blur(18px);
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--hot), var(--violet)); box-shadow: 0 0 34px rgba(255,79,184,.34); }
.brand-text { font-size: 18px; }
.nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }

.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 90px 0; }
.hero { min-height: 760px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; padding-top: 72px; }
.eyebrow { color: var(--hot2); font-weight: 800; letter-spacing: .16em; font-size: 12px; text-transform: uppercase; margin: 0 0 14px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 8vw, 104px); line-height: .92; letter-spacing: -.08em; margin-bottom: 28px; }
h1 span { background: linear-gradient(100deg, #fff, var(--hot2), var(--amber)); -webkit-background-clip: text; color: transparent; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.06em; margin-bottom: 22px; }
h3 { font-size: 22px; margin-bottom: 12px; }
.hero-lead, .text-block p, .demo-copy p, .waitlist-card p { color: var(--muted); line-height: 1.9; font-size: 17px; }
.hero-lead { max-width: 680px; font-size: 19px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span, .status-pill { color: #ffd6eb; border: 1px solid rgba(255,143,211,.22); background: rgba(255,79,184,.08); padding: 9px 12px; border-radius: 999px; font-size: 12px; }

.btn {
  border: 0;
  cursor: pointer;
  color: var(--text);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: #240313; background: linear-gradient(135deg, var(--hot), var(--amber)); box-shadow: 0 14px 38px rgba(255,79,184,.28); }
.btn.glass, .btn.ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.btn.small { padding: 10px 15px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.btn.large { padding: 15px 22px; }
.btn.full { width: 100%; }

.hero-panel { display: grid; place-items: center; }
.room-card {
  width: min(420px, 100%);
  padding: 26px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(54,19,62,.84), rgba(16,7,21,.74));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.room-card::before { content: ""; position: absolute; inset: -2px; background: radial-gradient(circle at 50% 0%, rgba(255,79,184,.28), transparent 38%); pointer-events: none; }
.room-top { display: flex; align-items: center; gap: 8px; color: #ffd3e9; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4fb8; box-shadow: 0 0 18px #ff4fb8; }
.avatar-wrap { position: relative; width: 180px; height: 180px; margin: 36px auto 24px; display: grid; place-items: center; }
.avatar-glow { position: absolute; inset: 0; background: radial-gradient(circle, rgba(255,79,184,.9), transparent 60%); filter: blur(20px); opacity: .7; }
.avatar { position: relative; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; font-size: 54px; font-weight: 900; background: linear-gradient(145deg, #32103d, #ff78c8); border: 1px solid rgba(255,255,255,.24); }
.room-card h2 { text-align: center; font-size: 34px; margin-bottom: 8px; }
.room-card p { color: var(--muted); line-height: 1.8; text-align: center; }
.wave { height: 74px; display: flex; justify-content: center; align-items: center; gap: 8px; margin: 20px 0; }
.wave span { width: 7px; border-radius: 999px; background: linear-gradient(to top, var(--hot), var(--amber)); animation: pulse 1.2s ease-in-out infinite; }
.wave span:nth-child(1){height:22px;animation-delay:.0s}.wave span:nth-child(2){height:42px;animation-delay:.1s}.wave span:nth-child(3){height:60px;animation-delay:.2s}.wave span:nth-child(4){height:34px;animation-delay:.3s}.wave span:nth-child(5){height:54px;animation-delay:.4s}.wave span:nth-child(6){height:30px;animation-delay:.5s}.wave span:nth-child(7){height:46px;animation-delay:.6s}
@keyframes pulse { 0%,100% { transform: scaleY(.55); opacity:.55 } 50% { transform: scaleY(1); opacity:1 } }

.split { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: start; }
.text-block { border-left: 1px solid var(--line); padding-left: 34px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 10px; }
.feature-card, .rule, .waitlist-card, .chat-shell { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.055); backdrop-filter: blur(18px); border-radius: var(--radius); box-shadow: 0 18px 70px rgba(0,0,0,.22); }
.feature-card { padding: 26px; min-height: 230px; }
.feature-card p, .rule span, .form-note { color: var(--muted); line-height: 1.75; }
.icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,79,184,.12); color: var(--hot2); font-weight: 900; margin-bottom: 28px; }

.demo-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.demo-status { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chat-shell { overflow: hidden; }
.chat-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.chat-header strong { display: block; }
.chat-header span { color: var(--muted); font-size: 13px; }
.mute { color: var(--text); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 9px 12px; cursor: pointer; font-weight: 800; }
.chat-log { height: 430px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.message { max-width: 82%; padding: 13px 15px; border-radius: 20px; }
.message p { margin: 0; line-height: 1.7; }
.message .sender { display: block; font-size: 12px; font-weight: 800; color: var(--hot2); margin-bottom: 4px; }
.message.ai { align-self: flex-start; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.1); }
.message.user { align-self: flex-end; background: linear-gradient(135deg, rgba(255,79,184,.38), rgba(159,92,255,.32)); border: 1px solid rgba(255,255,255,.14); }
.message.blocked { background: rgba(255,107,137,.12); border-color: rgba(255,107,137,.32); }
.chat-form { display: flex; gap: 10px; padding: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.chat-form input, .waitlist-form input { width: 100%; color: var(--text); background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 14px 16px; outline: none; }
.chat-form input:focus, .waitlist-form input:focus { border-color: rgba(255,143,211,.6); box-shadow: 0 0 0 4px rgba(255,79,184,.1); }
.form-note { font-size: 12px; padding: 0 18px 18px; margin: 0; }

.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rule { padding: 20px; }
.rule strong { display: block; margin-bottom: 8px; color: #ffd5eb; }
.rule span { display: block; }

.waitlist { padding-top: 30px; }
.waitlist-card { padding: 34px; max-width: 760px; margin: 0 auto; text-align: center; }
.waitlist-form { display: flex; gap: 10px; margin: 22px auto 12px; max-width: 560px; }
.site-footer { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 40px 0 70px; color: var(--soft); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .split, .demo-section { grid-template-columns: 1fr; }
  .hero { gap: 30px; min-height: auto; }
  .cards, .rule-grid { grid-template-columns: 1fr; }
  .text-block { padding-left: 0; border-left: 0; }
  .chat-log { height: 360px; }
  .message { max-width: 92%; }
}

@media (max-width: 560px) {
  .section { width: min(100% - 24px, 1180px); padding: 60px 0; }
  .site-header { width: calc(100% - 20px); }
  .site-header .btn.small { display: none; }
  h1 { font-size: 52px; }
  .age-card { padding: 24px; }
  .hero-actions, .waitlist-form, .chat-form { flex-direction: column; }
  .btn, .chat-form button { width: 100%; }
}
