/* StarNight website - Drop 系レイアウトのダークテーマ (静的・PHP なし) */
:root {
  --bg: #0b0e1a;
  --bg2: #11152a;
  --panel: rgba(17, 21, 42, 0.88);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f4ff;
  --muted: #9aa3c7;
  --accent: #22d3ee;      /* ネオシアン (ロゴに合わせた差し色) */
  --accent2: #a855f7;
  --cta: #facc15;         /* アカウント作成ボタン (Drop と同じ黄色) */
  --cta-text: #111111;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* ---- ナビ ---- */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 10, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.nav {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 28px; height: 60px;
}
.nav .logo img { height: 30px; display: block; }
.nav nav { display: flex; gap: 22px; font-weight: 700; font-size: 14px; }
.nav nav a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav nav a:hover, .nav nav a.active { border-bottom-color: var(--text); }
.nav .spacer { flex: 1; }
.btn {
  display: inline-block; font-weight: 800; font-size: 14px;
  padding: 10px 18px; border-radius: 6px; border: 1px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer;
}
.btn:hover { border-color: var(--muted); }
.btn.cta { background: var(--cta); color: var(--cta-text); border-color: transparent; }
.btn.cta:hover { filter: brightness(1.08); }
.btn.discord { background: #5865f2; border-color: transparent; color: #fff; }

/* ---- ヒーロー ---- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 75% 20%, rgba(168, 85, 247, 0.28), transparent 60%),
    radial-gradient(800px 500px at 20% 30%, rgba(34, 211, 238, 0.22), transparent 60%),
    linear-gradient(180deg, #0d1230 0%, var(--bg) 90%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 84px 20px 96px;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center;
}
.kicker {
  color: var(--cta); font-weight: 900; letter-spacing: 0.22em;
  font-size: 13px; text-transform: uppercase; margin-bottom: 10px;
}
h1.display {
  font-weight: 900; line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(44px, 6.5vw, 84px);
}
h1.display .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin-top: 22px; color: var(--text); font-weight: 700; font-size: 17px; line-height: 1.8; max-width: 34em; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn { padding: 14px 24px; font-size: 15px; }

/* ---- Discord カード ---- */
.discord-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px; max-width: 420px; justify-self: end; width: 100%;
}
.discord-card .dc-head { display: flex; align-items: center; gap: 12px; }
.discord-card .dc-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; font-weight: 900;
}
.discord-card .dc-name { font-weight: 900; font-size: 19px; }
.discord-card .dc-desc { color: var(--muted); font-size: 13px; margin-top: 10px; line-height: 1.7; }
.discord-card .dc-stats { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ba55d; margin-right: 5px; }
.dot.gray { background: #747f8d; }
.discord-card .btn { width: 100%; text-align: center; margin-top: 16px; background: #3ba55d; border-color: transparent; color: #fff; }

/* ---- セクション ---- */
main { max-width: 1280px; margin: 0 auto; padding: 56px 20px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 22px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.8; }
h2.section { font-size: 26px; font-weight: 900; margin-bottom: 18px; }

footer {
  border-top: 1px solid var(--line); color: var(--muted);
  font-size: 12px; line-height: 1.9; text-align: center; padding: 26px 20px 40px;
}

/* ---- フォーム (アカウント作成) ---- */
.form-wrap { max-width: 440px; margin: 0 auto; }
.form-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.form-card h1 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; line-height: 1.7; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 11px 12px; border-radius: 8px; font-size: 15px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
}
.form-card .btn { width: 100%; text-align: center; margin-top: 6px; }
.divider { text-align: center; color: var(--muted); font-size: 12px; margin: 16px 0; }
.notice { font-size: 13px; color: var(--cta); margin-top: 14px; min-height: 1.4em; line-height: 1.6; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .discord-card { justify-self: start; }
  .nav nav { display: none; }
}
