@import url('assets/styles/rules.css');
@import url('assets/styles/streaks.css');
@import url('assets/styles/points.css');
@import url('assets/styles/leaderboard.css');

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
  /* Support for iOS safe areas - use fill-available to avoid address bar issues */
  height: 100vh;
  height: -webkit-fill-available;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000000;
  font-family: 'korolev', sans-serif;
  overflow: hidden;
  position: fixed;
  /* Support for iOS safe areas */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'korolev', sans-serif;
  position: fixed;
  top: 0;
  left: 0;
}

#game-container {
  width: 100%;
  height: 100%;
  font-family: 'korolev', sans-serif;
}

#game-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  font-family: 'korolev', sans-serif;
}

.popup-container {
  background: #ffffff;
  font-family: 'korolev', sans-serif;
  color: #001769;
}

.main-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F44FE;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 32px;
}

.section-label {
  font-size: 16px;
  font-weight: 700;
  margin: 32px 0 16px;
}

.section-row {
  background: rgba(0, 23, 105, 0.05);
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
