/* ============================================
   cards by APPQ — Mockup match
   ============================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-features: #F7F7F5;
  --bg-cta: #F7FBE8;
  --bg-thumb: #F4F3EF;
  --bg-hero: #F7FBEA;
  --primary: #111111;
  --secondary: #666666;
  --border: #ECECEC;
  --accent: #C8FF1A;
  --accent-hover: #B7EC18;
  --white: #FFFFFF;

  --radius: 18px;
  --radius-lg: 20px;
  --shadow-soft: 0 8px 28px rgba(17, 17, 17, 0.06);
  --shadow-tile: 0 6px 20px rgba(17, 17, 17, 0.06);
  --shadow-card: 0 16px 40px rgba(17, 17, 17, 0.08);
  --shadow-float: 0 36px 80px rgba(17, 17, 17, 0.22);
  --transition: 200ms ease;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1280px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--primary);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

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

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

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

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

@media (min-width: 768px) {
  .container-custom {
    padding-inline: 40px;
  }
}

@media (min-width: 1200px) {
  .container-custom {
    padding-inline: 48px;
  }
}

/* Buttons */

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  line-height: 1;
  color: var(--primary);
}

.c-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

.c-btn--primary {
  background: var(--accent);
}

.c-btn--primary:hover {
  background: var(--accent-hover);
  color: var(--primary);
}

.c-btn--primary:active {
  transform: scale(0.98);
}

.c-btn--lg {
  height: 54px;
  padding: 0 28px;
}

.c-btn--nav {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 14px;
}

/* Header — iOS-like liquid glass when scrolled */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  isolation: isolate;
  transition:
    border-color 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.22) 45%,
      rgba(255, 255, 255, 0.12) 100%
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.25),
    0 8px 28px -12px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
  -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.05);
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.scrolled::before {
  opacity: 1;
}

.site-header.scrolled {
  border-bottom-color: rgba(17, 17, 17, 0.06);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.94);
  }

  .site-header::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header::before {
    transition: none;
  }

  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
  }

  .site-header.scrolled::before {
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
  }
}

.site-nav {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}

@media (min-width: 992px) {
  .brand-logo {
    height: 44px;
  }
}

.nav-links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links a:hover {
  opacity: 0.55;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav-login {
  display: none;
  font-size: 15px;
  font-weight: 500;
}

.csrf-logout-form {
  display: inline;
  margin: 0;
  padding: 0;
}

button.nav-login,
button.nav-drawer-login,
button.dash-logout {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
  width: auto;
}

.nav-login:hover {
  opacity: 0.55;
}

.nav-actions .c-btn {
  display: none;
}

@media (max-width: 991.98px) {
  .nav-actions {
    gap: 10px;
  }

  .nav-login,
  .nav-login--desktop {
    display: none !important;
  }

  .nav-actions .c-btn {
    display: inline-flex;
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 12px;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile side drawer */

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 280ms ease;
}

.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 28px;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(200, 255, 26, 0.22), transparent 55%),
    #fafaf7;
  box-shadow: -24px 0 64px rgba(17, 17, 17, 0.18);
  transform: translate3d(100%, 0, 0);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translate3d(0, 0, 0);
}

.nav-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.nav-drawer-top .brand-logo {
  height: 36px;
}

.nav-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-drawer-close svg {
  width: 18px;
  height: 18px;
}

.nav-drawer-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6b10;
}

.nav-drawer-links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-drawer-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--primary);
  transition: background 180ms ease, transform 180ms ease;
}

.nav-drawer-links a:hover,
.nav-drawer-links a:active {
  background: rgba(17, 17, 17, 0.04);
}

.nav-drawer-foot {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 10px;
}

.nav-drawer-login {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
}

.nav-drawer-cta {
  width: 100%;
  height: 52px;
  border-radius: 14px;
}

.nav-drawer-note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--secondary);
}

body.nav-drawer-open {
  overflow: hidden;
}

