/* Game Exhibition — light marketing site */
:root {
  --bg: #f6f8fb;
  --bg-2: #eef3f8;
  --surface: #ffffff;
  --ink: #152033;
  --muted: #5d6b7c;
  --line: rgba(21, 32, 51, 0.1);
  --blue: #2f6fed;
  --blue-soft: #dbe7ff;
  --coral: #ff6a4a;
  --coral-soft: #ffe3db;
  --mint: #1fa97a;
  --mint-soft: #d8f5ea;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 18px;
  --max: 1120px;
  --shadow: 0 18px 50px rgba(21, 32, 51, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mkt {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(47,111,237,0.12), transparent 55%),
    radial-gradient(700px 380px at 0% 20%, rgba(255,106,74,0.1), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 40%, #edf4ff 100%);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.mkt-wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.mkt-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.mkt-nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(21,32,51,0.05);
}
.mkt-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0; gap: 1rem;
}
.mkt-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  display: inline-block;
}
.mkt-logo:hover { color: var(--ink); }
.mkt-logo em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(120deg, var(--blue) 0%, #1d4ed8 55%, var(--coral) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mkt-nav-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.mkt-nav-links a { color: var(--muted); font-size: .95rem; font-weight: 600; }
.mkt-nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 999px; padding: .75rem 1.3rem;
  font-family: inherit; font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime, .btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 12px 28px rgba(47,111,237,0.25);
}
.btn-lime:hover, .btn-primary:hover { background: #255dd4; }
.btn-coral {
  background: var(--coral); color: #fff;
  box-shadow: 0 12px 28px rgba(255,106,74,0.25);
}
.btn-coral:hover { background: #ef5535; }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 2rem;
  align-items: center;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800; letter-spacing: -0.05em; line-height: .92;
  margin: 0 0 1rem;
}
.hero-brand em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue) 0%, #1d4ed8 50%, var(--coral) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 .85rem; max-width: 18ch;
}
.hero p {
  color: var(--muted); font-size: 1.05rem; margin: 0 0 1.6rem; max-width: 38ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-visual {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.hero-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 18px 50px rgba(21, 32, 51, 0.18),
    0 0 0 1px rgba(21, 32, 51, 0.06);
  animation: fadeUp .7s ease both;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-shot:hover,
.hero-shot:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 24px 60px rgba(21, 32, 51, 0.22),
    0 0 0 1px rgba(47, 111, 237, 0.25);
  outline: none;
}
.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 700px);
  object-fit: contain;
  background: #0b1a36;
}
.hero-shot-hint {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

.hero-lightbox {
  position: relative;
  border: 0;
  padding: 0;
  max-width: min(96vw, 1400px);
  max-height: 96vh;
  background: transparent;
  overflow: visible;
}
.hero-lightbox::backdrop {
  background: rgba(8, 12, 22, 0.82);
  backdrop-filter: blur(4px);
}
.hero-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.hero-lightbox-close {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #152033;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.hero-lightbox-close:hover,
.hero-lightbox-close:focus-visible {
  background: var(--blue);
  color: #fff;
  outline: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.section { padding: 4.5rem 0; }
.section-head { max-width: 560px; margin-bottom: 2.2rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 750; letter-spacing: -0.03em; margin: 0 0 .55rem;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.02rem; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.how-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  animation: fadeUp .7s both;
}
.how-card:nth-child(2) { animation-delay: .1s; }
.how-card:nth-child(3) { animation-delay: .2s; }
.how-icon {
  width: 64px; height: 64px; margin-bottom: .9rem;
  border-radius: 18px;
  display: grid; place-items: center;
}
.how-icon.blue { background: var(--blue-soft); }
.how-icon.coral { background: var(--coral-soft); }
.how-icon.mint { background: var(--mint-soft); }
.how-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; margin: 0 0 .4rem; letter-spacing: -0.02em;
}
.how-card p { color: var(--muted); margin: 0; font-size: .96rem; }

.path-demo {
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.path-demo svg { width: 100%; height: auto; }

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  max-width: 820px;
}
.pricing.pricing-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1040px;
}
.price-plan {
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.price-plan.featured {
  border-color: rgba(47,111,237,0.35);
  background: linear-gradient(160deg, #fff, var(--blue-soft));
}
.price-plan h3 {
  font-family: var(--font-display);
  margin: 0 0 .35rem; font-size: 1.3rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em;
  margin: .4rem 0 1rem;
}
.price-amount small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-plan ul {
  list-style: none; padding: 0; margin: 0 0 1.35rem;
  display: grid; gap: .5rem;
}
.price-plan li {
  padding-left: 1.25rem; position: relative; font-size: .95rem;
}
.price-plan li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--blue);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: stretch;
}
.about-card, .contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.about-card p { color: var(--muted); margin: 0 0 1rem; }
.contact-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.contact-list a {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform .15s, background .15s;
}
.contact-list a:hover { transform: translateY(-2px); background: #fff; }
.contact-list svg { width: 22px; height: 22px; flex-shrink: 0; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}
.auth-card {
  width: min(100%, 430px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.7rem; margin: 0 0 .35rem; letter-spacing: -0.03em;
}
.auth-card .sub { color: var(--muted); margin: 0 0 1.4rem; font-size: .95rem; }
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block; font-size: .8rem; font-weight: 700;
  color: var(--muted); margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .04em;
}
.form-field input {
  width: 100%; padding: .8rem .95rem;
  border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
}
.form-field input:focus {
  outline: none; border-color: rgba(47,111,237,0.5);
  box-shadow: 0 0 0 3px rgba(47,111,237,0.12);
}
.auth-error {
  background: var(--coral-soft);
  border: 1px solid rgba(255,106,74,0.35);
  color: #9a2f1a; padding: .75rem 1rem; border-radius: 12px;
  margin-bottom: 1rem; font-size: .92rem;
}
.auth-foot { margin-top: 1.2rem; text-align: center; color: var(--muted); font-size: .92rem; }
.auth-foot a { color: var(--blue); font-weight: 700; }

.mkt-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--muted); font-size: .9rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

@media (max-width: 900px) {
  .hero-grid, .how-grid, .pricing, .pricing.pricing-3, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2rem; }
  .hero-shot img { max-height: none; }
  .hero-lightbox-close { top: .5rem; right: .5rem; }
  .mkt-nav-links .nav-hide-sm { display: none; }
}

@media (min-width: 1100px) {
  .hero-shot img {
    max-height: min(82vh, 760px);
  }
}
