/* ==========================================================================
   ANALISIS MUDA — FINTECH-INSPIRED SPORTS ANALYTICS UI (V2)
   Brand Palette synced 100% to Logo: Deep Navy (#083763), Cyan (#1BA2E2), Growth Green (#64BB44)
   Clean Light Canvas, Floating Cards, Dedicated API-Football Club Crest Slots
   ========================================================================== */

:root {
  /* Brand Colors Extracted Directly from Logo Analisis Muda */
  --navy-deep: #062544;
  --navy: #083763;
  --navy-mid: #004179;
  --cyan: #1BA2E2;
  --cyan-bright: #2CC8F2;
  --cyan-soft: #E6F7FE;
  --green: #64BB44;
  --green-dark: #2EA043;
  --green-soft: #EAF9EC;

  /* Signature Brand Gradients */
  --grad-brand: linear-gradient(135deg, #062849 0%, #0A4F86 52%, #189AD3 84%, #52B848 100%);
  --grad-card-vip: linear-gradient(135deg, #05223E 0%, #094A7F 55%, #1BA2E2 100%);
  --grad-card-unlocked: linear-gradient(135deg, #06365E 0%, #0E8A7C 58%, #54BA42 100%);
  --grad-btn-primary: linear-gradient(135deg, #083763 0%, #1479B8 100%);
  --grad-btn-green: linear-gradient(135deg, #32A846 0%, #64BB44 100%);
  --grad-bar: linear-gradient(180deg, #64BB44 0%, #1BA2E2 55%, #083763 100%);

  /* Fintech Clean Surfaces */
  --bg-canvas: #EEF4FA;
  --bg-surface: #F7FAFD;
  --bg-card: #FFFFFF;
  --bg-subtle: #F2F7FC;
  --bg-subtle-hover: #E7F1FA;

  /* Typography */
  --text-main: #0B1F3A;
  --text-body: #3E526E;
  --text-muted: #7C8FA9;

  /* Semantic Accents */
  --win-bg: #E7F9EC;
  --win-text: #15803D;
  --lose-bg: #FEECEC;
  --lose-text: #DC2626;
  --amber-bg: #FEF6E4;
  --amber-text: #B45309;

  /* Borders & Elevation */
  --border: #E3ECF5;
  --border-strong: #CBDCEB;
  --shadow-xs: 0 2px 8px rgba(8, 55, 99, 0.04);
  --shadow-card: 0 8px 24px rgba(8, 55, 99, 0.06);
  --shadow-hero: 0 18px 36px rgba(8, 55, 99, 0.22);
  --shadow-float: 0 22px 50px rgba(6, 37, 68, 0.12);

  /* Radii */
  --r-2xl: 28px;
  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at 15% 0%, #DCEBF9 0%, #EEF4FA 42%, #F5F9FD 100%);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
}

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

button, input {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   RESPONSIVE APP SHELL (FINTECH MOBILE-FIRST + DESKTOP 3-ZONE WORKSPACE)
   ========================================================================== */

.app-frame {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px;
}

.app-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 336px;
  gap: 20px;
  align-items: start;
}

/* ---------- DESKTOP LEFT RAIL ---------- */
.side-rail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 22px 16px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-main);
  padding: 2px 6px;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(8, 55, 99, 0.24);
  flex-shrink: 0;
}

.brand-meta h1 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy-deep);
}

.brand-meta span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rail-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 15px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  width: 100%;
  text-align: left;
  transition: all 0.18s ease;
}

.rail-btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.rail-btn:hover {
  background: var(--bg-subtle);
  color: var(--navy);
}

.rail-btn.active {
  background: var(--grad-btn-primary);
  color: #FFFFFF;
  box-shadow: 0 10px 20px rgba(8, 55, 99, 0.22);
}

.rail-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: var(--win-text);
}

.rail-btn.active .rail-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.rail-promo {
  background: var(--grad-brand);
  border-radius: 20px;
  padding: 18px 16px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(8, 55, 99, 0.24);
}

.rail-promo::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(100, 187, 68, 0.22);
  top: -36px;
  right: -30px;
}

.rail-promo-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 9px;
}

.rail-promo h3 {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}

.rail-promo p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 13px;
}

