:root {
  color-scheme: light;
  --cream: #f6efe4;
  --cream-strong: #ead8bd;
  --pink: #b9905f;
  --pink-soft: #ead7bf;
  --purple: #6e6258;
  --purple-soft: #eee5d8;
  --gold: #c7a56a;
  --mint: #9d927f;
  --ink: #11100e;
  --muted: #746b60;
  --white: #ffffff;
  --line: #11100e;
  --shadow: 0 26px 70px rgba(17, 16, 14, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f7f1e8;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 58px);
  background: rgba(17, 16, 14, 0.82);
  border-bottom: 1px solid rgba(234, 216, 189, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--white);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--gold);
  box-shadow: none;
  color: var(--gold);
  font-weight: 950;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: 800;
}

.main-nav a {
  white-space: nowrap;
}

.nav-cta {
  padding: 10px 14px;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  box-shadow: none;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  gap: clamp(24px, 4vw, 52px);
  position: relative;
  min-height: calc(100vh - 72px);
  padding: clamp(120px, 18vw, 230px) clamp(18px, 6vw, 86px) clamp(42px, 7vw, 78px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.88), rgba(17, 16, 14, 0.62) 44%, rgba(17, 16, 14, 0.2)),
    url("/assets/production/luxury-wedding-production.jpg") center / cover;
  color: var(--white);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(17, 16, 14, 0.7), transparent);
  pointer-events: none;
}

.contact-hero {
  min-height: calc(100vh - 72px);
}

.hero-copy,
.game-intro {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.5rem, 10vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.hero-copy p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
}

.button-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.hero-section .button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
}

.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 880px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-metrics div {
  display: grid;
  gap: 6px;
  min-height: 84px;
  padding: 18px 22px 10px 0;
}

.hero-metrics strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 400;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.pixel-frame,
.preview-arcade {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1;
  background:
    linear-gradient(90deg, rgba(21, 17, 22, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(21, 17, 22, 0.05) 1px, transparent 1px),
    var(--purple-soft);
  background-size: 24px 24px;
  border: 3px solid var(--line);
  box-shadow: var(--shadow);
}

.pixel-camera {
  position: absolute;
  left: 24%;
  top: 34%;
  width: 180px;
  height: 120px;
  background: var(--ink);
  box-shadow:
    0 -28px 0 -8px var(--ink),
    18px 18px 0 var(--pink),
    36px 36px 0 var(--gold);
}

.pixel-camera::before {
  content: "";
  position: absolute;
  left: 58px;
  top: 30px;
  width: 62px;
  height: 62px;
  background: var(--cream);
  border: 12px solid var(--pink);
}

.pixel-heart,
.pixel-star,
.pixel-spark {
  position: absolute;
  display: block;
  border: 3px solid var(--line);
}

.pixel-heart {
  right: 18%;
  top: 18%;
  width: 58px;
  height: 58px;
  background: var(--pink);
  transform: rotate(45deg);
}

.pixel-star {
  right: 18%;
  bottom: 18%;
  width: 68px;
  height: 68px;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 34%, 98% 35%, 68% 55%, 80% 90%, 50% 68%, 20% 90%, 32% 55%, 2% 35%, 38% 34%);
}

.pixel-spark {
  width: 22px;
  height: 22px;
  background: var(--mint);
}

.spark-one {
  left: 16%;
  top: 18%;
}

.spark-two {
  right: 14%;
  top: 54%;
  background: var(--pink-soft);
}

.section-shell,
.case-section,
.korean-section,
.game-preview {
  padding: clamp(48px, 7vw, 90px) clamp(18px, 6vw, 86px);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(17, 16, 14, 0.18);
  border: 1px solid rgba(17, 16, 14, 0.18);
}

.service-card {
  min-height: 210px;
  padding: clamp(22px, 3vw, 34px);
  background: #fbf7ef;
  border: 0;
  box-shadow: none;
}

.service-card h3 {
  font-size: 1.24rem;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.case-section {
  background: var(--ink);
  border-top: 0;
  color: var(--white);
}

.case-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.08fr repeat(2, minmax(0, 0.96fr));
  grid-auto-rows: minmax(330px, auto);
  gap: 16px;
}

.case-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #211d18;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.case-card-tall {
  grid-row: span 2;
}

.case-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.96) contrast(1.02);
}

.case-card-tall img {
  min-height: 678px;
}

.case-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px;
  background: rgba(17, 16, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.case-caption span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: rgba(199, 165, 106, 0.16);
  border: 1px solid rgba(199, 165, 106, 0.44);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.case-caption h3 {
  margin-bottom: 6px;
}

.case-caption p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

.korean-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #f6efe4;
  border-top: 0;
}

.korean-copy {
  max-width: 620px;
}

.korean-copy h2 {
  max-width: 640px;
}

.korean-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.korean-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 11px;
  background: var(--white);
  border: 1px solid rgba(17, 16, 14, 0.18);
  box-shadow: none;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
}

.korean-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.78fr);
  grid-template-rows: minmax(260px, 0.92fr) minmax(190px, 0.66fr);
  gap: 18px;
}

.korean-feature-card,
.korean-photo-card,
.korean-mini-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17, 16, 14, 0.14);
  box-shadow: var(--shadow);
}

.korean-feature-card {
  grid-row: span 2;
  min-height: 620px;
}

.korean-photo-card {
  min-height: 300px;
}

.korean-mini-card {
  min-height: 230px;
}

.korean-feature-card img,
.korean-photo-card img,
.korean-mini-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.korean-photo-card img {
  object-position: center center;
}

.korean-feature-card div,
.korean-photo-card div,
.korean-mini-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 16, 14, 0.14);
  backdrop-filter: blur(10px);
}

