
/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Noto Sans HK', 'PingFang TC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft JhengHei', sans-serif;
  background: url('../public/images/bg-mobile.svg') center top / cover no-repeat fixed;
  overflow-x: hidden;
}

/* ── Screen visibility ───────────────────────── */
.screen {
  display: none;
  flex-direction: column;
  min-height: 100vh;
}
.screen.active {
  display: flex;
}

/* ── Site header ─────────────────────────────── */
.site-header {
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.header-inner {
  max-width: 480px;
  margin: 0 auto;
}
.header-logo {
  height: 36px;
  width: auto;
}

/* ── Button ──────────────────────────────────── */
.btn-primary {
  display: block;
  width: calc(100% - 48px);
  max-width: 360px;
  margin: 24px auto;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  touch-action: manipulation;
}
.btn-primary + .btn-primary {
  margin-top: -8px;
}
.btn-primary:active {
  background: none;
}
#btn-restart,
#btn-restart-hi {
  margin-bottom: 16px;
}
.result-tnc {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
  text-align: left;
  margin: 24px 0 48px;
  padding: 0 8px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.btn-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 330 / 59;
  pointer-events: none;
}

/* ── Polaroid frame ──────────────────────────── */
.polaroid-frame {
  background: #fff;
  padding: 12px 12px 40px;
  box-shadow: 2px 4px 16px rgba(0,0,0,0.22);
  border-radius: 2px;
  border: 1px solid #c8c4be;
}
.polaroid-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1px;
}
.polaroid-text {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin: 0;
  padding: 10px 4px 0;
}

/* ── Stacked polaroid ── */
.polaroid-stack {
  position: relative;
  width: 100%;
}
.polaroid-back {
  position: absolute;
  top: 8px;
  left: 4px;
  right: -4px;
  bottom: -4px;
  transform: rotate(-4deg);
  z-index: 0;
  padding: 0;
}
#screen-cover .polaroid-back {
  padding: 12px 12px 40px;
}
.polaroid-front {
  position: relative;
  transform: rotate(3deg);
  z-index: 1;
}
.polaroid-actions {
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  margin-top: 8px;
}
.polaroid-action-icon {
  width: 36px;
  height: 36px;
}

/* ── Cover screen ────────────────────────────── */
.cover-main {
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 24px 32px;
  position: relative;
  overflow: hidden;
}

.bg-icons {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  pointer-events: none;
  z-index: 0;
}
.icon {
  position: absolute;
  height: auto;
  opacity: 0.9;
}

/* ── Main icons ── */
.icon-map-tl       { top: 3%;  left: 2%;   width: 50px; transform: rotate(-5deg); }
.icon-plane-tr     { top: 5%;  right: 3%;  width: 75px; transform: rotate(12deg); }
.icon-luggage-ml   { top: 32%; left: 0%;   width: 60px; transform: rotate(24deg); }
.icon-camera-mr    { top: 35%; right: 0%;  width: 100px; transform: rotate(8deg); }
.icon-eiffel-bl    { bottom: 16%; left: 3%;  width: 80px; transform: rotate(-3deg); }
.icon-flipflops-mr { top: 52%; right: 2%;  width: 58px; transform: rotate(6deg); }
.icon-passport-br  { bottom: 18%; right: 1%; width: 110px; transform: rotate(10deg); }

/* ── Pin markers ── */
.icon-pin-1 { top: 15%; left: 22%;  width: 28px; transform: rotate(10deg); }
.icon-pin-2 { top: 29%; right: 18%; width: 24px; transform: rotate(10deg); filter: hue-rotate(-15deg) saturate(0.6) brightness(1.15); }
.icon-pin-3 { bottom: 29%; left: 19%; width: 26px; transform: rotate(0deg); }

/* ── Decorations ── */
.deco {
  position: absolute;
  pointer-events: none;
}
.deco-star-1  { top: 6%;  left: 32%;  width: 40px; height: 40px; }
.deco-star-2  { top: 44%; right: 28%; width: 32px; height: 32px; }
.deco-star-3  { bottom: 12%; left: 38%; width: 28px; height: 28px; }
.deco-star-4  { top: 22%; left: 42%;  width: 22px; height: 22px; opacity: 0.5; }

.deco-dot-1 { top: 14%; left: 28%;  width: 8px; height: 8px; }
.deco-dot-2 { top: 10%; right: 28%; width: 7px; height: 7px; }
.deco-dot-3 { top: 40%; left: 12%;  width: 6px; height: 6px; }
.deco-dot-4 { bottom: 30%; right: 30%; width: 7px; height: 7px; }
.deco-dot-5 { bottom: 18%; left: 28%;  width: 8px; height: 8px; }