/* ---------- BUTTONS ---------- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-btn-primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 18px rgba(8, 55, 99, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  text-decoration: none;
}

.btn-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(8, 55, 99, 0.28);
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-btn-green);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 20px rgba(72, 174, 60, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  text-decoration: none;
}

.btn-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(72, 174, 60, 0.36);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--bg-subtle);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  transition: all 0.16s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--bg-subtle-hover);
  border-color: var(--cyan);
}

.btn-white-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  transition: background 0.16s ease;
}

.btn-white-glass:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-full {
  width: 100%;
}

/* ---------- CENTER MAIN COLUMN (APP FEED) ---------- */
.main-stage {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-2xl);
  padding: 22px 22px 34px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

/* Top Greeting Bar (Matches "Hello, Ayesha Rahman" + Bell in reference) */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.topbar-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(8, 55, 99, 0.2);
  flex-shrink: 0;
}

.topbar-greeting span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.topbar-greeting strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vip-pill-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--navy);
  box-shadow: var(--shadow-xs);
}

.vip-pill-top.is-vip {
  background: var(--green-soft);
  border-color: #B7E8C2;
  color: var(--win-text);
}

.icon-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: all 0.16s ease;
}

.icon-circle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.icon-circle-btn .notif-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  border: 1.5px solid #FFFFFF;
}

/* ---------- HERO BALANCE-STYLE CARD (Signature Logo Gradient) ---------- */
.hero-wallet-card {
  background: var(--grad-brand);
  border-radius: 24px;
  padding: 22px 22px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  margin-bottom: 18px;
}

.hero-wallet-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 187, 68, 0.34) 0%, rgba(100, 187, 68, 0) 70%);
  top: -70px;
  right: -30px;
  pointer-events: none;
}

.hero-wallet-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 200, 242, 0.25) 0%, rgba(44, 200, 242, 0) 70%);
  bottom: -65px;
  left: 35%;
  pointer-events: none;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.hero-edition-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7DF568;
  box-shadow: 0 0 0 4px rgba(125, 245, 104, 0.25);
}

.hero-chip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 5px 11px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
}

.hero-main-metric {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.hero-main-metric h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero-trend-pill {
  font-size: 11.5px;
  font-weight: 800;
  color: #D8FFCE;
  background: rgba(100, 187, 68, 0.26);
  border: 1px solid rgba(125, 245, 104, 0.35);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.hero-kabar-strip {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  background: rgba(5, 28, 52, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 11px 13px;
  backdrop-filter: blur(8px);
}

.hero-kabar-strip small {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8BE9FF;
  margin-bottom: 3px;
}

.hero-kabar-strip p {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

/* ---------- 4 CIRCULAR QUICK ACTIONS (Matches Send / Receive / Top Up / More) ---------- */
.quick-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.qa-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--text-main);
  padding: 6px 2px;
  border-radius: 16px;
  transition: transform 0.16s ease;
}

.qa-item:hover {
  transform: translateY(-2px);
}

.qa-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.18s ease;
}

.qa-item:hover .qa-circle {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  color: var(--navy-mid);
}

.qa-circle.accent-green {
  background: var(--green-soft);
  border-color: #C3ECC9;
  color: var(--win-text);
}

.qa-circle.accent-cyan {
  background: var(--cyan-soft);
  border-color: #BBE7FA;
  color: #0284C7;
}

.qa-circle svg {
  width: 22px;
  height: 22px;
}

.qa-item span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-body);
  text-align: center;
}

/* ---------- MOBILE INLINE VIP UNLOCK BAR ---------- */
.mobile-unlock-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 14px 15px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}

.mobile-unlock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.mobile-unlock-head span {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy-deep);
}

.mobile-unlock-head small {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ---------- SECTION HEADINGS ---------- */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sec-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 7px;
}

.sec-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}

.sec-action:hover {
  text-decoration: underline;
}

/* ---------- SEGMENTED PILL TABS (Matches Week / Month / Year in Reference) ---------- */
.segmented-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 5px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: var(--shadow-xs);
}

.segmented-bar::-webkit-scrollbar {
  display: none;
}

.seg-pill {
  flex: 1 0 auto;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.18s ease;
  text-align: center;
}

.seg-pill:hover {
  color: var(--navy);
}

.seg-pill.active {
  background: var(--grad-btn-primary);
  color: #FFFFFF;
  box-shadow: 0 5px 12px rgba(8, 55, 99, 0.22);
}

