
/* ===== Channel call-to-action ===== */

.channel-cta {
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 0%,
      var(--channel-glow),
      transparent 65%
    ),
    var(--channel-bg);
}

.channel-cta p {
  color: #b8bac5;
  max-width: 600px;
  margin-inline: auto;
}

/* Placeholder styling for channel pages */

.channel-page .content-placeholder {
  background: var(--channel-surface);
  border-color: var(--channel-glow);
  min-height: 250px;
}

/* Keep long headings and text responsive */

.channel-hero h1,
.channel-section h2 {
  overflow-wrap: break-word;
}




/* ========================================
   THE POET: TECH — UNIQUE ELEMENTS
   ======================================== */

.tech-hero {
  background:
    linear-gradient(
      90deg,
      rgba(11, 20, 24, 0.96),
      rgba(11, 20, 24, 0.45)
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 39px,
      rgba(16, 185, 129, 0.08) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 39px,
      rgba(16, 185, 129, 0.08) 40px
    ),
    #10262a;
}

.tech-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tech-topic-card {
  padding: 35px 30px;
  border-radius: 14px;
  background: var(--channel-surface);
  border: 1px solid rgba(16, 185, 129, 0.18);
  transition: transform 0.2s, border-color 0.2s;
}

.tech-topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--channel-accent);
}

.tech-topic-icon {
  display: block;
  margin-bottom: 30px;
  font-family: monospace;
  font-size: 1.3rem;
  color: var(--channel-accent);
}

.tech-topic-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.tech-topic-card p {
  color: #b8bac5;
  font-size: 0.95rem;
}

@media (max-width: 850px) {
  .tech-topic-grid {
    grid-template-columns: 1fr;
  }
}





/* ========================================
   THE POET: ENTERTAINMENT
   ======================================== */

.entertainment-hero {
  background:
    radial-gradient(
      ellipse at 75% 30%,
      rgba(142, 49, 91, 0.35),
      transparent 55%
    ),
    linear-gradient(
      115deg,
      #170d19 15%,
      #37172c 60%,
      #1b1025
    );
}

.entertainment-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 10%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(200, 155, 98, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(200, 155, 98, 0.025),
    0 0 0 90px rgba(200, 155, 98, 0.015);
  pointer-events: none;
}

.entertainment-section-heading {
  margin-bottom: 30px;
}

.entertainment-section-heading h2 {
  margin: 10px 0 0;
}

.entertainment-feature-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 20px;
}