@media (min-width: 992px) {
  .nav-links,
  .nav-links--desktop {
    display: flex;
  }

  .nav-login,
  .nav-login--desktop,
  .nav-actions .c-btn {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-drawer {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .site-nav {
    display: flex;
    justify-content: space-between;
  }

  .nav-links--desktop {
    display: none !important;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 48px 0 120px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 18%, #F7FBEA 100%);
}

@media (min-width: 992px) {
  .hero {
    padding: 64px 0 140px;
  }
}

.hero > .container-custom {
  position: relative;
  z-index: 1;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 72px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

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

@media (min-width: 1200px) {
  .hero-wave {
    height: 120px;
  }
}

/* Ambient floating shapes */

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-pixels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
}

.orb-ring {
  border: 1.5px solid rgba(17, 17, 17, 0.08);
  background: transparent;
}

.orb-fill {
  background: rgba(17, 17, 17, 0.04);
}

/* Large rings */
.orb-a {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -100px;
  border-color: rgba(17, 17, 17, 0.06);
  animation: driftA 28s ease-in-out infinite;
}

.orb-b {
  width: 280px;
  height: 280px;
  top: 12%;
  right: -60px;
  border-color: rgba(200, 255, 26, 0.35);
  animation: driftB 22s ease-in-out infinite;
}

.orb-c {
  width: 160px;
  height: 160px;
  bottom: 8%;
  left: 38%;
  border-color: rgba(17, 17, 17, 0.07);
  animation: driftC 18s ease-in-out infinite;
}

.orb-o {
  width: 90px;
  height: 90px;
  top: 58%;
  right: 42%;
  border-color: rgba(200, 255, 26, 0.4);
  animation: driftD 16s ease-in-out infinite;
}

/* Soft filled circles */
.orb-d {
  width: 120px;
  height: 120px;
  top: 18%;
  left: 46%;
  background: rgba(200, 255, 26, 0.12);
  animation: driftE 20s ease-in-out infinite;
}

.orb-e {
  width: 64px;
  height: 64px;
  bottom: 18%;
  left: 8%;
  background: rgba(17, 17, 17, 0.035);
  animation: driftF 14s ease-in-out infinite;
}

.orb-f {
  width: 48px;
  height: 48px;
  top: 70%;
  right: 18%;
  background: rgba(200, 255, 26, 0.18);
  animation: driftA 17s ease-in-out infinite reverse;
}

.orb-p {
  width: 22px;
  height: 22px;
  top: 28%;
  left: 22%;
  background: rgba(17, 17, 17, 0.06);
  animation: driftC 12s ease-in-out infinite;
}

@keyframes driftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.04); }
}

@keyframes driftB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-36px, 24px) rotate(8deg); }
}

@keyframes driftC {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(28px, -20px); }
  66% { transform: translate(-18px, 16px); }
}

@keyframes driftD {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(-24px, -28px) scale(1.08); opacity: 0.7; }
}

@keyframes driftE {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 36px); }
}

@keyframes driftF {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, -26px) scale(1.12); }
}

@media (max-width: 767.98px) {
  .orb-a { width: 260px; height: 260px; }
  .orb-b { width: 180px; height: 180px; }
  .orb-c { width: 110px; height: 110px; }
  .orb-d { width: 80px; height: 80px; }
}

.hero-content {
  max-width: 540px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px 0 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--primary);
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 999px;
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 8px 20px rgba(17, 17, 17, 0.05);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow var(--transition),
    border-color var(--transition);
}

.hero-badge:nth-child(1) { transition-delay: 0.05s; }
.hero-badge:nth-child(2) { transition-delay: 0.14s; }
.hero-badge:nth-child(3) { transition-delay: 0.23s; }

.hero-content.is-ready .hero-badge {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-content.is-ready .hero-badge:hover {
  transform: translateY(-2px) scale(1);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow:
    0 2px 4px rgba(17, 17, 17, 0.04),
    0 12px 28px rgba(17, 17, 17, 0.08);
}

.hero-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F3F4F0;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-badge-icon--accent {
  background: var(--accent);
  color: var(--primary);
}

.hero-badge-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.25;
}

