﻿/* ═══════════════════════════════
   VARIABLES
═══════════════════════════════ */
:root {
  --bg:           #09090b;
  --card:         #18181b;
  --card-2:       #1f1f23;
  --border:       #27272a;
  --border-2:     #3f3f46;
  --fg:           #fafafa;
  --fg-muted:     #a1a1aa;
  --fg-dim:       #71717a;
  --amber:        #f59e0b;
  --amber-light:  #fbbf24;
  --amber-bg:     rgba(245, 158, 11, 0.12);
  --blue:         #3b82f6;
  --blue-light:   #60a5fa;
  --blue-bg:      rgba(59, 130, 246, 0.12);
  --green:        #22c55e;
  --green-light:  #4ade80;
  --green-bg:     rgba(34, 197, 94, 0.12);
  --purple:       #a855f7;
  --red:          #ef4444;
  --slate:        #64748b;
  --radius:       10px;
  --radius-sm:    6px;
}

/* ═══════════════════════════════
   RESET & BASE
═══════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

input, select {
  font-family: inherit;
  color: inherit;
}

/* ═══════════════════════════════
   LOADING
═══════════════════════════════ */
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 16px;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ═══════════════════════════════
   MODE SELECTION
═══════════════════════════════ */
.mode-selection {
  max-width: 700px;
  margin: 0 auto;
  padding: 48px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 100vh;
}

.mode-header {
  text-align: center;
}

.mode-title {
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.title-accent {
  color: var(--amber);
}

.mode-subtitle {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.mode-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 520px) {
  .mode-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.mode-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.mode-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.mode-card h2 {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.mode-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
  line-height: 1.5;
  flex: 1;
}

.mode-tag {
  display: inline-block;
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mode-tag--amber  { background: var(--amber-bg);  color: var(--amber-light);  }
.mode-tag--blue   { background: var(--blue-bg);   color: var(--blue-light);   }
.mode-tag--green  { background: var(--green-bg);  color: var(--green-light);  }

.mode-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  width: 100%;
  text-align: center;
}

.mode-btn--amber      { background: var(--amber); }
.mode-btn--blue       { background: var(--blue);  }
.mode-btn--green      { background: var(--green); color: #000; }
.mode-btn--green-hard {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green-light);
}
.mode-btn--green:hover,
.mode-btn--green-hard:hover {
  opacity: 0.85;
}

/* Cap mode card */
.mode-card--cap {
  cursor: default;
}

.cap-btns {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.cap-btns .mode-btn {
  flex: 1;
  text-align: center;
  cursor: pointer;
  padding: 9px 6px;
}

@media (min-width: 520px) {
  .mode-card--cap {
    grid-column: span 2;
  }
}

/* How to play */
.how-to {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.how-to summary {
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.how-to summary::-webkit-details-marker { display: none; }

.chevron {
  font-size: 0.75rem;
  transition: transform 0.15s;
}

.how-to[open] .chevron {
  transform: rotate(180deg);
}

.how-to-content {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--border);
}

.how-to-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 520px) {
  .how-to-grid { grid-template-columns: 1fr 1fr; }
}

.how-to-content h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.how-to-content p,
.how-to-content li {
  font-size: 0.83rem;
  color: var(--fg-muted);
  font-weight: 500;
  line-height: 1.55;
  margin-top: 6px;
}

.how-to-content ul {
  list-style: disc;
  padding-left: 16px;
}

.mode-footer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--fg-dim);
  font-weight: 500;
  margin-top: auto;
  padding-top: 8px;
}

/* ═══════════════════════════════
   GAME LAYOUT
═══════════════════════════════ */
.game-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 10;
  gap: 8px;
}

.back-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}

.back-btn:hover {
  border-color: var(--border-2);
  color: var(--fg);
}

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

.restart-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
}
.restart-btn:hover {
  border-color: var(--border-2);
  color: var(--fg);
}

