﻿:root {
  --bg: #565d69;
  --bg-deep: #4f5662;
  --panel: rgba(255, 255, 255, 0.05);
  --text: #f7f7f5;
  --muted: #d7dbe1;
  --line: rgba(255, 255, 255, 0.14);
  --orange: #f28d43;
  --amber: #f4c95d;
  --mint: #97d7a0;
  --cyan: #59c6ee;
  --blue: #3393ea;
  --plum: #4e3766;
  --container: min(1040px, calc(100vw - 2rem));
  --font-display: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-legal: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(89, 198, 238, 0.1), transparent 24%),
    radial-gradient(circle at bottom right, rgba(242, 141, 67, 0.08), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--bg);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(86, 93, 105, 0.88);
  backdrop-filter: blur(12px);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-emblem {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-nav a,
.footer-row a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-row a:hover,
.footer-row a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  color: var(--text);
}

.hero,
.section {
  padding: 7rem 0;
}

.hero-grid,
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 4.5rem;
  align-items: center;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(220px, 320px) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h1 {
  max-width: 9ch;
  font-size: clamp(3.4rem, 10vw, 6.2rem);
}

h2 {
  max-width: 9ch;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

h3 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.hero-text,
.section-copy p,
.footer-row p,
.contact-link {
  color: var(--muted);
}

.hero-text,
.section-copy p {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
}

.hero-mark {
  width: min(100%, 520px);
  margin-left: auto;
}

.hero-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.section-heading {
  margin-bottom: 0;
}

.games-overview h2 {
  max-width: none;
}

.games-overview {
  padding-bottom: 1.5rem;
}

.section-lined {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.game-showcase {
  padding-top: 3rem;
}

.section-copy p:first-child {
  margin-top: 0;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
}

.store-link:hover,
.store-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
}

.store-icon {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-link {
  font-size: 1.25rem;
  font-weight: 400;
}

.game-section {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
  padding: 1rem 0;
}

.game-section-art img {
  display: block;
  width: 100%;
  max-width: 320px;
  border-radius: 32px;
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
}

.game-section-copy p {
  margin: 1rem 0 0;
  max-width: 34rem;
}

.game-section-copy h3 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.about-image img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
}

.about-copy {
  max-width: 34rem;
}

.about-section,
.contact-section {
  position: relative;
}

.contact-grid {
  align-items: start;
}

.site-footer {
  padding-bottom: 1rem;
}

.footer-row {
  border-top: 1px solid var(--line);
}

.legal-page {
  min-height: calc(100vh - 10rem);
}

.legal-layout {
  max-width: 760px;
}

.legal-page h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

.legal-card {
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  font-family: var(--font-legal);
}

.legal-card p {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-card p:first-child {
  margin-top: 0;
}

.legal-section + .legal-section {
  margin-top: 2rem;
}

.legal-title,
.legal-subtitle {
  max-width: none;
  font-family: var(--font-legal);
  letter-spacing: -0.02em;
}

.legal-title {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 600;
  line-height: 1.2;
}

.legal-subtitle {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.legal-block {
  margin-top: 1rem;
}

.legal-block p {
  margin: 0.2rem 0 0;
}

.legal-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.legal-list li + li {
  margin-top: 0.45rem;
}

.legal-link,
.legal-back {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  color: var(--muted);
}

@media (max-width: 760px) {
  .header-row,
  .footer-row,
  .hero-grid,
  .section-grid,
  .about-layout,
  .game-section {
    grid-template-columns: 1fr;
  }

  .header-row,
  .footer-row {
    align-items: flex-start;
  }

  .hero,
  .section {
    padding: 4.5rem 0;
  }

  .site-nav {
    gap: 1rem;
  }

  .hero-mark {
    margin-left: 0;
    width: min(100%, 360px);
  }

  .about-image img,
  .game-section-art img {
    max-width: 260px;
    margin: 0;
  }

  h1,
  h2 {
    max-width: none;
  }
}
