body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(to bottom, #1a0a1f, #3b1c3f, #661a66);
  color: #ffffff;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content{
  background: linear-gradient(
    to bottom,
    #4b1c4f 0%,
    #2b0a2f 60%,
    #120212 100%
  );

  padding: 0;
  border-radius: 25px;
  width: 95%;
  max-width: 1300px;
  height: 95vh;
  box-shadow: 0 0 40px #ff69b4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.close{
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 28px;
  cursor: pointer;
  color: white;
  z-index: 10;
}

.popup-content iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 15px;
}

header {
  text-align: center;
  padding: 3rem 1rem;
  background: rgba(0,0,0,0.5);
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin: 0;
  letter-spacing: 2px;
}

header p {
  font-weight: 300;
  margin-top: 0.5rem;
}

nav a {
  color: #e6b3ff;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #d46cff;
}

.container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(0,0,0,0.45);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.show-list {
  list-style: none;
  padding: 0;
}

.show-list li {
  margin-bottom: 18px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: 0.3s;
  position: relative;
}

.cardStatusTag {
  position: absolute;
  top: -8px;
  left: -6px;
}

.show-list li:hover {
  background: rgba(255,105,180,0.25);
  transform: translateX(6px);
}

.show-list a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: #c77dff;
  transition: 0.3s;
}

.show-list a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #ff69b4;
}

.container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: #EAE6F5;
  text-shadow: 0 0 8px rgba(255,105,180,0.6), 0 0 20px rgba(255,105,180,0.4);
  text-align: center;
  margin-bottom: 30px;
}

.show-links {
  text-align: center;
  margin-bottom: 45px;
  font-size: 18px;
  font-weight: 500;
}

