/* Club99 Member Area — shared styles */

:root {
  --bg-deep: #05070f;
  --bg-panel: rgba(255, 255, 255, 0.06);
  --bg-panel-strong: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(120, 180, 255, 0.25);
  --cyan: #4fd4ff;
  --cyan-strong: #00c2ff;
  --pink: #ff3fd8;
  --purple: #9b3fff;
  --text: #f2f6ff;
  --text-muted: #9fb0cc;
  --green: #3ee089;
  --radius: 16px;
  --nav-height: 64px;
  --header-height: 76px;
  --max-w: 480px;
  --content-w: 860px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
}

.app {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(79, 212, 255, 0.12), transparent 5%),
    radial-gradient(circle at 80% 30%, rgba(155, 63, 255, 0.12), transparent 5%),
    linear-gradient(180deg, #0a0f22 0%, #05070f 60%);
  padding-bottom: calc(var(--nav-height) + 16px);
  overflow-x: clip;
}

.page-content {
  max-width: var(--content-w);
  margin: 0 auto;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.public-section a,
.contact-card-text a,
.faq-answer a {
  color: var(--cyan-strong);
  text-decoration: underline;
}
.public-section a:hover,
.contact-card-text a:hover,
.faq-answer a:hover {
  text-decoration: none;
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  -webkit-backdrop-filter: blur(0.16rem);
  backdrop-filter: blur(0.16rem);
  border-bottom: 1px solid rgba(10, 20, 40, 0.08);
}

.header-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

.app-header .logo { display: flex; align-items: center; flex-shrink: 0; }
.app-header .logo img { height: 48px; width: auto; display: block; }

.page-subheader {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 4px 18px 14px;
}

.page-subheader .back-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.header-icons {
  display: flex;
  gap: 22px;
}

.header-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #4a5164;
}

.header-icon img { width: 26px; height: 26px; object-fit: contain; opacity: 0.85; }
.header-icon.active img { opacity: 1; filter: drop-shadow(0 0 4px var(--cyan-strong)); }
.header-icon.active { color: var(--cyan-strong); }

/* Language switcher */
.lang-switcher { position: relative; }
.btn-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #4a5164;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.btn-lang svg { width: 26px; height: 26px; opacity: 0.85; }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #0b1220;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  min-width: 150px;
  padding: 6px;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
}
.lang-dropdown a:hover { background: rgba(255,255,255,0.08); }
.lang-dropdown a.active { color: var(--cyan-strong); font-weight: 700; }

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: center;
  background: #0c1224;
  border-top: 1px solid rgba(120, 180, 255, 0.15);
  z-index: 30;
}

.bottom-nav-inner {
  display: flex;
  width: 100%;
  max-width: var(--content-w);
}

.bottom-nav-inner a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.bottom-nav-inner a.active { color: var(--cyan-strong); }
.bottom-nav-inner img { width: 20px; height: 20px; object-fit: contain; opacity: 0.7; }
.bottom-nav-inner a.active img { opacity: 1; filter: drop-shadow(0 0 4px var(--cyan-strong)); }

/* Generic content padding */
.content { padding: 18px; }

/* Account card */
.account-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px;
  margin: 0 18px 18px;
}

.rank-badge-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.rank-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 0px solid var(--cyan-strong);
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, #2a0f14, #120608);
  font-size: 1.6rem;
}

.rank-pill {
  background: var(--cyan-strong);
  color: #04182a;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 2px 9px;
  border-radius: 999px;
}

.account-stats {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-auto-rows: auto;
  gap: 4px 8px;
  align-items: center;
}
.account-stats > a { display: contents; }
.account-stats .stat-label { font-size: 0.85rem; font-weight: 600; }
.stat-value {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.qr-block { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.7rem; color: var(--cyan-strong); }
.qr-block .qr-placeholder {
  width: 56px;
  height: 56px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-label { font-size: 0.6rem; text-align: center; line-height: 1.2; color: var(--text-muted); }

/* Cards / sections */
.section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  margin-bottom: 10px;
}

.section-title h2 { font-size: 1rem; margin: 0; }
.pill-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 999px;
}
.pill-toggle.pill-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.card, .panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  margin: 0 18px 14px;
}

