/* ==========================================================================
   CAPITAL CARTEL: Modern Economic Board Game Stylesheet
   Zero External Dependencies — Responsive 2D Grid, Neon Accents, Kinetic Juice
   ========================================================================== */

:root {
  --bg-deep: #070a12;
  --bg-surface: #0e1424;
  --bg-card: #151d33;
  --bg-card-hover: #1c2744;
  --border-dim: #1e2a47;
  --border-bright: #2d3e66;
  --text-main: #f0f4fc;
  --text-muted: #8a9bb8;
  --text-dim: #546482;

  --neon-cyan: #00f0ff;
  --neon-green: #00ff9d;
  --neon-amber: #ffb700;
  --neon-crimson: #ff2a6d;
  --neon-purple: #9d4edd;

  --player-1: #00f0ff;
  --player-2: #00ff9d;
  --player-3: #ffb700;
  --player-4: #ff2a6d;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-glow-cyan: 0 0 15px rgba(0, 240, 255, 0.35);
  --shadow-glow-crimson: 0 0 20px rgba(255, 42, 109, 0.45);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Squares Interactive Canvas Background (React Bits) */
.squares-canvas-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: auto;
  z-index: 0;
  opacity: 0.35;
}

/* App Wrapper */
.game-container {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  z-index: 1;
}

/* Header Bar */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(14, 20, 36, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-dim);
  z-index: 20;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-glyph {
  font-size: 22px;
  color: var(--neon-cyan);
  text-shadow: var(--shadow-glow-cyan);
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
}

.brand-tagline {
  display: block;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  font-weight: 600;
}

/* Dynamic Market State Ticker */
.market-ticker {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(21, 29, 51, 0.7);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dim);
  max-width: 650px;
  overflow: hidden;
}

.ticker-badge {
  background: var(--neon-purple);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.ticker-text {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* Buttons */
button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: all 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), #00a6ff);
  color: #040814;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  letter-spacing: 0.5px;
}
.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-bright);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: #fff;
}

.btn-danger {
  background: rgba(255, 42, 109, 0.15);
  color: var(--neon-crimson);
  border: 1px solid rgba(255, 42, 109, 0.35);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}
.btn-danger:hover {
  background: rgba(255, 42, 109, 0.25);
  border-color: var(--neon-crimson);
}

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--text-main);
}
.btn-icon:hover {
  border-color: var(--border-bright);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 11px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: var(--radius-md);
}

/* Main Game Layout Arena */
.game-arena {
  display: flex;
  flex: 1;
  padding: 16px;
  gap: 16px;
  max-width: 1540px;
  margin: 0 auto;
  width: 100%;
}

/* Left Board Section (Square Aspect Ratio) */
.board-wrapper {
  position: relative;
  flex: 1.5;
  aspect-ratio: 1 / 1;
  max-width: 820px;
  max-height: 820px;
  background: var(--bg-surface);
  border: 2px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
}

/* 8x8 Perimeter Board Grid */
.board-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, 1fr) 1.4fr;
  grid-template-rows: 1.4fr repeat(6, 1fr) 1.4fr;
  width: 100%;
  height: 100%;
  gap: 4px;
}

/* Tile Design */
.board-tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px;
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.board-tile:hover {
  border-color: var(--border-bright);
  z-index: 5;
}