/* ==========================================================================
   DEDICATED API-FOOTBALL CLUB CREST MATCH CARDS
   ========================================================================== */

.sample-featured-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 18px;
  border: 1.5px solid #BBE8C4;
  box-shadow: 0 10px 26px rgba(100, 187, 68, 0.1);
  margin-bottom: 24px;
  position: relative;
}

.sample-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--green-soft);
  color: var(--win-text);
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

.bills-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bill-sheet {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.bill-sheet.unlocked {
  border-color: #AEE3FA;
}

.bill-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px dashed var(--border-strong);
  flex-wrap: wrap;
}

.bill-identity {
  display: flex;
  align-items: center;
  gap: 11px;
}

.bill-num-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--grad-btn-primary);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(8, 55, 99, 0.2);
}

.bill-sheet.unlocked .bill-num-badge {
  background: var(--grad-btn-green);
  box-shadow: 0 6px 14px rgba(72, 174, 60, 0.24);
}

.bill-identity h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.2;
}

.bill-identity span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.bill-lock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: var(--r-pill);
}

.bill-lock-pill.locked {
  background: #EDF4FB;
  color: var(--navy);
}

.bill-lock-pill.unlocked {
  background: var(--green-soft);
  color: var(--win-text);
}

/* Match Card Item */
.match-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.match-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
}

.match-card.open-crest {
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFF 100%);
  border-color: #D4E6F7;
}

.match-card.locked-mystery {
  background: #F8FBFE;
  border: 1px dashed #C7DBEE;
}

.match-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.meta-left-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pill-time {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  background: #E2EFFB;
  padding: 4px 9px;
  border-radius: var(--r-pill);
}

.pill-league {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-body);
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

.pill-market-type {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.pill-market-type.win {
  background: #E3F2FD;
  color: #0B5394;
}

.pill-market-type.ou {
  background: #E5F9FE;
  color: #0277A8;
}

.pill-market-type.hdp {
  background: #EAF9EC;
  color: #15803D;
}

.pill-conf {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy-deep);
  background: #E5F6FD;
  border: 1px solid #C0E8FA;
  padding: 4px 9px;
  border-radius: var(--r-pill);
}

/* Scoreboard Crest Grid (Home Crest | VS | Away Crest) */
.crest-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.club-col {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.club-col.away {
  flex-direction: row-reverse;
  text-align: right;
}

.club-crest-slot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #DCE8F5;
  box-shadow: 0 4px 12px rgba(8, 55, 99, 0.08);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.club-crest-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.club-crest-slot.mystery {
  background: #EDF4FB;
  border-style: dashed;
  border-color: #BFD5EA;
  color: var(--navy);
}

.club-crest-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--grad-btn-primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.club-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  word-break: break-word;
}

.club-role {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1px;
}

.vs-center-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.vs-pill {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--navy);
  background: #EAF3FC;
  border: 1px solid #D3E4F5;
  padding: 4px 9px;
  border-radius: var(--r-pill);
}

/* Confidence Mini Progress Bar (Inspired by Goals Progress Bar in Reference) */
.conf-progress-wrap {
  margin-bottom: 10px;
}

.conf-progress-track {
  height: 6px;
  border-radius: var(--r-pill);
  background: #E2ECF6;
  overflow: hidden;
}

.conf-progress-fill {
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #083763 0%, #1BA2E2 60%, #64BB44 100%);
}

/* Unlocked Pick & Reason Box */
.pick-answer-box {
  background: #FFFFFF;
  border: 1px solid #CBE7FA;
  border-left: 4px solid var(--green);
  border-radius: 13px;
  padding: 11px 13px;
}

.pick-answer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.pick-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.pick-chip {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy-deep);
  background: linear-gradient(90deg, #E5F6FD 0%, #EAF9EC 100%);
  border: 1px solid #BDE8D3;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}

.pick-reason {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.55;
}

/* Locked Pick Bar & Mystery Slot */
.locked-teaser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #EDF5FC;
  border: 1px dashed #B5D2EC;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.locked-teaser-bar button {
  color: var(--cyan);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.mystery-caption {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 7px 10px;
}

/* Bill Footer CTA */
.bill-sheet-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.bill-footer-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.bill-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Result Badges */
.res-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}

