@import './utils.css';
@import './range.css';
@import './select.css';
@import './screens.css';
@import './logo.css';
@import './cards.css';
@import './game-screen.css';
@import './settings-panel.css';
@import './game-over.css';
@import './leaderboard.css';
@import './lobby.css';
@import './buttons.css';
@import './background.css';
@import './fonts.css';
/* @import './debug.css'; */

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #47206e;
  --bg-secondary: #4a2272;
  --accent: #f5c518;
  --accent-dark: #d4a010;
  --card-bg: #ffffff;
  --text-light: #ffffff;
  --text-dark: #333333;
  /* --ring-purple: #7b3fa0; */
  --ring-purple: #a85dea;
  --ring-yellow: #f5c518;
  --success: #4caf50;
  --error: #f44336;
  --overlay: rgba(0, 0, 0, 0.6);
}

html {
  height: 100%;
}

body {
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template: 1fr / 1fr;

  background-color: #7846c5;
  color: var(--text-light);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* ===== Flash overlay for correct/wrong ===== */
.flash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

/* ===== Responsive ===== */
@media (max-height: 680px) {
  .hud-label {
    font-size: 9px;
  }
  .hud-value {
    font-size: 12px;
  }
  .game-area {
    gap: 10px;
  }
}

@media (max-height: 580px) {
  .hud-item {
    padding: 2px;
  }
  .hud-value {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .stats {
    gap: 10px;
  }

  .stat {
    padding: 14px 10px;
  }

  .stat-icon {
    font-size: 34px;
  }

  .stat-value {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }
}

.app-version {
  /* position: fixed;
  right: 0;
  bottom: 0;
  padding: 10px;
  white-space: pre-wrap;
  text-align: right;
  z-index: 1; */
  opacity: 0.5;
  cursor: not-allowed;
}