.list-row .icon-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.list-row .row-body { flex: 1; }
.list-row .row-title { font-weight: 600; }
.list-row .row-sub { font-size: 0.8rem; color: var(--green); }
.list-row .chevron { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary { background: linear-gradient(90deg, #dfefff, #9be8ff); color: #04182a; }
.btn-outline { background: transparent; border: 1px solid var(--cyan-strong); color: var(--cyan-strong); }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 12px; margin: 14px 0; }
.btn-row .btn { flex: 1; }
.btn-disabled { opacity: 0.55; pointer-events: none; }

/* Currency section wrapper (Transfer page) */
.currency-section { padding: 0 18px 26px; }
.currency-tab {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-soft);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-muted);
}
.currency-tab.active { background: var(--cyan-strong); color: #04182a; }

.balance-figure { display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; margin: 14px 0; }
.balance-figure .icon { display: inline-flex; align-items: center; font-size: 1.4rem; margin-right: 8px; }
.chip-icon-img { width: 1em; height: 1em; vertical-align: middle; object-fit: contain; }

.field-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
}
.field-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
}
.field-input.with-icon { display: flex; align-items: center; justify-content: space-between; }

.note-green { color: var(--green); font-size: 0.85rem; margin: 8px 0; }
.note-muted { color: var(--text-muted); font-size: 0.85rem; margin: 8px 0; }
.last-updated-note { text-align: center; padding: 10px 18px 18px; }

/* Promo cards */
.promo-card { margin: 0 18px 20px; }
.promo-banner {
  width: 100%;
  aspect-ratio: 16/8;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1030, #2a1440 40%, #401060);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cyan-strong);
  text-align: center;
  padding: 0;
}
.promo-title { margin: 10px 0; font-weight: 600; }

.promo-details {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.promo-details.open { display: block; }
.promo-details h4 { margin: 0 0 8px; font-size: 0.95rem; color: var(--cyan-strong); }
.promo-details p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin: 0 0 12px; }
.promo-details ol { padding: 0 0 0 18px; color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin: 0 0 14px; }
.promo-details ol li { margin-bottom: 8px; }
.promo-bonus-table { width: 100%; border-collapse: collapse; margin: 4px 0 14px; font-size: 0.82rem; }
.promo-bonus-table th, .promo-bonus-table td { border: 1px solid var(--border-soft); padding: 6px 8px; text-align: center; color: var(--text-muted); }
.promo-bonus-table th { color: var(--text); font-weight: 600; }
.promo-details .note-strong { color: var(--text); font-size: 0.85rem; }

