/* WinDay — dark theme design system. Palette: blue / black / white only. */

:root {
  --blue: #0078FF;
  --blue-light: #4FA3FF;
  --blue-dark: #0052B3;
  --black: #06070A;
  --black-soft: #101218;
  --black-card: #15171F;
  --black-elevated: #1B1E27;
  --white: #FFFFFF;
  --white-85: rgba(255, 255, 255, 0.85);
  --white-65: rgba(255, 255, 255, 0.65);
  --white-45: rgba(255, 255, 255, 0.45);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-08: rgba(255, 255, 255, 0.08);

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-pill: 999px;

  --gap-xs: 6px;
  --gap-s: 10px;
  --gap-m: 16px;
  --gap-l: 24px;
  --gap-xl: 36px;

  --header-h: 60px;
  --bottomnav-h: 62px;
  --container: 1180px;

  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-blue: 0 0 0 3px rgba(0, 120, 255, 0.25);

  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0, 120, 255, 0.16), transparent 60%),
    var(--black);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Form fields stay selectable — visitors still need to copy what they typed. */
input, textarea { -webkit-user-select: text; -moz-user-select: text; user-select: text; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap-m);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 7, 10, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--white-08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-m);
}

.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 30px; width: auto; }
.brand-word { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 20px; }
.brand-word .accent { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.desktop-nav { display: none; align-items: center; gap: 26px; }
.desktop-nav a { font-size: 14px; font-weight: 600; color: var(--white-85); }
.desktop-nav a:hover { color: var(--blue-light); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: var(--white-08);
  border: 1px solid var(--white-12);
  color: var(--white);
  cursor: pointer;
}
.icon-btn:active { background: var(--white-12); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--white-08);
  border: 1px solid var(--white-12);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); }

.btn-ghost { background: transparent; color: var(--white); border-color: var(--white-12); }
.btn-ghost:hover { background: var(--white-08); }

.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--bottomnav-h);
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--white-08);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--white-45);
  font-size: 10.5px;
  font-weight: 600;
}
.bottom-nav a.active { color: var(--blue-light); }
.bottom-nav svg { width: 22px; height: 22px; }

/* ---------- Hero image carousel ---------- */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.hero-carousel-mobile { aspect-ratio: 3 / 4; max-height: 640px; }
.hero-carousel-desktop { display: none; aspect-ratio: 21 / 9; max-height: 480px; }
@media (min-width: 900px) {
  .hero-carousel-mobile { display: none; }
  .hero-carousel-desktop { display: block; }
}
.hero-carousel-track { position: relative; width: 100%; height: 100%; }
.hero-carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-carousel-track img.active { opacity: 1; }
.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, var(--black) 100%);
  pointer-events: none;
}
.hero-carousel-slogan {
  position: absolute;
  left: 0; right: 0;
  bottom: 44px;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  color: var(--white);
  font-size: clamp(22px, 6vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,0.65), 0 1px 4px rgba(0,0,0,0.5);
  pointer-events: none;
}
.hero-carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.hero-carousel-dots .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white-45);
  transition: background 0.2s ease, width 0.2s ease;
}
.hero-carousel-dots .dot.active { background: var(--blue-light); width: 18px; border-radius: 3px; }

/* ---------- Skeleton loading state ---------- */
.prize-card.skeleton .thumb, .prize-card.skeleton .name, .prize-card.skeleton .value, .prize-card.skeleton .enter-btn {
  background: linear-gradient(90deg, var(--white-08) 25%, var(--white-12) 50%, var(--white-08) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  color: transparent;
  border-color: transparent;
}
.prize-card.skeleton .name { height: 14px; border-radius: 4px; margin-bottom: 8px; }
.prize-card.skeleton .value { height: 12px; width: 60%; border-radius: 4px; }
.prize-card.skeleton .enter-btn { pointer-events: none; }
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Hero / countdown ---------- */
.hero {
  padding: var(--gap-l) 0 var(--gap-m);
}
.hero-eyebrow {
  color: var(--blue-light);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  margin: 8px 0 4px;
}
.hero p.lead { color: var(--white-65); font-size: 14px; margin-bottom: var(--gap-m); }

.hero-divider {
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  opacity: 0.6;
  margin-top: var(--gap-m);
}

.hero-cta { display: flex; gap: 10px; margin-top: var(--gap-m); }

/* ---------- Section heading ---------- */
.section { padding: var(--gap-xl) 0 var(--gap-s); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--gap-m);
  gap: 10px;
}
.section-head h2 { font-size: 19px; font-weight: 800; }
.section-head .see-all { font-size: 13px; font-weight: 700; color: var(--blue-light); white-space: nowrap; }