.board-tile.active-landed {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.tile-color-bar {
  height: 6px;
  border-radius: 3px;
  width: 100%;
  margin-bottom: 2px;
}

.tile-name {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.tile-price {
  font-size: 9px;
  font-weight: 800;
  color: var(--neon-green);
}

.tile-badge {
  font-size: 8px;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* Corner Tiles Special Styling */
.corner-tile {
  background: #11182c;
  border-color: var(--border-bright);
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.corner-tile .corner-icon {
  font-size: 20px;
}

.corner-tile .corner-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.corner-tile .corner-sub {
  font-size: 8px;
  color: var(--neon-cyan);
}

/* Ownership & Building Indicators */
.owner-indicator {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
}

.building-pips {
  display: flex;
  gap: 2px;
  position: absolute;
  top: 3px;
  right: 3px;
}

.pip {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--neon-green);
}

.pip.hotel {
  background: var(--neon-crimson);
  width: 7px;
  height: 7px;
}

/* Player Tokens on Board */
.tile-tokens-container {
  position: absolute;
  bottom: 2px;
  right: 2px;
  display: flex;
  gap: 2px;
  z-index: 10;
}

.player-token {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  font-size: 8px;
  font-weight: 800;
  display: grid;
  place-items: center;
  color: #000;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Center Stage Deck */
.board-center-deck {
  position: absolute;
  top: calc(100% * 1.4 / (1.4 + 6 + 1.4) + 4px);
  left: calc(100% * 1.4 / (1.4 + 6 + 1.4) + 4px);
  width: calc(100% * 6 / (1.4 + 6 + 1.4) - 8px);
  height: calc(100% * 6 / (1.4 + 6 + 1.4) - 8px);
  background: radial-gradient(circle at center, rgba(17, 24, 44, 0.96), rgba(9, 13, 24, 0.98));
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 8;
  overflow: hidden;
}

.center-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.deck-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.fiscal-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-dim);
}

.quarter-label {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 1px;
  font-weight: 700;
}

.quarter-val {
  font-size: 11px;
  color: var(--neon-cyan);
  font-weight: 800;
}

.active-player-banner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  color: #fff;
}

.turn-owner {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.turn-sub {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}

/* Dice Arena */
.dice-arena {
  display: flex;
  gap: 16px;
  margin: 6px 0;
}

.die-cube {
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, #18223c, #101729);
  border: 2px solid var(--border-bright);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--neon-cyan);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.die-cube.rolling {
  animation: diceRollAnim 0.35s infinite;
}

@keyframes diceRollAnim {
  0% { transform: rotate(0deg) scale(0.95); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(0.95); }
}

/* Dual-Die Agency Selector */
.dual-die-selector {
  width: 100%;
  animation: fadeIn 0.25s ease-out;
}

.selector-prompt {
  font-size: 11px;
  color: var(--neon-amber);
  font-weight: 600;
  margin-bottom: 8px;
}

.choice-cards {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
}

.choice-card {
  flex: 1;
  max-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.choice-card:hover {
  border-color: var(--neon-cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow-cyan);
}

.choice-stride {
  font-size: 13px;
  font-weight: 800;
  color: var(--neon-cyan);
}

.choice-tactical {
  font-size: 10px;
  font-weight: 700;
  color: var(--neon-green);
}

/* Tile Action Card in Center Deck */
.tile-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 14px;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scaleIn 0.2s ease-out;
}

.action-card-header {
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 6px;
}

.action-card-title {
  font-size: 14px;
  font-weight: 800;
}

.action-card-subtitle {
  font-size: 10px;
  color: var(--text-muted);
}

.action-card-body {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-main);
}

.action-card-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Right Sidebar Telemetry */
.sidebar-telemetry {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 6px;
}

.section-header h3 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.win-condition-pill {
  font-size: 9px;
  color: var(--neon-amber);
  background: rgba(255, 183, 0, 0.12);
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.badge-pulse {
  font-size: 8px;
  color: var(--neon-green);
  font-weight: 800;
  letter-spacing: 1px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Players Dossier Cards */
.players-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.player-card.active-turn {
  border-color: var(--neon-cyan);
  background: #19243f;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.player-card-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #000;
}

.p-name {
  font-size: 12px;
  font-weight: 700;
  display: block;
}

.p-role {
  font-size: 9px;
  color: var(--text-dim);
}

.player-card-stats {
  text-align: right;
}

.p-cash {
  font-size: 13px;
  font-weight: 800;
  color: var(--neon-green);
  display: block;
}

.p-networth {
  font-size: 9px;
  color: var(--text-muted);
}

/* Property Tray */
.portfolio-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 120px;
  overflow-y: auto;
}

.deed-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--bg-card);
  border-left: 3px solid var(--neon-cyan);
  color: var(--text-main);
  white-space: nowrap;
}

.empty-tray-text {
  font-size: 10px;
  color: var(--text-dim);
  font-style: italic;
  padding: 6px 0;
}

/* Audit Log Stream */
.ledger-section {
  flex: 1;
  min-height: 160px;
}

.audit-log-stream {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
}

.log-entry {
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 3px;
}

.log-entry .log-time {
  color: var(--text-dim);
  margin-right: 4px;
}

.log-entry.log-critical {
  color: var(--neon-crimson);
  font-weight: 700;
}

