/* ============================================================
   itopan@fun  TOPページのデザイン
   ============================================================ */

:root {
  --bg: #06080f;
  --bg-soft: #0d111c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e7ecf4;
  --muted: #8e9ab0;
  --accent: #4fd6ff;
  --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(1100px 620px at 12% -12%, rgba(79, 214, 255, 0.16), transparent 62%),
    radial-gradient(900px 520px at 92% 4%, rgba(120, 89, 255, 0.13), transparent 60%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

/* ---------- ヘッダー ---------- */

.site-head {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 24px 26px;
}

.logo {
  font-size: clamp(38px, 7vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
}

.logo .at {
  color: var(--accent);
  text-shadow: 0 0 26px rgba(79, 214, 255, 0.55);
}

.logo .cursor {
  display: inline-block;
  width: 0.5em;
  height: 0.9em;
  margin-left: 0.12em;
  background: var(--accent);
  vertical-align: -0.06em;
  animation: blink 1.15s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.tagline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  max-width: 46em;
}

.rule {
  max-width: 1080px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

/* ---------- バナー一覧 ---------- */

.section-label {
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px 24px 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--muted);
  font-family: "SF Mono", "Menlo", monospace;
}

.banner-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px 90px;
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card {
  position: relative;
  display: block;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.35s, box-shadow 0.35s;
}

.card.is-live:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 214, 255, 0.5);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(79, 214, 255, 0.12);
}

.card.is-wip { opacity: 0.55; cursor: default; }

.banner {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.banner svg { display: block; width: 100%; height: 100%; }

.banner-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

.banner-title {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.banner-sub {
  margin: 4px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.62);
  font-family: "SF Mono", "Menlo", monospace;
}

.banner-tagline {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 96px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  font-weight: 700;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

.badge.live {
  background: rgba(79, 214, 255, 0.16);
  border: 1px solid rgba(79, 214, 255, 0.55);
  color: #b9edff;
}

.badge.wip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
}

.card-body { padding: 18px 20px 20px; }

.card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag {
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  color: rgba(231, 236, 244, 0.7);
}

.play {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.play .arrow { transition: transform 0.3s; }
.card.is-live:hover .play .arrow { transform: translateX(5px); }

/* ---------- フッター ---------- */

.site-foot {
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 24px 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .site-head { padding-top: 44px; }
  .banner-grid { gap: 18px; }
}

/* ---------- language switcher ---------- */

.lang-bar {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 50;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(10, 14, 24, 0.72);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.lang-bar .lang {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-bar .lang:hover { color: var(--text); }

.lang-bar .lang.on {
  background: rgba(79, 214, 255, 0.16);
  color: #b9edff;
  box-shadow: inset 0 0 0 1px rgba(79, 214, 255, 0.45);
}

@media (max-width: 560px) {
  .lang-bar { top: 10px; right: 10px; }
  .lang-bar .lang { padding: 5px 9px; font-size: 11px; }
}
