body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: 'Montserrat', sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

p::selection,
h1::selection,
h2::selection,
h3::selection,
h4::selection,
h5::selection,
h6::selection,
div::selection {
  color: #ff2c2c;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 15, 15, 1);
}
::-webkit-scrollbar-thumb {
  background: rgba(30, 30, 30, 1);
  border-radius: 30px 0 0 30px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.logo {
  width: 90%;
  max-width: 400px;
  height: auto;
  z-index: -11;
}

@media (min-width: 768px) { .logo { width: 70%; } }
@media (min-width: 992px) { .logo { width: 50%; } }

.container {
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
}

.dropdown {
  background: rgba(30, 30, 30, 0.6);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 12px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}

.dropdown-header .title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 1.5px #ff2c2c;
}

.arrow {
  width: 20px;
  height: 20px;
  fill: #fff;
  stroke: #fff;
  transition: transform 0.3s ease;
}

.dropdown.open .arrow {
  transform: rotate(90deg);
}

.dropdown-window {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(20,20,20,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content {
  padding: 16px 20px;
  color: white;
}

.episode-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.episode-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(40,40,40,0.5);
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.episode-row:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(2px);
}

.episode-title { color: #fff; font-size: 15px; }
.episode-runtime { color: grey; font-size: 14px; }


@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 24%, 55% { opacity: 0.4; }
}

.dropdown.open .dropdown-header {
  animation: flicker 0.2s infinite;
}

@media (max-width: 768px) {
  .dropdown-header .title { font-size: 1rem; }
  .episode-title { font-size: 14px; }
  .episode-runtime { font-size: 13px; }
}

@media (max-width: 480px) {
  .dropdown-header .title { font-size: 0.95rem; }
  .episode-title { font-size: 13px; }
  .episode-runtime { font-size: 12px; }
}