.show-links a {
  color: #5a1a6f;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 22px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg,#e6d6ff,#caa8ff);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow:
    0 0 10px rgba(202,168,255,0.8),
    inset 0 0 6px rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.show-links a:hover {
  color: #ff69b4;
  transform: translateY(-2px);
  background: linear-gradient(135deg,#efdfff,#d6b8ff);
  box-shadow:
    0 0 14px #ff9ad5,
    0 0 25px #caa8ff;
}

.comingTag {
  background: #82EEFD;
  color: #2b0a2f;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  margin-right: 5px;
  font-weight: 600;
  box-shadow: 0 0 6px rgba(130,238,253,0.7);
}
.airingTag {
  background: #6BFFB0;
  color: #06351c;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  margin-right: 5px;
  font-weight: 600;
  box-shadow: 0 0 4px rgba(107,255,176,0.6);
}
.cancelTag {
  background: #ff4d6d;
  color: white;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  margin-right: 5px;
  box-shadow: 0 0 6px rgba(255,77,109,0.6);
}

.coupleBlock {
  margin-top: 8px;
}

.coupleTag {
  display: inline-block;
  margin: 2px;
  padding: 3px 9px;
  border-radius: 12px;
  background: #2b0a2f;
  border: 1px solid #ffd966;
  color: #ffd966;
  text-decoration: none;
  font-size: 12px;
  transition: .2s;
}
.coupleTag:hover { box-shadow: 0 0 4px #ffd966; }

.sideCoupleTag {
  display: inline-block;
  margin: 2px;
  padding: 3px 9px;
  border-radius: 12px;
  background: #2b0a2f;
  border: 1px solid #82EEFD;
  color: #82EEFD;
  text-decoration: none;
  font-size: 12px;
  transition: .2s;
}
.sideCoupleTag:hover { box-shadow: 0 0 4px #82EEFD; }

.coupleBtn {
  background: #2b0a2f;
  border: 1px solid #ffd966;
  padding: 3px 8px;
  margin-top: 4px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 13px;
  color: #ffd966;
  transition: .2s;
}
.coupleBtn:hover { background: #ff69b4; color: white; border-color: #ff69b4; }

.linkedBtn  { color: #ff6b6b; border-color: #ff6b6b; }
.linkedBtn:hover  { box-shadow: 0 0 6px #ff6b6b; background: #2b0a2f; color: #ff6b6b; }
.seasonsBtn { color: #ffd966; border-color: #ffd966; }
.seasonsBtn:hover { box-shadow: 0 0 6px #ffd966; background: #2b0a2f; color: #ffd966; }
.universeBtn { color: #82EEFD; border-color: #82EEFD; }
.universeBtn:hover { box-shadow: 0 0 6px #82EEFD; background: #2b0a2f; color: #82EEFD; }

.coupleList {
  display: none;
  margin-top: 5px;
  font-size: 13px;
}

.linkedTag {
  display: inline-block;
  margin: 2px;
  padding: 3px 9px;
  border-radius: 12px;
  background: #2b0a2f;
  border: 1px solid #ff9ad5;
  color: #ff9ad5;
  text-decoration: none;
  font-size: 12px;
  transition: .2s;
}
.linkedTag:hover { box-shadow: 0 0 6px #ff9ad5; color: #fff; }

/* ======================== COMPANY A-Z INDEX PANEL ======================== */
.company-index-btn {
  position: fixed;
  right: 0;
  top: 15px;
  z-index: 2000;
  background: #2b0a2f;
  border: 2px solid #82EEFD;
  border-right: none;
  color: #82EEFD;
  padding: 10px 14px;
  border-radius: 12px 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(130,238,253,0.5);
  transition: 0.2s;
}
.company-index-btn:hover {
  background: #82EEFD;
  color: #2b0a2f;
  box-shadow: 0 0 14px #82EEFD;
}

.company-index-panel {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  height: 100vh;
  width: 320px;
  max-width: 85vw;
  background: linear-gradient(to bottom, #4b1c4f 0%, #2b0a2f 60%, #120212 100%);
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 2500;
  overflow-y: auto;
}
.company-index-panel.open {
  transform: translateX(0);
}
.company-index-panel-inner {
  padding: 20px 18px 40px;
  position: relative;
}
.company-index-close {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 26px;
  color: white;
  cursor: pointer;
}
.company-index-title {
  font-family: 'Playfair Display', serif;
  color: #EAE6F5;
  text-align: center;
  font-size: 1.4rem;
  margin: 6px 0 16px;
  text-shadow: 0 0 8px rgba(255,105,180,0.6), 0 0 20px rgba(255,105,180,0.4);
}
.company-index-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}
.company-index-letterBtn {
  background: #2b0a2f;
  border: 1px solid #82EEFD;
  color: #82EEFD;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.company-index-letterBtn:hover {
  background: #82EEFD;
  color: #2b0a2f;
  box-shadow: 0 0 8px #82EEFD;
}
.company-index-letterBtn.active {
  background: #ff69b4;
  border-color: #ff69b4;
  color: white;
  box-shadow: 0 0 10px #ff69b4;
}
.company-index-letterBtn.empty {
  opacity: 0.3;
  cursor: default;
  border-color: rgba(130,238,253,0.3);
  color: rgba(130,238,253,0.3);
}
.company-index-letterBtn.empty:hover {
  background: none;
  box-shadow: none;
  color: rgba(130,238,253,0.3);
}
.company-index-results {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 14px;
}
.company-index-heading {
  font-family: 'Playfair Display', serif;
  color: #ff69b4;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 10px;
}
.company-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.company-index-list li {
  margin-bottom: 8px;
}
.company-index-list a {
  display: block;
  padding: 8px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  color: #c77dff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s;
}
.company-index-list a:hover {
  background: rgba(255,105,180,0.25);
  color: #ffffff;
  text-shadow: 0 0 6px #ff69b4;
}
.company-index-empty {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-style: italic;
}

@media screen and (max-width: 480px) {
  .company-index-panel {
    width: 90vw;
  }
}