.deco-circle-1 { bottom: 20%; left: -5%; width: 80px; height: 80px; opacity: 0.4; }
.deco-circle-2 { top: 55%; right: 32%; width: 50px; height: 50px; opacity: 0.35; }

.deco-zigzag    { top: 50%; left: -2%; width: 80px; height: 20px; transform: rotate(-8deg); }
.deco-dots-path { top: 8%;  left: 25%; width: 120px; height: 40px; opacity: 0.6; }

/* Hide bg plane on cover (title SVG already has one) */
#screen-cover .icon-plane-tr { display: none; }

.cover-title-img {
  width: 80%;
  max-width: 320px;
  height: auto;
  margin-top: -20px;
  position: relative;
  z-index: 1;
}
.cover-subtitle-img {
  width: 90%;
  max-width: 360px;
  height: auto;
  margin-top: -12px;
  position: relative;
  z-index: 1;
}
.cover-subtitle-text {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.cover-polaroid {
  width: 72%;
  max-width: 300px;
  margin-top: -8px;
  position: relative;
  z-index: 1;
}

/* ── Cover demo sway animation ── */
.cover-demo-card {
  animation: cover-demo-sway 3s ease-in-out infinite;
}
@keyframes cover-demo-sway {
  0%   { transform: translateX(0) rotate(3deg); }
  3%   { transform: translateX(0) rotate(3deg); }
  18%  { transform: translateX(-35px) rotate(-14deg); }
  33%  { transform: translateX(-30px) rotate(-13deg); }
  36%  { transform: translateX(-30px) rotate(-13deg); }
  51%  { transform: translateX(45px) rotate(13deg); }
  67%  { transform: translateX(40px) rotate(12deg); }
  70%  { transform: translateX(40px) rotate(12deg); }
  85%  { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(0) rotate(3deg); }
}

/* Cover demo buttons – vertically centered on card */
.cover-demo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 56px;
  height: 56px;
  z-index: 10;
  filter: drop-shadow(7px 7px 5px rgba(117, 113, 241, 0.6));
  transition: transform 0.15s ease;
}
.cover-demo-btn--dislike {
  left: -40px;
  animation: cover-btn-dislike-pulse 3s ease-in-out infinite;
}
.cover-demo-btn--like {
  right: -40px;
  animation: cover-btn-like-pulse 3s ease-in-out infinite;
}
@keyframes cover-btn-dislike-pulse {
  0%, 5%    { transform: translateY(-50%) scale(1); }
  18%       { transform: translateY(-50%) scale(1.35); }
  33%       { transform: translateY(-50%) scale(1.3); }
  40%       { transform: translateY(-50%) scale(1); }
  100%      { transform: translateY(-50%) scale(1); }
}
@keyframes cover-btn-like-pulse {
  0%, 40%   { transform: translateY(-50%) scale(1); }
  51%       { transform: translateY(-50%) scale(1.35); }
  67%       { transform: translateY(-50%) scale(1.3); }
  75%       { transform: translateY(-50%) scale(1); }
  100%      { transform: translateY(-50%) scale(1); }
}

/* ── Rules screen ────────────────────────────── */
.rules-main {
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 48px;
  position: relative;
  overflow: hidden;
}


