/* {$tpshop_config['shop_info_appName']} public theme */
:root {
  --sky: #87e2f4;
  --sky-soft: #d9fbff;
  --sun: #ffe471;
  --coin: #ffc72c;
  --coin-deep: #e58d16;
  --kitchen: #fff6dc;
  --cream: #fffaf0;
  --paper: #ffffff;
  --ink: #203247;
  --muted: #66748a;
  --line: rgba(32, 50, 71, 0.14);
  --blue: #1976d2;
  --cyan: #18b8d8;
  --red: #ef5a45;
  --green: #3dbb6a;
  --purple: #7f63d9;
  --shadow: 0 18px 42px rgba(30, 59, 90, 0.16);
  --nav-h: 74px;
  --radius: 8px;
  --font-display: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Trebuchet MS", Arial, system-ui, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #eafaff;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

.home-page main {
  background: linear-gradient(180deg, #dffaff 0, #fff8df 42%, #f8fbff 100%);
}

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

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

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  border-bottom: 2px solid rgba(255, 199, 44, 0.36);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 8px 24px rgba(42, 91, 125, 0.1);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(42, 91, 125, 0.18);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  padding: 4px;
  border: 2px solid #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #ffefb3);
  box-shadow: 0 8px 18px rgba(229, 141, 22, 0.22);
  object-fit: contain;
}

.brand-name {
  max-width: 220px;
  overflow: hidden;
  color: #18456a;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  color: #31536f;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #fff1ad;
  color: #8d4e00;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-signup,
.btn-play,
.game-intro__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffda55, #ff9f21);
  color: #5c3300;
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: 0 8px 0 #cf7412, 0 16px 24px rgba(229, 141, 22, 0.22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-signup:hover,
.btn-play:hover,
.game-intro__cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 10px 0 #cf7412, 0 18px 28px rgba(229, 141, 22, 0.26);
}

.btn-signup {
  min-width: 116px;
  min-height: 42px;
  padding: 0 1.1rem;
  font-size: 0.78rem;
}

.account-link {
  width: 220px;
  height: 48px;
  padding: 5px 10px 5px 6px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  border: 2px solid rgba(255, 199, 44, 0.72);
  border-radius: 14px;
  background: #fff9df;
  box-shadow: 0 8px 18px rgba(42, 91, 125, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.account-link:hover {
  border-color: #ff9f21;
  transform: translateY(-1px);
}

.account-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #4fc3f7, #1976d2);
  color: #fff;
}

.account-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.account-copy small {
  color: #e58d16;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.1;
}

.account-copy strong {
  overflow: hidden;
  color: #18456a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-arrow {
  color: #e58d16;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 2px solid rgba(25, 118, 210, 0.18);
  border-radius: 12px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 3px;
  border-radius: 3px;
  background: #18456a;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 2.2rem) 0 3.2rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(112, 221, 245, 0.78), rgba(255, 240, 172, 0.86)),
    #a8eff8;
}

.hero-banner-carousel,
.hero-banner {
  position: absolute;
  inset: 0;
}

.hero-banner-carousel {
  z-index: 0;
  overflow: hidden;
}

.hero-banner {
  background-position: center;
  background-size: cover;
  opacity: 0;
  filter: saturate(1.08) contrast(0.96);
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 5.8s ease;
}

.hero-banner.is-active {
  opacity: 0.52;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.78) 33%, rgba(255, 250, 240, 0.24) 64%, rgba(255, 250, 240, 0.08) 100%),
    radial-gradient(circle at 15% 18%, rgba(255, 228, 113, 0.9), transparent 22%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 76px;
  background:
    repeating-linear-gradient(90deg, rgba(32, 50, 71, 0.08) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, transparent, rgba(32, 50, 71, 0.09));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-copy {
  max-width: 560px;
}

.hero-eyebrow,
.game-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, #42d97f, #22a85d);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 4px 0 #178846;
}

.hero-title {
  margin-bottom: 0.75rem;
  color: #123858;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.8vw, 5.35rem);
  font-weight: 900;
  line-height: 0.95;
  text-shadow: 0 4px 0 #fff, 0 8px 18px rgba(25, 118, 210, 0.16);
}

.hero-subtitle {
  max-width: 500px;
  margin-bottom: 1.1rem;
  color: #31536f;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 800;
}

.hero-desc {
  max-width: 470px;
  margin-bottom: 1.7rem;
  color: #50647a;
  font-size: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 520px;
  margin: 1.35rem 0 1.75rem;
}

.hero-stat {
  min-width: 0;
  padding: 0.85rem 0.7rem;
  border: 2px solid #fff;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 18px rgba(42, 91, 125, 0.11);
}

.hero-stat strong,
.hero-stat span {
  display: block;
  text-align: center;
}

.hero-stat strong {
  color: #e58d16;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.1;
}

.hero-stat span {
  margin-top: 0.15rem;
  color: #4e627a;
  font-size: 0.78rem;
  font-weight: 800;
}

.btn-play {
  min-width: 210px;
  min-height: 62px;
  padding: 0 1.8rem;
  font-size: 1.08rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.restaurant-tower {
  position: relative;
  width: min(100%, 650px);
  margin-left: auto;
  padding: 1rem;
}

.tower-shell {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 1rem 4.9rem 1rem 1rem;
  border: 4px solid #2f3b55;
  border-radius: 12px;
  background: #394562;
  box-shadow: 0 22px 48px rgba(42, 91, 125, 0.24);
}

.tower-floor {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 78px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem;
  border: 3px solid #2f3b55;
  border-radius: 8px;
  background: linear-gradient(180deg, #e7fbff, #fff2c7);
  overflow: hidden;
}

.tower-floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.52), transparent 42%);
  pointer-events: none;
}

