/*
 * heritage.css — Modern Graphics with Classical Regional Theme
 * Desi Heritage Games Hub (Varnams Interactive)
 */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;700;800&family=Inter:wght@400;500;600;700&family=Rozha+One&family=Space+Grotesk:wght@500;700;800&display=swap');

:root {
  --bg-dark: #120e0c;
  --bg-card: rgba(26, 20, 17, 0.85);
  --bg-card-hover: rgba(38, 30, 25, 0.95);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-gold-bright: #d4af37;
  --text-main: #fcf8f2;
  --text-muted: #b8aba0;
  
  /* Traditional Channapatna Natural Dye Pigments */
  --lacquer-crimson: #c0392b;
  --lacquer-ochre: #f39c12;
  --lacquer-emerald: #16a085;
  --lacquer-ivory: #fcf3cf;
  --lacquer-wood: #8e44ad;

  --font-serif: 'Rozha One', serif;
  --font-tech: 'Chakra Petch', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(192, 57, 43, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(243, 156, 18, 0.07) 0%, transparent 40%),
    linear-gradient(rgba(18, 14, 12, 0.94), rgba(18, 14, 12, 0.94)),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 4px);
}

/* ================= 1. ARCADE TOP NAVIGATION ================= */
.arcade-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(22, 17, 14, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.brand-title-group h1 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #fff 40%, var(--border-gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-title-group p {
  font-size: 0.7rem;
  font-family: var(--font-tech);
  color: var(--text-muted);
  letter-spacing: 1px;
}

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

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(35, 27, 23, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-pill:hover {
  border-color: var(--border-gold-bright);
  background: rgba(45, 35, 30, 0.95);
  transform: translateY(-1px);
}

.hud-gold { color: #f1c40f; }
.hud-silver { color: #bdc3c7; }

.vip-badge-tag {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 4px;
}

.icon-btn {
  background: rgba(35, 27, 23, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: var(--border-gold-bright);
  transform: scale(1.05);
}

.btn-khazana {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #120e0c;
  border: none;
  font-family: var(--font-tech);
  font-weight: 800;
}

.btn-khazana:hover {
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.cross-link-btn {
  text-decoration: none;
  color: #60a5fa;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: rgba(30, 58, 138, 0.2);
  transition: all 0.2s;
}

.cross-link-btn:hover {
  background: rgba(96, 165, 250, 0.25);
}

/* ================= 2. MAIN LOBBY SECTION ================= */
.lobby-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  width: 100%;
}

.lobby-hero {
  text-align: center;
  margin-bottom: 35px;
}

.hero-royal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--border-gold-bright);
  margin-bottom: 15px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero-quick-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary-pill {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--lacquer-crimson), #962d22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.35);
  transition: all 0.2s;
}

.btn-primary-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.5);
}

