:root {
  --teal-900: #0b3d3f;
  --teal-800: #0e4d4f;
  --teal-600: #12777a;
  --teal-400: #2dd4c8;
  --teal-300: #6ee8dc;
  --ink: #0a2426;
  --paper: #f4fbfa;
  --card: #ffffff;
  --line: #dcece9;
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
.site-header { background: linear-gradient(135deg, var(--teal-900), var(--teal-800)); color: white; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(160deg, var(--teal-300), var(--teal-600)); color: var(--teal-900); font-size: 20px; font-weight: 900; box-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.brand-word { font-size: 22px; letter-spacing: 0.02em; background: linear-gradient(90deg, var(--teal-300), var(--teal-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { font-size: 12px; opacity: 0.75; border-left: 1px solid rgba(255,255,255,0.25); padding-left: 12px; display: none; }
@media (min-width: 480px) { .tagline { display: inline; } }
.hero { background: linear-gradient(180deg, var(--teal-900) 0%, var(--paper) 100%); color: white; padding: 36px 0 56px; text-align: center; }
.hero h1 { margin: 0 0 8px; font-size: clamp(24px, 5vw, 40px); font-weight: 800; }
.hero p { margin: 0; opacity: 0.85; font-size: clamp(14px, 2.4vw, 18px); }
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: -40px; padding-bottom: 48px; }
@media (min-width: 640px) { .game-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 960px) { .game-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.game-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(11, 61, 63, 0.15); display: flex; flex-direction: column; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.game-card:active { transform: scale(0.97); }
@media (hover: hover) { .game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(11, 61, 63, 0.22); } }
.game-card canvas { display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--teal-900); }
.game-card .meta { padding: 12px 14px 16px; }
.game-card h2 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.game-card .play { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--teal-600); }
.game-card .play::after { content: "▶"; margin-left: 6px; font-size: 10px; }
.site-footer { border-top: 1px solid var(--line); padding: 20px 0 40px; text-align: center; font-size: 13px; color: #5b7c7a; }
