
:root {
  --bg: #0c0d12;
  --surface: #181a23;
  --text: #f5f5f5;
  --muted: #adb0be;
  --accent: #e4b45e;
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}


img, video {
  max-width: 100%;
  height: auto;
}


a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

.site-header {
  background: #101117;
  border-bottom: 1px solid #2b2d38;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo span,
.eyebrow {
  color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a:hover,
.site-nav .active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 540px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #161825, #292036, #0c0d12);
}

.hero-content {
  padding-block: 90px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.1;
  margin: 12px 0 24px;
}

.hero p {
  max-width: 650px;
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 28px;
  background: var(--accent);
  color: #171717;
  border-radius: 8px;
  font-weight: bold;
}

.btn:hover {
  background: #f4ca80;
}

.section {
  padding: 90px 0;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-top: 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.channel-card {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid #30323d;
  border-radius: 14px;
  transition: transform 0.2s;
}

.channel-card:hover {
  transform: translateY(-5px);
}

.channel-card h3 {
  color: var(--accent);
}

.channel-card p {
  color: var(--muted);
}

.quiz-section {
  background: #171925;
  text-align: center;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid #30323d;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .menu-toggle {
    display: block;
    background: transparent;
    border: 0;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 14px;
    padding-bottom: 20px;
  }

  .site-nav.open {
    display: flex;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 420px;
  }

  .section {
    padding: 60px 0;
  }
}

/* Main navigation refinements */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 13, 18, 0.96);
  backdrop-filter: blur(12px);
}

.site-nav {
  align-items: center;
  gap: clamp(12px, 1.5vw, 28px);
}

.site-nav a {
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

@media (max-width: 1250px) {
  .menu-toggle {
    display: block;
    background: transparent;
    border: 0;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 14px;
    padding-bottom: 20px;
  }

  .site-nav.open {
    display: flex;
  }
}


/* ===== Featured homepage hero ===== */

.featured-section {
  padding: 40px 0 30px;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 18px;
  min-height: 490px;
}

.featured-main {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(28px, 4vw, 60px);
  background:
    radial-gradient(circle at 75% 25%, #624b78 0%, transparent 50%),
    linear-gradient(135deg, #30263f, #12141f 75%);
}

.featured-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72),
    transparent 75%
  );
  pointer-events: none;
}

.featured-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.featured-label,
.tile-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.featured-content h1 {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 1.12;
  margin: 14px 0;
}

.featured-content p {
  color: #d5d2dc;
  max-width: 520px;
  margin-bottom: 10px;
}

.featured-side {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.featured-tile {
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s ease;
}

.featured-tile:hover {
  transform: translateY(-3px);
}

.featured-tile h3 {
  position: relative;
  margin: 6px 0 0;
  font-size: 1.35rem;
}

.tile-games {
  background: linear-gradient(120deg, #102d49, #245b80);
}

.tile-radde {
  background: linear-gradient(120deg, #2a1d13, #735236);
}

.tile-tech {
  background: linear-gradient(120deg, #0c2b28, #236d61);
}

/* Tablet and mobile */

@media (max-width: 850px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-main {
    min-height: 380px;
  }

  .featured-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .featured-tile {
    min-height: 150px;
  }
}

@media (max-width: 600px) {
  .featured-section {
    padding-top: 20px;
  }

  .featured-main {
    min-height: 420px;
  }

  .featured-side {
    grid-template-columns: 1fr;
  }

  .featured-tile {
    min-height: 115px;
  }
}



/* ===== Shared footer ===== */

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 65px 0 45px;
}

.footer-brand h3 {
  margin: 0 0 16px;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.footer-brand h3 span {
  color: var(--accent);
}

.footer-brand p {
  max-width: 350px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-column h4 {
  margin: 0 0 8px;
  color: var(--accent);
}

.footer-column a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #30323d;
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 750px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 45px 0 30px;
  }
}


/* ===== Footer alignment fix ===== */

.footer-grid {
  text-align: left;
}

.footer-brand {
  text-align: left;
}

.footer-column {
  text-align: left;
  align-items: flex-start;
}

.footer-bottom {
  text-align: center;
}


/* ===== Standard page layouts ===== */

.page-hero {
  padding: 100px 0 85px;
  background: linear-gradient(135deg, #1d2030, #101117);
  border-bottom: 1px solid #30323d;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.15;
  margin: 15px 0;
}

.page-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-layout p {
  color: var(--muted);
}

.content-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px dashed #555968;
  border-radius: 16px;
  color: var(--muted);
  background: var(--surface);
}

.alt-section {
  background: #151720;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid #30323d;
  border-radius: 14px;
  padding: 35px;
}

.contact-card h2 {
  color: var(--accent);
  font-size: 1.4rem;
}

.contact-card p {
  color: var(--muted);
}

@media (max-width: 750px) {
  .page-hero {
    padding: 65px 0;
  }

  .content-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .content-layout {
    gap: 30px;
  }
}



/* ========================================
   THE POET MEDIA — CHANNEL THEMES
   ======================================== */

/* Default channel theme */
.channel-page {
  --channel-bg: #101117;
  --channel-surface: #1b1d28;
  --channel-accent: #e4b45e;
  --channel-glow: rgba(228, 180, 94, 0.18);

  background: var(--channel-bg);
}

/* THE POET: GAMES */
.theme-games {
  --channel-bg: #080d1b;
  --channel-surface: #131e32;
  --channel-accent: #00d9ff;
  --channel-glow: rgba(0, 217, 255, 0.2);
}

/* THE POET: TECH */
.theme-tech {
  --channel-bg: #0b1418;
  --channel-surface: #14252a;
  --channel-accent: #10b981;
  --channel-glow: rgba(16, 185, 129, 0.2);
}

/* THE POET: ENTERTAINMENT */
.theme-entertainment {
  --channel-bg: #170f20;
  --channel-surface: #26172d;
  --channel-accent: #c89b62;
  --channel-glow: rgba(200, 155, 98, 0.2);
}

/* RADDE PAA */
.theme-radde {
  --channel-bg: #16110d;
  --channel-surface: #2a2018;
  --channel-accent: #c69a54;
  --channel-glow: rgba(198, 154, 84, 0.2);
}

/* ========================================
   SHARED CHANNEL COMPONENTS
   ======================================== */

.channel-hero {
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 75% 35%,
      var(--channel-glow),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      var(--channel-surface),
      var(--channel-bg)
    );
}

.channel-hero-content {
  padding-block: 90px;
  position: relative;
  z-index: 1;
}

.channel-eyebrow {
  color: var(--channel-accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.channel-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.1;
  margin: 18px 0 24px;
}

.channel-hero p {
  max-width: 650px;
  color: #c5c7d0;
  font-size: 1.1rem;
}

.channel-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 13px 30px;
  background: var(--channel-accent);
  color: #080a0d;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s;
}

.channel-btn:hover {
  transform: translateY(-3px);
}

/* Channel sections */

.channel-section {
  padding: 85px 0;
}

.channel-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin: 0 0 35px;
}

.channel-section.alt {
  background: var(--channel-surface);
}

/* Statistics */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  padding: 30px;
  background: var(--channel-surface);
  border: 1px solid var(--channel-glow);
  border-radius: 14px;
  text-align: center;
}