.korean-feature-card span,
.korean-photo-card span,
.korean-mini-card span {
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.korean-mini-card span {
  color: var(--ink);
  text-transform: none;
}

.korean-feature-card h3,
.korean-photo-card h3 {
  margin: 6px 0 0;
}

.game-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  background: #211d18;
  color: var(--white);
}

.game-preview p {
  color: rgba(255, 255, 255, 0.74);
}

.chinese-title {
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 950;
}

.preview-arcade {
  aspect-ratio: 1.1;
  padding: 24px;
  background: var(--cream-strong);
}

.mini-screen {
  position: relative;
  height: 78%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(21, 17, 22, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(21, 17, 22, 0.08) 1px, transparent 1px),
    var(--purple-soft);
  background-size: 20px 20px;
  border: 3px solid var(--line);
}

.mini-player,
.mini-item {
  position: absolute;
  display: block;
  border: 3px solid var(--line);
}

.mini-player {
  left: 20%;
  bottom: 18%;
  width: 44px;
  height: 58px;
  background: var(--pink);
  box-shadow: 10px -18px 0 -4px var(--gold);
}

.mini-item {
  width: 28px;
  height: 28px;
  background: var(--gold);
}

.mini-camera {
  left: 58%;
  top: 20%;
  background: var(--ink);
}

.mini-star {
  right: 16%;
  top: 40%;
  clip-path: polygon(50% 0, 62% 34%, 98% 35%, 68% 55%, 80% 90%, 50% 68%, 20% 90%, 32% 55%, 2% 35%, 38% 34%);
}

.mini-coffee {
  left: 34%;
  top: 42%;
  background: var(--mint);
}

.mini-badge {
  right: 28%;
  bottom: 18%;
  background: var(--purple);
}

.mini-controls {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.mini-controls span {
  width: 42px;
  height: 42px;
  background: var(--pink);
  border: 3px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 86px);
  background: var(--cream);
  border-top: 2px solid var(--line);
  font-weight: 900;
}

.site-footer p {
  margin: 0;
}

.game-body {
  background:
    linear-gradient(90deg, rgba(21, 17, 22, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(21, 17, 22, 0.04) 1px, transparent 1px),
    var(--cream);
  background-size: 28px 28px;
}

.game-page {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 5vw, 72px) 56px;
}

.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: start;
}

.game-stage-shell,
.coupon-panel {
  border: 3px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.coupon-panel {
  padding: 24px;
}

.coupon-panel h2 {
  margin-bottom: 8px;
  font-size: 3.4rem;
  color: var(--pink);
}

.coupon-panel p {
  font-size: 0.98rem;
}

.coupon-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}

.coupon-code-row code {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--gold);
  border: 2px solid var(--line);
  font-size: 1.3rem;
  font-weight: 950;
}

.copy-status {
  min-height: 24px;
  margin-bottom: 8px;
  color: var(--pink);
  font-size: 0.9rem;
  font-weight: 900;
}

.coupon-terms {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.game-stage-shell {
  padding: clamp(14px, 3vw, 24px);
}

.game-hud {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr)) auto;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 16px;
}

.game-hud > div {
  min-height: 62px;
  padding: 10px 14px;
  background: var(--cream-strong);
  border: 2px solid var(--line);
}

.game-hud span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-hud strong {
  display: block;
  margin-top: 3px;
  font-size: 1.55rem;
}

.game-canvas {
  display: block;
  width: 100%;
  max-height: 68vh;
  aspect-ratio: 3 / 2;
  background: var(--purple-soft);
  border: 3px solid var(--line);
  image-rendering: pixelated;
  touch-action: none;
}

.touch-controls {
  display: grid;
  grid-template-columns: repeat(3, 58px);
  grid-template-rows: repeat(2, 58px);
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.touch-controls button {
  border: 2px solid var(--line);
  background: var(--pink-soft);
  box-shadow: 4px 4px 0 var(--line);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 950;
  touch-action: none;
}

.touch-controls button[data-direction="up"] {
  grid-column: 2;
}

.touch-controls button[data-direction="left"] {
  grid-column: 1;
  grid-row: 2;
}

.touch-controls button[data-direction="down"] {
  grid-column: 2;
  grid-row: 2;
}

.touch-controls button[data-direction="right"] {
  grid-column: 3;
  grid-row: 2;
}

.dev-reset {
  margin-top: 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: underline;
}

.game-modal {
  max-width: min(92vw, 480px);
  padding: 0;
  border: 0;
  background: transparent;
}

.game-modal::backdrop {
  background: rgba(21, 17, 22, 0.5);
}

.modal-card {
  padding: 26px;
  background: var(--cream);
  border: 3px solid var(--line);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin-bottom: 12px;
  font-size: 2.5rem;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-section,
  .game-preview,
  .game-hero {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-visual {
    min-height: 300px;
  }

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

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

  .case-card-tall {
    grid-row: span 1;
  }

  .case-card-tall img {
    min-height: 330px;
  }

  .korean-section {
    grid-template-columns: 1fr;
  }

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

  .game-hud .button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.6rem, 17vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .site-header {
    position: relative;
  }

  .hero-section {
    min-height: 88vh;
    padding-top: 72px;
  }

  .hero-actions,
  .modal-actions,
  .coupon-code-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

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

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

  .korean-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .korean-feature-card,
  .korean-photo-card,
  .korean-mini-card {
    min-height: 360px;
  }

  .pixel-frame {
    box-shadow: 6px 6px 0 var(--line);
  }

  .pixel-camera {
    left: 18%;
    width: 150px;
    height: 100px;
  }
}
