.custom-accordion {
  max-width: 900px;
  margin: 70px auto;
  font-family: 'Segoe UI', sans-serif;
}

.accordion-item {
  margin-bottom: 26px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.12);
  transition: transform 0.3s ease;
}

.accordion-item:hover {
  transform: scale(1.01);
}

.accordion-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(30,30,30,0.9), rgba(10,10,10,0.95));
  color: #f5f5f5;
  font-size: 18px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.4s cubic-bezier(.2,.8,.2,1);
  position: relative;
  text-align: center;
}

.accordion-title:hover {
  box-shadow: inset 0 0 0 1px rgba(255,215,0,0.25);
}

.accordion-title:hover,
.accordion-title:focus {
  color: #f5f5f5 !important;
}

.accordion-thumb img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.35);
}

.accordion-text {
  width: 100%;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: none !important;
}

.accordion-title::after {
  content: '⌄';
  font-size: 22px;
  color: #ffd700;
  position: absolute;
  right: 24px;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}

.accordion-title.active::after {
  transform: rotate(180deg);
}

/* Hide thumbnail when open */
.accordion-title.active > .accordion-thumb {
  display: none !important;
}

.accordion-title + hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 0;
}

.accordion-content {
  background: linear-gradient(180deg, rgba(12,12,12,0.9), rgba(5,5,5,0.95));
  color: #ddd;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.9s cubic-bezier(.2,.8,.2,1), padding 0.7s ease;
  padding: 0 24px;
}

.accordion-content.active {
  padding: 26px 24px 30px;
}

/* Full width cinematic image */
.accordion-content img {
  width: 100%;
  border-radius: 14px;
  margin: 18px 0 20px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.7);
  opacity: 0;
  transform: scale(1.05);
  animation: fadeCinematic 1s ease forwards;
}

@keyframes fadeCinematic {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.video-link-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.allowed-link {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #b89600);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: all 0.35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 6px 24px rgba(255,215,0,0.35);
}

.allowed-link:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(255,215,0,0.55);
}

.no-access {
  color: #ff7b7b;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
  opacity: 0.9;
}

/* Mobile */
@media screen and (max-width: 600px) {
  .accordion-title {
    flex-direction: column;
    align-items: center;
    padding: 18px;
  }

  .accordion-thumb img {
    width: 100%;
    height: auto;
  }

  .accordion-title::after {
    top: 20px;
  }
}