.rules-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.rules-title-img {
  width: 95%;
  max-width: 420px;
  height: auto;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.rules-text {
  font-size: 15px;
  color: #555;
  text-align: center;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* Demo card animation — rules page */
.rules-demo {
  width: 72%;
  max-width: 300px;
  margin-top: -20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Card tilt animation: left → center → right → center (6s loop) */
.demo-card {
  position: relative;
  animation: demo-swipe 6s ease-in-out infinite;
}
@keyframes demo-swipe {
  0%   { transform: translateX(0) rotate(3deg); }
  5%   { transform: translateX(0) rotate(3deg); }
  20%  { transform: translateX(-35px) rotate(-12deg); }
  30%  { transform: translateX(-30px) rotate(-11deg); }
  42%  { transform: translateX(0) rotate(0deg); }
  48%  { transform: translateX(0) rotate(0deg); }
  63%  { transform: translateX(35px) rotate(12deg); }
  73%  { transform: translateX(30px) rotate(11deg); }
  88%  { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(0) rotate(3deg); }
}

.demo-polaroid { pointer-events: none; }

/* Cross / Like buttons — positioned outside card like game screen */
.rules-demo-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 56px;
  height: 56px;
  z-index: 10;
  filter: drop-shadow(7px 7px 5px rgba(117, 113, 241, 0.6));
}
.rules-demo-btn--dislike {
  left: -56px;
  animation: rules-btn-dislike-pulse 6s ease-in-out infinite;
}
.rules-demo-btn--like {
  right: -56px;
  animation: rules-btn-like-pulse 6s ease-in-out infinite;
}
@keyframes rules-btn-dislike-pulse {
  0%, 5%    { transform: translateY(-50%) scale(1); }
  20%       { transform: translateY(-50%) scale(1.35); }
  30%       { transform: translateY(-50%) scale(1.3); }
  38%       { transform: translateY(-50%) scale(1); }
  100%      { transform: translateY(-50%) scale(1); }
}
@keyframes rules-btn-like-pulse {
  0%, 48%   { transform: translateY(-50%) scale(1); }
  63%       { transform: translateY(-50%) scale(1.35); }
  73%       { transform: translateY(-50%) scale(1.3); }
  82%       { transform: translateY(-50%) scale(1); }
  100%      { transform: translateY(-50%) scale(1); }
}

/* Cursor overlay — moves across card to show swipe gesture */
.rules-demo-cursor {
  position: absolute;
  width: 32px;
  height: 32px;
  z-index: 12;
  pointer-events: none;
  animation: demo-cursor-move 6s ease-in-out infinite;
}
@keyframes demo-cursor-move {
  0%   { bottom: 20%; left: 50%; transform: translateX(-50%); }
  5%   { bottom: 20%; left: 50%; transform: translateX(-50%); }
  20%  { bottom: 28%; left: 12%; transform: translateX(0); }
  30%  { bottom: 26%; left: 15%; transform: translateX(0); }
  42%  { bottom: 20%; left: 50%; transform: translateX(-50%); }
  48%  { bottom: 20%; left: 50%; transform: translateX(-50%); }
  63%  { bottom: 28%; left: 78%; transform: translateX(0); }
  73%  { bottom: 26%; left: 75%; transform: translateX(0); }
  88%  { bottom: 20%; left: 50%; transform: translateX(-50%); }
  100% { bottom: 20%; left: 50%; transform: translateX(-50%); }
}

/* ── Game screen ─────────────────────────────── */
.game-main {
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 48px;
  position: relative;
  overflow: hidden;
}

.game-header {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(2px 3px 4px #7571F170);
}

.game-header.game-header--large {
  max-width: 340px;
}

.game-card-area {
  width: 100%;
  max-width: 260px;
  position: relative;
  margin: 0 auto 36px;
  z-index: 2;
}
.card-stack {
  position: relative;
  width: 100%;
}
.card-stack .card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.card-stack .card:last-child {
  position: relative;
}
/* Alternating tilt: odd cards (1st,3rd,5th) clockwise, even (2nd,4th) anticlockwise */
.card-stack .card:nth-child(odd)  { transform: rotate(3deg); }
.card-stack .card:nth-child(even) { transform: rotate(-3deg); }
.game-card-area .game-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  z-index: 10;
  filter: drop-shadow(7px 7px 5px rgba(117, 113, 241, 0.6));
}
.game-card-area .game-btn--dislike { left: -48px; }
.game-card-area .game-btn--like    { right: -48px; }
.game-card-area .game-btn .btn-icon {
  width: 64px;
  height: 64px;
}

/* Draggable card */
.card {
  position: relative;
  touch-action: none;
  user-select: none;
  will-change: transform;
  cursor: grab;
  -webkit-user-drag: none;
}
.card:active { cursor: grabbing; }
.card .polaroid-frame { background: #fff; }

/* Like / dislike overlays */
.card-overlay {
  position: absolute;
  top: 12px;
  opacity: 0;
  transition: opacity 0.1s;
  z-index: 2;
  pointer-events: none;
}
.card-overlay--like    { right: 16px; }
.card-overlay--dislike { left: 16px; }
.overlay-icon { width: 48px; height: 48px; }

/* ── Game button reactive scaling during swipe ── */
.game-card-area .game-btn {
  transition: transform 0.15s ease;
}
.game-card-area .game-btn--dislike.game-btn--active {
  transform: translateY(-50%) scale(1.35);
}
.game-card-area .game-btn--like.game-btn--active {
  transform: translateY(-50%) scale(1.35);
}

/* Fly-off classes */
.card--fly-right {
  transition: transform 350ms ease-in;
  transform: translateX(120vw) rotate(30deg) !important;
}
.card--fly-left {
  transition: transform 350ms ease-in;
  transform: translateX(-120vw) rotate(-30deg) !important;
}
/* Swiped away */
.card--gone {
  display: none;
}
/* Snap back */
.card--snap {
  transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Game buttons */
.game-buttons {
  display: flex;
  gap: 48px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.game-btn {
  width: 60px;
  height: 60px;
  border: none;
  cursor: pointer;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.game-btn .btn-icon { width: 100%; height: 100%; }
.game-btn:active   { transform: scale(0.92); }
.game-card-area .game-btn:active { transform: translateY(-50%) scale(0.92); }

/* ── Result screen ───────────────────────────── */
#screen-result {
  position: relative;
}
#screen-result > .bg-icons {
  height: 100vh;
  overflow: hidden;
}
.result-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 0;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.result-title-img {
  width: 95%;
  max-width: 420px;
  height: auto;
  margin-bottom: 16px;
  margin-left: 12px;
  position: relative;
  z-index: 1;
}

.result-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.trait-polaroid {
  background: #fff;
  border: 2px solid #000;
  border-radius: 0;
  padding: 5px;
  width: calc(33% - 12px);
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.trait-polaroid-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
}
.trait-polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trait-polaroid-label {
  display: none;
}

.result-analogy {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
  width: 100%;
  box-shadow: 7px 7px 10px rgba(116, 113, 234, 0.3);
  position: relative;
  z-index: 1;
}
.result-analogy-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.8;
  margin-bottom: 12px;
}
.result-analogy-divider {
  border: none;
  border-top: 1px solid #E6E6E6;
  margin: 0 0 16px;
}
.result-analogy-body {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.result-analogy-body li {
  font-size: 16px;
  color: #000;
  line-height: 1.8;
  margin-bottom: 12px;
}
.result-analogy-body li:last-child { margin-bottom: 0; }

.result-bet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 16px 0;
  position: relative;
  z-index: 1;
}
.bet-badge-icon {
  width: 120px;
  height: auto;
}
.bet-badge-text {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.05em;
}
.bet-badge-bet-type {
  font-size: 24px;
  font-weight: 900;
  color: #000;
  letter-spacing: 0.05em;
}

.result-race-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  margin-bottom: 40px;
  width: 100%;
  box-shadow: 7px 7px 10px rgba(116, 113, 234, 0.3);
  position: relative;
  z-index: 1;
}
.result-main.has-horse-target .result-race-section {
  margin-bottom: 16px;
}
.result-race-label {
  font-size: 16px;
  font-weight: 700;
  color: #444;
  text-align: center;
  margin-bottom: 12px;
  padding: 0 16px;
  line-height: 1.5;
}

.result-horses {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.horse-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(33% - 8px);
  min-width: 80px;
}
.horse-img {
  width: 100%;
  border: 1px solid #333;
  border-radius: 0;
}
.horse-name {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-top: 6px;
}

/* ── Horse info page ─────────────────────────── */
.horse-info-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 32px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.horse-info-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 24px;
}
.horse-info-title {
  font-size: 30px;
  font-weight: 800;
  color: #222;
  margin: 0 0 6px;
  text-align: center;
}
.horse-info-date {
  font-size: 22px;
  font-weight: 500;
  color: #444;
  margin: 0;
  text-align: center;
}
.horse-card--link {
  text-decoration: none;
  color: inherit;
}
.horse-card--link:hover .horse-img {
  opacity: 0.85;
}
.horse-info-section {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  width: 100%;
  margin-bottom: 16px;
}
.horse-info-section:last-of-type {
  margin-bottom: 40px;
}
.horse-info-main.has-horse-target .horse-info-section:last-of-type {
  margin-bottom: 16px;
}
.horse-info-race-label {
  font-size: 14px;
  font-weight: 700;
  color: #444;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.5;
}
.horse-info-top-icon {
  display: block;
  width: 120px;
  height: auto;
  margin: 32px auto 0;
}

/* ── Footer (matches hkjc-cny) ───────────────── */
.footer-outer {
  width: 100%;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* White section - logo and disclaimer */
.footer-section-white {
  background-color: #fff;
  padding: 32px 48px;
}

.footer-white-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Row 1: Logo aligned right */
.footer-row-logo {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-item {
  flex-shrink: 0;
}

.footer-logo-img {
  display: block;
  max-width: 400px;
  height: auto;
  border: 0;
}

.footer-company-name { display: none; }
.footer-years { display: none; }

/* Row 2: Disclaimer left, bubble right */
.footer-row-disclaimer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.footer-disclaimer-content {
  flex: 1;
  min-width: 0;
}

.footer-bubble {
  flex-shrink: 0;
}

.footer-bubble-link {
  display: block;
  text-decoration: none;
}

.footer-bubble-img {
  display: block;
  max-width: 100px;
  height: auto;
}

/* Disclaimer section */
.footer-disclaimer {
  display: block;
}

.footer-disclaimer-heading {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #003b7c;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-disclaimer-heading:hover {
  text-decoration: underline;
}

.footer-legal-text {
  font-size: 14px;
  line-height: 1.8;
  color: #000;
}

/* Gray section - customer care */
.footer-section-gray {
  background-color: #e8e4df;
  padding: 32px 48px;
}

.footer-gray-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.customer-care-content {
  text-align: right;
}

.footer-text {
  font-size: 13px;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.footer-text span {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.footer-text a {
  color: #003b7c;
  text-decoration: underline;
}

.footer-text a:hover {
  text-decoration: none;
}

.footer-copyright {
  margin-top: 16px;
}

/* Game card area – desktop scaling */
@media (min-width: 769px) {
  .game-card-area {
    max-width: 360px;
  }
  .game-header {
    max-width: 380px;
  }
  .game-card-area .game-btn {
    width: 64px;
    height: 64px;
  }
  .game-card-area .game-btn .btn-icon {
    width: 64px;
    height: 64px;
  }
  .game-card-area .game-btn--dislike { left: -36px; }
  .game-card-area .game-btn--like    { right: -36px; }
  .cover-title-img {
    max-width: 300px;
  }
  .cover-subtitle-img {
    max-width: 310px;
  }
}

/* Background image – tablet & desktop */
@media (min-width: 769px) {
  html, body {
    background-image: url('../public/images/bg.svg');
  }
}

/* Background icons – mobile */
@media (max-width: 768px) {
  .icon-map-tl       { width: 72px; }
  .icon-plane-tr     { width: 60px; }
  .icon-luggage-ml   { width: 50px; }
  .icon-camera-mr    { width: 100px; }
  .icon-eiffel-bl    { width: 96px; }
  .icon-flipflops-mr { width: 48px; }
  .icon-passport-br  { width: 88px; }
  .icon-pin-1 { width: 22px; }
  .icon-pin-2 { width: 20px; }
  .icon-pin-3 { width: 21px; }
  .deco-star-1 { width: 32px; height: 32px; }
  .deco-star-2 { width: 26px; height: 26px; }
  .deco-star-3 { width: 22px; height: 22px; }
  .deco-circle-1 { width: 60px; height: 60px; }
}

/* Tablet: 769px – 1024px */
@media (max-width: 1024px) {
  .footer-section-white { padding: 28px 32px; }
  .footer-section-gray  { padding: 24px 32px; }
  .footer-logo-img      { max-width: 320px; }
  .footer-bubble-img    { width: 100px; }
  .footer-disclaimer-heading { font-size: 16px; margin-bottom: 12px; }
  .footer-legal-text    { font-size: 13px; }
  .footer-text          { font-size: 12px; }
}

/* Mobile: up to 768px */
@media (max-width: 768px) {
  .footer-section-white { padding: 24px 20px; }
  .footer-section-gray  { padding: 20px; }
  .footer-logo-img      { max-width: 280px; }
  .footer-bubble-img    { width: 80px; }
  .footer-disclaimer-heading { font-size: 15px; margin-bottom: 10px; }
  .footer-legal-text    { font-size: 12px; line-height: 1.7; }
  .customer-care-content { text-align: right; }
  .footer-text          { font-size: 11px; line-height: 1.7; }
}

/* Small mobile: up to 480px */
@media (max-width: 480px) {
  .footer-section-white { padding: 20px 16px; }
  .footer-section-gray  { padding: 16px; }
  .footer-logo-img      { max-width: 240px; }
  .footer-row-disclaimer { flex-direction: column; }
  .footer-bubble        { order: -1; align-self: flex-end; }
  .footer-bubble-img    { width: 70px; }
  .footer-disclaimer-heading { font-size: 14px; margin-bottom: 8px; }
  .footer-legal-text    { font-size: 11px; }
  .footer-text          { font-size: 10px; }
  .footer-text a        { word-break: break-all; }
}
