:root {
  --bg-0: #edf5ff;
  --bg-1: #dcecff;
  --bg-2: #c4dcf8;
  --ink-900: #072744;
  --ink-800: #0b3458;
  --ink-700: #11507f;
  --ink-600: #1a689e;
  --text: #0c365b;
  --text-soft: #365d80;
  --text-inverse: #f3f9ff;
  --surface: #ffffff;
  --surface-2: #f4f9ff;
  --line: #b6d2ed;
  --line-strong: #7fb3e1;
  --accent-soft: #dcefff;
  --max: 1120px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-lg: 0 10px 22px rgba(7, 41, 72, 0.12);
  --shadow-md: 0 6px 14px rgba(8, 45, 78, 0.1);
  --shadow-sm: 0 4px 10px rgba(8, 45, 78, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 70% at 10% -5%, rgba(137, 193, 245, 0.38) 0%, rgba(137, 193, 245, 0) 48%),
    radial-gradient(95% 55% at 98% 0%, rgba(164, 208, 248, 0.32) 0%, rgba(164, 208, 248, 0) 52%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 48%, var(--bg-2) 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  border-bottom: 1px solid #c1d9ef;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(236, 245, 255, 0.96) 100%);
  box-shadow: 0 7px 16px rgba(13, 66, 107, 0.12);
  backdrop-filter: blur(6px);
}

.site-header-shape {
  display: none;
}

.site-header-inner {
  width: min(var(--max), 94vw);
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: clamp(58px, 7vw, 78px);
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 7px rgba(10, 43, 74, 0.18));
}

.site-nav {
  display: flex;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(300px, 94vw);
  margin-top: 0;
  padding: 8px;
  border: 1px solid #b5d3ec;
  border-radius: 8px;
  background: rgba(244, 250, 255, 0.98);
  box-shadow: 0 4px 10px rgba(8, 40, 69, 0.08);
  flex-direction: column;
  gap: 4px;
  z-index: 35;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-btn {
  display: inline-flex;
  width: 44px;
  height: 38px;
  border: 1px solid #a9cbe7;
  border-radius: 8px;
  background: #f3f9ff;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle-btn span {
  display: block;
  width: 20px;
  height: 3px;
  min-height: 3px;
  background: var(--ink-700);
  border-radius: 0;
}

.site-nav a,
.site-nav span {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink-700);
  padding: 9px 10px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:checked ~ .site-nav {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.18s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav span:hover {
  color: var(--ink-800);
  background: #e7f3ff;
  border-color: #b8d4ed;
}

.site-main,
.site-footer {
  width: min(var(--max), 94vw);
  margin-left: auto;
  margin-right: auto;
}

.games-grid {
  margin-top: 24px;
  display: grid;
  gap: 32px;
}

.game-island,
.site-about {
  border-radius: var(--radius-lg);
}

.game-island {
  padding: 0;
  border: 1px solid #99c2e7;
  background: linear-gradient(180deg, #d7eaff 0%, #c5def8 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  --shot-h-desktop: clamp(186px, 16.5vw, 268px);
  --shot-h-tablet: clamp(142px, 25vw, 198px);
  --shot-h-mobile: clamp(108px, 29vw, 158px);
}

.game-island--featured {
  border-color: #79afdf;
  background: linear-gradient(180deg, #cde6ff 0%, #b7d8fb 100%);
  box-shadow: 0 12px 24px rgba(8, 42, 72, 0.16);
}

.game-island--dd2 .game-hero {
  aspect-ratio: 2 / 1;
}

.game-island--dd2 .game-hero .banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-kicker {
  margin: 0 0 8px;
  color: #104f7c;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 900;
}

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

.game-hero {
  margin: 0;
  border-radius: 0;
  border: 0;
  overflow: hidden;
  position: relative;
  background: #0d486f;
  box-shadow: none;
}

.game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(5, 27, 49, 0) 48%, rgba(5, 27, 49, 0.18) 100%);
}

.game-island--featured .game-hero {
  border-color: transparent;
  box-shadow: none;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
}

.content-card {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: 0 2px 8px rgba(8, 36, 64, 0.07);
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
  gap: 14px;
  align-items: stretch;
}

.game-island--featured .content-card {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 44%);
  border-color: var(--line-strong);
}

.game-island .content-card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.game-island--featured .content-card {
  border-top-color: var(--line-strong);
}

.game-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.56;
}

.game-copy .intro-line-gap {
  margin-bottom: 1em;
}

.game-island--featured .game-copy > p:first-child {
  font-size: 1.05rem;
  color: var(--text);
}

.game-copy ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.game-copy li {
  margin: 0 0 6px;
  color: var(--text-soft);
  line-height: 1.45;
}

.game-copy .availability {
  margin-top: 24px;
  color: #1d6a9f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.84rem;
  font-weight: 900;
}

.store-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.store-button:hover {
  transform: none;
}

.store-button img {
  display: block;
  height: clamp(30px, 4vw, 38px);
  width: auto;
}

.inline-link {
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(0.72rem, 1.6vw, 0.84rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-700);
  border: 1px solid #9fc7ea;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.inline-link:hover {
  color: var(--ink-800);
  background: #cce7ff;
  border-color: #7fb3de;
}