.hero-badge-text {
  padding-right: 2px;
  line-height: 1;
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.title-line-inner {
  display: block;
  position: relative;
  transform: translateY(110%);
  opacity: 0;
  filter: blur(8px);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.7s ease, filter 0.7s ease;
}

.hero-highlight {
  position: relative;
  z-index: 0;
  display: inline;
  margin: 0;
  padding: 0 0.08em;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
}

.hero-highlight::before {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.02em;
  top: 0.12em;
  height: 0.62em;
  z-index: -1;
  background: #c8ff1a;
  opacity: 0.78;
  border-radius: 3px 4px 2px 3px;
  transform: rotate(-1.4deg) skewX(-5deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(200, 255, 26, 0.15);
}

.hero-title.is-ready .title-line:nth-child(1) .title-line-inner {
  transition-delay: 0.08s;
}

.hero-title.is-ready .title-line:nth-child(2) .title-line-inner {
  transition-delay: 0.22s;
}

.hero-title.is-ready .title-line:nth-child(3) .title-line-inner {
  transition-delay: 0.36s;
}

.hero-title.is-ready .title-line-inner {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

.hero-title.is-ready .title-line:nth-child(3) .title-line-inner {
  animation: titleAccent 3.2s ease-in-out 1.2s infinite;
}

@keyframes titleAccent {
  0%, 100% { letter-spacing: -0.04em; }
  50% { letter-spacing: -0.02em; }
}

.hero-subtitle,
.hero-cta,
.hero-proof {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-subtitle { transition-delay: 0.55s; }
.hero-cta { transition-delay: 0.7s; }
.hero-proof { transition-delay: 0.85s; }

.hero-content.is-ready .hero-subtitle,
.hero-content.is-ready .hero-cta,
.hero-content.is-ready .hero-proof {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--secondary);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-bottom: 36px;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: opacity var(--transition);
}

.btn-play:hover {
  opacity: 0.65;
}

.btn-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-play-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--primary);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -10px;
  overflow: hidden;
  background: #f0f0ee;
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.08);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.proof-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}

.proof-stars svg {
  width: 13px;
  height: 13px;
  fill: var(--accent);
  stroke: var(--accent);
}

.proof-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}

/* Stamp card */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding: 20px 0;
}

.card-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.12;
  filter: blur(40px);
  right: 12%;
  top: 18%;
  pointer-events: none;
  z-index: 0;
}

.card-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.stamp-card-scene {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 290px;
  height: 392px;
  max-width: 100%;
  perspective: 1400px;
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg) rotate(2deg) translateY(28px) scale(0.96);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.stamp-card-scene.is-in {
  opacity: 1;
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg) rotate(2deg) translateY(0) scale(1);
  animation: cardFloat 6s ease-in-out 1s infinite;
}

.stamp-card-scene.is-in.is-flipped .card-award,
.stamp-card-scene.is-in.is-flipped .card-mascot {
  opacity: 0 !important;
  pointer-events: none;
  animation: none !important;
  transform: scale(0.88);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transition-delay: 0s;
}

.stamp-card-scene.is-in.is-flipped {
  animation: none;
}

.stamp-card {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  display: block;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.stamp-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 28px;
}

.stamp-card-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.stamp-card.is-flipped .stamp-card-inner {
  transform: rotateY(180deg);
}

.stamp-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 26px 30px;
  border-radius: 28px;
  background: #1A1A1A;
  color: var(--white);
  box-shadow:
    var(--shadow-float),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  overflow: hidden;
  isolation: isolate;
  -webkit-transform: rotateY(0deg) translateZ(1px);
  transform: rotateY(0deg) translateZ(1px);
}

.stamp-card-face::before {
  content: "";
  position: absolute;
  top: -45%;
  left: -30%;
  width: 58%;
  height: 170%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 45%,
    rgba(255, 255, 255, 0.02) 55%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 4;
}

.stamp-card-face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.26) 0%,
      rgba(255, 255, 255, 0.08) 16%,
      rgba(255, 255, 255, 0.02) 32%,
      transparent 48%,
      transparent 70%,
      rgba(255, 255, 255, 0.03) 84%,
      rgba(0, 0, 0, 0.16) 100%
    );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.32),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.stamp-card-face > * {
  position: relative;
  z-index: 1;
}

