/* =====================================================
   TRIVIA AUDIO PAGE
===================================================== */

.audio-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:28px;
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(216,179,90,.28), transparent 34%),
    linear-gradient(135deg, #fff8e8, #e8ddc4);
  color:#102819;
}

.audio-page *{
  box-sizing:border-box;
}

.audio-card{
  width:min(520px, 100%);
  text-align:center;
  padding:34px 28px;
  border-radius:30px;
  background:
    linear-gradient(180deg, rgba(255,248,231,.96), rgba(244,226,178,.88));
  border:1px solid rgba(216,179,90,.5);
  box-shadow:
    0 28px 70px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.75);
}

.audio-kicker{
  margin:0 0 10px;
  color:#9b742b;
  font-size:.75rem;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.audio-card h1{
  margin:0;
  color:#123f2a;
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(2rem, 6vw, 3.4rem);
  line-height:1;
}

.audio-subtitle{
  max-width:380px;
  margin:16px auto 24px;
  color:#263b2b;
  line-height:1.6;
}

.now-playing{
  margin:0 auto 24px;
  padding:18px;
  border-radius:22px;
  background:#123f2a;
  color:#fff8dc;
  box-shadow:0 16px 34px rgba(18,63,42,.24);
}

.now-playing span{
  display:block;
  margin-bottom:6px;
  color:#d8b35a;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.now-playing strong{
  display:block;
  font-size:1.15rem;
}

.audio-controls{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:12px;
  margin-bottom:22px;
}

.audio-controls button{
  border:0;
  border-radius:16px;
  padding:13px 12px;
  background:#123f2a;
  color:#fff8dc;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(0,0,0,.14);
}

.audio-controls button:hover{
  transform:translateY(-1px);
  background:#185437;
}

.volume-control{
  display:block;
  text-align:left;
}

.volume-control span{
  display:block;
  margin-bottom:10px;
  color:#123f2a;
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.volume-control input{
  width:100%;
}

.audio-note{
  margin-top:18px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.5);
  color:#5c481c;
  font-size:.88rem;
  line-height:1.45;
}

/* =====================================================
   TRIVIA AUDIO WIDGET
===================================================== */

.trivia-audio-widget{
  margin-top:18px;
  padding:16px;
  border-radius:22px;
  background:
    linear-gradient(180deg, rgba(255,248,231,.94), rgba(244,226,178,.84));
  border:1px solid rgba(216,179,90,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 12px 30px rgba(20,63,43,.10);
}

.trivia-audio-widget *{
  box-sizing:border-box;
}

.trivia-audio-head{
  margin-bottom:14px;
  padding:13px 14px;
  border-radius:16px;
  background:linear-gradient(135deg, #123f2a, #0d3020);
  color:#fff8dc;
}

.trivia-audio-head span{
  display:block;
  margin-bottom:5px;
  color:#d8b35a;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.trivia-audio-head strong{
  display:block;
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.05rem;
  line-height:1.1;
}

.trivia-track-name{
  margin-top:10px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.10);
  color:#ffe6a4;
  font-size:.78rem;
  font-weight:800;
  line-height:1.2;
  text-align:center;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

.trivia-audio-controls{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
  margin-bottom:14px;
}

.trivia-audio-controls button{
  min-width:0;
  border:0;
  border-radius:14px;
  padding:10px 6px;
  background:#123f2a;
  color:#fff8dc;
  font-size:.72rem;
  font-weight:900;
  cursor:pointer;
}

.trivia-audio-controls button:hover{
  background:#185437;
}

.trivia-audio-volume{
  display:block;
}

.trivia-audio-volume span{
  display:block;
  margin-bottom:8px;
  color:#123f2a;
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.trivia-audio-volume input{
  width:100%;
}