/* ---------- Category chips ---------- */
.chip-row-wrap { position: relative; display: flex; align-items: center; gap: 6px; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.chip {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--black-card);
  border: 1px solid var(--white-12);
  font-size: 13px;
  font-weight: 600;
  color: var(--white-85);
  white-space: nowrap;
  cursor: pointer;
}
.chip.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---------- Product cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-s);
}

.prize-card {
  background: var(--black-card);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.prize-card .thumb {
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(0,120,255,0.35), var(--black-elevated) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.prize-card .thumb svg { width: 56%; height: 56%; color: var(--blue-light); }
.prize-card .thumb .thumb-photo { width: 100%; height: 100%; object-fit: cover; }
.prize-card .thumb.clickable { cursor: pointer; }
.prize-card .thumb-veil {
  position: absolute;
  inset: 0;
  background: rgba(61, 214, 140, 0.5);
  pointer-events: none;
}
.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--black-elevated);
  margin-top: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-caption {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--white-70, rgba(255,255,255,0.7));
  text-align: center;
}
.gallery-caption:empty { display: none; }
.gallery-caption p, .gallery-caption div { margin: 0 0 8px; }
.gallery-caption p:last-child, .gallery-caption div:last-child { margin-bottom: 0; }
.gallery-caption img { max-width: 100%; border-radius: var(--radius-s); }
.gallery-caption a { color: var(--blue-light, #4DA3FF); }
.gallery-thumb-strip {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.gallery-thumb-strip img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-s, 8px);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
}
.gallery-thumb-strip img.active { border-color: var(--blue); opacity: 1; }
.prize-card .badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}
.prize-card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prize-card .name { font-size: 13px; font-weight: 700; line-height: 1.3; min-height: 34px; }
.prize-card .value { color: var(--blue-light); font-weight: 800; font-size: 15px; }
.prize-card .stake { color: #3DD68C; font-weight: 700; font-size: 17px; }
.before-draw-label { color: #FF8A3D; font-weight: 700; font-size: 14px; }
.before-draw-track { height: 3px; background: var(--white-08); border-radius: var(--radius-pill); overflow: hidden; margin-top: 4px; }
.before-draw-fill { height: 100%; background: #FF8A3D; border-radius: var(--radius-pill); transition: width 0.4s ease; }
.prize-card .meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--white-45); }
.prize-card .enter-btn {
  margin-top: 4px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 12.5px;
  border: none;
}
.prize-card .enter-btn.entered {
  background: #3DD68C;
  color: #06070A;
}
.prize-card .enter-btn.lost {
  background: #E5484D;
  color: var(--white);
}
.prize-card .enter-btn.won {
  background: #3DD68C;
  color: #06070A;
  cursor: default;
}
.prize-card.locked {
  border-color: #3DD68C;
  box-shadow: 0 0 0 1px #3DD68C, var(--shadow-card);
}
.prize-card .draw-countdown.resolved {
  background: rgba(0, 120, 255, 0.14);
  border-color: var(--blue-light);
  color: var(--blue-light);
}
.prize-card .draw-countdown-label { color: #FF8A3D; font-weight: 800; font-size: 18px; line-height: 1.2; margin-top: 2px; text-align: center; }
.prize-card .draw-countdown {
  margin-top: 4px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(255, 138, 61, 0.14);
  border: 1px solid #FF8A3D;
  color: #FF8A3D;
  font-weight: 800;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Winners ---------- */
.winner-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--black-card);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-m);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.winner-row .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--black-elevated);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light); font-weight: 800; font-size: 15px;
  border: 1px solid var(--white-12);
  overflow: hidden;
  flex-shrink: 0;
}
.winner-row .avatar img { width: 100%; height: 100%; object-fit: cover; }
.flag-icon { display: inline-block; width: 18px; height: 13px; border-radius: 2px; object-fit: cover; vertical-align: middle; box-shadow: 0 0 0 1px var(--white-12); }
.winner-row .info { flex: 1; min-width: 0; }
.winner-row .info > .who { font-weight: 700; font-size: 13.5px; }
.winner-row .info > .what { font-size: 12px; color: var(--white-45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.winner-row .line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.winner-row .line + .line { margin-top: 3px; }
.winner-row .line .who { font-weight: 700; }
.winner-row .line .val { color: var(--blue-light); font-weight: 700; }
.winner-row .line .stake { color: #3DD68C; font-weight: 700; }
.winner-row .line .loc, .winner-row .line .date { color: var(--white-45); }
.winner-row .line .sep { color: var(--white-12); }

/* ---------- Forms ---------- */
.form-field { margin-bottom: var(--gap-m); position: relative; }
.photo-picker { display: flex; align-items: center; gap: 12px; }
.photo-preview {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--black-elevated);
  border: 1px solid var(--white-12);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--white-45);
  flex-shrink: 0;
}
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview.product-preview { border-radius: var(--radius-m); width: 64px; height: 64px; }
.form-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--white-65); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-m);
  background: var(--black-elevated);
  border: 1px solid var(--white-12);
  color: var(--white);
  font-size: 14.5px;
}
.form-field textarea { height: auto; padding: 12px 14px; font-family: inherit; line-height: 1.5; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--shadow-blue); }
#referral-link-input {
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius-m);
  background: var(--black-card);
  border: 1px solid var(--white-12);
  color: var(--white-45);
  font-size: 12px;
}
.form-note { font-size: 11.5px; color: var(--white-45); margin-top: 8px; }
.form-error { font-size: 12.5px; color: #FF6B6B; margin-top: 6px; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 42px; }
.pw-toggle-btn {
  position: absolute;
  right: 4px; top: 0;
  width: 42px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  color: var(--white-45);
  cursor: pointer;
}
.pw-toggle-btn:hover { color: var(--white-85); }

/* ---------- Modal / drawer ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  z-index: 60;
  display: none;
}
.overlay.open { display: block; }

.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 61;
  background: var(--black-soft);
  border-top: 1px solid var(--white-12);
  border-radius: 20px 20px 0 0;
  padding: var(--gap-l) var(--gap-m) calc(var(--gap-l) + env(safe-area-inset-bottom));
  max-height: 86vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sheet.open { transform: none; }
.sheet-handle { width: 40px; height: 4px; background: var(--white-12); border-radius: 4px; margin: 0 auto 16px; }
.sheet-close { position: absolute; top: 16px; right: 16px; }
.sheet h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }

.qr-box {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--gap-m) 0;
}
.qr-box canvas { image-rendering: pixelated; }

/* ---------- Menu drawer ---------- */
.menu-list a, .menu-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 4px;
  border-bottom: 1px solid var(--white-08);
  background: none;
  border-left: none; border-right: none; border-top: none;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.menu-list svg { width: 20px; height: 20px; color: var(--blue-light); flex-shrink: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottomnav-h) + 14px);
  transform: translate(-50%, 12px);
  background: var(--black-elevated);
  border: 1px solid var(--white-12);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.success { background: #3DD68C; color: #06070A; border-color: transparent; }

/* ---------- Scroll to top ---------- */
.scroll-top-btn {
  position: fixed;
  right: 16px;
  bottom: calc(var(--bottomnav-h) + 16px + env(safe-area-inset-bottom));
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 45;
  cursor: pointer;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--blue-light); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--gap-xl);
  padding: var(--gap-xl) 0 calc(var(--gap-xl) + var(--bottomnav-h));
  border-top: 1px solid var(--white-08);
  color: var(--white-45);
  font-size: 12.5px;
}
.site-footer .foot-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: var(--gap-m); }
.site-footer .foot-links a { color: var(--white-65); font-weight: 600; }

