/* ===== HOME GAME FEATURE ===== */
.home-game-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1500px;
  margin: 18px auto 0;
  padding: 0 60px 38px;
}

.home-game-copy,
.home-game-preview {
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.045));
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.home-game-copy {
  padding: 26px;
}

.home-game-copy > span,
.games-kicker,
.games-feature-copy > span,
.games-coming-grid span,
.daily-challenge-card span,
.game-how-card > span,
.game-back-link,
.game-event-topline span:first-child,
.game-result-panel > span,
.game-final-panel > span,
.money-game-learn span {
  color: #4ade80;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-game-copy h2 {
  color: #fff;
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 9px 0 10px;
}

.home-game-copy p {
  color: #9ca3af;
  line-height: 1.62;
  margin: 0;
}

.home-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.home-game-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 22px;
  overflow: hidden;
}

.home-game-preview::before {
  content: "";
  position: absolute;
  inset: auto -15% -42% 12%;
  height: 160px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  transform: rotate(-5deg);
}

.home-game-stat,
.home-game-event {
  position: relative;
  z-index: 1;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-game-stat span,
.home-game-event span {
  display: block;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 700;
}

.home-game-stat strong {
  display: block;
  color: #fff;
  font-size: 1.5rem;
  margin-top: 6px;
}

.home-game-event {
  grid-column: 1 / -1;
}

.home-game-event strong {
  display: block;
  color: #fff;
  margin: 8px 0;
}

.home-game-event p {
  color: #9ca3af;
  line-height: 1.5;
  margin: 0;
}

/* ===== GAMES ===== */
.games-hero,
.money-game-shell,
.money-game-learn {
  max-width: 1500px;
  margin: 0 auto;
  padding-left: 60px;
  padding-right: 60px;
}

.games-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.12fr) minmax(300px, 0.88fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 76px;
  padding-bottom: 34px;
}

.games-lobby-hero {
  overflow: hidden;
}

.games-lobby-hero::before {
  content: "";
  position: absolute;
  inset: 44px 60px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.5), rgba(96, 165, 250, 0.35), transparent);
}

.games-hero h1,
.money-game-hero h1 {
  color: #fff;
  font-size: 3rem;
  line-height: 1.05;
  margin: 10px 0 14px;
}

.games-hero p,
.money-game-hero p {
  color: #9ca3af;
  line-height: 1.65;
  max-width: 760px;
  margin: 0;
}

.games-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.games-lobby-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.games-lobby-meta span {
  color: #d1d5db;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.games-score-panel {
  display: grid;
  gap: 12px;
}

.games-console {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 34px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.games-console::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #60a5fa, #f59e0b);
  opacity: 0.9;
}

.games-console-top,
.games-console-event,
.games-console-stats div {
  position: relative;
  z-index: 1;
}

.games-console-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.games-console-top span,
.games-console-event span,
.games-console-stats span {
  color: #9ca3af;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.games-console-top strong {
  color: #fff;
  font-size: 1.15rem;
}

.games-path-preview {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 78px;
  padding: 10px 0 4px;
}

.games-path-preview i {
  display: block;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.games-path-preview i:nth-child(2n) {
  height: 60px;
}

.games-path-preview i.is-done {
  background: linear-gradient(180deg, #4ade80, #16a34a);
}

.games-path-preview i.is-live {
  height: 72px;
  background: linear-gradient(180deg, #fbbf24, #f97316);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.14);
}

.games-console-event {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.games-console-event strong {
  display: block;
  color: #fff;
  margin: 7px 0 5px;
}

.games-console-event p {
  font-size: 0.92rem;
}

.games-console-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 6px;
}

.games-console-stats div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.games-console-stats strong {
  display: block;
  color: #fff;
  margin-top: 5px;
}

.games-score-panel div,
.game-meter-card,
.game-health-card,
.game-event-card,
.game-result-panel,
.game-final-panel,
.game-history-card,
.daily-challenge-card {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.games-score-panel div {
  padding: 18px;
}

.games-score-panel strong,
.daily-challenge-card strong {
  display: block;
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 5px;
}

.games-score-panel span,
.daily-challenge-card p {
  color: #9ca3af;
  line-height: 1.5;
}

.games-wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 60px 90px;
}

.games-feature-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.045));
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.games-feature-card--playable {
  position: relative;
  overflow: hidden;
}

.games-feature-card--playable::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.055) 48%, transparent 58% 100%);
  transform: translateX(-80%);
  animation: game-sweep 7s ease-in-out infinite;
}

.games-feature-copy h2,
.money-game-learn h2 {
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 9px 0 12px;
}

.games-feature-copy p,
.games-feature-copy li,
.games-coming-grid p,
.money-game-learn p {
  color: #9ca3af;
  line-height: 1.6;
}

.games-feature-copy ul {
  margin: 16px 0 20px;
  padding-left: 20px;
}