.floor-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(42, 91, 125, 0.14));
}

.floor-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.floor-copy strong {
  display: block;
  color: #163b5d;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
}

.floor-copy span {
  display: block;
  color: #5f7083;
  font-size: 0.8rem;
  font-weight: 700;
}

.floor-level {
  position: relative;
  z-index: 1;
  justify-self: end;
  padding: 0.28rem 0.55rem;
  border: 2px solid #fff;
  border-radius: 8px;
  background: linear-gradient(180deg, #6eea76, #2bbd4f);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 4px 0 #1c9137;
  white-space: nowrap;
}

.tower-elevator {
  position: absolute;
  top: 1rem;
  right: 1.05rem;
  bottom: 1rem;
  width: 58px;
  border: 3px solid #2f3b55;
  border-radius: 10px;
  background: linear-gradient(180deg, #343b5f, #232843);
  overflow: hidden;
}

.tower-elevator::before,
.tower-elevator::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translateX(-50%);
  background: url("../images/shop-coin.svg") center / contain no-repeat;
  animation: coinLift 3.4s linear infinite;
}

.tower-elevator::after {
  animation-delay: -1.7s;
}

@keyframes coinLift {
  from { top: 100%; }
  to { top: -28px; }
}

.boss-badge {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: min(260px, 42%);
  min-width: 150px;
  filter: drop-shadow(0 16px 18px rgba(42, 91, 125, 0.22));
}

.coin-pile {
  position: absolute;
  left: 5%;
  right: 22%;
  bottom: -16px;
  height: 74px;
  border-radius: 50% 50% 12px 12px;
  background:
    radial-gradient(circle at 20% 35%, #fff08a 0 9px, transparent 10px),
    radial-gradient(circle at 42% 28%, #fff08a 0 7px, transparent 8px),
    radial-gradient(circle at 68% 45%, #fff08a 0 8px, transparent 9px),
    linear-gradient(180deg, #ffd94d, #f4a61c);
  box-shadow: inset 0 -10px 0 rgba(207, 116, 18, 0.3), 0 16px 24px rgba(229, 141, 22, 0.22);
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.section-title {
  margin-bottom: 1rem;
  color: #143858;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.section-lead {
  max-width: 660px;
  margin: 0 auto 2.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}

.intro {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 228, 113, 0.42), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(24, 184, 216, 0.22), transparent 30%),
    linear-gradient(180deg, #fffaf0, #effbff);
}

.game-intro__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.game-intro__media,
.game-intro__content {
  min-width: 0;
}

.game-intro__frame {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: var(--radius);
  background: #dffaff;
  box-shadow: var(--shadow);
}

.game-intro__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-intro__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 500px);
  margin: 1rem auto 0;
}

.game-intro__facts div {
  min-width: 0;
  padding: 0.85rem 0.5rem;
  border: 2px solid #fff;
  border-radius: var(--radius);
  background: #fff8df;
  box-shadow: 0 8px 18px rgba(42, 91, 125, 0.1);
  text-align: center;
}

.game-intro__facts strong,
.game-intro__facts span {
  display: block;
}

.game-intro__facts strong {
  color: #e58d16;
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.game-intro__facts span {
  margin-top: 0.2rem;
  color: #5d6f83;
  font-size: 0.78rem;
  font-weight: 700;
}

.game-intro__title {
  margin: 0 0 1.25rem;
  color: #123858;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.02;
}

.game-intro__lead {
  max-width: 680px;
  color: #334b63;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.68;
}

.game-intro__copy {
  max-width: 680px;
  margin-top: 0.85rem;
  color: #5a6e82;
  font-size: 0.98rem;
  line-height: 1.75;
}

.game-intro__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 680px;
  margin: 1.5rem 0 0;
  list-style: none;
}

.game-intro__features li {
  position: relative;
  min-width: 0;
  padding: 0.72rem 0.85rem 0.72rem 2.1rem;
  border: 2px solid rgba(255, 199, 44, 0.4);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: #36516a;
  font-size: 0.9rem;
  font-weight: 800;
}

.game-intro__features li::before {
  content: "";
  position: absolute;
  top: 0.88rem;
  left: 0.78rem;
  width: 18px;
  height: 18px;
  background: url("../images/shop-coin.svg") center / contain no-repeat;
}

.game-intro__cta {
  gap: 0.85rem;
  min-width: 235px;
  min-height: 58px;
  margin-top: 1.8rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.92rem;
}

.game-intro__cta i {
  font-size: 1.45rem;
}

.game-intro__cta small,
.game-intro__cta strong {
  display: block;
  line-height: 1.15;
}

.game-intro__cta small {
  color: #7a4d05;
  font-size: 0.64rem;
}

.games-showcase {
  background:
    linear-gradient(180deg, rgba(25, 118, 210, 0.08), rgba(255, 250, 240, 0.92)),
    #f8fbff;
}

.games-showcase__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.games-showcase__heading .section-title {
  margin-bottom: 0;
}

.games-carousel {
  outline: none;
}

.games-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 3);
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.25rem 0 1.25rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.games-track::-webkit-scrollbar {
  display: none;
}

.games-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.game-slide {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: var(--radius);
  background: #fff8df;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.game-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.game-slide:hover img {
  transform: scale(1.035);
}

.games-carousel__controls {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
}

.games-carousel__button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 12px;
  background: linear-gradient(180deg, #55c6ff, #1976d2);
  color: #fff;
  box-shadow: 0 5px 0 #0d539d;
}

.games-carousel__button:disabled {
  cursor: default;
  filter: grayscale(0.8);
  opacity: 0.5;
}

.game-detail {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 228, 113, 0.35), transparent 34%),
    linear-gradient(180deg, #fffaf0, #eafaff);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.detail-item {
  min-width: 0;
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.15rem;
  border: 3px solid #fff;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #fff4ca);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(30, 59, 90, 0.2);
}

.detail-item__media {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  border: 3px solid #fff;
  border-radius: 22px;
  background: linear-gradient(180deg, #dffaff, #fff8df);
}

.detail-item__media img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.detail-item__media i {
  color: #e58d16;
  font-size: 2.1rem;
}

.detail-ice-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0 12%, transparent 13% 100%),
    linear-gradient(145deg, #e7fbff 0%, #8ee6ff 46%, #4fc7f2 100%);
  box-shadow:
    inset 0 -8px 0 rgba(12, 124, 184, 0.14),
    inset 0 5px 0 rgba(255, 255, 255, 0.48),
    0 6px 0 rgba(15, 112, 166, 0.18);
}

.detail-ice-icon::before,
.detail-ice-icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.detail-ice-icon::before {
  inset: 10px 12px 12px;
  background:
    linear-gradient(118deg, transparent 0 44%, rgba(255, 255, 255, 0.9) 45% 50%, transparent 51% 100%),
    linear-gradient(58deg, transparent 0 48%, rgba(255, 255, 255, 0.74) 49% 53%, transparent 54% 100%),
    linear-gradient(150deg, transparent 0 55%, rgba(22, 126, 183, 0.28) 56% 60%, transparent 61% 100%);
  clip-path: polygon(42% 0, 56% 34%, 100% 24%, 68% 48%, 86% 100%, 50% 62%, 17% 100%, 32% 54%, 0 34%, 38% 34%);
}

.detail-ice-icon::after {
  top: 9px;
  left: 11px;
  width: 18px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transform: rotate(-26deg);
}

.detail-item h3 {
  color: #164262;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}

.detail-item p {
  color: #607386;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.site-footer {
  position: relative;
  color: #203247;
  border-top: 4px solid #ffc72c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(220, 248, 255, 0.96)),
    #eafaff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  background: repeating-linear-gradient(90deg, #ff6f61 0 46px, #ffcf4d 46px 92px);
  opacity: 0.22;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(170px, 0.65fr) minmax(240px, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: 3rem;
  padding-bottom: 2.3rem;
}

.footer-brand {
  max-width: 500px;
}

.footer-brand__identity {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.footer-brand__mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  padding: 5px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 16px;
  background: #fff7d7;
  box-shadow: 0 8px 18px rgba(42, 91, 125, 0.12);
}

.footer-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand__identity strong,
.footer-brand__identity small {
  display: block;
}

.footer-brand__identity strong {
  color: #18456a;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}

.footer-brand__identity small {
  margin-top: 0.15rem;
  color: #e58d16;
  font-size: 0.8rem;
  font-weight: 900;
}

.footer-brand__description {
  max-width: 460px;
  color: #5f7083;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.75;
}

.footer-block h2 {
  margin: 0.3rem 0 1rem;
  color: #18456a;
  font-family: var(--font-display);
  font-size: 0.86rem;
}

.footer-policy-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
}

.footer-policy-list a {
  display: inline-flex;
  align-items: center;
  color: #5d6f83;
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-policy-list a::before {
  content: "";
  width: 17px;
  height: 17px;
  margin-right: 0.55rem;
  background: url("../images/shop-coin.svg") center / contain no-repeat;
}

.footer-policy-list a:hover {
  color: #1976d2;
  transform: translateX(3px);
}

.footer-contact > a,
.footer-contact > p {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 0.6rem;
  color: #5d6f83;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-contact > a {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.8rem;
}

.footer-contact > a:hover {
  color: #1976d2;
}

.footer-contact i {
  padding-top: 0.28rem;
  color: #e58d16;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(25, 118, 210, 0.12);
  background: #fff8df;
}

.footer-bottom__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #66748a;
  font-size: 0.82rem;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .game-intro__layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 420px;
    order: -1;
  }

  .restaurant-tower {
    margin-inline: auto;
  }

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

  .games-track {
    grid-auto-columns: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.85fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 62px;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    max-width: 150px;
    font-size: 0.86rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    border-bottom: 2px solid rgba(255, 199, 44, 0.34);
    background: rgba(255, 250, 240, 0.98);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    justify-content: center;
    width: 100%;
  }

  .btn-signup {
    min-width: 96px;
    min-height: 38px;
    font-size: 0.7rem;
  }

  .account-link {
    width: 142px;
    height: 42px;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 7px;
  }

  .account-avatar {
    width: 32px;
    height: 32px;
  }

  .account-copy small,
  .account-arrow {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 1.3rem);
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.56));
  }

  .hero-title {
    font-size: clamp(2.25rem, 11vw, 4rem);
  }

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

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

  .tower-shell {
    padding-right: 4rem;
  }

  .tower-floor {
    min-height: 80px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .floor-icon {
    width: 44px;
    height: 44px;
  }

  .floor-level {
    display: none;
  }

  .tower-elevator {
    width: 46px;
  }

  .coin-pile {
    height: 54px;
  }

  .section {
    padding: 3.8rem 0;
  }

  .game-intro__features {
    grid-template-columns: 1fr;
  }

  .games-showcase__heading {
    align-items: flex-end;
  }

  .games-track {
    grid-auto-columns: min(86%, 360px);
    gap: 1rem;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom__inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    display: none;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .btn-signup {
    min-width: 86px;
    padding-inline: 0.75rem;
  }

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

  .tower-shell {
    gap: 0.5rem;
    padding: 0.65rem 3.55rem 0.65rem 0.65rem;
  }

  .tower-floor {
    min-height: 70px;
    padding: 0.5rem;
  }

  .floor-copy strong {
    font-size: 0.86rem;
  }

  .floor-copy span {
    font-size: 0.7rem;
  }

  .tower-elevator {
    top: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    width: 38px;
  }

  .boss-badge {
    min-width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* {$tpshop_config['shop_info_appName']} public theme */
:root {
  --sky: #6fe8ff;
  --sky-soft: #e6fbff;
  --sun: #fff06a;
  --coin: #ffd23f;
  --coin-deep: #f18b18;
  --kitchen: #f9fff2;
  --cream: #fff8d7;
  --paper: #ffffff;
  --ink: #173154;
  --muted: #526781;
  --line: rgba(21, 58, 96, 0.16);
  --blue: #1688e8;
  --cyan: #18d4f2;
  --red: #ff4f70;
  --green: #61d72a;
  --purple: #9b55f4;
  --shadow: 0 20px 46px rgba(11, 94, 160, 0.18);
}

.home-page main {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 241, 104, 0.34), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(255, 83, 167, 0.18), transparent 24%),
    linear-gradient(180deg, #dffbff 0, #f9ffcf 42%, #e9fbff 100%);
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.56);
  background: rgba(236, 254, 255, 0.86);
  box-shadow: 0 10px 28px rgba(12, 101, 158, 0.14);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(12, 101, 158, 0.18);
}

.brand-mark,
.footer-brand__mark {
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #bff6ff 48%, #fff08a);
  box-shadow: 0 8px 20px rgba(0, 141, 204, 0.18);
}

.brand-name,
.footer-brand__identity strong {
  color: #0d4c82;
}

.nav-links a {
  color: #245175;
}

.nav-links a:hover,
.nav-links a.active {
  background: #dcf9ff;
  color: #096fac;
}

.btn-signup,
.btn-play,
.game-intro__cta {
  border-color: #ffffff;
  background: linear-gradient(180deg, #8cf023, #36c21f);
  color: #ffffff;
  box-shadow: 0 8px 0 #159018, 0 16px 26px rgba(41, 181, 30, 0.24);
  text-shadow: 0 2px 0 rgba(20, 106, 18, 0.34);
}

.btn-signup:hover,
.btn-play:hover,
.game-intro__cta:hover {
  box-shadow: 0 10px 0 #159018, 0 18px 30px rgba(41, 181, 30, 0.3);
}

.account-link {
  border-color: rgba(22, 136, 232, 0.3);
  background: #eefcff;
}

.account-avatar {
  background: linear-gradient(180deg, #44d6ff, #1688e8);
}

.hero {
  min-height: calc(100vh - 42px);
  min-height: calc(100dvh - 42px);
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
  background: #65dff7;
}

.hero-banner {
  filter: saturate(1.08) contrast(1.02);
  opacity: 0;
}

.hero-banner.is-active {
  opacity: 1;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(11, 43, 78, 0.86) 0%, rgba(14, 72, 112, 0.58) 34%, rgba(255, 255, 255, 0.1) 72%, rgba(255, 255, 255, 0.02) 100%),
    radial-gradient(circle at 23% 20%, rgba(255, 237, 78, 0.34), transparent 22%);
}

.hero::after {
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(246, 255, 210, 0.88));
}

.hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.78fr);
}