.res-pill.win {
  background: var(--win-bg);
  color: var(--win-text);
}

.res-pill.lose {
  background: var(--lose-bg);
  color: var(--lose-text);
}

/* ==========================================================================
   VIEW 2: RESULT & ANALYTICS (Matches Analytics + Recent Transactions Screen)
   ========================================================================== */

.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.kpi-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-xs);
}

.kpi-tile span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
}

.kpi-tile strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-deep);
  display: block;
  margin-top: 3px;
}

.kpi-tile.win strong {
  color: var(--win-text);
}

.kpi-tile.rate strong {
  color: var(--cyan);
}

/* Fintech Bar Chart Card (Matches Analytics Vertical Bars) */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.chart-head h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-deep);
}

.chart-head span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--win-text);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.bars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: end;
  height: 132px;
  padding-top: 16px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  height: 100%;
  justify-content: flex-end;
}

.bar-val {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--navy);
}

.bar-track {
  width: 24px;
  height: 84px;
  border-radius: var(--r-pill);
  background: #EAF2FA;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bar-fill {
  width: 100%;
  border-radius: var(--r-pill);
  background: var(--grad-bar);
  transition: height 0.4s ease;
}

.bar-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Transaction-Style Result Rows (Matches Recent Transactions in Reference) */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow-xs);
}

.tx-crest {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.tx-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tx-info {
  min-width: 0;
  flex: 1;
}

.tx-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-info span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-right {
  text-align: right;
  flex-shrink: 0;
}

.tx-right strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.tx-right.win strong {
  color: var(--win-text);
}

.tx-right.lose strong {
  color: var(--lose-text);
}

.tx-right span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   VIEW 3: VIP & QRIS (Matches My Cards + Send Money Screens)
   ========================================================================== */

.vip-virtual-card {
  background: var(--grad-card-vip);
  border-radius: 22px;
  padding: 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  margin-bottom: 16px;
}

.vip-virtual-card.is-vip {
  background: var(--grad-card-unlocked);
}

.vip-virtual-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(100, 187, 68, 0.25);
  bottom: -60px;
  right: -30px;
}

.vcard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.vcard-chip {
  width: 36px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, #F6E5A5 0%, #D9B45A 100%);
  opacity: 0.9;
}

.vcard-status {
  font-size: 21px;
  font-weight: 800;
  margin: 14px 0 4px;
  position: relative;
  z-index: 2;
}

.vcard-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.vcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.vcard-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

/* Input Code Form */
.code-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 16px;
}

.code-form-card label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.code-input-row {
  display: flex;
  gap: 8px;
}

.code-input {
  flex: 1;
  min-width: 0;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy-deep);
  outline: none;
  transition: all 0.16s ease;
}

.code-input:focus {
  background: #FFFFFF;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(27, 162, 226, 0.16);
}

.code-input::placeholder {
  text-transform: none;
  font-weight: 600;
  color: var(--text-muted);
}

.active-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: var(--win-text);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.code-chip button {
  color: var(--win-text);
  font-weight: 800;
  font-size: 13px;
}

/* QRIS Payment Panel (Embedded in VIP Tab + Modal) */
.qris-panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.qris-split {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.qris-box {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-strong);
  border-radius: 18px;
  padding: 11px;
  text-align: center;
}

.qris-box img {
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 6px 16px rgba(8, 55, 99, 0.08);
  margin-bottom: 9px;
}

.qris-merchant {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.qris-merchant small {
  display: block;
  font-weight: 600;
  color: var(--text-muted);
}

.pkg-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}

.pkg-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: #FFFFFF;
  transition: all 0.16s ease;
}

.pkg-card-btn:hover {
  border-color: var(--cyan);
}

.pkg-card-btn.selected {
  border-color: var(--navy);
  background: #EEF6FD;
  box-shadow: 0 6px 16px rgba(8, 55, 99, 0.1);
}

.pkg-card-btn strong {
  display: block;
  font-size: 13.5px;
  color: var(--navy-deep);
}

.pkg-card-btn span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.pkg-price-col {
  text-align: right;
  flex-shrink: 0;
}

.pkg-strike {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: line-through;
  line-height: 1.1;
  margin-bottom: 1px;
}

.pkg-price-col b {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
}

