:root {
  --bg: #0f1011;
  --bg-2: #17191b;
  --panel: #202225;
  --panel-2: #282b2f;
  --text: #f8f8f5;
  --muted: #b6b8bc;
  --red: #ff1515;
  --green: #28ff16;
  --blue: #047bff;
  --yellow: #ffd21b;
  --line: #000;
  --shadow: 0 16px 34px rgba(0,0,0,.45);
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(255,255,255,.08), transparent 34rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
  z-index: 99;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15,16,17,.92);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid #000;
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 86px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { width: 270px; flex: 0 0 auto; }
.brand img { width: 100%; filter: drop-shadow(0 5px 0 #000); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  font-weight: 950;
  letter-spacing: .06em;
  font-size: .92rem;
  text-transform: uppercase;
  padding: 10px 13px;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: .16s ease;
}
.nav a:hover, .nav a.active { background: #fff; color: #111; border-color: #000; transform: translateY(-2px); }
.nav .store-link { position: relative; opacity: .72; cursor: not-allowed; }
.nav .store-link::after {
  content: "SOON";
  position: absolute;
  top: -12px;
  right: -8px;
  padding: 2px 7px;
  font-size: .56rem;
  color: #111;
  background: var(--yellow);
  border: 2px solid #000;
  border-radius: 999px;
  transform: rotate(6deg);
  box-shadow: 2px 2px 0 #000;
}

.hero {
  min-height: 76vh;
  display: grid;
  place-items: end center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #000;
  background-image:
    linear-gradient(to bottom, rgba(15,16,17,.02) 0%, rgba(15,16,17,.18) 55%, rgba(15,16,17,.88) 100%),
    url('assets/hero-bg.png');
  background-position: center;
  background-size: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, #0f1011);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
  padding: 0 24px 72px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  box-shadow: 4px 4px 0 #000;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}
.hero h1, .page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: uppercase;
  font-weight: 1000;
  text-shadow: 5px 5px 0 #000;
}
.hero p { max-width: 700px; margin: 0 auto 24px; color: #ececec; font-weight: 750; font-size: clamp(1rem,2vw,1.22rem); text-shadow: 0 2px 8px #000; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 3px solid #000;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 5px 5px 0 #000;
  transition: .14s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 #000; }
.btn.yellow { background: var(--yellow); }
.btn.green { background: var(--green); }
.btn.blue { background: var(--blue); color: #fff; }
.btn.red { background: var(--red); color: #fff; }

.section { padding: 78px 22px; }
.container { max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.section-title { margin: 0; font-size: clamp(2.25rem,5vw,4.8rem); line-height: .9; text-transform: uppercase; letter-spacing: -.04em; font-weight: 1000; }
.section-copy { color: var(--muted); max-width: 600px; font-weight: 650; }

.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.game-card {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  border: 4px solid #000;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow), 8px 8px 0 #000;
}
.game-card::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg,transparent 20%,rgba(0,0,0,.84) 100%); z-index:1; }
.game-card.meowinks { background: radial-gradient(circle at 70% 20%, rgba(40,255,22,.45), transparent 34%), linear-gradient(135deg,#162116,#202225); }
.game-card.leeward { background: radial-gradient(circle at 70% 20%, rgba(4,123,255,.4), transparent 36%), linear-gradient(135deg,#111b27,#202225); }
.game-card .mascot { position:absolute; right:-20px; bottom:0; height: 92%; width:auto; object-fit:contain; opacity:.94; filter: drop-shadow(0 10px 0 rgba(0,0,0,.28)); }
.game-card .card-content { position:absolute; z-index:3; left:26px; bottom:26px; right:26px; max-width: 62%; }
.game-card h3 { margin:0 0 6px; font-size: clamp(2.2rem,4vw,4rem); line-height:.85; letter-spacing:-.045em; text-transform:uppercase; font-weight:1000; text-shadow:4px 4px 0 #000; }
.game-card p { color:#efefef; font-weight:700; margin: 0 0 16px; }
.tag { display:inline-block; margin-bottom:12px; padding:5px 9px; background:#fff; color:#111; border:2px solid #000; box-shadow:3px 3px 0 #000; border-radius:8px; font-size:.68rem; font-weight:1000; text-transform:uppercase; }

.news-grid { display:grid; grid-template-columns: 1.3fr .9fr .9fr; gap:18px; }
.news-card { background:var(--panel); border:3px solid #000; border-radius:16px; overflow:hidden; box-shadow:6px 6px 0 #000; min-height: 260px; }
.news-visual { height: 150px; position:relative; background:#191b1e; overflow:hidden; }
.news-visual.pattern { background-image: linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.35)), url('assets/pattern-bg.png'); background-size: cover; background-position:center; }
.news-visual img { width:100%; height:100%; object-fit:contain; object-position:center bottom; }
.news-body { padding:18px; }
.news-body time { color:var(--yellow); font-size:.76rem; font-weight:900; text-transform:uppercase; }
.news-body h3 { margin:6px 0 8px; font-size:1.32rem; line-height:1.05; }
.news-body p { margin:0; color:var(--muted); font-size:.94rem; }

.color-bar { display:grid; grid-template-columns: repeat(4,1fr); height:14px; border-block:3px solid #000; }
.color-bar span:nth-child(1){background:var(--red)}
.color-bar span:nth-child(2){background:var(--green)}
.color-bar span:nth-child(3){background:var(--blue)}
.color-bar span:nth-child(4){background:var(--yellow)}

.page-hero { padding:72px 22px 48px; border-bottom:5px solid #000; background: radial-gradient(circle at 70% 30%, rgba(40,255,22,.12), transparent 28rem), #16181a; }
.page-hero .container { display:flex; align-items:end; justify-content:space-between; gap:30px; }
.page-hero h1 { font-size:clamp(3.4rem,8vw,7rem); margin:0; }
.page-hero p { color:var(--muted); max-width:520px; font-weight:650; }

.about-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap:26px; align-items:start; }
.panel { background:var(--panel); border:3px solid #000; border-radius:18px; padding:26px; box-shadow:7px 7px 0 #000; }
.panel h2, .panel h3 { margin-top:0; }
.panel p { color:#d6d7da; }
.links-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.link-tile { min-height:94px; display:flex; align-items:center; justify-content:center; text-align:center; padding:16px; font-weight:1000; text-transform:uppercase; background:#fff; color:#111; border:3px solid #000; border-radius:14px; box-shadow:4px 4px 0 #000; transition:.14s; }
.link-tile:hover { transform:translate(-2px,-2px); box-shadow:7px 7px 0 #000; }
.link-tile:nth-child(2){background:var(--green)} .link-tile:nth-child(3){background:var(--blue);color:#fff}.link-tile:nth-child(4){background:var(--yellow)}

.games-list { display:grid; gap:24px; }
.game-row { position:relative; overflow:hidden; min-height:420px; display:grid; grid-template-columns:1fr .72fr; background:var(--panel); border:4px solid #000; border-radius:22px; box-shadow:9px 9px 0 #000; }
.game-row .copy { padding:38px; align-self:center; position:relative; z-index:2; }
.game-row h2 { margin:0 0 12px; font-size:clamp(3rem,6vw,6.6rem); line-height:.8; letter-spacing:-.05em; text-transform:uppercase; }
.game-row .art { min-height:390px; display:grid; place-items:end center; background:radial-gradient(circle at 50% 25%, rgba(255,255,255,.15), transparent 55%); }
.game-row .art img { max-height:390px; object-fit:contain; }
.game-row.meowinks { background: linear-gradient(125deg,#17231a 0 58%,#1d3620 100%); }
.game-row.leeward { background: linear-gradient(125deg,#161b23 0 58%,#173556 100%); }

.blog-list { display:grid; gap:16px; }
.blog-post { display:grid; grid-template-columns:180px 1fr; gap:22px; padding:18px; background:var(--panel); border:3px solid #000; border-radius:16px; box-shadow:5px 5px 0 #000; }
.blog-thumb { border:2px solid #000; border-radius:12px; overflow:hidden; background:#111; min-height:150px; }
.blog-thumb img { width:100%; height:100%; object-fit:contain; }
.blog-post time { color:var(--yellow); font-weight:900; font-size:.76rem; text-transform:uppercase; }
.blog-post h2 { margin:5px 0 8px; font-size:1.65rem; }
.blog-post p { margin:0; color:var(--muted); }

.store-lock { min-height:62vh; display:grid; place-items:center; text-align:center; padding:50px 20px; position:relative; overflow:hidden; }
.store-lock::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(15,16,17,.74),rgba(15,16,17,.92)),url('assets/pattern-bg.png'); background-size:cover; background-position:center; filter:grayscale(.2); }
.lock-card { position:relative; z-index:2; width:min(720px,100%); padding:44px 28px; background:rgba(31,33,36,.92); border:4px solid #000; border-radius:24px; box-shadow:10px 10px 0 #000; }
.lock-icon { font-size:4rem; }
.lock-card h1 { margin:10px 0; font-size:clamp(3.2rem,8vw,6rem); line-height:.82; text-transform:uppercase; }
.soon-sticker { position:absolute; right:-16px; top:-20px; padding:11px 18px; background:var(--yellow); color:#111; border:3px solid #000; border-radius:999px; box-shadow:5px 5px 0 #000; font-weight:1000; transform:rotate(8deg); text-transform:uppercase; }
.lock-card p { color:var(--muted); max-width:520px; margin:0 auto 20px; }
.lock-card .btn { pointer-events:none; filter:grayscale(1); opacity:.5; }

.footer { background:#090a0a; border-top:4px solid #000; padding:34px 22px; }
.footer-inner { max-width:var(--max); margin:0 auto; display:flex; gap:24px; justify-content:space-between; align-items:center; }
.footer-logo { width:250px; opacity:.88; }
.footer small { color:#85888c; }

@media (max-width: 860px) {
  .nav-wrap { align-items:flex-start; flex-direction:column; }
  .brand { width:230px; }
  .nav { margin-left:0; justify-content:flex-start; }
  .hero { min-height:68vh; background-position:center; }
  .game-grid, .news-grid, .about-grid { grid-template-columns:1fr; }
  .news-grid { display:grid; }
  .page-hero .container { align-items:flex-start; flex-direction:column; }
  .game-row { grid-template-columns:1fr; }
  .game-row .art { min-height:260px; }
  .game-row .art img { max-height:290px; }
}
@media (max-width: 590px) {
  .nav a { font-size:.76rem; padding:8px 9px; }
  .hero-inner { padding-bottom:48px; }
  .game-card { min-height:470px; }
  .game-card .card-content { max-width:82%; }
  .game-card .mascot { opacity:.62; right:-68px; }
  .section { padding:58px 16px; }
  .section-head { align-items:flex-start; flex-direction:column; }
  .blog-post { grid-template-columns:1fr; }
  .blog-thumb { height:180px; }
  .footer-inner { align-items:flex-start; flex-direction:column; }
}

/* Language selector */
.language-switcher {
  margin-left: auto;
  display: flex;
  gap: 5px;
  padding: 5px;
  background: #0d0e0f;
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #000;
}
.lang-btn {
  appearance: none;
  border: 0;
  border-radius: 7px;
  padding: 7px 10px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: .72rem;
  font-weight: 1000;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.lang-btn:hover { transform: translateY(-1px); }
.lang-btn.active { background: var(--yellow); color: #111; }

@media (max-width: 860px) {
  .language-switcher { margin-left: 0; }
}