.entertainment-feature-card {
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(200, 155, 98, 0.2);
  background:
    linear-gradient(0deg, rgba(0,0,0,0.65), transparent),
    linear-gradient(135deg, #51263f, #21162f);
}

.entertainment-feature-large {
  grid-row: span 2;
}

.entertainment-feature-content {
  position: relative;
  z-index: 1;
}

.entertainment-feature-content h3 {
  font-size: clamp(1.3rem, 2vw, 2rem);
  margin: 8px 0;
}

.entertainment-feature-content p {
  color: #d3c6d1;
}

.entertainment-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.entertainment-category-card {
  padding: 35px;
  background: var(--channel-surface);
  border: 1px solid rgba(200, 155, 98, 0.18);
  border-radius: 14px;
}

.entertainment-category-card > span {
  display: block;
  color: var(--channel-accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.entertainment-category-card h3 {
  margin: 0 0 12px;
}

.entertainment-category-card p {
  color: #c3b8c5;
  margin-bottom: 0;
}

@media (max-width: 750px) {
  .entertainment-feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .entertainment-feature-large {
    grid-row: auto;
    min-height: 320px;
  }

  .entertainment-category-grid {
    grid-template-columns: 1fr;
  }

  .entertainment-hero::after {
    opacity: 0.35;
    right: -120px;
  }
}




/* ========================================
   RADDE PAA — VINTAGE DOCUMENTARY THEME
   ======================================== */

.radde-hero {
  background:
    radial-gradient(
      ellipse at 75% 45%,
      rgba(198, 154, 84, 0.15),
      transparent 55%
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(198, 154, 84, 0.012) 4px
    ),
    linear-gradient(120deg, #17110d, #382719, #16100c);
}

.radde-hero::after {
  content: "CONFIDENTIAL";
  position: absolute;
  right: 8%;
  top: 30%;
  transform: rotate(-17deg);
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: bold;
  letter-spacing: 8px;
  color: rgba(198, 154, 84, 0.08);
  border: 5px double rgba(198, 154, 84, 0.08);
  padding: 5px 20px;
  pointer-events: none;
}

.theme-radde .channel-hero h1,
.theme-radde .channel-section h2,
.radde-feature-details h3,
.radde-category-card h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.radde-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 35px;
  padding: 24px;
  border: 1px solid rgba(198, 154, 84, 0.28);
  background: #211911;
  border-radius: 8px;
}

.radde-feature-art {
  min-height: 350px;
  display: grid;
  place-items: center;
  padding: 25px;
  text-align: center;
  color: rgba(230, 201, 157, 0.55);
  font-family: Georgia, serif;
  letter-spacing: 2px;
  border: 1px solid rgba(198, 154, 84, 0.15);
  background:
    radial-gradient(circle at 50% 40%, #6a4b2c, transparent 65%),
    linear-gradient(135deg, #302317, #16100b);
}

.radde-feature-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.radde-file-number {
  font-family: monospace;
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--channel-accent);
}

.radde-feature-details h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 20px 0 10px;
}

.radde-feature-details p {
  color: #c8b8a1;
  max-width: 450px;
}

.radde-video-card {
  border-radius: 8px;
}

.radde-video-card .video-placeholder {
  background:
    radial-gradient(circle, #63482c, #241910);
  color: #d5b37b;
  font-family: Georgia, serif;
  font-size: 3rem;
}

.radde-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.radde-category-card {
  padding: 35px;
  background: #201810;
  border: 1px solid rgba(198, 154, 84, 0.25);
  border-radius: 6px;
}

.radde-category-number {
  display: block;
  color: var(--channel-accent);
  font-family: Georgia, serif;
  font-size: 2rem;
  margin-bottom: 25px;
}

.radde-category-card h3 {
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.radde-category-card p {
  color: #c8b8a1;
  margin: 0;
}

@media (max-width: 750px) {
  .radde-feature {
    grid-template-columns: 1fr;
  }

  .radde-feature-art {
    min-height: 260px;
  }

  .radde-category-grid {
    grid-template-columns: 1fr;
  }

  .radde-hero::after {
    right: -80px;
    opacity: 0.4;
  }
}



/* ===== YouTube Shorts gallery ===== */

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.short-card {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: var(--channel-surface);
  border: 1px solid var(--channel-glow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.short-card:hover {
  transform: translateY(-5px);
  border-color: var(--channel-accent);
}

.short-thumbnail {
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--channel-surface), var(--channel-bg));
}

.short-play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 1.5rem;
}

.short-info {
  padding: 18px;
}

.short-info h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 1000px) {
  .shorts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .shorts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .short-info {
    padding: 12px;
  }
}


.short-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.short-play {
  position: relative;
  z-index: 2;
}

.short-card:focus-visible {
  outline: 2px solid var(--channel-accent);
  outline-offset: 4px;
}


/* ===== Inline YouTube player ===== */

.short-thumbnail,
.video-placeholder {
  position: relative;
  overflow: hidden;
}

.inline-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-play-btn {
  cursor: pointer;
  border: 0;
}

.video-play-btn:focus-visible {
  outline: 3px solid var(--channel-accent);
  outline-offset: 4px;
}

.video-youtube-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--channel-accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.video-youtube-link:hover {
  text-decoration: underline;
}


.short-card {
  color: inherit;
}

.short-play.video-play-btn {
  position: relative;
  z-index: 2;
}


/* ===== Inline video close button ===== */

.video-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.75);
  color: #fff;

  font-size: 25px;
  line-height: 1;
  cursor: pointer;

  transition: background 0.2s ease;
}

.video-close-btn:hover {
  background: rgba(190, 35, 35, 0.95);
}

.video-close-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.video-close-btn {
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}



/* =========================================
   LANDSCAPE VIDEO PLAYER — 16:9
   ========================================= */

.video-landscape {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  padding: 0;
  display: grid;
  place-items: center;
}

.video-landscape img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-landscape > .video-play-btn {
  position: relative;
  z-index: 2;

  display: grid;
  place-items: center;

  width: 60px;
  height: 60px;

  padding: 0;
  border: 0;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;

  transition: background 0.2s ease;
}

.video-landscape > .video-play-btn:hover {
  background: var(--channel-accent);
}


/* ===== Shorts play button hover effect ===== */

.short-play.video-play-btn {
  transition: background 0.2s ease, transform 0.2s ease;
}

.short-play.video-play-btn:hover {
  background: var(--channel-accent);
  transform: scale(1.08);
}

.short-thumbnail:hover .short-play.video-play-btn {
  background: var(--channel-accent);
  transform: scale(1.08);
}

/* ===== Featured video play button hover effect ===== */

.video-landscape > .video-play-btn {
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-landscape:hover > .video-play-btn {
  background: var(--channel-accent);
  transform: scale(1.08);
}


/* =========================================
   ENTERTAINMENT — INLINE FEATURED PLAYER
   ========================================= */

.entertainment-video-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.entertainment-video-thumbnail {
  width: 100%;
  flex-shrink: 0;
  background: #160d1a;
  border-bottom: 1px solid var(--channel-glow);
}

.entertainment-video-card .entertainment-feature-content {
  position: relative;
  inset: auto;
  width: 100%;
  padding: 24px;
  margin-top: 0;
  z-index: 1;
}

.entertainment-video-card .video-youtube-link {
  position: relative;
  z-index: 2;
}

.entertainment-video-thumbnail:hover > .video-play-btn {
  background: var(--channel-accent);
  transform: scale(1.08);
}


/* ===== Entertainment large featured card ===== */

.entertainment-feature-large.entertainment-video-card {
  justify-content: flex-start;
}

.entertainment-feature-large .entertainment-video-thumbnail {
  aspect-ratio: auto;
  height: 65%;
  min-height: 320px;
}

.entertainment-feature-large .entertainment-video-thumbnail img {
  object-fit: cover;
}


/* =========================================
   CHANNEL HERO — CIRCULAR LOGOS
   ========================================= */

.channel-title-group {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 18px 0 24px;
}

.channel-title-group h1 {
  margin: 0;
}

.channel-logo {
  width: 110px;
  height: 110px;
  flex-shrink: 0;

  border-radius: 50%;
  object-fit: cover;

  border: 3px solid var(--channel-accent);
  background: var(--channel-surface);

  box-shadow: 0 0 24px var(--channel-glow);
}

/* Responsive channel logos */

@media (max-width: 650px) {
  .channel-title-group {
    gap: 14px;
    margin: 14px 0 20px;
  }

  .channel-logo {
    width: 68px;
    height: 68px;
    border-width: 2px;
  }

  .channel-title-group h1 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }
}


@media (max-width: 650px) {
  .channel-title-group {
    min-width: 0;
  }

  .channel-title-group h1 {
    min-width: 0;
    overflow-wrap: break-word;
  }
}




/* =========================================
   RADDE PAA — FEATURED DOCUMENTARY PLAYER
   ========================================= */

.radde-feature-art.video-landscape {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;

  display: grid;
  place-items: center;

  background: #211a14;
}

.radde-feature-art.video-landscape img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.radde-feature-art.video-landscape > .video-play-btn {
  position: relative;
  z-index: 2;
}

.radde-feature-art.video-landscape:hover > .video-play-btn {
  background: var(--channel-accent);
  transform: scale(1.08);
}

.radde-feature-details {
  min-width: 0;
}


/* Persian text support for Radde Paa */

.theme-radde [lang="fa"] {
  direction: rtl;
  text-align: right;
  line-height: 1.9;
}

/* Radde Paa Shorts: mixed Persian and English content */

.theme-radde .short-info .video-youtube-link {
  direction: ltr;
  text-align: left;
}



/* =========================================
   RADDE PAA — EVENTS & GAMES
   ========================================= */

.theme-radde .radde-event-section {
  padding: 32px 0;
  background: #171510;
}

.theme-radde .radde-event-panel {
  border: 1px solid #75603c;
  border-radius: 12px;
  overflow: hidden;
  background: #211c16;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.theme-radde .radde-event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 25px 30px;
  cursor: pointer;
  list-style: none;
  transition: background 0.25s ease;
}

.theme-radde .radde-event-header::-webkit-details-marker {
  display: none;
}

.theme-radde .radde-event-header:hover {
  background: #302719;
}

.theme-radde .radde-event-heading {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.theme-radde .radde-event-label {
  color: #c5a16a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.theme-radde .radde-event-title {
  color: #f0dfbb;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
}

.theme-radde .radde-event-subtitle {
  color: #b8aa93;
  font-size: 0.9rem;
}

.theme-radde .radde-event-toggle {
  color: #d4af70;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.theme-radde .radde-event-panel[open] .radde-event-toggle {
  transform: rotate(180deg);
}

.theme-radde .radde-event-content {
  padding: 30px;
  border-top: 1px solid #594a33;
  animation: radde-event-reveal 0.3s ease;
}

.theme-radde .radde-game-container {
  padding: 35px 25px;
  border: 1px dashed #75603c;
  border-radius: 8px;
  background: #191611;
  text-align: center;
}

.theme-radde .radde-game-container h3 {
  color: #e8d2a5;
  margin-bottom: 12px;
}

.theme-radde .radde-game-container p {
  color: #b8aa93;
  line-height: 1.8;
}

@keyframes radde-event-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 650px) {
  .theme-radde .radde-event-header {
    padding: 20px;
    gap: 12px;
  }

  .theme-radde .radde-event-content {
    padding: 15px;
  }

  .theme-radde .radde-game-container {
    padding: 25px 15px;
  }

  .theme-radde .radde-event-label {
    letter-spacing: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-radde .radde-event-content {
    animation: none;
  }
}



/* Radde Paa embedded game */

.theme-radde .radde-game-container {
  padding: 0;
  overflow: hidden;
}


.theme-radde .radde-game-frame {
  display: block;
  width: 100%;
  height: 600px;
  border: none;
  background: #191611;
  overflow: hidden;
}


@media (max-width: 650px) {
  .theme-radde .radde-game-frame {
    height: 500px;
  }
}
