/* =========================================================
   Ethio Seka — design tokens
   Light, white-background theme. Ethiopian gold / green / black
   used as accents (brand colors ported from the Flutter app's
   app_colors.dart), card face/back and phone-mockup colors kept
   as intentionally dark accent elements so they still read as
   physical cards / a device screen against the white page.
   ========================================================= */
:root {
  --background: #ffffff;
  --background-deep: #f4f1ea;
  --surface: #faf7f0;
  --surface-raised: #f0eadb;
  --ink: #14181a;

  --gold: #d4af37;
  --gold-light: #f1d97a;
  --gold-dim: #8c7328;

  --eth-green: #0f8a3c;
  --eth-yellow: #fcdd09;
  --eth-red: #da121a;

  --text-primary: #1b1f1c;
  --text-secondary: #5b6660;
  --text-muted: #8b948c;

  --card-face: #fbf3e3;
  --card-back: #13291d;
  --card-suit-black: #1c1c1c;
  --card-suit-red: #b0241c;

  --felt: #0d1f14;
  --felt-deep: #081109;

  --font-display: "Cinzel", "Noto Serif Ethiopic", serif;
  --font-sans: "Inter", "Noto Sans Ethiopic", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Reset
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p,
blockquote {
  margin: 0;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
}

.section {
  position: relative;
  padding-block: 96px;
}

@media (max-width: 640px) {
  .section {
    padding-block: 64px;
  }
}

.section--surface {
  background: var(--surface);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-top: 12px;
  text-wrap: balance;
}

.section-sub {
  margin-top: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-wrap: balance;
}

.section-header {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.gold-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim) 65%, #6b5720);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Reveal-on-scroll (JS toggles .is-visible via IntersectionObserver)
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.2s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.3s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.4s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-group] > * {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Ethiopian lattice pattern background (subtle, light)
   ========================================================= */
.pattern-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.pattern-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--surface) 55%, #ffffff 100%);
}

.pattern-bg::after {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0.08;
  background-image: url("../images/cards/card-back.svg");
  background-size: 96px 134px;
  background-repeat: repeat;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 85%);
}

.pattern-bg--surface::before {
  background: linear-gradient(180deg, var(--surface) 0%, #ffffff 55%, var(--background-deep) 100%);
}

.pattern-bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 0%, rgba(20, 24, 26, 0.05) 100%);
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(20, 24, 26, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}

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

.logo img {
  border-radius: 20%;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.logo__amharic {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.navbar__links a:hover {
  color: var(--gold-dim);
}

.navbar__actions {
  display: none;
  align-items: center;
  gap: 16px;
}

.navbar__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: transparent;
  color: var(--ink);
}

.navbar__mobile {
  display: none;
  border-top: 1px solid rgba(20, 24, 26, 0.08);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 8px 24px 24px;
}

.navbar__mobile.is-open {
  display: block;
}

.navbar__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.navbar__mobile-links a {
  padding: 12px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.navbar__mobile-links a:hover {
  background: var(--surface);
  color: var(--gold-dim);
}

.navbar__mobile-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 1024px) {
  .navbar__links,
  .navbar__actions {
    display: flex;
  }
  .navbar__menu-btn {
    display: none;
  }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 22px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease);
}

.btn:hover {
  transform: scale(1.04);
}
.btn:active {
  transform: scale(0.97);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--ink);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 20px rgba(20, 24, 26, 0.15);
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .store-buttons--row {
    flex-direction: row;
  }
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid rgba(20, 24, 26, 0.08);
  box-shadow: 0 10px 24px rgba(20, 24, 26, 0.12);
  transition: transform 0.2s var(--ease);
  font-weight: 600;
}

.store-btn:hover {
  transform: scale(1.03);
}
.store-btn:active {
  transform: scale(0.98);
}

.store-btn--apple {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--ink);
  border-color: rgba(212, 175, 55, 0.4);
}

.store-btn--google {
  background: var(--ink);
  color: #ffffff;
}

.store-btn__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.store-btn__label small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.85;
}

.store-btn--lg {
  padding: 18px 28px;
}

/* =========================================================
   Language switcher
   ========================================================= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: var(--surface);
  border-radius: 9999px;
  padding: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 9999px;
  transition: background-color 0.2s, color 0.2s;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--ink);
}

.lang-switch button:hover:not([aria-pressed="true"]) {
  color: var(--gold-dim);
}

/* =========================================================
   Playing cards (pure CSS/HTML, mirrors the Flutter card widget)
   ========================================================= */