.stat-number {
  display: block;
  color: var(--channel-accent);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
}

.stat-label {
  color: #b8bac5;
  font-size: 0.9rem;
}

/* Video grid */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.video-card {
  overflow: hidden;
  background: var(--channel-surface);
  border-radius: 14px;
  border: 1px solid var(--channel-glow);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--channel-accent);
  font-size: 2rem;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  margin: 0 0 8px;
}

.video-info p {
  color: #b8bac5;
  font-size: 0.9rem;
}

/* Responsive layouts */

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .channel-hero {
    min-height: 360px;
  }

  .channel-hero-content {
    padding-block: 65px;
  }

  .stats-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .channel-section {
    padding: 55px 0;
  }
}



/* ===== Homepage channel cards ===== */

.channel-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 270px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--card-accent, var(--accent));
}

.home-games {
  --card-accent: #00d9ff;
}

.home-radde {
  --card-accent: #c69a54;
}

.home-tech {
  --card-accent: #10b981;
}

.home-entertainment {
  --card-accent: #c89b62;
}

.channel-card .card-category {
  color: var(--card-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.channel-card h3 {
  color: var(--text);
  margin: 22px 0 8px;
}

.channel-card p {
  margin: 0 0 24px;
}

.channel-card .card-arrow {
  margin-top: auto;
  color: var(--card-accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.channel-card:hover {
  border-color: var(--card-accent);
  background: #20232e;
}

.channel-card:focus-visible {
  outline: 2px solid var(--card-accent);
  outline-offset: 4px;
}


/* Entertainment featured tile */
.tile-entertainment {
  background-color: #351827;
}




/* ===== Featured thumbnail support ===== */

.featured-main,
.featured-tile {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.featured-main.has-image,
.featured-tile.has-image {
  background-position: center;
  background-size: cover;
}

.featured-tile.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.featured-tile > div {
  position: relative;
  z-index: 1;
}


.featured-main.has-image,
.featured-tile.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* =========================================
   HOMEPAGE BACKGROUND
   ========================================= */

.home-page {
  background-color: #0d0e13;

  background-image:
    linear-gradient(
      180deg,
      rgba(10, 11, 16, 0.78) 0%,
      rgba(10, 11, 16, 0.88) 60%,
      rgba(10, 11, 16, 0.95) 100%
    ),
    url("");

  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Allow homepage sections to show the main background */
.home-page .featured-section,
.home-page #channels {
  background-color: transparent;
  background-image: none;
}


/* =========================================
   HOMEPAGE FEATURED TILE BACKGROUNDS
   ========================================= */

.featured-tile {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Gaming */
.featured-tile.tile-games {
  background-image:
    linear-gradient(
      rgba(10, 20, 35, 0.55),
      rgba(10, 20, 35, 0.85)
    ),
    url("../assets/images/TPGF1.png");
}

/* Radde Paa */
.featured-tile.tile-radde {
  background-image:
    linear-gradient(
      rgba(30, 20, 10, 0.45),
      rgba(30, 20, 10, 0.85)
    ),
    url("../assets/images/RPF2.png");
}

/* Entertainment */
.featured-tile.tile-entertainment {
  background-image:
    linear-gradient(
      rgba(35, 10, 30, 0.45),
      rgba(35, 10, 30, 0.85)
    ),
    url("../assets/images/TPEF1.png");
}

