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

:root {
  --purple: #6C5CE7;
  --yellow: #FFEAA7;
  --bg: #2D3436;
  --cyan: #00CEC9;
}

body.r3-body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: #dfe6e9;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Inter', sans-serif; font-weight: 600; }

.r3-header {
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(108,92,231,0.4);
  padding: 12px 20px;
}

.r3-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.r3-logo { color: var(--purple); text-decoration: none; font-weight: 600; font-size: 1.2rem; }
.r3-nav { display: flex; gap: 16px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.r3-nav a { color: #b2bec3; text-decoration: none; font-size: 0.9rem; }
.r3-nav a:hover { color: var(--cyan); }

.r3-main { max-width: 1100px; margin: 0 auto; padding: 24px 20px 80px; }

.r3-h1-row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.r3-h1-row h1 { margin: 0 0 0 20px; font-size: 1.2rem; color: var(--yellow); }
.r3-h1-row .site-subtitle { font-size: 16px; color: var(--cyan); font-weight: 400; }

.r3-player {
  text-align: center;
  padding: 40px 20px;
  background: radial-gradient(circle at center, rgba(108,92,231,0.3) 0%, transparent 70%);
  border-radius: 50%;
  max-width: 320px;
  margin: 0 auto 32px;
  position: relative;
}

.r3-player-ring {
  width: 160px;
  height: 160px;
  border: 4px solid var(--purple);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--yellow);
}

.r3-wave {
  height: 60px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  margin-bottom: 24px;
}

.r3-wave-bar {
  width: 4px;
  background: var(--cyan);
  border-radius: 2px;
  animation: r3-wave 0.8s ease-in-out infinite alternate;
}

@keyframes r3-wave {
  from { height: 8px; }
  to { height: 40px; }
}

.r3-wave-bar:nth-child(2) { animation-delay: 0.1s; }
.r3-wave-bar:nth-child(3) { animation-delay: 0.2s; }
.r3-wave-bar:nth-child(4) { animation-delay: 0.3s; }
.r3-wave-bar:nth-child(5) { animation-delay: 0.4s; }
.r3-wave-bar:nth-child(6) { animation-delay: 0.5s; }
.r3-wave-bar:nth-child(7) { animation-delay: 0.4s; }
.r3-wave-bar:nth-child(8) { animation-delay: 0.3s; }

.r3-layout { display: grid; grid-template-columns: 1fr 260px; gap: 24px; }

.r3-episode {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
  border-left: 3px solid transparent;
}

.r3-episode:hover { border-left-color: var(--purple); background: rgba(108,92,231,0.15); }
.r3-episode-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #636e72; }
.r3-episode-title { font-weight: 600; color: var(--yellow); font-size: 0.95rem; }
.r3-episode-meta { font-size: 0.8rem; color: #636e72; margin-top: 4px; }

.r3-voice-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(108,92,231,0.4);
}

.r3-stats {
  background: rgba(0,0,0,0.3);
  padding: 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-top: 16px;
}

.r3-panel { background: rgba(0,0,0,0.2); padding: 16px; border-radius: 8px; margin-bottom: 16px; }

.r3-footer {
  background: #1e272e;
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
  color: #636e72;
  line-height: 2;
  width: 100%;
}

.r3-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.r3-footer p {
  text-align: center;
  margin: 5px 0;
}

.r3-footer a { color: var(--cyan); }

.r3-body .match_filter_item.active a { background: var(--purple) !important; color: #fff !important; }
.r3-body .zb-area_btn.start .live { color: var(--cyan) !important; }

@media (max-width: 768px) { .r3-layout { grid-template-columns: 1fr; } }
