@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  color: #f8f7f2;
  background: #070d1d;
  font-family: Inter, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #070d1d;
  --cream: #f8f7f2;
  --muted: #aeb9d0;
  --cyan: #34e5ff;
  --coral: #ff625d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; min-height: 80px; gap: 42px; padding: 16px clamp(24px, 5vw, 78px); border-bottom: 1px solid rgba(255,255,255,.15); background: linear-gradient(180deg, rgba(4,9,23,.85), rgba(4,9,23,.28)); }
.brand { display: inline-flex; align-items: flex-end; gap: 8px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; letter-spacing: .045em; line-height: 1; white-space: nowrap; }
.brand > span:last-child { font-family: "Barlow Condensed", Impact, sans-serif; font-size: 1.12em; font-style: italic; font-weight: 900; letter-spacing: -.018em; line-height: 1; transform: skewX(-4deg); }
.brand em { color: var(--cyan); font-style: normal; }
.brand-mark { display: inline-flex; align-items: flex-end; justify-content: center; width: 42px; height: 42px; color: var(--cyan); background: transparent; border-radius: 0; filter: drop-shadow(0 0 9px rgba(52,229,255,.42)); }
.brand-mark img { display: block; width: 38px; height: 38px; object-fit: contain; transform: translateY(-3px); }
.site-nav { display: flex; gap: 32px; margin-left: 52px; color: #cad3e5; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.site-nav a { padding: 15px 0 13px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { color: var(--cream); border-color: var(--cyan); }
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-icon, .profile-chip { border: 0; color: var(--cream); background: transparent; cursor: pointer; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border: 1px solid rgba(52,229,255,.55); border-radius: 8px; font-size: 31px; line-height: 1; }
.header-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.header-icon.settings { border: 0; color: #d7dceb; font-size: 25px; }
.header-icon.settings svg { width: 23px; height: 23px; }
.profile-chip { display: inline-flex; align-items: center; gap: 12px; min-height: 45px; padding: 5px 13px 5px 7px; border: 1px solid rgba(52,229,255,.35); border-radius: 8px; background: rgba(24,30,66,.72); }
.profile-avatar { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--coral); border-radius: 50%; color: #fff; background: #27245e; }
.profile-avatar svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.profile-chevron { color: var(--cream); font-size: 21px; }

.hero { position: relative; display: grid; min-height: 560px; overflow: hidden; isolation: isolate; background: #10162e; }
.hero-art { position: absolute; inset: 0; z-index: -3; background-image: linear-gradient(90deg, rgba(6,12,30,.98) 0%, rgba(6,12,30,.85) 23%, rgba(6,12,30,.42) 54%, rgba(6,12,30,.12) 78%, rgba(6,12,30,.22) 100%), url("./assets/playground-hero-stormstag.png"); background-position: center; background-size: cover; }
.hero-grid { position: absolute; inset: 0; z-index: -2; opacity: .15; background-image: linear-gradient(rgba(52,229,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(52,229,255,.17) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, #000, transparent 76%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, var(--ink)); }
.hero-copy { align-self: center; width: min(1510px, calc(100% - 2 * clamp(26px, 5vw, 76px))); margin: 78px auto 0; }
.eyebrow { margin: 0 0 17px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .19em; }
h1, h2, h3 { font-family: "Barlow Condensed", Impact, sans-serif; line-height: .86; letter-spacing: -.018em; }
h1 { margin: 0; font-size: clamp(64px, 7.1vw, 116px); font-weight: 900; }
.hero-line { display: block; }
.hero-line.light { color: var(--cream); }
.hero-line.gradient { color: var(--cyan); text-shadow: 0 0 30px rgba(52,229,255,.22); }
.hero-line.gradient i { color: var(--coral); font-style: normal; }
.hero-text { max-width: 700px; margin: 25px 0 29px; color: #d3d9e7; font-size: 17px; line-height: 1.55; }
.game-button { display: inline-flex; align-items: center; gap: 20px; border: 0; border-radius: 7px; color: #fff; background: var(--coral); box-shadow: 0 14px 32px rgba(255,98,93,.34); font-size: 14px; font-weight: 900; letter-spacing: .04em; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.game-button b { margin-left: auto; font-size: 28px; font-weight: 400; line-height: .5; }
.game-button:hover { transform: translateY(-3px); filter: brightness(1.1); }

.games-section { padding: 26px clamp(26px, 5vw, 76px) 88px; background: linear-gradient(180deg, var(--ink), #0a1124 70%, #0b1020); }
.section-heading { display: flex; align-items: end; justify-content: space-between; max-width: 1510px; margin: 0 auto 25px; }
.section-heading h2 { margin: 0; font-size: clamp(52px, 5vw, 76px); }
h2 span { color: var(--cyan); }
.section-title-row { display: flex; align-items: center; gap: 21px; }
.section-rule { display: inline-flex; align-items: center; gap: 9px; color: var(--cyan); }
.section-rule::before { content: ""; width: 45px; height: 4px; border-radius: 4px; background: var(--cyan); box-shadow: 0 0 12px rgba(52,229,255,.5); }
.section-rule span { width: 38px; height: 4px; border-radius: 4px; background: var(--cyan); opacity: .6; }
.section-rule i { width: 10px; height: 4px; border-radius: 4px; background: var(--cyan); opacity: .4; }
.section-note { margin: 0 0 8px; color: var(--cream); font-size: 15px; }
.section-note span { margin-left: 10px; color: #8d9fbd; font-size: 26px; vertical-align: -2px; }
.games-grid { display: grid; grid-template-columns: 1fr 1fr .68fr; gap: 18px; max-width: 1510px; margin: auto; }
.game-card { overflow: hidden; min-width: 0; border: 2px solid color-mix(in srgb, var(--accent) 85%, transparent); border-radius: 15px; background: #131b32; box-shadow: 0 14px 35px rgba(0,0,0,.3); transition: transform .18s ease, box-shadow .18s ease; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px color-mix(in srgb, var(--accent) 22%, transparent); }
.game-art { position: relative; display: block; aspect-ratio: 1.56 / 1; overflow: hidden; background-image: var(--game-art); background-position: center; background-size: cover; }
.game-card.fighter .game-art { background-position: center; }
.game-art-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,8,20,.04) 32%, rgba(5,8,20,.18) 51%, rgba(5,8,16,.96) 100%); }
.game-tag { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 7px 9px; color: var(--accent); border: 1px solid currentColor; border-radius: 4px; background: rgba(4,8,18,.58); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.game-overlay { position: absolute; z-index: 2; right: 20px; bottom: 16px; left: 20px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.game-copy strong { display: block; color: var(--accent); font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(32px, 3.3vw, 54px); font-style: italic; font-weight: 900; line-height: .8; letter-spacing: .01em; text-shadow: 2px 3px 0 rgba(0,0,0,.7); }
.game-card.fighter .game-copy strong { color: #ffd34e; }
.game-copy > span { display: block; margin-top: 10px; color: #e8edf5; font-size: 14px; }
.game-button { flex: 0 0 auto; min-width: 158px; padding: 14px 15px; color: var(--ink); background: var(--accent); box-shadow: none; font-size: 13px; }
.game-button .play-icon { font-size: 13px; }
.game-button b { color: var(--ink); font-size: 25px; }
.coming-soon { display: grid; place-items: center; min-height: 100%; padding: 28px; text-align: center; border: 2px dashed rgba(160,113,255,.65); border-radius: 15px; background: linear-gradient(150deg, rgba(25,31,71,.78), rgba(16,18,48,.55)); }
.coming-art { position: relative; width: 128px; height: 128px; margin: 0 auto 17px; border: 4px solid rgba(127,121,209,.52); border-radius: 31% 31% 38% 38%; color: rgba(178,156,255,.76); font-family: "Barlow Condensed", sans-serif; font-size: 93px; line-height: 1.1; opacity: .8; }
.coming-art::before, .coming-art::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; }
.coming-art::before { top: 26px; left: 29px; }
.coming-art::after { top: 26px; right: 29px; }
.coming-art span { display: block; transform: translateY(5px); }
.coming-art i { position: absolute; color: #9a62f6; font-size: 25px; font-style: normal; }
.coming-art i:first-of-type { top: -22px; left: -18px; }
.coming-art i:last-of-type { top: 17px; right: -26px; }
.coming-soon strong { display: block; color: var(--cream); font-family: "Barlow Condensed", Impact, sans-serif; font-size: 32px; letter-spacing: .035em; }
.coming-soon > div:last-child span { display: block; margin-top: 8px; color: #8191b6; font-size: 12px; letter-spacing: .12em; }

.site-footer { display: flex; justify-content: space-between; padding: 22px clamp(26px, 5vw, 78px); border-top: 1px solid rgba(255,255,255,.12); color: #6e7a91; background: #070d1d; font-size: 10px; font-weight: 700; letter-spacing: .15em; }

@media (max-width: 1100px) {
  .site-header { gap: 20px; }
  .site-nav { gap: 18px; }
  .header-icon { display: none; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .coming-soon { min-height: 260px; }
}
@media (max-width: 720px) {
  .site-header { min-height: 68px; gap: 12px; padding: 14px 18px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark img { width: 30px; height: 30px; transform: translateY(-2px); }
  .site-nav { display: none; }
  .header-tools { margin-left: auto; }
  .profile-chip { padding-right: 9px; }
  .hero { min-height: 670px; }
  .hero-art { background-position: 66% center; }
  .hero-copy { margin: 110px 22px 0; }
  h1 { font-size: clamp(57px, 15vw, 88px); }
  .hero-text { font-size: 15px; }
  .desktop-break { display: none; }
  .section-heading, .site-footer { display: block; }
  .section-note { display: block; margin-top: 16px; }
  .games-grid { grid-template-columns: 1fr; }
  .game-overlay { right: 16px; bottom: 15px; left: 16px; }
  .game-copy strong { font-size: 42px; }
  .game-button { min-width: 145px; }
  .site-footer span { display: block; margin-top: 8px; }
}