.stamp-card-face--back {
  -webkit-transform: rotateY(180deg) translateZ(1px);
  transform: rotateY(180deg) translateZ(1px);
  padding: 28px 22px 24px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(200, 255, 26, 0.16), transparent 55%),
    linear-gradient(165deg, #1f1f1f 0%, #121212 48%, #0c0c0c 100%);
  justify-content: space-between;
}

/* iOS Safari: front stamps bleed through back without an opaque isolation layer */
.stamp-card.is-flipped .stamp-card-face--front {
  visibility: hidden;
  pointer-events: none;
}

.stamp-card:not(.is-flipped) .stamp-card-face--back {
  visibility: hidden;
  pointer-events: none;
}

.stamp-card-back-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 26, 0.28) 0%, rgba(200, 255, 26, 0) 70%);
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.stamp-card-back-brand {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.stamp-card-qr-frame {
  position: relative;
  z-index: 1;
  width: min(72%, 168px);
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(200, 255, 26, 0.25),
    0 18px 36px rgba(0, 0, 0, 0.35);
}

.stamp-card-qr {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.stamp-card-back-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stamp-card-back-copy strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.stamp-card-back-copy span {
  font-size: 13px;
  font-weight: 550;
  color: rgba(200, 255, 26, 0.9);
}

.stamp-card-tap-hint {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.stamp-card-tap-hint--back {
  margin-top: 0;
}

.card-award {
  position: absolute;
  top: -14px;
  right: -18px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 16px;
  background: #C8FF1A;
  color: #111111;
  border-radius: 16px;
  box-shadow:
    0 -2px 6px rgba(17, 17, 17, 0.1),
    0 10px 22px rgba(17, 17, 17, 0.22),
    0 2px 4px rgba(17, 17, 17, 0.12);
  opacity: 0;
  transform: scale(0.5) rotate(-18deg);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 1.4, 0.36, 1);
  transition-delay: 0.55s;
  pointer-events: none;
}

.stamp-card-scene.is-in .card-award {
  opacity: 1;
  transform: scale(1) rotate(8deg);
  animation: awardWiggle 4.5s ease-in-out 1.4s infinite;
}

.card-award-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.card-award-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  opacity: 0.72;
}

@keyframes awardWiggle {
  0%, 100% { transform: scale(1) rotate(8deg); }
  50% { transform: scale(1.04) rotate(11deg); }
}

.card-mascot {
  position: absolute;
  right: -36px;
  bottom: -28px;
  width: 112px;
  height: auto;
  z-index: 6;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 16px rgba(17, 17, 17, 0.28));
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.22, 1.4, 0.36, 1);
  transition-delay: 0.75s;
}

.stamp-card-scene.is-in .card-mascot {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: mascotBob 3.8s ease-in-out 1.6s infinite;
}

@keyframes mascotBob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1); }
}

.stamp-card-icon {
  margin: 4px 0 24px;
}

.stamp-card-title {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.stamp-card-desc {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: auto;
  padding-bottom: 20px;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}

.stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  position: relative;
  overflow: visible;
  display: grid;
  place-items: center;
}

.stamp svg {
  width: 48%;
  height: 48%;
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 2.2;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.stamp[data-stamp] {
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
}

.stamp.is-stamped {
  background: var(--accent);
  border-color: var(--accent);
  animation: stampPress 0.55s cubic-bezier(0.22, 1.4, 0.36, 1) both;
}

.stamp.is-stamped svg {
  stroke: #111;
}

.stamp.is-stamped::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(200, 255, 26, 0.55);
  opacity: 0;
  animation: stampRipple 0.55s ease-out both;
}

@keyframes stampPress {
  0% {
    transform: scale(2.4) rotate(-18deg);
    opacity: 0;
    background: transparent;
    border-color: rgba(200, 255, 26, 0.4);
    box-shadow: 0 0 0 0 rgba(200, 255, 26, 0);
  }
  55% {
    transform: scale(0.82) rotate(4deg);
    opacity: 1;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 10px rgba(200, 255, 26, 0.18);
  }
  78% {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 0 0 0 rgba(200, 255, 26, 0);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: none;
  }
}

