/* =========================================================
   GLOBAL
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background: #fff;
  color: #171717;
  overflow-x: hidden;
}

body.popup-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  width: 100%;
  min-height: 112px;
  padding: 30px 36px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-top: 1px solid #d8d8d8;
}

.logo {
  color: #d50068;
  font-size: 52px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -3px;
}

.logo span {
  font-weight: 400;
  letter-spacing: -2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 42px;
}


/* Search */
.search-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.search-btn::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid #111;
  border-radius: 50%;
  left: 0;
  top: 0;
}

.search-btn::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 3px;
  background: #111;
  transform: rotate(48deg);
  left: 24px;
  top: 27px;
  border-radius: 3px;
}


/* LIVE */
.live-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 48px;
  padding: 0 24px;
  border-radius: 28px;
  background: #d50068;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  transition: .2s ease;
}

.live-btn:hover {
  background: #b90058;
  transform: translateY(-1px);
}


/* =========================================================
   LIVE STREAM SECTION
========================================================= */

.stream-section {
  padding: 28px 36px 142px;
}

h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 72px;
  letter-spacing: -1.5px;
}

.intro {
  max-width: 850px;
  font-size: 36px;
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: -1.2px;
  margin-bottom: 54px;
}

/* Smaller introduction below Live Streaming */
.stream-section .intro {
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: 0;
  margin-bottom: 32px;
}

/* Programme section */
.programme-section {
  max-width: 850px;
  margin-bottom: 38px;
}

.programme-section h2 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 16px;
}

.programme-section p {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.programme-section h3 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 0;
}


/* =========================================================
   VIDEO LANDING
========================================================= */

.video-card {
  width: 100%;
  max-width: 854px;
  position: relative;
  overflow: hidden;
  background: #222;
}

.video-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}


/* Video title */
.video-title {
  position: absolute;
  top: 28px;
  left: 60px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 7px rgba(0, 0, 0, .65);
}

.video-channel-logo {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d50068;
  color: #fff;
  font-weight: 700;
  font-size: 23px;
}

.video-title strong {
  display: block;
  font-size: 27px;
  line-height: 1.15;
}

.video-title small {
  display: block;
  margin-top: 6px;
  font-size: 19px;
}


/* =========================================================
   YOUTUBE PLAY BUTTON - FIXED
========================================================= */

.youtube-play {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;

  width: 120px !important;
  height: 76px !important;

  padding: 0 !important;
  margin: 0 !important;

  border: none !important;
  outline: none !important;
  border-radius: 18px !important;

  background: #ff0033 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  cursor: pointer !important;
  z-index: 20 !important;

  box-shadow: none !important;

  transition: transform .2s ease, filter .2s ease !important;
}

.youtube-play span {
  display: block !important;

  width: 0 !important;
  height: 0 !important;

  margin-left: 7px !important;

  border-top: 18px solid transparent !important;
  border-bottom: 18px solid transparent !important;
  border-left: 28px solid #fff !important;

  background: transparent !important;
}

.youtube-play:hover {
  transform: translate(-50%, -50%) scale(1.05) !important;
  filter: brightness(.95);
}


/* Bottom YouTube text */
.watch-youtube {
  position: absolute;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 26px;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .7);
  z-index: 3;
}

.watch-youtube i {
  font-size: 28px;
  margin-right: 4px;
}


/* =========================================================
   BBC SECTION
========================================================= */

.highlight-section {
  background: #f5e8f2;
  padding: 58px 36px 72px;
}

.highlight-inner {
  max-width: 850px;
}

.highlight-section h2 {
  color: #d50068;
  font-size: 44px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 34px;
}

.highlight-section p {
  font-size: 36px;
  line-height: 1.45;
  letter-spacing: -1.2px;
  margin-bottom: 48px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 500px;
  min-height: 98px;
  padding: 20px 42px;
  border-radius: 60px;
  background: #ec0068;
  color: #fff;
  font-size: 31px;
  font-weight: 500;
  transition: transform .2s ease, opacity .2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  opacity: .92;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  background: #171717;
  color: #fff;
  text-align: center;
  padding: 48px 20px 42px;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  font-size: 20px;
  transition: .2s ease;
}

.social-links a:hover {
  background: #d50068;
  border-color: #d50068;
  transform: translateY(-2px);
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.copyright {
  font-size: 14px;
  opacity: .75;
}


/* =========================================================
   POPUP
========================================================= */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 18px;
  padding: 42px 35px 38px;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0,0,0,.3);
  transform: translateY(20px) scale(.96);
  transition: transform .25s ease;
}

.popup-overlay.active .popup-box {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.popup-logo {
  width: 145px;
  height: 145px;
  object-fit: contain;
  margin: 5px auto 22px;
}

.popup-box h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 15px;
}

.popup-description {
  font-size: 15px;
  line-height: 1.55;
  color: #555;
  margin-bottom: 25px;
}

.account-button {
  width: 100%;
  min-height: 56px;
  padding: 15px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d50068;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  transition: .2s ease;
}

.account-button:hover {
  background: #b90058;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .site-header {
    padding: 26px 28px 18px;
  }

  .logo {
    font-size: 45px;
  }


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
  .site-header {
    min-height: 82px;
    padding: 22px 20px 14px;
  }

  .logo {
    font-size: 32px;
    letter-spacing: -2px;
  }

  .header-actions {
    gap: 20px;
  }

  .search-btn {
    width: 30px;
    height: 30px;
    transform: scale(.75);
  }

  .live-btn {
    min-width: 70px;
    height: 38px;
    padding: 0 17px;
    font-size: 16px;
  }

  .stream-section {
    padding: 25px 20px 70px;
  }

  h1 {
    font-size: 34px;
    margin-bottom: 45px;
  }

  .intro {
    font-size: 23px;
    line-height: 1.55;
    margin-bottom: 35px;
  }

  .stream-section .intro {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 26px;
  }

  .programme-section h2 {
    font-size: 25px;
  }

  .programme-section p {
    font-size: 15px;
    line-height: 1.75;
  }

  .programme-section h3 {
    font-size: 18px;
  }

  .video-title {
    top: 14px;
    left: 18px;
    gap: 10px;
  }

  .video-channel-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 13px;
  }

  .video-title strong {
    font-size: 14px;
  }

  .video-title small {
    font-size: 11px;
    margin-top: 3px;
  }

  /* MOBILE YOUTUBE BUTTON */
  .youtube-play {
    width: 75px !important;
    height: 50px !important;
    border-radius: 12px !important;
  }

  .youtube-play span {
    border-top-width: 12px !important;
    border-bottom-width: 12px !important;
    border-left-width: 19px !important;
    margin-left: 4px !important;
  }

  .watch-youtube {
    bottom: 13px;
    font-size: 14px;
  }

  .watch-youtube i {
    font-size: 16px;
  }

  .highlight-section {
    padding: 42px 20px 55px;
  }

  .highlight-section h2 {
    font-size: 30px;
    line-height: 1.25;
    margin-bottom: 28px;
  }

  .highlight-section p {
    font-size: 23px;
    line-height: 1.5;
    margin-bottom: 34px;
  }

  .cta-button {
    width: 100%;
    min-width: 0;
    min-height: 68px;
    padding: 16px 22px;
    font-size: 21px;
  }

  .site-footer {
    padding: 38px 20px 35px;
  }

  .footer-title {
    font-size: 15px;
  }

  .popup-box {
    max-width: 360px;
    padding: 35px 25px 30px;
  }

  .popup-logo {
    width: 120px;
    height: 120px;
  }

  .popup-box h3 {
    font-size: 21px;
  }
}