.round-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.ovr-preview {
  font-size: 0.8rem;
  font-weight: 800;
}

.mode-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

.mode-badge--amber { background: var(--amber-bg);  color: var(--amber-light);  }
.mode-badge--blue  { background: var(--blue-bg);   color: var(--blue-light);   }
.mode-badge--green { background: var(--green-bg);  color: var(--green-light);  }

.game-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 720px) {
  .game-body {
    flex-direction: row;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
  }

  .game-left {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 57px;
  }

  .game-right {
    flex: 1;
    min-width: 0;
  }
}

/* ═══════════════════════════════
   COURT (roster slots)
═══════════════════════════════ */
.court {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.court-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin-bottom: 4px;
}

.court-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color 0.15s, background 0.15s;
}

.court-slot--placeable {
  border-color: var(--amber);
  background: rgba(245, 158, 11, 0.06);
  cursor: pointer;
  animation: pulse-border 1.2s ease-in-out infinite;
}

.court-slot--placeable:hover {
  background: rgba(245, 158, 11, 0.12);
}

.court-slot--ineligible {
  opacity: 0.4;
}

@keyframes pulse-border {
  0%, 100% { border-color: var(--amber); }
  50%       { border-color: rgba(245, 158, 11, 0.4); }
}

.slot-pos {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--card-2);
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.slot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.slot-name {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slot-meta {
  font-size: 0.72rem;
  color: var(--fg-muted);
  font-weight: 600;
}

.slot-stats {
  font-size: 0.68rem;
  color: var(--fg-dim);
  font-weight: 500;
}

.slot-empty {
  font-size: 0.82rem;
  color: var(--fg-dim);
  font-weight: 500;
}

.slot-prompt {
  font-size: 0.7rem;
  color: var(--amber);
  font-weight: 700;
}

/* ═══════════════════════════════
   SPINNER
═══════════════════════════════ */
.spinner-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.spinner-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.spinner-boxes {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.spinner-box {
  width: 130px;
  background: var(--card-2);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: border-color 0.15s;
}

.spinner-box--locked {
  border-color: var(--border-2);
}

.spinner-box-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

.spinner-box-value {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  min-height: 1.2em;
  text-align: center;
}

.spinner-hint {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.spin-start-btn {
  margin-top: 24px;
  padding: 14px 32px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
}
.spin-start-btn:hover { background: #16a34a; transform: translateY(-1px); }
.spin-start-btn:active { transform: translateY(0); }

.skip-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* ═══════════════════════════════
   PLAYER POOL
═══════════════════════════════ */
.pool-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pool-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.pool-era {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--card-2);
  padding: 3px 8px;
  border-radius: 4px;
}

.pool-skips {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.pool-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pos-tabs {
  display: flex;
  gap: 4px;
}

.pos-tab {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  background: transparent;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
}

.pos-tab:hover { border-color: var(--border-2); color: var(--fg); }

.pos-tab--active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.pool-search {
  flex: 1;
  min-width: 120px;
  height: 32px;
  padding: 0 10px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s;
}

.pool-search:focus { border-color: var(--border-2); }
.pool-search::placeholder { color: var(--fg-dim); }

.pool-sort {
  height: 32px;
  padding: 0 8px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg-muted);
  outline: none;
  cursor: pointer;
}

.pool-count {
  font-size: 0.75rem;
  color: var(--fg-dim);
  font-weight: 500;
}

.place-hint {
  font-size: 0.78rem;
  color: var(--amber);
  font-weight: 700;
  padding: 8px 12px;
  background: var(--amber-bg);
  border-radius: var(--radius-sm);
  animation: pulse-opacity 1.2s ease-in-out infinite;
}

@keyframes pulse-opacity {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.player-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 60vh;
  overflow-y: auto;
  padding-bottom: 20px;
}

@media (min-width: 720px) {
  .player-list {
    max-height: calc(100vh - 220px);
  }
}

.player-list::-webkit-scrollbar { width: 4px; }
.player-list::-webkit-scrollbar-track { background: transparent; }
.player-list::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 2px; }

.player-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.1s, background 0.1s;
}

.player-card:hover {
  border-color: var(--border-2);
  background: var(--card-2);
}

.player-card--selected {
  border-color: var(--amber) !important;
  background: var(--amber-bg) !important;
}

.player-card--no-fit {
  opacity: 0.38;
}

.player-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.player-name {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-pos {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.player-team {
  font-size: 0.7rem;
  color: var(--fg-dim);
  font-weight: 500;
}

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

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
}

.stat-val {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.stat-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Price badge (cap mode) */
.price-badge {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--green);
  color: #000;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  align-self: center;
}

.price-badge--expensive {
  background: var(--card-2);
  color: var(--fg-dim);
}

/* Budget display (header, cap mode) */
.budget-preview {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green-light);
}

/* Budget line in results */
.result-budget {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 600;
}

/* Roster price chip */
.roster-price {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--green-light);
  background: var(--green-bg);
  padding: 1px 6px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 2px;
  width: fit-content;
}