@keyframes stampRipple {
  0% {
    transform: scale(0.4);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: perspective(900px) rotateY(-8deg) rotateX(4deg) rotate(2deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateY(-8deg) rotateX(4deg) rotate(2deg) translateY(-12px);
  }
}

@media (max-width: 575.98px) {
  .hero-visual {
    min-height: 300px;
  }

  .stamp-card-scene {
    width: 210px;
    height: 284px;
    transform: translateY(18px) scale(0.96);
  }

  .stamp-card-scene.is-in {
    transform: translateY(0) scale(1);
    animation: cardFloatMobile 6s ease-in-out 1s infinite;
  }

  .stamp-card-face {
    border-radius: 22px;
    padding: 26px 18px 22px;
  }

  .stamp-card-face--back {
    padding: 22px 16px 18px;
  }

  .stamp-card-qr-frame {
    width: min(74%, 132px);
    padding: 9px;
    border-radius: 16px;
  }

  .card-award {
    top: -10px;
    right: -6px;
    padding: 8px 10px;
  }

  .card-award-title {
    font-size: 11px;
  }

  .card-award-sub {
    font-size: 9px;
  }

  .card-mascot {
    width: 60px;
    right: -8px;
    bottom: -8px;
  }

  .stamp-card-scene.is-in .card-award {
    animation: awardWiggleMobile 4.5s ease-in-out 1.4s infinite;
  }
}

@keyframes awardWiggleMobile {
  0%, 100% { transform: scale(1) rotate(8deg); }
  50% { transform: scale(1.03) rotate(11deg); }
}

@keyframes cardFloatMobile {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Features */

.features {
  padding: 88px 0 40px;
  background: var(--bg);
}

.features--secondary {
  padding: 40px 0 88px;
  background: var(--bg);
}

@media (min-width: 992px) {
  .features {
    padding: 104px 0 48px;
  }

  .features--secondary {
    padding: 48px 0 104px;
  }
}

.section-header {
  margin-bottom: 56px;
}

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

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.feature-item {
  height: 100%;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow:
    0 2px 4px rgba(17, 17, 17, 0.03),
    0 12px 28px rgba(17, 17, 17, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 8px rgba(17, 17, 17, 0.04),
    0 18px 36px rgba(17, 17, 17, 0.08);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: 16px;
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.08);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
  stroke: currentColor;
  color: var(--primary);
}

.feature-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.55;
  max-width: none;
}

/* CTA */

.illustration-cta {
  padding: 16px 0;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
  padding: 40px 24px;
  background: var(--bg-cta);
  border-radius: 28px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .cta-panel {
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8px;
    padding: 36px 32px 28px;
  }
}

.cta-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 280px;
}

.scene-bg {
  position: absolute;
  width: 110px;
  opacity: 0.9;
  top: 10px;
  left: 10%;
  pointer-events: none;
}

.scene-bg--right {
  left: auto;
  right: 8%;
}

.cta-person {
  position: relative;
  z-index: 1;
  width: min(100%, 210px);
  height: auto;
}

.cta-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 12px 8px;
  order: -1;
}

@media (min-width: 992px) {
  .cta-center {
    order: 0;
    padding: 0 8px;
  }
}

.cta-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.cta-subtitle {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 340px;
}

.float-ui {
  position: absolute;
  z-index: 3;
  width: 108px;
  padding: 12px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-ui--left {
  top: 24px;
  right: 4%;
  animation: floatSoft 5s ease-in-out infinite;
}

.float-ui--right {
  top: 36px;
  left: 2%;
  animation: floatSoft 6s ease-in-out infinite reverse;
}

.float-ui-icons {
  display: flex;
  gap: 6px;
}

.float-ui-icons span {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 0.85;
}

.float-ui-icons span:nth-child(2) {
  opacity: 0.55;
  background: #1a1a1a;
}

.float-ui-icons span:nth-child(3) {
  opacity: 0.35;
}

.float-ui-flower {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  position: relative;
}

.float-ui-flower::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.float-ui-dots {
  display: flex;
  gap: 6px;
}

.float-ui-dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #D0D0D0;
  display: block;
  position: relative;
}