.games-feature-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 260px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.game-mini-card,
.game-mini-token {
  align-self: start;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-mini-card span,
.game-mini-token span {
  display: block;
  color: #9ca3af;
  font-size: 0.76rem;
  font-weight: 700;
}

.game-mini-card strong,
.game-mini-token strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  margin-top: 7px;
}

.game-mini-token--cash {
  border-color: rgba(34, 197, 94, 0.28);
}

.game-mini-token--debt {
  margin-top: 34px;
  border-color: rgba(248, 113, 113, 0.28);
}

.game-mini-token--invest {
  margin-top: 68px;
  border-color: rgba(96, 165, 250, 0.28);
}

.game-mini-card--debt {
  margin-top: 34px;
}

.game-mini-card--invest {
  margin-top: 68px;
}

.game-mini-path {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: end;
  min-height: 90px;
}

.game-mini-path i {
  display: block;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #4ade80, #16a34a);
}

.game-mini-path i:nth-child(1) { height: 28%; }
.game-mini-path i:nth-child(2) { height: 46%; }
.game-mini-path i:nth-child(3) { height: 38%; }
.game-mini-path i:nth-child(4) { height: 62%; }
.game-mini-path i:nth-child(5) { height: 82%; }
.game-mini-path i:nth-child(6) { height: 70%; background: linear-gradient(180deg, #60a5fa, #2563eb); }

.games-coming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.games-coming-grid article {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.games-coming-grid h3 {
  color: #fff;
  margin: 8px 0 8px;
}

.money-path-page {
  background:
    linear-gradient(135deg, #070b14 0%, #101827 46%, #0b1220 100%);
}

.money-game-shell {
  padding-top: 56px;
  padding-bottom: 24px;
}

.money-game-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 22px;
}

.game-back-link {
  display: inline-flex;
  text-decoration: none;
  margin-bottom: 12px;
}

.game-back-link:hover {
  color: #86efac;
}

.daily-challenge-card {
  padding: 20px;
}

.daily-challenge-card--game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 14px;
  align-items: center;
}

.daily-challenge-dial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  align-items: end;
  height: 72px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.daily-challenge-dial i {
  display: block;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #4ade80, #16a34a);
}

.daily-challenge-dial i:nth-child(1) { height: 42%; }
.daily-challenge-dial i:nth-child(2) { height: 78%; background: linear-gradient(180deg, #60a5fa, #2563eb); }
.daily-challenge-dial i:nth-child(3) { height: 58%; background: linear-gradient(180deg, #fbbf24, #f97316); }

.money-game-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.money-game-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.game-meter-card,
.game-player-card,
.game-health-card {
  padding: 18px;
}

.game-player-card {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.13), rgba(34, 197, 94, 0.07));
  border: 1px solid rgba(251, 191, 36, 0.18);
}

.game-player-card span {
  display: block;
  color: #fcd34d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-player-card strong {
  display: block;
  color: #fff;
  font-size: 2rem;
  line-height: 1.05;
  margin: 8px 0 6px;
}

.game-player-card p {
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}

.game-meter-card > span,
.game-health-card span,
.game-stat-grid span,
.game-history-header span,
.game-final-grid span,
.game-choice-card span {
  display: block;
  color: #9ca3af;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.game-meter-card strong {
  display: block;
  color: #fff;
  font-size: 1.85rem;
  margin: 8px 0 12px;
}

.game-progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.game-progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  transition: width 0.25s ease;
}

.game-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.game-stat-grid div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.game-stat-grid strong,
.game-health-card strong,
.game-final-grid strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-top: 6px;
}

.game-health-card {
  display: grid;
  gap: 13px;
}

.game-stat-grid div,
.game-health-card div {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-stat-grid div:hover,
.game-health-card div:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.22);
}

.money-game-board {
  display: grid;
  gap: 14px;
}

.game-how-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.26fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.game-how-card p {
  color: #9ca3af;
  line-height: 1.55;
  margin: 0;
}

.game-how-card p + p {
  margin-top: 6px;
}

.game-how-card strong {
  color: #fff;
}

.game-month-track {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.game-month-track i {
  position: relative;
  display: block;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-month-track i::after {
  content: attr(data-month);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #9ca3af;
  font-size: 0.72rem;
  font-weight: 900;
}

.game-month-track i.is-done {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.75), rgba(22, 163, 74, 0.75));
  border-color: rgba(74, 222, 128, 0.35);
}

.game-month-track i.is-current {
  background: linear-gradient(180deg, #fbbf24, #f97316);
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.12);
  animation: game-current-pulse 1.8s ease-in-out infinite;
}

.game-month-track i.is-done::after,
.game-month-track i.is-current::after {
  color: #08111f;
}

.game-event-card,
.game-result-panel,
.game-final-panel,
.game-history-card {
  padding: 22px;
}

.game-event-card,
.game-result-panel {
  position: relative;
  overflow: hidden;
}

.game-event-card::before,
.game-result-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-110%);
}