.pkg-save-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  background: var(--green-soft);
  color: var(--win-text);
  padding: 2px 7px;
  border-radius: var(--r-pill);
}

.bill-num-picker {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px;
  margin-bottom: 12px;
}

.bill-num-picker.show {
  display: block;
}

.bill-num-picker label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 7px;
}

.bill-num-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bpick-btn {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
}

.bpick-btn.active {
  background: var(--grad-btn-primary);
  color: #FFFFFF;
  border-color: transparent;
}

.nominal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 13px;
  margin-bottom: 12px;
}

.nominal-bar span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

.nominal-bar strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-deep);
}

.mini-steps {
  font-size: 12px;
  color: var(--text-body);
  padding-left: 16px;
  line-height: 1.6;
  margin-bottom: 13px;
}

/* ==========================================================================
   VIEW 4: PANDUAN & PROFIL (Matches Profile Screen in Reference)
   ========================================================================== */

.profile-banner {
  background: var(--grad-brand);
  border-radius: 22px;
  padding: 20px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-hero);
}

.profile-banner img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.profile-banner h3 {
  font-size: 17px;
  font-weight: 800;
}

.profile-banner p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px 16px;
  box-shadow: var(--shadow-xs);
}

.guide-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-card p {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ---------- RIGHT STICKY PANEL (DESKTOP ONLY) ---------- */
.right-dock {
  position: sticky;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

/* ---------- VIEWS & STATES ---------- */
.view-pane {
  display: none;
}

.view-pane.active {
  display: block;
}

.empty-state {
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: 20px;
  padding: 28px 18px;
  text-align: center;
}

.empty-state h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 5px;
}

.empty-state p {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto;
}

.skeleton {
  background: linear-gradient(90deg, #E5EEF7 25%, #F2F7FC 50%, #E5EEF7 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 12px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- FLOATING MOBILE BOTTOM NAV (Matches Reference 4-Icon Bottom Bar) ---------- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  z-index: 60;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  box-shadow: 0 -8px 24px rgba(8, 55, 99, 0.06);
}

.bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 14px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.16s ease;
}

.bnav-btn svg {
  width: 21px;
  height: 21px;
}

.bnav-btn.active {
  color: var(--navy);
  background: #EAF4FD;
}

/* ---------- MODALS (BOTTOM-SHEET FEEL ON MOBILE) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 37, 68, 0.56);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal-sheet {
  background: var(--bg-card);
  width: 100%;
  max-width: 680px;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 28px 64px rgba(6, 37, 68, 0.28);
  max-height: 92vh;
  overflow-y: auto;
  animation: sheetIn 0.2s ease;
}

.modal-sheet.narrow {
  max-width: 420px;
}

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

.modal-top h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-deep);
}

.modal-x {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-x:hover {
  background: #DCEBFA;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(6, 37, 68, 0.3);
  z-index: 200;
  opacity: 0;
  transition: all 0.24s ease;
  max-width: calc(100vw - 28px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: #15803D;
}

.toast.error {
  background: #DC2626;
}

.site-foot {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1140px) {
  .app-shell {
    grid-template-columns: 210px minmax(0, 1fr) 300px;
    gap: 14px;
  }
}

@media (max-width: 980px) {
  .app-frame {
    padding: 0;
    max-width: 560px;
  }

  .app-shell {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .side-rail,
  .right-dock {
    display: none;
  }

  .main-stage {
    border-radius: 0;
    border: none;
    box-shadow: none;
    min-height: 100vh;
    padding: 16px 15px 96px;
  }

  .mobile-unlock-card {
    display: block;
  }

  .bottom-nav {
    display: grid;
  }

  .toast {
    bottom: 84px;
  }
}

@media (max-width: 620px) {
  .hero-main-metric h2 {
    font-size: 23px;
  }

  .crest-matchup {
    gap: 6px;
  }

  .club-col {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .club-col.away {
    flex-direction: column;
    text-align: center;
  }

  .club-crest-slot {
    width: 46px;
    height: 46px;
  }

  .club-name {
    font-size: 12.5px;
  }

  .qris-split {
    grid-template-columns: 1fr;
  }

  .qris-box {
    max-width: 260px;
    margin: 0 auto;
  }

  .bill-sheet-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .bill-cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .bill-cta-group button {
    width: 100%;
    padding: 10px 8px;
    font-size: 11.5px;
  }
}