.float-ui-dots i.done {
  background: var(--accent);
  border-color: var(--accent);
}

.float-ui-dots i.done::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 5px;
  height: 8px;
  border: solid #111;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.float-gift {
  position: absolute;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.float-gift svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  color: var(--accent);
}

.float-gift--left {
  bottom: 70px;
  right: 8%;
  animation: floatSoft 7s ease-in-out infinite reverse;
}

.float-gift--right {
  bottom: 80px;
  left: 6%;
  animation: floatSoft 5.5s ease-in-out infinite;
}

@keyframes floatSoft {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 991.98px) {
  .cta-illustration {
    display: none;
  }
}

/* Blog */

.blog {
  padding: 32px 0 100px;
}

@media (min-width: 992px) {
  .blog {
    padding: 40px 0 120px;
  }
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.blog-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 6px;
  flex-shrink: 0;
}

.blog-all svg {
  width: 16px;
  height: 16px;
}

.blog-all:hover {
  opacity: 0.55;
}

.blog-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(17, 17, 17, 0.1);
}

.blog-thumb {
  aspect-ratio: 400 / 240;
  background: var(--bg-thumb);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  flex: 1;
}

.blog-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.blog-title a:hover {
  opacity: 0.6;
}

.blog-excerpt {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.blog-meta {
  font-size: 13px;
  color: #999;
  font-weight: 500;
  margin: 0;
}

.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--primary);
  white-space: nowrap;
  transition: opacity var(--transition), gap var(--transition);
}

.blog-more svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
  transition: transform var(--transition);
}

.blog-more:hover {
  opacity: 0.65;
}

.blog-more:hover svg {
  transform: translateX(3px);
}

/* App Download */

.app-download {
  padding: 20px 0 100px;
}

@media (min-width: 992px) {
  .app-download {
    padding: 28px 0 120px;
  }
}

.app-panel {
  position: relative;
  overflow: hidden;
  padding: 56px 28px 64px;
  background: #111111;
  border-radius: 28px;
  color: var(--white);
  text-align: center;
}

@media (min-width: 768px) {
  .app-panel {
    padding: 72px 64px 80px;
  }
}

.app-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.app-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 255, 26, 0.18);
}

.app-orb-a {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
  animation: appDrift 18s ease-in-out infinite;
}

.app-orb-b {
  width: 180px;
  height: 180px;
  bottom: -60px;
  left: 8%;
  border-color: rgba(255, 255, 255, 0.08);
  animation: appDrift 22s ease-in-out infinite reverse;
}

.app-orb-c {
  width: 110px;
  height: 110px;
  top: 28%;
  left: 18%;
  border-color: rgba(200, 255, 26, 0.28);
  animation: appDrift 14s ease-in-out infinite;
}

.app-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  animation: appFloatDot 10s ease-in-out infinite;
}

.app-dot-a { top: 18%; left: 58%; }
.app-dot-b { top: 72%; right: 16%; animation-delay: 1.4s; width: 4px; height: 4px; }
.app-dot-c { bottom: 24%; left: 24%; animation-delay: 2.2s; background: #fff; opacity: 0.25; }

.app-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}

.app-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.app-title {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.app-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
  max-width: 520px;
  margin: 0 auto 28px;
}

.app-roles {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

@media (min-width: 576px) {
  .app-roles {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

.app-role {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform var(--transition), background var(--transition),
    border-color var(--transition);
}

.app-role:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 255, 26, 0.25);
}

.app-role-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  flex-shrink: 0;
}

.app-role-icon--accent {
  background: var(--accent);
  color: var(--primary);
}

.app-role-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.85;
}

.app-role-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.app-role-desc {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.app-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  height: 56px;
  padding: 0 18px;
  background: var(--white);
  color: var(--primary);
  border-radius: 14px;
  transition: transform var(--transition), background var(--transition);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--primary);
}

.store-btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 2px;
  text-align: left;
}

.store-btn-label {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.65;
}

