:root {
  --ink: #203040;
  --muted: #657386;
  --line: #dce5ee;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #3f8fc8;
  --blue-dark: #236995;
  --warm: #f0d8b7;
  --wood: #c79b62;
  --shadow: 0 18px 40px rgba(37, 54, 74, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--blue-dark);
}

.skip-link,
.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;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--blue);
  z-index: 20;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 8px 16px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.9rem;
}

.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #86c5e6);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 10px 11px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: #eaf4fb;
  color: var(--blue-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.74) 45%, rgba(255, 255, 255, 0.18));
}

.hero-content {
  position: relative;
  max-width: 650px;
  margin-left: max(22px, calc((100vw - 1180px) / 2));
  padding: 56px 22px;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--blue-dark);
}

.section,
.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 20px;
}

.page-hero {
  padding-top: 96px;
  padding-bottom: 42px;
}

.page-hero.compact h1 {
  max-width: 780px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-section h2,
.display-band h2,
.text-page h2,
.contact-card h2,
.info-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.shelf-section {
  position: relative;
}

.shelf-section::after {
  content: "";
  display: block;
  height: 18px;
  margin-top: 20px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #d8b37f, var(--warm), #d8b37f);
  box-shadow: 0 14px 24px rgba(96, 70, 43, 0.15);
}

.product-grid {
  display: grid;
  gap: 18px;
}

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

.product-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.contact-card,
.info-panel {
  position: relative;
  min-height: 235px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(#fff, #fbfdff);
  box-shadow: 0 10px 22px rgba(37, 54, 74, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 4px;
  background: var(--blue);
  border-radius: 0 0 4px 4px;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #b8d6ea;
  box-shadow: var(--shadow);
}

.product-card h2,
.product-card h3 {
  margin: 12px 0 10px;
  line-height: 1.15;
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.game-cover {
  margin: -6px -6px 16px;
  padding: 12px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #eef6fb, #fff 56%, #f6ead9);
  border: 1px solid #e3edf4;
}

.game-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 14px 24px rgba(32, 48, 64, 0.18);
}

.game-card .price-row {
  margin-top: auto;
}

.product-type,
.availability {
  color: var(--muted);
  font-size: 0.85rem;
}

.price-row,
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
}

.price-row strong,
.card-meta strong {
  font-size: 1.25rem;
  color: var(--blue-dark);
}

.split-section,
.display-band,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.split-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.display-band,
.contact-layout {
  align-items: start;
}

.visit-notes,
.info-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.text-link {
  font-weight: 700;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.photo-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(37, 54, 74, 0.08);
}

.photo-grid figure:first-child {
  grid-row: span 2;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 700;
  background: #fff;
}

.social-grid div {
  display: grid;
  place-items: center;
  min-height: 118px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #eef6fb, #fff 52%, #f6ead9);
  border: 1px solid var(--line);
  color: var(--blue-dark);
  font-weight: 800;
}

.contact-card form {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8d5df;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.notice {
  padding: 12px 14px;
  border-radius: var(--radius);
  margin: 0 0 18px;
}

.notice p {
  margin: 0;
}

.notice.success {
  background: #e8f7ed;
  color: #246b39;
}

.notice.error {
  background: #fff1f0;
  color: #9a3328;
}

.map-wrap {
  max-width: 1180px;
  margin: 0 auto 76px;
  padding: 0 20px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.text-page {
  max-width: 840px;
}

.site-footer {
  background: #1f2c37;
  color: #e8eef3;
  padding: 54px 20px 24px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  gap: 28px;
}

.site-footer a,
.site-footer p {
  color: #d5e2eb;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  margin-top: 0;
}

.footer-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #b8c6d0;
  font-size: 0.9rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .product-grid.three,
  .product-grid.four,
  .split-section,
  .display-band,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .photo-grid figure:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .top-strip {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 540px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76));
  }

  .hero-content {
    margin-left: 0;
    padding-top: 86px;
  }

  .section,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-grid.three,
  .product-grid.four,
  .split-section,
  .display-band,
  .contact-layout,
  .footer-grid,
  .social-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid figure:first-child {
    grid-column: auto;
  }

  .social-grid div {
    min-height: 86px;
  }

  .footer-bottom {
    display: block;
  }
}
