:root {
  --bg: #f7f2e9;
  --accent: #0b4f6c;
  --accent-2: #f05d23;
  --text: #1b1b1b;
  --card: #ffffff;
  --shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--text);
  background: radial-gradient(circle at top, #fff7e6 0%, #f2ebe0 40%, #e8dfd1 100%);
  min-height: 100vh;
}

.screen {
  min-height: 100vh;
  padding: 32px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.home {
  padding-top: 24px;
  justify-content: flex-start;
}

.logo {
  width: 180px;
  height: auto;
  margin: 0 auto 4px;
  display: block;
}

.title {
  font-size: 32px;
  margin: 0;
  text-align: center;
}

.subtitle {
  text-align: center;
  font-size: 18px;
  margin: 6px 0 10px;
}

.lang-buttons {
  display: grid;
  gap: 16px;
  margin-top: 6px;
}

.lang-btn {
  border: none;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 22px 16px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
}

.flag-img {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.lang-text {
  font-weight: 700;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 0;
}

.back-link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

.lang-chip {
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 1px;
}

.player-screen {
  padding: 16px 0 28px;
}

.carousel {
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: auto;
  overflow-x: hidden;
  gap: 14px;
  padding: 12px 14px 20px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card {
  padding: 18px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0;
  font-size: 24px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--accent-2);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress {
  width: 100%;
}

.time {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.nav-btn {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
}

.list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}

.list li {
  padding: 6px 8px;
  background: #f3ede3;
  border-radius: 10px;
  font-size: 15px;
}

@media (min-width: 640px) {
  .screen {
    max-width: 520px;
    margin: 0 auto;
  }
  .player-screen {
    max-width: 640px;
    margin: 0 auto;
  }
}