.store-btn-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-float {
  position: absolute;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@media (min-width: 992px) {
  .app-float {
    display: inline-flex;
  }
}

.app-download.is-in .app-float {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.app-float svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
}

.app-float--qr {
  top: 18%;
  right: 7%;
  transition-delay: 0.2s;
}

.app-download.is-in .app-float--qr {
  animation: floatChip 5s ease-in-out 0.8s infinite;
}

.app-float--stamp {
  bottom: 18%;
  left: 6%;
  background: var(--accent);
  transition-delay: 0.35s;
}

.app-download.is-in .app-float--stamp {
  animation: floatChip 6s ease-in-out 1s infinite reverse;
}

.app-float--wallet {
  top: 22%;
  left: 6%;
  transition-delay: 0.5s;
}

.app-download.is-in .app-float--wallet {
  animation: floatChip 7s ease-in-out 1.2s infinite;
}

@keyframes appDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -14px); }
}

@keyframes appFloatDot {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-14px); opacity: 0.8; }
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* References / logo strip */

.refs {
  padding: 56px 0 64px;
  background: #fff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.refs-head {
  max-width: 640px;
  margin: 0 auto 36px;
  text-align: center;
}

.refs-eyebrow {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary, #666);
}

.refs-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--primary, #111);
}

.refs-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--secondary, #666);
}

.refs-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.refs-track {
  display: flex;
  width: max-content;
  animation: refsScroll 70s linear infinite;
}

.refs-marquee:hover .refs-track {
  animation-play-state: paused;
}

.refs-list {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 8px 8px;
  list-style: none;
}

.refs-item {
  flex: 0 0 auto;
}

.refs-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding: 14px;
  border-radius: 18px;
  background: #f6f7f4;
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.refs-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.refs-footnote {
  margin: 28px 0 0;
  text-align: center;
}

.refs-footnote a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary, #111);
  text-decoration: none;
}

.refs-footnote a svg {
  width: 16px;
  height: 16px;
}

.refs-footnote a:hover {
  opacity: 0.7;
}

@keyframes refsScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .refs-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .refs-list[aria-hidden="true"] {
    display: none;
  }

  .refs-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .refs-list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Brands loyalty CTA (homepage, above footer) */

.brands-cta {
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.brands-cta-link {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 0;
  transition: opacity 0.15s ease;
}

.brands-cta-link:hover {
  opacity: 0.96;
}

.brands-cta-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer */

.site-footer {
  padding: 72px 0 40px;
  background: #111111;
  color: var(--white);
  border-top: none;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 40px 32px;
  margin-bottom: 64px;
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  .footer-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
  }
}

.footer-cta-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.footer-cta-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  margin-bottom: 56px;
}

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 40px 32px;
  }

  .footer-brand {
    grid-column: auto;
    padding-right: 24px;
  }
}

.brand--footer .brand-logo {
  height: 42px;
}

.footer-tagline {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 260px;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.footer-contact a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transition), color var(--transition),
    border-color var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-soon {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
  .footer-trust {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
  }
}

.footer-trust-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.footer-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(200, 255, 26, 0.12);
  color: var(--accent);
}

.footer-trust-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.footer-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-trust-text strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-trust-text span {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.footer-pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 58px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06);
}

.footer-pay-svg {
  display: block;
  height: 18px;
  width: auto;
}

.footer-pay-svg--visa {
  height: 20px;
  width: 36px;
}

.footer-pay-svg--mc {
  height: 22px;
}