.hero-copy {
  padding-top: 2vh;
}

.hero-eyebrow,
.game-intro__eyebrow {
  background: linear-gradient(180deg, #ff75bc, #f33f7a);
  box-shadow: 0 4px 0 #b81c54;
}

.hero-title {
  max-width: 640px;
  color: #ffffff;
  text-shadow: 0 5px 0 #0d6aa4, 0 12px 24px rgba(2, 43, 80, 0.34);
}

.hero-subtitle {
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(0, 70, 115, 0.25);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.hero-stat {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.86);
}

.hero-stat strong {
  color: #ff4f70;
}

.gem-board-preview {
  min-height: 500px;
  display: grid;
  place-items: center;
}

.gem-board {
  position: relative;
  width: min(90vw, 430px);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 14px;
  border: 5px solid #184260;
  border-radius: 20px;
  background: #243f63;
  box-shadow: 0 22px 44px rgba(2, 43, 80, 0.32);
  transform: rotate(2deg);
}

.gem {
  position: relative;
  border-radius: 18px;
  box-shadow: inset 0 -9px 0 rgba(0, 0, 0, 0.12), inset 0 5px 0 rgba(255, 255, 255, 0.34), 0 5px 0 rgba(0, 0, 0, 0.12);
}

.gem::after {
  content: "";
  position: absolute;
  top: 14%;
  left: 18%;
  width: 28%;
  height: 15%;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  transform: rotate(-28deg);
}

.gem--red { background: linear-gradient(180deg, #ff8ca2, #f33f63); }
.gem--blue { background: linear-gradient(180deg, #44d6ff, #0b9bec); }
.gem--green { background: linear-gradient(180deg, #9df43a, #50c91d); }
.gem--orange { background: linear-gradient(180deg, #ffc34d, #ff831e); }
.gem--purple { background: linear-gradient(180deg, #d281ff, #8c4de8); }
.gem--ice { background: linear-gradient(145deg, #dffbff, #77dfff 52%, #e8fdff); border: 3px solid rgba(255,255,255,0.8); }
.gem--bomb { background: radial-gradient(circle at 68% 28%, #ffffff 0 4px, transparent 5px), radial-gradient(circle at 50% 56%, #1f3048 0 45%, #090b13 46%); }
.gem--color { background: conic-gradient(#ff4f70, #ffd23f, #61d72a, #18d4f2, #9b55f4, #ff4f70); }

.gem-board-badge {
  position: absolute;
  top: 12%;
  right: 4%;
  min-width: 108px;
  padding: 12px 16px;
  border: 4px solid #ffffff;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #dffbff);
  color: #123858;
  text-align: center;
  box-shadow: 0 8px 0 rgba(13, 106, 164, 0.26);
  transform: rotate(-8deg);
}

.gem-board-badge strong,
.gem-board-badge span {
  display: block;
  line-height: 1;
}

.gem-board-badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
}

.gem-board-badge span {
  margin-top: 4px;
  color: #1688e8;
  font-size: 0.78rem;
  font-weight: 900;
}

.gem-spark {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0 8%, rgba(255,240,106,0.78) 9% 18%, rgba(255,79,112,0.38) 19% 35%, transparent 62%);
  filter: blur(1px);
  animation: gemPulse 2.6s ease-in-out infinite;
}

.gem-spark--one { right: 20%; bottom: 18%; }
.gem-spark--two { left: 10%; top: 18%; animation-delay: -1.1s; }

@keyframes gemPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.08); }
}

.intro {
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 79, 112, 0.12), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(24, 212, 242, 0.24), transparent 30%),
    linear-gradient(180deg, #f7ffce, #e8fbff);
}

.game-intro__frame {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  box-shadow: 0 16px 0 rgba(22, 136, 232, 0.16), var(--shadow);
}

.game-intro__facts div,
.detail-item {
  border-radius: 14px;
}

.game-intro__features li::before,
.footer-policy-list a::before {
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #ffffff 0 15%, transparent 16%),
    conic-gradient(#ff4f70, #ffd23f, #61d72a, #18d4f2, #9b55f4, #ff4f70);
}

.games-showcase {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 240, 106, 0.36), transparent 28%),
    linear-gradient(180deg, #e8fbff, #fff8d7);
}

.game-slide {
  border-radius: 18px;
  background: #e6fbff;
}

.game-slide--portrait {
  aspect-ratio: 9 / 16;
}

.game-detail {
  background:
    radial-gradient(circle at 20% 16%, rgba(24, 212, 242, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 79, 112, 0.14), transparent 24%),
    linear-gradient(180deg, #fff8d7, #e5fbff);
}

.detail-item__media {
  border-radius: 22px;
}

.detail-item__media--red { background: linear-gradient(180deg, #ffd6e0, #ff5d7a); }
.detail-item__media--blue { background: linear-gradient(180deg, #e8feff, #54ceff); }
.detail-item__media--orange { background: linear-gradient(180deg, #ffe8a8, #ff9728); }
.detail-item__media--green { background: linear-gradient(180deg, #efffbb, #62d82c); }
.detail-item__media i { color: #ffffff; text-shadow: 0 3px 0 rgba(0,0,0,0.12); }

.site-footer {
  border-top-color: #18d4f2;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 240, 106, 0.32), transparent 24%),
    linear-gradient(180deg, #e7fbff, #ffffff);
}

.site-footer::before {
  background: repeating-linear-gradient(90deg, #ff4f70 0 46px, #ffd23f 46px 92px, #18d4f2 92px 138px, #61d72a 138px 184px);
}

.footer-bottom {
  background: #e8fbff;
}

@media (max-width: 980px) {
  .gem-board-preview {
    min-height: 380px;
    order: -1;
  }

  .gem-board {
    width: min(78vw, 380px);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(8, 60, 104, 0.74), rgba(8, 60, 104, 0.42), rgba(255,255,255,0.2));
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 620px;
    padding-top: 0;
  }

  .hero-title,
  .hero-subtitle,
  .hero-desc {
    max-width: 100%;
  }

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

  .hero-stat {
    padding: 0.7rem 0.45rem;
  }

  .gem-board-preview {
    display: none;
  }

  .gem-board {
    gap: 6px;
    padding: 10px;
  }

  .gem-board-badge {
    min-width: 86px;
    padding: 9px 12px;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .gem-board-preview {
    display: none;
  }

  .gem-board {
    width: min(84vw, 300px);
  }
}