.btn-secondary-pill {
  padding: 10px 24px;
  background: rgba(35, 27, 23, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 25px;
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary-pill:hover {
  border-color: var(--border-gold-bright);
  background: rgba(45, 35, 30, 0.95);
}

/* Game Catalog Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.game-select-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-select-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent, #d4af37), transparent);
}

.game-select-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-bright);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-family: var(--font-tech);
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--border-gold-bright);
}

.card-icon-sphere {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.2) 0%, rgba(0,0,0,0.4) 100%), var(--card-accent, #d4af37);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
  margin-bottom: 18px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 8px;
}

.card-tagline {
  font-size: 0.75rem;
  font-family: var(--font-tech);
  color: var(--border-gold-bright);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.card-players {
  font-size: 0.8rem;
  font-family: var(--font-tech);
  color: #bdc3c7;
}

.btn-play-trigger {
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.game-select-card:hover .btn-play-trigger {
  background: var(--border-gold-bright);
  color: #120e0c;
}

/* ================= 3. ACTIVE GAME ARENA VIEW ================= */
.game-arena-view {
  max-width: 950px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

.arena-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-back-pill {
  padding: 8px 18px;
  background: rgba(35, 27, 23, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back-pill:hover {
  background: var(--border-gold-bright);
  color: #120e0c;
}

.arena-game-header h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
}

.arena-game-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================= 4. AADU PULI AATAM BOARD ================= */
.aadu-puli-wrapper {
  background: #1c1815;
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  position: relative;
}

.game-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
  flex-wrap: wrap;
}

.tiger-pill, .goat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}

.hud-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.tiger-pill.active-turn {
  border-color: var(--lacquer-crimson);
  background: rgba(192, 57, 43, 0.2);
  box-shadow: 0 0 14px rgba(192, 57, 43, 0.4);
}

.goat-pill.active-turn {
  border-color: #f1c40f;
  background: rgba(241, 196, 15, 0.2);
  box-shadow: 0 0 14px rgba(241, 196, 15, 0.4);
}

.hud-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  display: block;
}

.hud-sub {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.board-canvas-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  margin: 0 auto;
  background: #181412;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.board-lines-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.board-path-line {
  stroke: rgba(212, 175, 55, 0.5);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.board-node-spot {
  position: absolute;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  margin-top: -23px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 30, 25, 0.95) 0%, rgba(18, 14, 12, 0.98) 100%);
  border: 2px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), inset 0 2px 4px rgba(255, 255, 255, 0.08);
}

.board-node-spot:hover {
  transform: scale(1.18);
  border-color: #f1c40f;
  box-shadow: 0 0 16px rgba(241, 196, 15, 0.6);
}

.board-node-spot.selected {
  border-color: #f1c40f;
  box-shadow: 0 0 22px rgba(241, 196, 15, 0.9), inset 0 0 10px rgba(241, 196, 15, 0.5);
  transform: scale(1.24);
}

.board-node-spot.highlight {
  border-color: #2ecc71;
  box-shadow: 0 0 16px rgba(46, 204, 113, 0.9);
}

.piece-token {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.75));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.board-node-spot:hover .piece-token {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.9));
}

.artisan-piece-svg {
  width: 44px;
  height: 44px;
  display: block;
}

.tiger-svg {
  animation: tigerBreathe 3.5s ease-in-out infinite alternate;
}

.goat-svg {
  animation: goatGentle 4s ease-in-out infinite alternate;
}

@keyframes tigerBreathe {
  0% { transform: scale(1); filter: drop-shadow(0 3px 6px rgba(179, 57, 39, 0.5)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 5px 12px rgba(230, 126, 34, 0.8)); }
}

@keyframes goatGentle {
  0% { transform: scale(1); filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5)); }
  100% { transform: scale(1.03); filter: drop-shadow(0 4px 10px rgba(241, 196, 15, 0.4)); }
}

.shield-aura-spin {
  animation: auraSpin 6s linear infinite;
  transform-origin: center;
}

@keyframes auraSpin {
  to { transform: rotate(360deg); }
}

.move-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  pointer-events: none;
  animation: dotPulse 1.2s infinite alternate;
}

@keyframes dotPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 1; }
}

