@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #120d0d;
  --bg-soft: #1a1313;
  --text: #efe4cf;
  --text-soft: rgba(239, 228, 207, 0.78);
  --text-muted: rgba(239, 228, 207, 0.54);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(239, 228, 207, 0.28);
  --panel: rgba(0, 0, 0, 0.38);
  --panel-strong: rgba(0, 0, 0, 0.62);
  --accent: #a23a2f;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 0 0 1px rgba(239, 228, 207, 0.12), 0 18px 50px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top, rgba(162, 58, 47, 0.16), transparent 30%),
    linear-gradient(180deg, #171111 0%, #120d0d 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  color: inherit;
  font: inherit;
}

::selection {
  color: #f7efdf;
  background: rgba(162, 58, 47, 0.42);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.page-shell::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(162, 58, 47, 0.18), transparent 20%),
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.05), transparent 18%),
    radial-gradient(circle at 50% 84%, rgba(162, 58, 47, 0.12), transparent 28%);
}

.page-shell::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  padding: 16px 16px 0;
}

.header-bar {
  width: auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  outline: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.header-bar-logo-only {
  justify-content: flex-start;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-link,
.header-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.header-link {
  color: var(--text-muted);
}

.header-link:hover {
  color: var(--text);
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid rgba(239, 228, 207, 0.24);
  border-radius: 999px;
  background: rgba(239, 228, 207, 0.08);
}

.header-cta:hover {
  border-color: rgba(239, 228, 207, 0.45);
  background: rgba(239, 228, 207, 0.14);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  animation: heroDrift 20s ease-in-out infinite;
  transform-origin: center;
}

.hero-overlay {
  background:
    radial-gradient(circle at top, rgba(162, 58, 47, 0.28), transparent 35%),
    linear-gradient(90deg, rgba(10, 8, 8, 0.86) 0%, rgba(10, 8, 8, 0.58) 42%, rgba(10, 8, 8, 0.26) 68%, rgba(10, 8, 8, 0.66) 100%);
}

.hero-content {
  position: relative;
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 136px 0 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-copy {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  top: 0;
  animation: fadeUp 900ms ease-out both;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(239, 228, 207, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(100%, 1050px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  transform: translate(10px, 96px);
}

.hero-copy h1,
.section-heading h2,
.footer-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5.6vw, 5.6rem);
  line-height: 0.95;
}

.hero-subtitle {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.9;
}

.store-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 30px;
  align-items: center;
}

.store-buttons-hero {
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  gap: 12px;
}

.store-button {
  display: inline-flex;
  transition: transform 180ms ease, opacity 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-button img {
  width: min(230px, 100%);
  height: auto;
}

.store-buttons-hero .store-button {
  width: auto;
  flex: 0 1 auto;
}

.store-buttons-hero .store-button img {
  width: clamp(180px, 17vw, 230px);
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 82px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  opacity: 0.82;
  animation: scrollPulse 1.6s ease-in-out infinite;
}

.hero-scroll-chevron {
  width: 16px;
  height: 16px;
  border-right: 2px solid rgba(239, 228, 207, 0.88);
  border-bottom: 2px solid rgba(239, 228, 207, 0.88);
  transform: rotate(45deg) translate(-2px, -2px);
}

.overview-section {
  position: relative;
  padding: 88px 16px 112px;
  background: linear-gradient(180deg, #120d0d 0%, #171111 38%, #0f0b0b 100%);
}

.section-heading {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.gallery-shell {
  position: relative;
  width: min(1240px, calc(100vw - 32px));
  margin: 54px auto 0;
}

.gallery-main-frame {
  position: relative;
  width: min(980px, 100%);
  margin: 0 auto;
}

.gallery-image-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  padding: 12px;
  touch-action: pan-y;
  user-select: none;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  animation: fadeIn 420ms ease-out both;
}

.gallery-preview {
  position: absolute;
  top: 58px;
  width: 26%;
  max-width: 320px;
  opacity: 0.26;
  pointer-events: none;
  filter: blur(1px);
}

.gallery-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
}

.gallery-preview-left {
  left: 0;
  transform: translateX(-70px);
}

.gallery-preview-right {
  right: 0;
  transform: translateX(70px);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transform: translateY(-50%);
  transition: 180ms ease;
}

.gallery-arrow:hover {
  border-color: rgba(239, 228, 207, 0.48);
  background: rgba(0, 0, 0, 0.7);
}

.gallery-arrow-left {
  left: -18px;
}

.gallery-arrow-right {
  right: -18px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(239, 228, 207, 0.28);
  cursor: pointer;
  transition: 180ms ease;
}

.gallery-dot.is-active {
  width: 38px;
  background: var(--text);
}

.site-footer {
  padding: 44px 16px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.56);
  text-align: left;
}

.footer-info-panel,
.footer-copy,
.store-buttons-compact {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
}

.footer-info-panel {
  display: grid;
  grid-template-columns: 76px minmax(0, 1.6fr) minmax(180px, 0.9fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0 6px;
}

.footer-game-icon {
  display: block;
  width: 76px;
  height: 76px;
  min-width: 76px;
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  align-self: start;
}

.footer-meta,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.footer-meta p,
.footer-links p {
  margin: 0;
  color: rgba(239, 228, 207, 0.88);
  font-size: 15px;
  line-height: 1.5;
}

.footer-meta span {
  color: rgba(239, 228, 207, 0.64);
}

.footer-link-button {
  display: inline-flex;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(239, 228, 207, 0.88);
  font: inherit;
  line-height: 1.5;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-link-button:hover {
  color: var(--text);
}

.footer-title {
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.store-buttons-compact {
  justify-content: flex-start;
  margin-top: 26px;
}

.store-buttons-compact .store-button img {
  width: min(168px, 100%);
}

.copyright {
  width: min(1240px, calc(100vw - 32px));
  margin: 28px auto 0;
  color: var(--text-muted);
  font-size: 14px;
}

.legal-meta {
  margin: 0 0 18px;
  color: rgba(239, 228, 207, 0.52);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(146, 46, 37, 0.22), transparent 30%),
    linear-gradient(180deg, #140d0d 0%, #0b0909 100%);
}

.legal-page-shell {
  min-height: 100vh;
}

.legal-page-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 16px 0;
}

.legal-page-header-inner {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.legal-page-main {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 52px 0 88px;
}

.legal-page-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(36, 28, 28, 0.95), rgba(18, 13, 13, 0.96)),
    rgba(18, 13, 13, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.legal-page-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(173, 74, 62, 0.16), transparent 28%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.05), transparent 36%);
  pointer-events: none;
}

.legal-page-hero,
.legal-page-body {
  position: relative;
  z-index: 1;
}

.legal-page-hero {
  padding: 54px 54px 30px;
}

.legal-page-kicker {
  margin: 0 0 14px;
  color: rgba(239, 228, 207, 0.54);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.legal-page-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.legal-page-summary {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(239, 228, 207, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.legal-page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.legal-page-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(239, 228, 207, 0.82);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.legal-page-nav-link:hover,
.legal-page-nav-link[aria-current='page'] {
  border-color: rgba(239, 228, 207, 0.3);
  background: rgba(239, 228, 207, 0.08);
  color: var(--text);
}

.legal-page-body {
  padding: 0 54px 56px;
}

.legal-rich-text h2 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
}

.legal-rich-text h3 {
  margin: 24px 0 10px;
  font-size: 1.1rem;
  color: var(--text);
}

.legal-rich-text p,
.legal-rich-text li {
  color: rgba(239, 228, 207, 0.82);
  font-size: 15px;
  line-height: 1.72;
}

.legal-rich-text ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

@keyframes heroDrift {
  0%,
  100% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.11) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0.38;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
  }
}

@media (max-width: 1080px) {
  .gallery-preview {
    display: none;
  }

  .gallery-arrow-left {
    left: 10px;
  }

  .gallery-arrow-right {
    right: 10px;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 14px 0;
  }

  .header-bar {
    width: calc(100vw - 28px);
    padding: 12px 14px;
  }

  .header-link {
    display: none;
  }

  .brand img {
    height: 33px;
  }

  .hero-image {
    object-position: 42% center;
  }

  .hero-content {
    width: calc(100vw - 28px);
    padding: 124px 0 42px;
    align-items: center;
  }

  .hero-copy {
    top: 0;
  }

  .hero-logo {
    width: min(100%, 840px);
    transform: translate(22px, 80px);
  }

  .hero-copy h1 {
    max-width: 540px;
  }

  .store-buttons {
    gap: 10px;
  }

  .store-buttons-hero {
    gap: 10px;
  }

  .store-button {
    width: min(208px, calc(50vw - 24px));
  }

  .store-button img {
    width: 100%;
  }

  .store-buttons-hero .store-button {
    width: auto;
  }

  .store-buttons-hero .store-button img {
    width: clamp(170px, 24vw, 220px);
    margin-left: 0;
    margin-right: 0;
  }

  .overview-section,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-heading,
  .gallery-shell,
  .footer-info-panel,
  .footer-copy,
  .store-buttons-compact,
  .copyright {
    width: calc(100vw - 28px);
  }

  .footer-info-panel {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .footer-links {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .header-bar {
    gap: 10px;
  }

  .header-cta {
    padding: 10px 14px;
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .hero-section {
    min-height: 100svh;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at top, rgba(162, 58, 47, 0.22), transparent 34%),
      linear-gradient(180deg, rgba(10, 8, 8, 0.28) 0%, rgba(10, 8, 8, 0.72) 34%, rgba(10, 8, 8, 0.82) 100%);
  }

  .hero-image {
    object-position: 34% center;
  }

  .hero-copy {
    padding-bottom: 10px;
    top: 30px;
  }

  .hero-logo {
    max-width: 630px;
    margin-bottom: 16px;
    transform: translate(8px, 62px);
  }

  .hero-subtitle {
    max-width: 320px;
    line-height: 1.7;
  }

  .store-button {
    width: min(186px, calc(50vw - 22px));
  }

  .hero-scroll-indicator {
    bottom: 88px;
  }

  .store-buttons-hero {
    gap: 8px;
  }

  .store-buttons-hero .store-button {
    width: auto;
  }

  .store-buttons-hero .store-button img {
    width: clamp(150px, 42vw, 190px);
    margin-left: 0;
    margin-right: 0;
  }

  .overview-section {
    padding-top: 74px;
    padding-bottom: 92px;
  }

  .gallery-main-frame {
    width: 100%;
  }

  .gallery-image-wrap {
    padding: 8px;
    border-radius: 22px;
  }

  .gallery-image {
    border-radius: 16px;
  }

  .gallery-arrow {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .gallery-arrow-left {
    left: 8px;
  }

  .gallery-arrow-right {
    right: 8px;
  }

  .gallery-dots {
    gap: 10px;
    margin-top: 20px;
  }

  .gallery-dot.is-active {
    width: 28px;
  }

  .site-footer {
    padding-top: 36px;
  }

  .footer-info-panel {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px 14px;
    align-items: start;
  }

  .footer-game-icon {
    grid-row: 1 / span 2;
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
  }

  .footer-meta,
  .footer-links {
    grid-column: 2;
  }

  .footer-meta {
    gap: 7px;
  }

  .footer-links {
    gap: 6px;
    padding-top: 2px;
  }

  .footer-meta p,
  .footer-links p,
  .footer-link-button {
    font-size: 14px;
  }

  .legal-page-main {
    padding: 22px 0 56px;
  }

  .legal-page-panel {
    border-radius: 22px;
  }

  .legal-page-hero {
    padding: 34px 18px 22px;
  }

  .legal-page-title {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .legal-page-summary {
    font-size: 15px;
  }

  .legal-page-nav {
    gap: 8px;
  }

  .legal-page-nav-link {
    min-height: 40px;
    padding: 0 14px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .legal-page-body {
    padding: 0 18px 30px;
  }

  .legal-rich-text h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero-image {
    object-position: 30% center;
  }
}