.pool-empty {
  text-align: center;
  padding: 32px 0;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* ═══════════════════════════════
   MOBILE PLACEMENT PANEL
═══════════════════════════════ */
.mplace-panel {
  background: var(--amber-bg);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mplace-title {
  font-size: 0.8rem;
  color: var(--amber-light);
  font-weight: 600;
}

.mplace-positions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.mplace-btn {
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--fg-dim);
  cursor: not-allowed;
  transition: background 0.1s, border-color 0.1s;
}

.mplace-btn span {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.7;
}

.mplace-btn--active {
  background: var(--amber);
  border-color: var(--amber);
  color: #000;
  cursor: pointer;
}

.mplace-btn--active:hover {
  background: var(--amber-light);
}

/* ═══════════════════════════════
   SKIP BUTTON
═══════════════════════════════ */
.skip-btn {
  display: block;
  width: 100%;
  padding: 9px 14px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg-muted);
  text-align: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.skip-btn:hover {
  border-color: var(--border-2);
  color: var(--fg);
  background: var(--card);
}

.skip-btn--sm {
  width: auto;
  padding: 5px 10px;
  font-size: 0.72rem;
}

/* ═══════════════════════════════
   RESULTS / COMPLETE
═══════════════════════════════ */
.complete-screen {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.result-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.result-label-top {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

.result-record {
  font-size: clamp(4rem, 14vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.result-sep {
  color: var(--fg-dim);
  font-weight: 300;
  margin: 0 6px;
}

.result-grade {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.result-grade-letter {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.result-grade-label {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.result-ovr {
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-weight: 600;
}

.roster-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roster-summary h3 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  margin-bottom: 4px;
}

.roster-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.roster-row:last-child { border-bottom: none; }

.roster-pos {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--card-2);
  color: var(--fg-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  flex-shrink: 0;
}

.roster-player {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.roster-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.roster-meta {
  font-size: 0.72rem;
  color: var(--fg-muted);
  font-weight: 600;
}

.roster-stats {
  font-size: 0.68rem;
  color: var(--fg-dim);
  font-weight: 500;
}

.roster-empty {
  font-size: 0.82rem;
  color: var(--fg-dim);
}

.complete-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  transition: opacity 0.15s, background 0.15s;
}

.btn--primary {
  background: var(--amber);
  color: #000;
}

.btn--primary:hover { opacity: 0.88; }

.btn--ghost {
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--fg-muted);
}

.btn--ghost:hover {
  border-color: var(--border-2);
  color: var(--fg);
}

.spin-start-btn {
  margin-top: 24px;
  padding: 14px 32px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
}
.spin-start-btn:hover { background: #16a34a; transform: translateY(-1px); }
.spin-start-btn:active { transform: translateY(0); }