.log-entry.log-positive {
  color: var(--neon-green);
}

.log-entry.log-event {
  color: var(--neon-amber);
}

/* Floating Cash / Screen Shake Kinetics */
.screen-shake {
  animation: screenShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes screenShake {
  0% { transform: translate(0, 0); }
  15% { transform: translate(-8px, 6px); }
  30% { transform: translate(8px, -6px); }
  45% { transform: translate(-6px, -4px); }
  60% { transform: translate(6px, 4px); }
  75% { transform: translate(-3px, 2px); }
  100% { transform: translate(0, 0); }
}

.fx-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 15;
}

.floating-cash {
  position: absolute;
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  animation: floatFadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.floating-cash.gain {
  color: var(--neon-green);
}

.floating-cash.loss {
  color: var(--neon-crimson);
}

@keyframes floatFadeUp {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.7);
  }
  20% {
    opacity: 1;
    transform: translateY(-10px) scale(1.15);
  }
  80% {
    opacity: 1;
    transform: translateY(-28px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0.9);
  }
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 10px;
}

.modal-header h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.btn-close {
  background: none;
  font-size: 20px;
  color: var(--text-dim);
}
.btn-close:hover {
  color: #fff;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
}

.rule-block h4 {
  font-size: 12px;
  color: var(--neon-cyan);
  margin-bottom: 4px;
}

.rule-block p {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-dim);
  padding-top: 12px;
}

/* Victory Modal Specifics */
.victory-window {
  text-align: center;
  border-color: var(--neon-amber);
  box-shadow: 0 0 40px rgba(255, 183, 0, 0.25);
}

.trophy-display {
  font-size: 48px;
  margin: 10px 0;
  animation: bounce 1.2s infinite;
}

.final-standings {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.standing-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .game-arena {
    flex-direction: column;
    align-items: center;
  }
  .board-wrapper {
    width: 100%;
    max-width: 600px;
  }
  .sidebar-telemetry {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 600px) {
  .app-header {
    padding: 8px 12px;
  }
  .market-ticker {
    display: none;
  }
  .board-wrapper {
    padding: 4px;
    border-radius: var(--radius-sm);
  }
  .board-grid {
    gap: 2px;
  }
  .tile-name {
    font-size: 7px;
  }
  .tile-price {
    font-size: 7px;
  }
  .corner-tile .corner-icon {
    font-size: 14px;
  }
  .corner-tile .corner-title {
    font-size: 8px;
  }
  .die-cube {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* ==========================================================================
   REACT BITS UI ELEMENTS (CSS Animations & Interactive Effects)
   ========================================================================== */

/* 1. React Bits: ShinyText */
.shiny-text {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.3) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shinyShimmer 3.5s infinite;
  display: inline-block;
}

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

/* 2. React Bits: StarBorder Animated Button */
.star-border-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: transparent;
  border: none;
  cursor: pointer;
}

.star-border-btn .star-bg-bottom {
  position: absolute;
  width: 300%;
  height: 60%;
  opacity: 0.8;
  bottom: -10px;
  right: -250%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--neon-cyan), transparent 25%);
  animation: starMovementBottom 4s infinite linear;
  z-index: 1;
}

.star-border-btn .star-bg-top {
  position: absolute;
  width: 300%;
  height: 60%;
  opacity: 0.8;
  top: -10px;
  left: -250%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--neon-cyan), transparent 25%);
  animation: starMovementTop 4s infinite linear;
  z-index: 1;
}

.star-border-btn .star-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #101930, #0c1222);
  color: var(--neon-cyan);
  font-weight: 800;
  padding: 12px 24px;
  border-radius: calc(var(--radius-md) - 1px);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.star-border-btn:hover .star-content {
  background: linear-gradient(135deg, #162242, #10172c);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

@keyframes starMovementBottom {
  0% { transform: translate(0%, 0%); opacity: 1; }
  100% { transform: translate(-100%, 0%); opacity: 0; }
}

@keyframes starMovementTop {
  0% { transform: translate(0%, 0%); opacity: 1; }
  100% { transform: translate(100%, 0%); opacity: 0; }
}

/* 3. React Bits: SpotlightCard Glow */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-glow {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* 4. React Bits: Decrypted Text Scramble */
.decrypted-scramble {
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.5);
}