.game-footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-action-pill {
  padding: 8px 16px;
  background: rgba(35, 27, 23, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action-pill:hover:not(:disabled) {
  background: var(--border-gold-bright);
  color: #120e0c;
}

.btn-action-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.diff-selector {
  display: flex;
  align-items: center;
  gap: 6px;
}

.diff-label {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.diff-pill {
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #bdc3c7;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.diff-pill.active {
  background: var(--border-gold-bright);
  color: #120e0c;
  font-weight: 800;
}

/* ================= 5. PULLI KOLAM SOLITAIRE ================= */
.kolam-solitaire-wrapper {
  background: #1c1815;
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.kolam-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hud-stat-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stat-label {
  font-size: 0.7rem;
  font-family: var(--font-tech);
  color: var(--text-muted);
  display: block;
}

.stat-val {
  font-size: 1.25rem;
  font-family: var(--font-tech);
  font-weight: 800;
  color: #fff;
}

.highlight-val {
  color: #f1c40f;
}

.kolam-board-container {
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  background: #171311;
  border-radius: 18px;
  padding: 20px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.9);
}

.kolam-grid-board {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.kolam-hole {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(35, 27, 23, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kolam-hole.invisible-hole {
  background: transparent;
  border: none;
  cursor: default;
}

.kolam-hole.center-bindu {
  border-color: rgba(241, 196, 15, 0.6);
}

.kolam-hole.center-bindu::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(241, 196, 15, 0.4);
}

.channapatna-bead {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 30%, var(--lacquer-crimson) 70%, #78281f 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  transition: transform 0.2s;
}

.kolam-hole.peg-selected .channapatna-bead {
  transform: scale(1.2);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
}

.jump-target-ring {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #2ecc71;
  box-shadow: 0 0 8px #2ecc71;
  pointer-events: none;
}

.kolam-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

/* ================= 6. KURUVI TIC-TAC-TOE ================= */
.kuruvi-ttt-wrapper {
  background: #1c1815;
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

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

.kuruvi-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kuruvi-pill.active {
  border-color: var(--border-gold-bright);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.sparrow-avatar {
  font-size: 1.5rem;
}

.sparrow-label span {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  display: block;
}

.sparrow-label small {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.kuruvi-cloth-mat {
  max-width: 400px;
  margin: 0 auto;
  background: #231b17;
  border: 3px dashed rgba(212, 175, 55, 0.5);
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.8);
}

.kuruvi-grid {
  display: grid;
  gap: 10px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.kuruvi-cell {
  aspect-ratio: 1;
  background: rgba(18, 14, 12, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kuruvi-cell:hover:not(.filled) {
  background: rgba(212, 175, 55, 0.15);
  border-color: #fff;
}

.kuruvi-cell.win-highlight {
  background: rgba(46, 204, 113, 0.25);
  border-color: #2ecc71;
  box-shadow: 0 0 16px #2ecc71;
}

.kuruvi-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ================= 7. LATTOO SIMULATOR ================= */
.lattoo-sim-wrapper {
  background: #1c1815;
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.lattoo-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.lattoo-stage {
  width: 100%;
  max-width: 520px;
  height: 380px;
  margin: 0 auto;
  background: radial-gradient(circle at center, #231b17 0%, #15110f 100%);
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

#lattoo-canvas {
  width: 100%;
  height: 100%;
}

.lattoo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* ================= 8. MODALS & POPUPS ================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  background: #1a1411;
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 26px;
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-close-modal:hover { color: #fff; }

/* Store Packs Grid */
.store-packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.pack-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.pack-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.pack-coins {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  color: #f1c40f;
  margin-bottom: 12px;
}

.btn-buy-pack {
  width: 100%;
  padding: 8px;
  background: var(--border-gold-bright);
  color: #120e0c;
  border: none;
  border-radius: 10px;
  font-family: var(--font-tech);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-buy-pack:hover {
  background: #fff;
}

.redeem-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed var(--border-gold);
  margin-bottom: 20px;
}

.redeem-input-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.redeem-input-row input {
  flex-grow: 1;
  padding: 8px 14px;
  background: #120e0c;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-tech);
  text-transform: uppercase;
}

.receipt-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--border-gold-bright);
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.rc-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.rc-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .arcade-header { padding: 10px 14px; }
  .brand-title-group h1 { font-size: 1.1rem; }
  .hud-pill { padding: 4px 10px; font-size: 0.75rem; }
  .board-canvas-stage { max-width: 340px; height: 340px; }
  .board-node-spot { width: 32px; height: 32px; margin-left: -16px; margin-top: -16px; }
  .piece-token { font-size: 1.1rem; }
}


/* ================= 9. CHOWKA BHARA (5x5 COWRIE SHELL RACE) ================= */
.chowka-bhara-wrapper {
  background: #1c1815;
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.cb-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.cb-player-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s;
}

.cb-player-pill.active {
  border-color: var(--border-gold-bright);
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.p-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  display: block;
}

.cb-player-pill small {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cb-status-center {
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px dashed var(--border-gold);
  text-align: center;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--border-gold-bright);
}

.cb-main-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.chowka-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  background: #181412;
  border: 3px solid var(--border-gold);
  border-radius: 16px;
  padding: 8px;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.9);
}

.cb-square {
  background: rgba(28, 24, 21, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1;
}

.cb-square.safe-ghar {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--border-gold-bright);
}

.ghar-cross {
  position: absolute;
  font-size: 1.6rem;
  color: rgba(212, 175, 55, 0.3);
  pointer-events: none;
}

.cb-square.center-sanctum {
  background: radial-gradient(circle, rgba(192, 57, 43, 0.4) 0%, rgba(26, 20, 17, 0.95) 100%);
  border: 2px solid #f1c40f;
}

.mandala-crown {
  font-size: 1.3rem;
  position: absolute;
}

.pawns-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.cb-pawn {
  font-size: 1.15rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
  cursor: pointer;
  transition: transform 0.2s;
}

.cb-pawn:hover {
  transform: scale(1.3);
}

.cowrie-throw-dock {
  background: rgba(26, 20, 17, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  min-width: 220px;
}

.dock-title {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--border-gold-bright);
  display: block;
  margin-bottom: 12px;
}

.cowrie-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.cowrie-shell {
  font-size: 2rem;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cowrie-shell.mouth-open {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
  transform: scale(1.15);
}

.roll-btn {
  width: 100%;
}

.movable-prompt-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  flex-wrap: wrap;
}

.movable-prompt-bar span {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: #fff;
}

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

/* ================= 10. GAME JUICE: AURA, KILLCAM & COMMENTARY ================= */
.board-canvas-stage.killcam-active,
.chowka-bhara-wrapper.killcam-shake {
  animation: screenShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes screenShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(3px, -2px, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 2px, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.ap-commentary-bar {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 6px 14px;
  text-align: center;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: #f1c40f;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.ap-commentary-bar.pop-in {
  background: rgba(192, 57, 43, 0.4);
  border-color: #f1c40f;
  transform: scale(1.02);
}

.goat-token.goat-shielded {
  position: relative;
  filter: drop-shadow(0 0 8px rgba(241, 196, 15, 0.9));
}

.shield-halo {
  position: absolute;
  top: -8px;
  right: -6px;
  font-size: 0.75rem;
  animation: pulseShield 1.6s infinite ease-in-out;
}

@keyframes pulseShield {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
}

.chanakya-btn {
  background: linear-gradient(135deg, rgba(142, 68, 173, 0.8), rgba(41, 128, 185, 0.8));
  border-color: #9b59b6;
}

/* ================= 11. SACRED RANGOLI MANDALA LINES & DIYAS ================= */
.kolam-board-container {
  position: relative;
}

.kolam-mandala-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 4;
}

.rangoli-drawn-line {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
  stroke-dasharray: 4, 2;
  animation: flourGlow 2s infinite alternate;
}

@keyframes flourGlow {
  from { stroke: rgba(255, 255, 255, 0.6); }
  to { stroke: rgba(243, 156, 18, 0.9); }
}

.diwali-diyas-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 10;
}

.diwali-diya {
  position: absolute;
  font-size: 2.2rem;
  animation: diyaFloat 1.8s infinite alternate ease-in-out;
  filter: drop-shadow(0 0 14px #f39c12);
}

.d-top { top: 8px; left: 50%; transform: translateX(-50%); }
.d-bottom { bottom: 8px; left: 50%; transform: translateX(-50%); }
.d-left { left: 8px; top: 50%; transform: translateY(-50%); }
.d-right { right: 8px; top: 50%; transform: translateY(-50%); }

@keyframes diyaFloat {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

/* ================= 12. KURUVI GOBBLE NEST & SIZES ================= */
.kuruvi-nest {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px dashed var(--border-gold);
}

.nest-lbl {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nest-slots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nest-token {
  background: rgba(35, 27, 23, 0.9);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 4px 8px;
  color: #fff;
  font-family: var(--font-tech);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.nest-token.selected {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.25);
  box-shadow: 0 0 10px #2ecc71;
  transform: scale(1.1);
}

.nest-token.sz-3 { font-size: 1.15rem; font-weight: 800; }
.nest-token.sz-2 { font-size: 0.95rem; }
.nest-token.sz-1 { font-size: 0.75rem; }

.kuruvi-piece.size-3 { font-size: 2.8rem; }
.kuruvi-piece.size-2 { font-size: 2.1rem; }
.kuruvi-piece.size-1 { font-size: 1.4rem; }

.selected-board-cell {
  box-shadow: 0 0 14px #2ecc71;
  border-color: #2ecc71;
}


/* ================= 14. MULTILEVEL CAMPAIGN & SAGA ROADMAP ================= */
.level-top-header {
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lth-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  width: fit-content;
}

.lth-pill.lth-standard {
  color: #f1c40f;
}

.lth-pill.lth-adv {
  color: #2ecc71;
}

.lth-crown {
  font-size: 1.15rem;
}

.lth-sub {
  font-size: 0.8rem;
  color: #bbb;
  font-family: var(--font-body);
}

/* Level Cleared Banner Card */
.level-complete-card {
  margin: 16px 0;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.25) 0%, rgba(241, 196, 15, 0.25) 100%);
  border: 2px solid #2ecc71;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 0 25px rgba(46, 204, 113, 0.4);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.level-complete-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 6px;
}

.level-complete-card p {
  font-family: var(--font-tech);
  font-size: 0.88rem;
  color: #eee;
  margin-bottom: 14px;
}

.lcc-stars {
  font-size: 1.8rem;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.btn-next-level {
  background: linear-gradient(135deg, #f1c40f, #e67e22);
  border: none;
  border-radius: 25px;
  color: #120e0c;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 24px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(241, 196, 15, 0.4);
  transition: all 0.2s;
}

.btn-next-level:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(241, 196, 15, 0.6);
}

.master-unlocked-txt {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  color: #f1c40f;
  font-weight: 700;
}

/* Campaign Modal Styling */
.campaign-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.campaign-level-card {
  background: rgba(30, 24, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s;
}

.campaign-level-card.is-unlocked:hover {
  border-color: var(--border-gold-bright);
  background: rgba(45, 35, 30, 0.95);
}

.campaign-level-card.is-locked {
  opacity: 0.55;
  filter: grayscale(0.5);
  cursor: not-allowed;
}

.campaign-level-card.is-standard-lvl {
  border-left: 4px solid #f1c40f;
}

.campaign-level-card.is-advanced-lvl {
  border-left: 4px solid #2ecc71;
}

.clc-left {
  flex: 1;
}

.clc-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.clc-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
}

.clc-badge {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.badge-std {
  background: rgba(241, 196, 15, 0.2);
  color: #f1c40f;
  border: 1px solid #f1c40f;
}

.badge-adv {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid #2ecc71;
}

.clc-sub {
  font-size: 0.78rem;
  color: #aaa;
  line-height: 1.35;
}

.clc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.clc-stars {
  font-size: 0.9rem;
  color: #f1c40f;
}

.btn-play-level {
  background: var(--border-gold-bright);
  color: #120e0c;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 800;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-play-level:hover:not(:disabled) {
  background: #fff;
  transform: scale(1.04);
}

.btn-play-level:disabled {
  background: #444;
  color: #888;
  cursor: not-allowed;
}

/* Extra Shrines in Chowka Bhara */
.cb-square.extra-shrine {
  background: rgba(46, 204, 113, 0.2) !important;
  border-color: #2ecc71 !important;
}

.temple-shrine-icon {
  font-size: 1.3rem;
  position: absolute;
  top: 4px;
  left: 4px;
}

/* Blitz Timer Pill */
.blitz-timer-pill {
  background: rgba(231, 76, 60, 0.25);
  border: 1px solid #e74c3c;
  color: #ff7675;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
  display: inline-block;
}

/* Classic Mode Info Tag */
.classic-mode-info-tag {
  background: rgba(241, 196, 15, 0.15);
  border: 1px dashed rgba(241, 196, 15, 0.4);
  border-radius: 10px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #f1c40f;
  margin-bottom: 12px;
  text-align: center;
}

/* ================= 15. TIGER JUMP TRAJECTORY & REWIND VISUALIZER ================= */
.tiger-jump-trajectory {
  stroke: #e74c3c;
  stroke-width: 3.5;
  stroke-dasharray: 6 4;
  animation: dashFlow 1.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(231, 76, 60, 0.8));
}

@keyframes dashFlow {
  to { stroke-dashoffset: -20; }
}

.tiger-jump-trajectory.replay-pulse {
  stroke: #f1c40f;
  stroke-width: 5;
  filter: drop-shadow(0 0 12px #f1c40f);
}

.board-node-spot.last-move-origin {
  box-shadow: 0 0 16px rgba(243, 156, 18, 0.9);
  border-color: #f39c12 !important;
}

.board-node-spot.last-move-target {
  box-shadow: 0 0 18px rgba(231, 76, 60, 0.9);
  border-color: #e74c3c !important;
}

.board-node-spot.last-move-capture-halo {
  box-shadow: 0 0 25px rgba(231, 76, 60, 1), inset 0 0 15px rgba(231, 76, 60, 0.6);
  border-color: #ff4757 !important;
  animation: capturePulse 0.9s ease-in-out infinite alternate;
}

@keyframes capturePulse {
  from { transform: translate(-50%, -50%) scale(1); }
  to { transform: translate(-50%, -50%) scale(1.2); }
}

.node-ghost-badge {
  position: absolute;
  top: -16px;
  background: rgba(243, 156, 18, 0.9);
  color: #120e0c;
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}

.node-capture-badge {
  position: absolute;
  bottom: -18px;
  background: #ff4757;
  color: #fff;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 0 8px #ff4757;
  pointer-events: none;
  animation: popIn 0.3s ease;
}

/* Replay Explanation Banner */
.replay-explanation-banner {
  background: linear-gradient(135deg, rgba(39, 29, 24, 0.95), rgba(58, 38, 28, 0.95));
  border: 1px solid var(--border-gold-bright);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reb-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.reb-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #f5f5f5;
  line-height: 1.45;
}

.btn-close-reb {
  background: none;
  border: none;
  color: #bbb;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.btn-close-reb:hover {
  color: #fff;
}

.rewind-btn {
  background: rgba(243, 156, 18, 0.15) !important;
  border-color: #f39c12 !important;
  color: #f1c40f !important;
}

.rewind-btn:hover:not(:disabled) {
  background: rgba(243, 156, 18, 0.3) !important;
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* ================= 16. MULTI-LANGUAGE RULES & VISUAL GUIDE ================= */
.rules-lang-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.btn-rules-lang {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: #ccc;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-rules-lang:hover {
  border-color: var(--border-gold-bright);
  color: #fff;
}

.btn-rules-lang.active {
  background: var(--border-gold-bright);
  color: #120e0c;
  border-color: var(--border-gold-bright);
}

/* Visual Jump Diagram */
.visual-jump-guide {
  background: rgba(20, 16, 14, 0.85);
  border: 1px solid rgba(231, 76, 60, 0.4);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 12px 0 16px 0;
}

.vjg-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #f1c40f;
  margin-bottom: 10px;
}

.vjg-diagram {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.35);
  padding: 12px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.vjg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.vjg-icon {
  font-size: 1.8rem;
}

.vjg-label {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  color: #eee;
}

.vjg-badge {
  font-family: var(--font-tech);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
}

.vjg-step.capture-step .vjg-badge {
  background: #ff4757;
  color: #fff;
}

.vjg-badge.land-badge {
  background: #2ed573;
  color: #120e0c;
}

.vjg-arrow {
  color: #e74c3c;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  font-weight: 800;
}

.vjg-note {
  font-size: 0.8rem;
  color: #bbb;
  line-height: 1.4;
  margin: 0;
}
