@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400&display=swap');

:root {
  --bg: #1c140b;
  --bg-card: #2b1d0e;
  --accent: #d97b29;
  --accent-light: #f2a65a;
  --text: #f3e9d8;
  --text-dim: #b8a98e;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

button, input {
  font-family: inherit;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  min-height: 100%;
}

body {
  display: flex;
  justify-content: center;
  padding: 24px 16px 48px;
  min-height: 100vh;
  min-height: 100dvh;
}

.page {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bottom-block {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.info-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.back-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.back-btn svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.info-intro {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 14px;
  margin: 0 0 30px;
}

.player-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 24px 0 10px;
}

h1 {
  color: #c27702;
  font-size: 25px;
  font-weight: 400;
  line-height: 25px;
  margin: 0 0 30px;
}

.number-badge {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 400;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.player-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.play-btn {
  flex: none;
  appearance: none;
  border: none;
  background: var(--accent);
  color: #1c140b;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.play-btn:active {
  transform: scale(0.94);
}

.play-btn svg {
  width: 22px;
  height: 22px;
}

.progress-row {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.time {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--text-dim);
  min-width: 34px;
  text-align: center;
}

.menu-wrap {
  position: relative;
  flex: none;
}

.menu-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-btn svg {
  width: 22px;
  height: 22px;
}

.dropdown-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  max-width: 90vw;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  z-index: 20;
}

.dropdown-menu.open {
  display: flex;
}

.dropdown-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background 0.2s ease;
  z-index: 15;
}

.menu-backdrop.active {
  background: rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.info-value {
  font-size: 15px;
  line-height: 1.4;
}

.motto-value {
  font-style: italic;
  font-size: 17px;
  color: var(--accent-light);
}

.dropdown-menu .more-info {
  width: 100%;
  font-size: 12px;
}

input[type="range"] {
  -webkit-appearance: none;
  flex: none;
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: var(--accent-light);
  cursor: pointer;
}

.map-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-top: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.more-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--accent-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  border: 1px solid var(--accent-light);
  border-radius: 8px;
  padding: 10px 18px;
  transition: background 0.15s ease, color 0.15s ease;
}

.more-info:hover {
  background: var(--accent-light);
  color: var(--bg);
}

.page-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.footer-logo {
  height: 80px;
  width: auto;
  opacity: 0.85;
}