/* VIP page */
.vip-card {
  margin: 0 18px 18px;
  background: linear-gradient(180deg, rgba(20,40,80,0.6), rgba(10,15,30,0.6));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.vip-crown { font-size: 2.6rem; }
.vip-stats { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.priv-table { margin: 0 18px 18px; border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.priv-table h3 { padding: 14px 16px 0; margin: 0; }
.priv-row { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; }
.priv-row .note { color: var(--cyan-strong); font-size: 0.8rem; }

/* Game grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  padding: 0 18px 22px;
}
.game-grid.collapsed { overflow: hidden; margin-bottom: 20px; }
.pill-toggle.game-toggle { cursor: pointer; }
.game-tile {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  font-weight: 800;
  font-size: 0.78rem;
  text-align: left;
  color: #fff;
  position: relative;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.12);
}
.game-tile .badge {
  position: absolute;
  top: 6px; left: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--cyan-strong);
  color: #04182a;
}
.game-tile.badge-event .badge { background: var(--pink); color: #fff; }

/* More menu */
.more-list .list-row { cursor: pointer; }
.logout-btn { margin: 24px 18px; }

.currency-select {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  margin: 0 18px 18px;
  font-weight: 600;
}
.currency-select .flag { font-size: 1.6rem; }
.currency-select .chev { margin-left: auto; color: var(--text-muted); }

.rules-list { padding: 0 18px 20px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.rules-list li { margin-bottom: 12px; }

.method-card {
  margin: 0 18px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.method-card .icon-box { font-size: 2rem; }
.method-card .method-body { flex: 1; }
.method-limits { color: var(--green); font-size: 0.8rem; margin-bottom: 6px; padding: 0 18px; display: flex; gap: 14px; }

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 18px 14px;
  color: var(--text);
  font-weight: 800;
  font-style: italic;
}
.bank-row .chev { color: var(--text-muted); font-style: normal; }

.disclaimer-note {
  margin: 0 18px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-row { display: flex; align-items: center; gap: 10px; margin: 0 18px 18px; font-size: 0.9rem; color: var(--text-muted); }

/* Floating chat widget mascot */
.chat-widget {
  position: fixed;
  bottom: calc(var(--nav-height) + 20px);
  right: max(10px, calc(50vw - var(--content-w) / 2 + 10px));
  width: 84px;
  z-index: 40;
  display: block;
}
.chat-widget img { width: 100%; display: block; }

/* Rank badge image */
.rank-icon img { width: 60px; height: 60px; }
.rank-icon { padding: 0; overflow: hidden; }

/* Suit / tier icon images */
.wallet-icon-img { width: 18px; height: 18px; border-radius: 50%; vertical-align: middle; margin-left: 4px; }

/* Game tile with real artwork */
.game-tile.has-art {
  background-size: cover;
  background-position: center;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Promo banner image */
.promo-banner.has-art { background-size: cover; background-position: center; color: transparent; }
.promo-banner a { display: block; width: 100%; height: 100%; }
.promo-banner img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
.promo-card .promo-banner { aspect-ratio: auto; overflow: visible; }
.promo-card .promo-banner img { width: 100%; height: auto; object-fit: contain; }

/* Coin balance + lottery operator badge row */
.coin-balance-block {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin: 0 18px 18px;
  padding: 14px;
}
.coin-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.coin-balance-block .coin-label { font-size: 1rem; font-weight: 700; }
.coin-balance-block .coin-value { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; }
.coin-balance-block .coin-value img { width: 22px; height: 22px; }
.lottery-badge-row { display: flex; justify-content: center; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.lottery-badge-row img { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }

/* Cash / Chip segmented control */
.cashchip-tabs { display: flex; padding: 0 18px; gap: 0; margin-bottom: 18px; }
.cashchip-tabs button {
  flex: 1; padding: 10px; font-weight: 700; border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.06); color: var(--text-muted);
}
.cashchip-tabs button:first-child { border-radius: 10px 0 0 10px; }
.cashchip-tabs button:last-child { border-radius: 0 10px 10px 0; }
.cashchip-tabs button.active { background: var(--cyan-strong); color: #04182a; border-color: var(--cyan-strong); }
.cashchip-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin: 0 18px 20px;
  padding: 14px;
}
.cashchip-balance-row .balances { display: flex; gap: 24px; font-size: 1.2rem; font-weight: 700; }
.cashchip-balance-row .balances span { display: inline-flex; align-items: center; }
.cashchip-balance-row .balances span.icon { display: inline-flex; align-items: center; font-size: 1rem; margin-right: 4px; }
.retrieve-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 0.7rem; color: var(--text-muted); background: none; border: none; }
.retrieve-btn svg { width: 22px; height: 22px; }

/* Wide banner tiles (Horse Book / Cock Fight / Sport Book / Lottery Result-Package / Correct Score) */
.banner-tile {
  display: block;
  margin: 0 18px 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.banner-tile img { width: 100%; display: block; }

/* Lottery category — scrolling marquee row */
.lottery-marquee { overflow: hidden; padding: 0 0 22px 18px; }
.lottery-marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: lottery-scroll 16s linear infinite;
}
.lottery-marquee:hover .lottery-marquee-track { animation-play-state: paused; }
.lottery-marquee-track .banner-tile-sm {
  flex: 0 0 auto;
  height: 140px;
  width: auto;
  aspect-ratio: 3458 / 1459;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.lottery-marquee-track .banner-tile-sm img { width: 100%; height: 100%; object-fit: contain; display: block; }

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

/* VIP suit tabs */
.vip-suit-tabs { display: flex; margin: 0 18px 0; border-bottom: 2px solid var(--cyan-strong); }
.suit-tab {
  flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); border-bottom: none;
  padding: 10px 0; font-size: 1.3rem; border-radius: 10px 10px 0 0; margin-right: 2px;
  display: flex; align-items: center; justify-content: center;
}
.suit-tab img { width: 26px; height: 26px; object-fit: contain; }
.suit-tab.active { background: #fff; }
.vip-suit-panel { padding: 20px 18px; }
.suit-heading { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }
.suit-icon-badge { background: #fff; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.suit-icon-badge img { width: 20px; height: 20px; object-fit: contain; }
.suit-cards { text-align: center; margin-bottom: 18px; }
.suit-cards img { max-width: 160px; max-height: 160px; width: auto; height: auto; }
.priv-table { margin: 0 0 18px; }

/* Chakra rewards level */
.chakra-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.chakra-icon { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; border: 2px solid rgba(255,255,255,0.3); }
.chakra-icon img { width: 100%; height: 100%; border-radius: 50%; }
.chakra-label { width: 60px; flex-shrink: 0; font-size: 0.85rem; text-align: center; color: var(--text-muted); }
.chakra-table { flex: 1; border-collapse: collapse; font-size: 0.85rem; }
.chakra-table th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 2px 8px 4px 0; }
.chakra-table td { padding: 2px 8px 2px 0; }

/* Withdrawal accounts */
.withdraw-account-card { margin: 0 18px 14px; background: var(--bg-panel); border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 16px; }
.wa-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 0.9rem; color: var(--text-muted); }
.wa-row span:last-child { color: var(--text); font-weight: 600; }
.wa-badge { padding: 4px 12px; border-radius: 6px; font-weight: 800; font-size: 0.85rem; }

/* E-wallet top-up method cards */
.ewallet-card { display: flex; align-items: center; gap: 14px; background: var(--bg-panel); border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 16px; margin: 0 18px 12px; }
.ewallet-name { font-weight: 700; min-width: 110px; }
.ewallet-limits { flex: 1; color: var(--green); font-size: 0.8rem; }

/* Promo carousel */
.promo-carousel { position: relative; width: 100%; aspect-ratio: 16/8; border-radius: 12px; overflow: hidden; border: 0; }
.promo-carousel .promo-banner { position: absolute; inset: 0; margin: 0; padding: 0; border-radius: 0; opacity: 0; transition: opacity 0.5s ease; }
.promo-carousel .promo-banner.active { opacity: 1; }

.promo-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  z-index: 5;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: rgba(5, 7, 15, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.promo-arrow svg { width: 14px; height: 14px; display: block; }
.promo-arrow:hover { background: rgba(5, 7, 15, 0.7); }
.promo-arrow-prev { left: 8px; }
.promo-arrow-next { right: 8px; }

.public-title { font-size: 1.7rem; font-weight: 800; margin: 0 0 8px; padding: 0 18px; }
.public-subtitle { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 28px; padding: 14px 18px 0; }

.public-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: min(320px, calc(100% - 36px));
  margin: 0 auto 36px;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #dfefff, #9be8ff);
  color: #04182a;
  text-align: center;
}

.public-cta-alt {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: -24px 0 36px;
}
.public-cta-alt a { color: var(--cyan-strong); font-weight: 700; text-decoration: underline; }
.public-cta-alt a:hover { text-decoration: none; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
  padding: 0 18px;
}
@media (min-width: 640px) {
  .contact-grid-2col { grid-template-columns: repeat(2, 1fr); }
}
.contact-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04182a;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-icon-a { background: var(--cyan-strong); }
.contact-icon-b { background: var(--purple); color: #fff; }
.contact-icon-c { background: var(--pink); color: #fff; }
.contact-icon-d { background: var(--green); }
.contact-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.contact-card-text { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin: 0; flex: 1; }
.contact-card .btn { margin-top: 4px; }

.public-section { margin-bottom: 36px; padding: 0 18px; }
.public-section h2 { font-size: 1.15rem; margin: 0 0 14px; color: var(--cyan-strong); }
.public-section h3 { font-size: 1rem; margin: 18px 0 8px; color: var(--text); }
.public-section p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin: 0 0 12px; }
.public-section ol, .public-section ul { padding: 0 0 0 20px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin: 0 0 12px; }
.public-section li { margin-bottom: 8px; }

.instructions-list { counter-reset: step; list-style: none; padding: 0; }
.instructions-list li {
  counter-increment: step;
  position: relative;
  padding-left: 36px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.instructions-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid var(--cyan-strong);
  color: var(--cyan-strong);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-list { border-top: 1px solid var(--border-soft); }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  padding: 16px 4px;
  cursor: pointer;
}
.faq-question .faq-chevron { flex-shrink: 0; transition: transform 0.2s ease; color: var(--cyan-strong); }
.faq-item.open .faq-question .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  padding: 0 4px 16px;
}
.faq-item.open .faq-answer { display: block; }

/* Site footer */
.site-footer {
  width: 100%;
  background: #0c1224;
  border-top: 1px solid rgba(120, 180, 255, 0.15);
  margin-top: auto;
}
.footer-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer-inner .logo img { height: 36px; width: auto; opacity: 0.85; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 8px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--cyan-strong); }
.footer-links a:not(:last-child)::after { content: "|"; margin-left: 8px; color: var(--border-soft); }
.footer-note { font-size: 0.78rem; color: var(--cyan-strong); }
.footer-copyright { font-size: 0.75rem; color: var(--text-muted); opacity: 0.7; }

.social-share { display: flex; justify-content: center; gap: 12px; }
.share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.share-btn svg { width: 17px; height: 17px; }
.share-facebook,
.share-x,
.share-whatsapp,
.share-telegram { background: #5a6272; }
.share-btn:hover { background: #767f92; }
