/* Bayfront Arcade — ダークアーケード調。動画が主役なので装飾は控えめに。 */

:root {
  --bg: #08080f;
  --panel: #12121e;
  --panel-edge: #23233a;
  --text: #e8e8f2;
  --text-dim: #9a9ab0;
  --neon-cyan: #37e6ff;
  --neon-magenta: #ff3fd4;
  --neon-yellow: #ffd23f;
  --neon-green: #4dff9e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(1200px 500px at 50% -100px, #16163a 0%, transparent 70%),
    var(--bg);
  color: var(--text);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui,
    sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0.06em;
  font-weight: 800;
}

.hero-bayfront {
  color: var(--text);
}

.hero-arcade {
  color: var(--neon-cyan);
  text-shadow:
    0 0 10px rgba(55, 230, 255, 0.7),
    0 0 40px rgba(55, 230, 255, 0.35);
}

.hero-tagline {
  margin-top: 0.75rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  letter-spacing: 0.15em;
}

.grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
  padding-bottom: 2rem;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-edge);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(55, 230, 255, 0.25);
  transform: translateY(-2px);
}

.card-media {
  aspect-ratio: 16 / 10;
  background: #000;
}

.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body h2 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.card-body p {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}

.badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid;
  letter-spacing: 0.05em;
}

.badge-daily {
  color: var(--neon-yellow);
  border-color: var(--neon-yellow);
}

.badge-pc {
  color: var(--neon-magenta);
  border-color: var(--neon-magenta);
}

.badge-mobile {
  color: var(--neon-green);
  border-color: var(--neon-green);
}

.play {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #041018;
  background: var(--neon-cyan);
  border-radius: 8px;
  padding: 0.55rem 0;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.play:hover {
  background: #7df0ff;
  box-shadow: 0 0 14px rgba(55, 230, 255, 0.6);
}

.footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stats-link {
  color: var(--text-dim);
  font-size: 0.7rem;
}

/* ---- stats.html ---- */

.stats-main {
  width: min(880px, 100% - 2rem);
  margin: 0 auto;
  flex: 1;
}

.stats-main h1 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.stats-meta {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.stats-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  background: var(--panel);
}

.stats-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.85rem;
  min-width: 560px;
}

.stats-table th,
.stats-table td {
  padding: 0.55rem 0.8rem;
  text-align: right;
  border-bottom: 1px solid var(--panel-edge);
  white-space: nowrap;
}

.stats-table th:first-child,
.stats-table td:first-child {
  text-align: left;
}

.stats-table thead th {
  color: var(--neon-cyan);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.stats-table tbody tr:last-child td {
  border-bottom: none;
}

.stats-table .total-row td {
  color: var(--neon-yellow);
  font-weight: 700;
  border-top: 2px solid var(--panel-edge);
}

.stats-error {
  color: var(--neon-magenta);
  padding: 1rem 0;
}

.back-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1.2rem;
}
