/* =====================================================
   ARIYAH & NERO SERIES HUB
   Save this file as: css/ariyah-hub.css
   ===================================================== */

.ariyah-page {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 215, 0, 0.15), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(130, 70, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #10051f 0%, #1b0d32 48%, #07020d 100%);
  color: #fff;
  overflow-x: hidden;
}

.ariyah-hub {
  max-width: 1180px;
  margin: 0 auto;
  padding: 35px 18px 60px;
}

.ariyah-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 35px;
  align-items: center;
  min-height: 560px;
  padding: 38px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(34, 12, 61, 0.92), rgba(9, 2, 18, 0.94)),
    radial-gradient(circle at center, rgba(255, 215, 0, 0.10), transparent 45%);
  box-shadow: 0 0 55px rgba(92, 31, 168, 0.45);
  overflow: hidden;
}

.ariyah-copy,
.ariyah-art-card,
.book-panel,
.extras-grid article {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: #f7c948;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}

.ariyah-copy h1 {
  margin: 8px 0 0;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
}

.ariyah-copy h2 {
  color: #f7c948;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  margin: 14px 0 18px;
}

.series-description {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e8dcff;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.glow-btn {
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glow-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 32px rgba(255, 215, 0, 0.38);
}

.ariyah-art-card {
  min-height: 500px;
  border-radius: 26px;
  border: 1px solid rgba(255, 215, 0, 0.38);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 215, 0, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(69, 28, 111, 0.7), rgba(10, 3, 20, 0.9));
  box-shadow: inset 0 0 40px rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ariyah-main-art {
  max-width: 82%;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.6));
  animation: heroFloat 4s ease-in-out infinite;
}

.nero-art {
  position: absolute;
  right: 22px;
  bottom: 70px;
  width: min(145px, 28%);
  filter: drop-shadow(0 0 18px rgba(142, 87, 255, 0.8));
  animation: neroPulse 3s ease-in-out infinite;
}

.art-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 3, 18, 0.82);
  border: 1px solid rgba(255, 215, 0, 0.28);
}

.art-label span {
  display: block;
  color: #f7c948;
  font-weight: 800;
  font-size: 1.1rem;
}

.art-label small {
  color: #dccfff;
}

.magic-orb {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.22);
  filter: blur(18px);
  animation: orbMove 7s ease-in-out infinite;
}

.orb-one { top: 8%; left: 8%; }
.orb-two { right: 8%; top: 18%; background: rgba(151, 81, 255, 0.28); animation-delay: 1.5s; }
.orb-three { left: 50%; bottom: 6%; width: 90px; height: 90px; animation-delay: 3s; }

.book-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 32px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(13, 5, 25, 0.78);
  border: 1px solid rgba(255, 215, 0, 0.22);
}

.book-cover-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.book-cover {
  width: min(100%, 340px);
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.55);
  box-shadow: 0 24px 55px rgba(0,0,0,0.55);
  transform: rotate(-2deg);
}

.release-badge {
  position: absolute;
  top: 18px;
  right: 24px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #f7c948;
  color: #180727;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(247, 201, 72, 0.5);
}

.episode-menu { padding: 10px; }

.episode-menu h2 {
  margin-top: 4px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.progress-wrap { margin: 12px 0 22px; }

.progress-text {
  display: flex;
  justify-content: space-between;
  color: #e9dcff;
  margin-bottom: 8px;
}

.progress-text strong { color: #f7c948; }

.progress-bar {
  height: 12px;
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3cff, #f7c948);
  box-shadow: 0 0 18px rgba(247, 201, 72, 0.45);
}

.episode-list {
  display: grid;
  gap: 14px;
}

.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 17px;
  border-radius: 18px;
  text-decoration: none;
  border: 1px solid rgba(255, 215, 0, 0.20);
  background: rgba(255,255,255,0.065);
  color: #fff;
}

.episode-card.unlocked {
  background: linear-gradient(90deg, rgba(90, 42, 180, 0.58), rgba(255, 215, 0, 0.12));
  cursor: pointer;
}

.episode-card.unlocked:hover {
  transform: translateX(6px);
  border-color: rgba(255, 215, 0, 0.55);
}

.episode-card.locked { opacity: 0.6; }

.episode-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(247, 201, 72, 0.15);
  color: #f7c948;
  font-weight: 900;
}

.episode-card strong,
.episode-card small {
  display: block;
}

.episode-card small {
  color: #d9caff;
  margin-top: 4px;
}

.episode-card b { color: #f7c948; }

.ariyah-gallery-section {
  margin-top: 32px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(13, 5, 25, 0.78);
  border: 1px solid rgba(255, 215, 0, 0.22);
  text-align: center;
}

.ariyah-gallery-section h2 {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ariyah-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.ariyah-gallery figure {
  margin: 0;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255, 215, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ariyah-gallery figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 28px rgba(247, 201, 72, 0.22);
}

.ariyah-gallery img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
}

.ariyah-gallery figcaption {
  margin-top: 10px;
  color: #f7c948;
  font-weight: 800;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.extras-grid article {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255, 215, 0, 0.18);
}

.extras-grid h3 {
  color: #f7c948;
  margin-top: 0;
}

.extras-grid p { color: #e7dbff; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.02); }
}

@keyframes neroPulse {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes orbMove {
  0%, 100% { transform: translate(0, 0); opacity: 0.55; }
  50% { transform: translate(28px, -22px); opacity: 0.95; }
}

@media (max-width: 850px) {
  .ariyah-hero,
  .book-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .ariyah-art-card { min-height: 420px; }

  .extras-grid,
  .ariyah-gallery {
    grid-template-columns: 1fr;
  }

  .episode-card {
    grid-template-columns: auto 1fr;
  }

  .episode-card b {
    grid-column: 2;
  }
}
