/* LinguaReel Product Showcase Styles — Modern Dark / Cinema Grade */

.showcase-panel {
  position: relative;
  margin: 18px 0 22px;
  padding: 24px 28px;
  background: radial-gradient(circle at 85% 15%, rgba(65, 232, 193, 0.12), transparent 42%),
              radial-gradient(circle at 15% 85%, rgba(139, 108, 255, 0.08), transparent 40%),
              linear-gradient(135deg, rgba(14, 20, 32, 0.96), rgba(10, 15, 25, 0.94));
  border: 1px solid rgba(65, 232, 193, 0.22);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.showcase-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.85;
}

.showcase-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.showcase-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(65, 232, 193, 0.12);
  border: 1px solid rgba(65, 232, 193, 0.32);
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.showcase-badge i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}

.showcase-drama-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-size: 11px;
}

.showcase-drama-pill strong {
  color: #fff;
  font-weight: 700;
}

.showcase-drama-pill em {
  font-style: normal;
  color: var(--cyan);
  font-size: 10px;
}

.showcase-title-area h3 {
  margin: 4px 0 6px;
  font-size: 21px;
  letter-spacing: -0.5px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-title-area p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  max-width: 860px;
}

/* 3-card Showcase Grid (Side-by-side) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(65, 232, 193, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(65, 232, 193, 0.16);
}

/* Card Thumbnail & Play Overlay */
.showcase-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #05080e;
  overflow: hidden;
}

.showcase-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.showcase-card:hover .showcase-thumb-img {
  transform: scale(1.05);
  filter: brightness(0.85);
}

.showcase-ep-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(10, 15, 26, 0.88);
  border: 1px solid rgba(65, 232, 193, 0.35);
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.showcase-duration {
  position: absolute;
  bottom: 9px;
  right: 9px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}

.showcase-card:hover .showcase-overlay {
  opacity: 1;
}

.showcase-play-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #05100d;
  display: grid;
  place-items: center;
  font-size: 19px;
  padding-left: 3px;
  box-shadow: 0 0 28px rgba(65, 232, 193, 0.75);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.showcase-card:hover .showcase-play-ring {
  transform: scale(1);
}

/* Card Body */
.showcase-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-card-title {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
}

.showcase-card-desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  flex: 1;
}

.showcase-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.showcase-tag-item {
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a0aec0;
}

.showcase-tag-item.highlight {
  background: rgba(65, 232, 193, 0.09);
  border-color: rgba(65, 232, 193, 0.3);
  color: var(--cyan);
}

.showcase-tag-item.purple {
  background: rgba(139, 108, 255, 0.09);
  border-color: rgba(139, 108, 255, 0.3);
  color: #bfa8ff;
}

/* Card Action Button */
.showcase-play-btn {
  width: 100%;
  height: 37px;
  border: 1px solid rgba(65, 232, 193, 0.35);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(65, 232, 193, 0.14), rgba(65, 232, 193, 0.04));
  color: var(--cyan);
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-play-btn:hover {
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: #06110e;
  border-color: var(--cyan);
  box-shadow: 0 4px 18px rgba(65, 232, 193, 0.35);
}

/* Cinema Modal Styles — 2-Column Vertical Drama Theater */
.showcase-modal-dialog {
  width: min(920px, 95vw);
  background: #0b101b;
  border: 1px solid rgba(65, 232, 193, 0.28);
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 45px rgba(65, 232, 193, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  max-height: 92vh;
}

.showcase-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  background: rgba(14, 20, 32, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.showcase-modal-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-modal-title-box strong {
  font-size: 15px;
  color: #fff;
}

.showcase-modal-content-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  padding: 20px 24px;
  overflow-y: auto;
  align-items: start;
}

.showcase-player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 68vh;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-player-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  outline: none;
}

.showcase-modal-side {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.showcase-ep-desc-box {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.showcase-ep-pill {
  display: inline-block;
  color: var(--cyan);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

#showcaseModalDesc {
  color: #cbd5e1;
  font-size: 11.5px;
  line-height: 1.55;
  margin: 0;
}

.showcase-ep-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-ep-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.showcase-ep-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(65, 232, 193, 0.25);
}

.showcase-ep-tab.active {
  background: rgba(65, 232, 193, 0.1);
  border-color: var(--cyan);
  color: #fff;
  box-shadow: 0 0 16px rgba(65, 232, 193, 0.14);
}

.showcase-ep-tab strong {
  display: block;
  font-size: 12px;
  color: #fff;
}

.showcase-ep-tab.active strong {
  color: var(--cyan);
}

.showcase-ep-tab small {
  display: block;
  font-size: 9.5px;
  opacity: 0.75;
  margin-top: 2px;
}

.showcase-ep-tab>span {
  font-size: 12px;
  color: var(--cyan);
  opacity: 0.8;
}

.showcase-feature-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-note-item {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
}

.showcase-note-item b {
  color: #e2e8f0;
  display: block;
  margin-bottom: 2px;
}

.showcase-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}

.showcase-modal-actions a {
  color: var(--cyan);
  font-size: 11px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.showcase-modal-actions a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .showcase-modal-content-grid {
    grid-template-columns: 1fr;
  }
  .showcase-player-box {
    max-height: 52vh;
    width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