.money-game-board.is-fresh .game-event-card::before,
.money-game-board.is-result .game-result-panel::before {
  animation: game-sweep 1.15s ease-out;
}

.game-event-topline,
.game-history-header,
.game-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.game-event-topline span:last-child,
.game-history-header strong {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 800;
}

.game-event-card h2,
.game-final-panel h2 {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 12px 0 10px;
}

.game-event-stage {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.game-event-icon {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(96, 165, 250, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-event-icon::before,
.game-event-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #4ade80;
}

.game-event-icon::before {
  width: 22px;
  height: 6px;
  left: 13px;
  top: 21px;
  transform: rotate(-25deg);
}

.game-event-icon::after {
  width: 6px;
  height: 22px;
  left: 22px;
  top: 13px;
  transform: rotate(-25deg);
}

.game-event-icon[data-kind="bill"] {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.24), rgba(251, 191, 36, 0.1));
}

.game-event-icon[data-kind="bill"]::before,
.game-event-icon[data-kind="bill"]::after,
.game-event-icon[data-kind="stress"]::before,
.game-event-icon[data-kind="stress"]::after {
  background: #fb7185;
}

.game-event-icon[data-kind="market"] {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(34, 197, 94, 0.1));
}

.game-event-icon[data-kind="market"]::before,
.game-event-icon[data-kind="market"]::after {
  background: #60a5fa;
}

.game-event-risk {
  color: #d1d5db;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.game-event-card p,
.game-result-panel p,
.game-final-panel p {
  color: #9ca3af;
  line-height: 1.62;
  margin: 0;
}

.game-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.game-choice-card {
  min-height: 170px;
  text-align: left;
  cursor: pointer;
  padding: 18px;
  border-radius: 18px;
  font: inherit;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.game-choice-card::before {
  content: attr(data-choice-mark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 32px;
  padding: 0 10px;
  border-radius: 12px;
  color: #07111f;
  background: #4ade80;
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.game-choice-card[data-choice-type="debt"]::before {
  background: #fbbf24;
}

.game-choice-card[data-choice-type="invest"]::before {
  background: #60a5fa;
}

.game-choice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(59, 130, 246, 0.06));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
}

.game-choice-card:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
}

.game-choice-card:disabled:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(59, 130, 246, 0.04));
}

.game-choice-card strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 10px 0 9px;
}

.game-choice-card p {
  color: #9ca3af;
  line-height: 1.5;
  margin: 0;
}

.game-choice-card em {
  display: block;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.45;
  margin-top: 12px;
}

.game-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 10px;
}

.game-result-grid div {
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.game-result-grid span {
  display: block;
  color: #9ca3af;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.game-result-grid strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
  margin-top: 5px;
}

.game-result-grid strong.is-good {
  color: #86efac;
}

.game-result-grid strong.is-bad {
  color: #fca5a5;
}

.game-choice-picked {
  display: block;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 8px 0 10px;
}

.game-impact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 10px;
}

.game-impact-strip span {
  color: #d1d5db;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.game-result-note {
  font-size: 0.9rem;
  margin-top: 8px !important;
}

.game-next-btn {
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  color: #04130a;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.game-next-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.18);
}

.game-next-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.game-final-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.game-final-grid div {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.game-history-bars {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 150px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.game-history-bars i {
  flex: 1;
  min-width: 8px;
  border-radius: 8px 8px 0 0;
  background: #22c55e;
  animation: game-bar-rise 0.35s ease both;
}

.game-history-bars i.is-negative {
  background: #f97316;
}

.money-game-learn {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.72fr);
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 80px;
}

.money-game-learn article,
.money-game-learn > div {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.money-game-learn > div {
  display: grid;
  gap: 10px;
}

.money-game-learn a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #86efac;
  text-decoration: none;
  font-weight: 800;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.money-game-learn a::after {
  content: "Open";
  color: #9ca3af;
  font-size: 0.72rem;
}

@keyframes game-sweep {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

@keyframes game-current-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes game-bar-rise {
  from { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.45; }
  to { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

@media (max-width: 1000px) {
  .home-game-feature,
  .games-hero,
  .games-feature-card,
  .money-game-hero,
  .money-game-layout,
  .money-game-learn {
    grid-template-columns: 1fr;
  }

  .games-console-stats,
  .games-coming-grid,
  .game-choice-grid,
  .game-result-grid {
    grid-template-columns: 1fr;
  }

  .money-game-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .home-game-feature,
  .games-hero,
  .games-wrap,
  .money-game-shell,
  .money-game-learn {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-game-feature {
    padding-bottom: 28px;
  }

  .games-hero h1,
  .money-game-hero h1 {
    font-size: 2.2rem;
  }

  .games-feature-board,
  .home-game-preview,
  .daily-challenge-card--game,
  .game-how-card,
  .game-final-grid,
  .game-stat-grid {
    grid-template-columns: 1fr;
  }

  .game-month-track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