.card {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  aspect-ratio: 1 / 1.42;
  background: var(--card-face);
  border-radius: 10%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 20px rgba(20, 24, 26, 0.18);
  color: var(--card-suit-black);
}

.card[data-suit="hearts"],
.card[data-suit="diamonds"] {
  color: var(--card-suit-red);
}

.card__corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 700;
  font-size: 0.22em;
}

.card__corner--tl {
  left: 10%;
  top: 6%;
}

.card__corner--br {
  right: 10%;
  bottom: 6%;
  transform: rotate(180deg);
}

.card__corner .card__suit {
  font-size: 0.9em;
  font-weight: 400;
}

.card__suit--center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.4em;
}

.card--back {
  background: linear-gradient(135deg, var(--eth-green), var(--card-back));
  border: 2px solid rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card--back::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 8%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background-image: url("../images/cards/card-back.svg");
  background-size: cover;
  opacity: 0.5;
}

.card--back::after {
  content: "✦";
  position: relative;
  color: rgba(241, 217, 122, 0.85);
  font-size: 0.32em;
}

.card--floating {
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(var(--rot, 0deg));
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 96px;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
  padding-block: 64px;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-dim);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin-top: 24px;
  max-width: 620px;
  text-wrap: balance;
  color: var(--text-primary);
}

.hero__subtitle {
  margin-top: 24px;
  max-width: 520px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-wrap: balance;
}

.hero__cta {
  margin-top: 32px;
}

.hero__note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero__note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eth-green);
}

.hero__visual {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero__visual {
    height: 480px;
  }
}

.hero__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  filter: blur(60px);
}

.hero__visual .card {
  position: absolute;
  width: 78px;
  z-index: 2;
}

.hero__visual .card--tl {
  left: 0;
  top: 24px;
  --rot: -14deg;
  transform: rotate(-14deg);
}

.hero__visual .card--br {
  right: 0;
  bottom: 16px;
  --rot: 12deg;
  transform: rotate(12deg);
}

.hero__visual .card--back-deco {
  top: -8px;
  right: 40px;
  width: 64px;
  z-index: 0;
  display: none;
  --rot: -6deg;
}

@media (min-width: 640px) {
  .hero__visual .card--back-deco {
    display: flex;
  }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-hint span {
  color: var(--gold-dim);
  animation: bounce 1.6s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* =========================================================
   Phone mockup (intentionally dark screen, like a real device)
   ========================================================= */
.phone {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 220 / 451;
  border: 6px solid #1a1a1a;
  border-radius: 2.2rem;
  background: #1a1a1a;
  box-shadow: 0 30px 60px rgba(20, 24, 26, 0.35);
}

.phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 20px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.7rem;
  background: linear-gradient(180deg, var(--felt), var(--felt-deep));
  display: flex;
  flex-direction: column;
}

.phone--float {
  animation: floatSlow 6s ease-in-out infinite;
}

/* Phone scene contents */
.phone__row {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.phone__scene--table {
  justify-content: space-between;
  padding: 32px 12px 16px;
}

.phone__scene--table .card,
.phone__scene--hand .card,
.phone__scene--ai .card,
.phone__scene--winner .card {
  width: 20px;
  box-shadow: none;
}

.phone__scene--hand {
  justify-content: flex-end;
  padding: 40px 12px 24px;
}

.phone__scene--hand .phone__row {
  flex-wrap: wrap;
}

.phone__label {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 217, 122, 0.8);
  margin-bottom: 16px;
}

.phone__scene--ai {
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 16px;
}

.phone__ai-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.phone__scene--winner {
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 0 16px;
}

.phone__trophy {
  font-size: 1.8rem;
}

.phone__win-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-light);
}

/* =========================================================
   About
   ========================================================= */
.about__grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about__cards {
  position: relative;
  height: 260px;
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
}

@media (min-width: 640px) {
  .about__cards {
    height: 320px;
  }
}

.about__cards .card {
  position: absolute;
  width: 110px;
}

.about__cards .card:nth-child(1) {
  left: 20%;
  transform: translateX(-50%) rotate(-10deg);
}
.about__cards .card:nth-child(2) {
  left: 50%;
  transform: translateX(-50%) rotate(4deg);
}
.about__cards .card:nth-child(3) {
  left: 80%;
  transform: translateX(-50%) rotate(16deg);
}