.game-media {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shots-title {
  margin: 0 0 4px;
  color: #1a6599;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.84rem;
  font-weight: 900;
}

.shots {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  height: 100%;
  min-height: 0;
}

.shots img {
  width: 100%;
  height: var(--shot-h-desktop);
  display: block;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  object-fit: contain;
  background: transparent;
}

.game-island--dd2 .shots img {
  object-fit: contain;
}

.site-about {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.about-title {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--text-inverse);
  background: linear-gradient(135deg, #104a75 0%, #1d6da6 100%);
  border: 1px solid rgba(181, 223, 255, 0.6);
}

.site-about .content-card {
  margin-top: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 2px 8px rgba(8, 36, 64, 0.07);
}

.single-card {
  grid-template-columns: 1fr;
}

.game-detail-card {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0;
  padding: clamp(18px, 2.3vw, 28px);
}

.game-detail-section + .game-detail-section {
  margin-top: clamp(34px, 4.7vw, 56px);
}

.game-detail-section.game-detail-section--description,
.game-detail-section.game-detail-section--features {
  margin-top: clamp(20px, 2.8vw, 34px);
}

.game-title {
  margin: 0;
  color: var(--ink-800);
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

.game-section-title {
  margin: 0 0 clamp(9px, 1.2vw, 14px);
  color: #1a6599;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: clamp(1.02rem, 2.1vw, 1.42rem);
  font-weight: 900;
}

.game-detail-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.58;
  max-width: 78ch;
}

.game-detail-card p + p {
  margin-top: 12px;
}

.game-detail-card .availability {
  margin-top: 24px;
  color: #1d6a9f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.84rem;
  font-weight: 900;
}

.game-feature-list {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 24px;
  max-width: 78ch;
}

.game-feature-list li {
  margin: 0 0 8px;
  color: var(--text-soft);
  line-height: 1.45;
  break-inside: avoid;
}

.game-store-row {
  margin-top: 14px;
  flex-wrap: wrap;
}

.dd1-download-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
}

.dd1-download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-decoration: none;
  padding: 12px 10px;
  border: 1px solid #b3d3ed;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fdff 0%, #edf6ff 100%);
}

.dd1-download-card:hover {
  border-color: #90bfdf;
  background: linear-gradient(180deg, #f3faff 0%, #e5f2ff 100%);
}

.dd1-app-icon {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 16px;
}

.dd1-app-name {
  margin: 0;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  min-height: 2.2em;
}

.dd1-store-badge {
  width: auto;
  height: clamp(30px, 4vw, 36px);
  display: block;
}

.game-review-list {
  display: grid;
  gap: 12px;
  max-width: 78ch;
}

.game-review {
  display: block;
  text-decoration: none;
  padding: 0;
}

.game-review[href]:hover .game-review-quote {
  color: var(--ink-700);
  text-decoration: underline;
}

.game-review--spaced {
  margin-bottom: 6px;
}

.game-review-quote {
  color: var(--text);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.5;
}

.game-review-by {
  margin-top: 8px;
  color: #1e6799;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 900;
}

.game-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.game-shots a {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  border: 1px solid #b0d0eb;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fcff 0%, #e7f2ff 100%);
}

.game-shots img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}

.game-video-wrap {
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;
  border: 1px solid #b0d0eb;
  border-radius: 6px;
  overflow: hidden;
  background: #03172a;
}

.game-video-link {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
}

.game-video-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.game-video-link span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #7db0db;
  background: rgba(6, 37, 62, 0.86);
  color: #eef8ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.game-video-link:hover span {
  background: rgba(9, 55, 90, 0.9);
}

.db-ads-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

.db-ads-item {
  display: grid;
  gap: 8px;
  justify-items: start;
  text-decoration: none;
  padding: 10px;
  border: 1px solid #b4d4ed;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fdff 0%, #edf6ff 100%);
}

.db-ads-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.db-ads-item span {
  color: var(--ink-700);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.site-footer {
  margin-top: 26px;
  margin-bottom: 24px;
  border-radius: 12px;
  border: 1px solid #5e9dcd;
  background: linear-gradient(180deg, #0f446f 0%, #0a3456 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  color: var(--text-inverse);
}

.site-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  padding: 18px;
}

.site-footer h3 {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #ecf8ff;
}

.site-footer p {
  margin: 8px 0 0;
  color: #d7ebfb;
  line-height: 1.5;
}

.site-footer a {
  color: #eef7ff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer-brand p {
  max-width: 40ch;
}

.site-footer-links p,
.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.divider {
  margin: 0 4px;
  color: #9cc4e7;
}

.site-footer-bottom {
  border-top: 1px solid rgba(174, 214, 244, 0.32);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.site-footer-bottom p {
  margin: 0;
  color: #deeffc;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.site-footer-bottom a {
  color: #eef7ff;
}

@media (max-width: 980px) {
  .content-card,
  .game-island--featured .content-card {
    grid-template-columns: 1fr;
  }

  .shots img {
    height: var(--shot-h-tablet);
  }

  .site-footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .game-feature-list {
    columns: 1;
  }

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

  .game-shots {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    min-height: 80px;
    padding: 10px 0;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
  }

  .site-footer-top {
    grid-template-columns: 1fr;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    height: clamp(48px, 11vw, 62px);
  }

  .shots img {
    height: var(--shot-h-mobile);
  }

  .shots {
    gap: 5px;
  }

  .store-row {
    gap: 8px;
  }

  .dd1-download-grid {
    grid-template-columns: 1fr;
  }

  .game-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