.footer-pay-iyzico {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #1e64ff;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

.footer-lang {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

/* Mobile homepage polish */

@media (max-width: 991.98px) {
  .container-custom {
    padding-inline: 18px;
  }

  .hero {
    padding: 28px 0 88px;
  }

  .hero-badges {
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 20px;
  }

  .hero-badge {
    height: 30px;
    gap: 6px;
    padding: 0 8px 0 3px;
    font-size: 11px;
    letter-spacing: -0.03em;
  }

  .hero-badge-icon {
    width: 22px;
    height: 22px;
  }

  .hero-badge-icon svg {
    width: 11px;
    height: 11px;
  }

  .hero-badge-text {
    padding-right: 0;
  }

  .hero-title {
    font-size: clamp(30px, 8.4vw, 40px);
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-cta .c-btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 320px;
    margin-top: 8px;
    padding: 20px 24px 48px;
    overflow: visible;
  }

  .stamp-card-scene {
    width: 220px;
    height: 297px;
  }

  .stamp-card-face {
    padding: 26px 18px 22px;
  }

  .card-award {
    top: -10px;
    right: -6px;
    padding: 8px 10px;
    border-radius: 12px;
  }

  .card-award-title {
    font-size: 11px;
  }

  .card-award-sub {
    font-size: 9px;
  }

  .card-mascot {
    width: 64px;
    right: -10px;
    bottom: -10px;
  }

  .hero-wave {
    height: 56px;
  }

  .features,
  .features--secondary {
    padding: 56px 0 32px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: clamp(24px, 6.5vw, 32px);
  }

  .feature-item {
    padding: 18px 14px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .feature-desc {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .cta-panel {
    padding: 36px 20px;
    border-radius: 22px;
  }

  .blog {
    padding: 24px 0 64px;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
  }

  .blog-body {
    padding: 18px;
  }

  .blog-excerpt {
    -webkit-line-clamp: 3;
  }

  .app-download {
    padding: 12px 0 72px;
  }

  .app-panel {
    padding: 40px 18px 48px;
    border-radius: 22px;
  }

  .app-float {
    display: none;
  }

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

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }

  .footer-cta .c-btn {
    width: 100%;
  }

  .footer-grid {
    gap: 28px 16px;
    margin-bottom: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 575.98px) {
  .hero-proof {
    flex-wrap: wrap;
  }

  .hero-badges {
    gap: 4px;
    width: 100%;
  }

  .hero-badge {
    height: 28px;
    gap: 5px;
    padding: 0 7px 0 2px;
    font-size: 10px;
    letter-spacing: -0.035em;
    flex: 0 1 auto;
    min-width: 0;
  }

  .hero-badge-icon {
    width: 20px;
    height: 20px;
  }

  .hero-badge-icon svg {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 380px) {
  .hero-badges {
    gap: 3px;
  }

  .hero-badge {
    height: 26px;
    gap: 4px;
    padding: 0 5px 0 2px;
    font-size: 9px;
    letter-spacing: -0.04em;
  }

  .hero-badge-icon {
    width: 18px;
    height: 18px;
  }

  .hero-badge-icon svg {
    width: 9px;
    height: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .stamp-card-scene,
  .stamp-card,
  .stamp-card-inner,
  .float-ui,
  .float-gift,
  .orb,
  .app-orb,
  .app-dot,
  .app-float,
  .card-award,
  .card-mascot,
  .hero-title.is-ready .title-line:nth-child(3) .title-line-inner {
    animation: none !important;
  }

  .title-line-inner,
  .hero-subtitle,
  .hero-cta,
  .hero-proof,
  .hero-badge,
  .stamp-card-scene,
  .stamp-card-inner,
  .app-float,
  .card-award,
  .card-mascot {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
  }

  .stamp-card.is-flipped .stamp-card-inner {
    transform: rotateY(180deg) !important;
  }

  .card-award {
    transform: rotate(8deg) !important;
  }

  .card-mascot {
    filter: drop-shadow(0 10px 16px rgba(17, 17, 17, 0.28)) !important;
  }

  .stamp.is-stamped {
    animation: none !important;
    background: var(--accent);
    border-color: var(--accent);
  }

  .stamp.is-stamped::after {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Offline / online status banner — all pages */
.net-status {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  padding: 10px 16px;
  transform: translateY(0);
  animation: netStatusIn 220ms ease;
}

.net-status[hidden] {
  display: none !important;
}

.net-status-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.16);
}

.net-status-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.net-status-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.net-status--offline .net-status-inner {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.net-status--offline .net-status-icon {
  background: #ff6b4a;
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.22);
}

.net-status--online .net-status-inner {
  background: #111;
  color: #fff;
  border: 1px solid rgba(200, 255, 26, 0.35);
}

.net-status--online .net-status-icon {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 255, 26, 0.22);
}

@keyframes netStatusIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.is-offline {
  padding-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .net-status {
    animation: none;
  }
}