/* ---------- Empty / misc ---------- */
.skeleton { background: linear-gradient(90deg, var(--black-elevated) 25%, var(--black-card) 37%, var(--black-elevated) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-m); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* ---------- Desktop / tablet ---------- */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  :root { --header-h: 68px; }
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .desktop-nav { display: flex; }
  .scroll-top-btn { bottom: 24px; }
  .card-grid { grid-template-columns: repeat(4, 1fr); gap: var(--gap-m); }
  .hero h1 { font-size: 34px; }
  .hero-cta { max-width: 420px; }
  /* Centered via inset + margin:auto rather than transform — a transform on an
     ancestor can make Chrome mis-render/mis-position native popups (autofill,
     spellcheck) for inputs inside it. */
  .sheet { top: 0; left: 0; right: 0; bottom: 0; margin: auto; width: 420px; height: max-content; border-radius: var(--radius-l); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
  .sheet.open { opacity: 1; pointer-events: auto; }
  .overlay { display: none; }
  .overlay.open { display: block; }
}

@media (min-width: 1200px) {
  .card-grid { grid-template-columns: repeat(5, 1fr); }
}

.account-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--white-08);
}
.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black-elevated);
  border: 1px solid var(--white-12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-weight: 800;
  font-size: 20px;
  flex-shrink: 0;
}
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-pseudo { font-weight: 800; font-size: 16px; }
.account-email { font-size: 12.5px; color: var(--white-45); margin-top: 2px; }
.account-fields { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.account-fields .row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.account-fields .row .lbl { color: var(--white-45); }

/* Mon compte page — full info table + editable address rows */
.account-table-wrap { overflow-x: auto; border: 1px solid var(--white-08); border-radius: var(--radius-m); background: var(--black-card); }
table.account-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.account-table th, table.account-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--white-08); }
table.account-table tr:last-child th, table.account-table tr:last-child td { border-bottom: none; }
table.account-table th { color: var(--white-45); font-weight: 600; width: 42%; }
table.account-table td { font-weight: 600; }
table.account-table td input {
  width: 100%;
  background: var(--black-elevated);
  border: 1px solid var(--white-12);
  border-radius: var(--radius-s);
  color: var(--white);
  padding: 8px 10px;
  font-size: 13.5px;
  font-family: inherit;
}
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 720px) { .plan-grid { grid-template-columns: repeat(4, 1fr); } }
.plan-card {
  background: var(--black-card);
  border: 1px solid var(--white-08);
  border-radius: var(--radius-m);
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.plan-card .plan-name { font-weight: 800; font-size: 15px; }
.plan-card .plan-price { font-weight: 800; font-size: 22px; color: var(--blue-light); margin: 6px 0 2px; }
.plan-card .plan-price small { font-size: 12px; font-weight: 600; color: var(--white-45); }
.plan-card .plan-tickets { font-size: 12.5px; color: var(--white-65); margin-bottom: 10px; }
.plan-card.active-plan { border-color: #4ADE80; border-width: 2px; }
.plan-card .plan-current-label { text-align: center; font-size: 13px; font-weight: 700; color: #4ADE80; padding: 9px 0; }
.plan-card .plan-desc { font-size: 12.5px; color: var(--white-45); line-height: 1.5; flex: 1; margin-bottom: 14px; }
.plan-card .plan-badge {
  align-self: flex-start;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.annual-plan-card { max-width: 100%; }

/* ---------- World map (members by country) ---------- */
.world-map-viewport {
  position: relative;
  width: 100%;
  max-height: 480px;
  overflow: auto;
  border-radius: var(--radius-m);
  border: 1px solid var(--white-08);
  background: #0b1220;
}
.world-map-zoom { position: relative; width: 100%; }
.world-map-bg svg { display: block; width: 100%; height: auto; }
.world-map-bg svg path {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(120, 170, 255, 0.55);
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
}
.world-map-markers { position: absolute; inset: 0; }
.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: default;
}
.map-marker .flag-icon { width: 20px; height: 15px; box-shadow: 0 0 0 2px #0b1220, 0 1px 4px rgba(0,0,0,0.6); }
.map-marker .map-marker-count {
  background: var(--blue);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1;
  padding: 2px 5px;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 4px rgba(0,0,0,0.6);
  white-space: nowrap;
}
.map-zoom-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--white-45);
  font-size: 15px;
}
.map-zoom-control input[type="range"] { flex: 1; }
.account-fields .row .val { font-weight: 600; text-align: right; }
