:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #080808;
  --panel-2: #101010;
  --text: #f7f7f7;
  --muted: #a8a8a8;
  --line: #252525;
  --blue: #62b8ff;
  --blue-dark: #2674ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.topbar {
  width: 100%;
  margin: 0;
  min-height: 92px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 50;
}

.brand img {
  width: 138px;
  height: auto;
}

.nav {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #070707;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #d8d8d8;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: #000;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}

.page {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 110px;
}

.home {
  padding-top: 58px;
}

.center-hero,
.page-title {
  text-align: center;
  margin: 0 auto;
}

.section-panel {
  border: 1px solid #303030;
  border-radius: 42px;
  background: linear-gradient(180deg, #080808, #030303);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.center-hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(42px, 7vw, 86px) clamp(22px, 5vw, 72px);
}

.center-hero.compact {
  min-height: auto;
}

.hero-logo {
  width: min(560px, 82vw);
  margin-bottom: 34px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 10vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.center-hero p,
.page-title p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.pill-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  color: #000;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  font-weight: 900;
  white-space: nowrap;
}

.pill-button.ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.status-pill {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #0b0b0b;
  font-weight: 900;
}

.home-announcement {
  display: grid;
  grid-template-columns: minmax(420px, 52%) 1fr;
  gap: 48px;
  align-items: center;
  margin: 64px auto 0;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid #303030;
  border-radius: 42px;
  background: linear-gradient(180deg, #080808, #030303);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.game-card,
.news-card,
.web-frame-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  overflow: hidden;
}

.image-panel {
  width: 100%;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 32px;
  background: var(--panel-2);
  overflow: hidden;
  padding: 0;
}

.image-panel img,
.home-announcement img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 32px;
}

.home-announcement strong {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.home-announcement-copy {
  text-align: left;
  padding: 10px 0;
}

.banner-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
  padding: 26px;
}

.banner-row a {
  min-height: 138px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #111, #050505);
  text-align: center;
}

.banner-row span {
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 900;
}

.page-title {
  margin-bottom: 44px;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(280px, 45%) 1fr;
  gap: 30px;
  align-items: center;
  padding: 32px;
  border-radius: 32px;
}

.game-image,
.image-placeholder,
.iframe-slot {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel-2);
  overflow: hidden;
  clip-path: inset(0 round 34px);
}

.image-placeholder {
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.game-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid #333;
  background: var(--panel-2);
  margin-left: auto;
  margin-right: auto;
  border-radius: 36px;
  overflow: hidden;
  clip-path: inset(0 round 36px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.milk2-image {
  aspect-ratio: 630 / 500;
}

.milk1-image {
  aspect-ratio: 1 / 1;
  max-width: min(100%, 420px);
}

.game-image img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 36px;
  clip-path: inset(0 round 36px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  object-fit: fill;
  padding: 0;
}

.date {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card {
  padding: 26px;
  text-align: center;
}

.game-card h2 {
  margin-top: 20px;
}

.image-placeholder,
.iframe-slot {
  display: grid;
  place-items: center;
  color: #777;
  font-weight: 900;
}

.iframe-slot {
  min-height: 360px;
}

.unity-frame {
  width: 100%;
  height: min(76vw, 820px);
  min-height: 640px;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.web-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.web-grid-large {
  grid-template-columns: 1fr;
  gap: 28px;
}

.web-frame-card {
  padding: 20px;
  text-align: center;
}

.web-frame-card-large {
  padding: clamp(18px, 3vw, 34px);
}

.coming-soon-card {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.coming-soon-panel {
  min-height: 340px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  text-align: center;
}

.coming-soon-panel h2 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 6rem);
}

.site-footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: #777;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .topbar {
    min-height: 148px;
    align-items: flex-end;
    justify-content: flex-end;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .home-announcement,
  .banner-row,
  .news-card,
  .cards.two,
  .cards.three,
  .web-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 118px;
  }

  .nav a {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .page {
    padding-top: 36px;
  }
}