.about p {
  margin-top: 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about__stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 32px;
}

.about__stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--gold-dim);
}

.about__stat-label {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================================
   How to play
   ========================================================= */
.steps {
  margin-top: 64px;
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 24, 26, 0.05);
  padding: 24px;
}

.step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-dim);
}

.step-card h3 {
  margin-top: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.step-card p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.combos {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .combos {
    grid-template-columns: 1fr 1fr;
  }
}

.combo-card {
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 24, 26, 0.05);
  padding: 32px;
}

.combo-card__cards {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.combo-card__cards .card {
  width: 64px;
}

.combo-card__cards .card:nth-child(1) { transform: rotate(-6deg); }
.combo-card__cards .card:nth-child(3) { transform: rotate(6deg); }

.combo-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold-dim);
}

.combo-card p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.win-banner {
  margin-top: 40px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(90deg, rgba(15, 138, 60, 0.08), rgba(212, 175, 55, 0.1), rgba(15, 138, 60, 0.08));
  padding: 32px;
  text-align: center;
  font-weight: 500;
  color: var(--text-primary);
}

/* =========================================================
   Features
   ========================================================= */
.features-grid {
  margin-top: 64px;
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 24, 26, 0.05);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 28px rgba(20, 24, 26, 0.09);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), transparent);
  color: var(--gold-dim);
  transition: transform 0.2s;
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-top: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-card p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* =========================================================
   Gallery
   ========================================================= */
.gallery-scroll {
  margin-top: 64px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .gallery-scroll {
    justify-content: center;
    overflow-x: visible;
  }
}

.gallery-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 190px;
}

.gallery-item .phone {
  width: 190px;
}

.gallery-item h3 {
  margin-top: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.gallery-item p {
  margin-top: 4px;
  max-width: 200px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* =========================================================
   Culture
   ========================================================= */
.culture {
  text-align: center;
}

.culture__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--gold);
}

.culture__ornament span:first-child,
.culture__ornament span:last-child {
  width: 40px;
  height: 1px;
  background: rgba(212, 175, 55, 0.5);
}

.culture blockquote {
  margin: 48px auto 0;
  max-width: 640px;
  padding: 32px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.culture blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-dim);
  text-wrap: balance;
}

.culture blockquote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--text-muted);
}

/* =========================================================
   Download CTA
   ========================================================= */
.download-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.download-cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  filter: blur(100px);
}

.download-cta__cards {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.download-cta__cards .card {
  width: 56px;
}

.download-cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 4vw, 3rem);
  text-wrap: balance;
  color: var(--text-primary);
}

.download-cta__subtitle {
  position: relative;
  margin: 16px auto 0;
  max-width: 420px;
  color: var(--text-secondary);
}

.download-cta .store-buttons {
  position: relative;
  margin-top: 40px;
  justify-content: center;
}

.download-cta__disclaimer {
  position: relative;
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: var(--background-deep);
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-block: 56px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer__tagline {
  margin-top: 16px;
  max-width: 280px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.footer__links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer__links a:hover {
  color: var(--gold-dim);
}

.footer__lang {
  margin-top: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-block: 24px;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 640px) {
  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* =========================================================
   Simple inner pages (rules / privacy / contact)
   ========================================================= */
.page-hero {
  padding-top: 140px;
  padding-bottom: 24px;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-primary);
}

.page-hero p {
  margin-top: 12px;
  color: var(--text-secondary);
}

.rule-list {
  max-width: 720px;
  margin: 48px auto 96px;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rule-item {
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 24, 26, 0.05);
  padding: 24px 28px;
}

.rule-item h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gold-dim);
}

.rule-item p {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-line;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 24px 96px;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--text-primary);
}

.legal__date {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal__section {
  margin-top: 32px;
}

.legal__section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gold-dim);
}

.legal__section p {
  margin-top: 8px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.contact-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 140px 24px 96px;
  text-align: center;
}

.contact-page h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--text-primary);
}

.contact-page > p {
  margin-top: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-email {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 24, 26, 0.06);
  padding: 16px 32px;
  font-weight: 600;
  color: var(--gold-dim);
  transition: transform 0.2s;
}

.contact-email:hover {
  transform: scale(1.03);
}

.contact-page__note {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
