* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
}

.site-header {
  /*
    Keep the left logo hard-left and the UK time hard-right,
    while centering the middle block to the *page* centre (not the remaining column).
  */
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 22px;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.header-logo {
  max-height: 90px;
  height: auto;
  width: auto;
}

.header-center {
  /*
    Absolute center across the full header width, independent of left/right widths.
    Width is constrained so it doesn't collide with the right UK time block.
  */
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  text-align: center;
  width: min(760px, calc(100% - 560px));
  align-self: flex-start;
}

.header-text {
  max-width: 720px;
  margin: 0 auto;
}

.header-title-logo {
  display: block;
  max-width: 520px;
  width: 100%;
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.25));
}

.headline {
  font-size: 1.3rem;
  line-height: 1.4;
}

.headline span {
  color: #ff3b3b;
}

.schedule {
  margin-top: 6px;
  font-weight: bold;
  color: #ff3b3b;
}

.genre {
  margin-top: 4px;
  letter-spacing: 1px;
  color: #ff9a9a;
  font-size: 0.95rem;
}

.header-right {
  min-width: 260px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* FOOTER */

.site-footer {
  margin-top: 60px;
  padding: 40px 20px 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.uk-time {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ff3b3b;
  white-space: nowrap;
}

.footer-broadcast {
  margin-bottom: 30px;
}

.footer-title {
  font-size: 1.1rem;
  letter-spacing: 2px;
  opacity: 0.85;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-logos img {
  max-width: 220px;
  filter: drop-shadow(0 0 10px rgba(79,209,255,0.25));
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Responsive */

@media (max-width: 800px) {
  .site-header {
    display: block;
    text-align: center;
  }

  .header-left {
    justify-content: center;
    margin-bottom: 10px;
  }

  .header-right {
    display: none;
  }

  .header-center {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
  }

  .header-title-logo {
    max-width: 80%;
  }

  .footer-logos {
    gap: 10px;
  }
}


/* BODY PROFILE SECTION */

.site-body {
  padding: 60px 20px 20px;
}

.profile {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 10px;
  align-items: center;
}

.profile-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.profile-text h2 {
  margin-top: 0;
  font-size: 2rem;
  margin-bottom: 10px;
}

.profile-text p {
  line-height: 1.6;
  opacity: 0.95;
}

.profile-text a {
  color: #ff3b3b;
  text-decoration: none;
}

.profile-text a:hover {
  text-decoration: underline;
}

.profile-fun {
  margin-top: 20px;
  padding-left: 15px;
  border-left: 3px solid #ff3b3b;
  font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .profile {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-image {
    max-width: 280px;
    margin: 0 auto;
  }

  .profile-fun {
    border-left: none;
    border-top: 3px solid #ff3b3b;
    padding-left: 0;
    padding-top: 15px;
  }
}


/* TIM TV */

.timtv{
  padding: 40px 20px 10px;
  max-width: 1100px;
  margin: 0 auto;
}

.timtv-head{
  text-align: center;
  margin-bottom: 16px;
}

.timtv-head h2{
  margin: 0;
  font-size: 2rem;
}

.timtv-sub{
  margin: 10px 0 0;
  opacity: 0.75;
}

.timtv-card{
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 18px;
  overflow: hidden;
}

.offair-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 12px;
  border: 1px solid rgba(255,59,59,0.55);
  background: rgba(255,59,59,0.12);
  box-shadow: 0 0 18px rgba(255,59,59,0.20);
  color: #ff3b3b;
}

/* ✅ LIVE badge internals (LIVE + 👁 + count) */
.offair-badge.badge-live{
  gap: 10px;
  padding-right: 14px;
}

.offair-badge.badge-live .badge-live-text{
  display: inline-flex;
  align-items: center;
}

.offair-badge.badge-live .badge-viewers{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 10px;
  border-left: 1px solid rgba(255,255,255,0.18);
  font-weight: 900;
  letter-spacing: 0.5px;
}

.offair-badge.badge-live .badge-eye{
  width: 14px;
  height: 14px;
  opacity: 0.95;
  display: block;
}

.offair-badge.badge-live .badge-viewers-count{
  display: inline-block;
  min-width: 1ch;
}

.timtv-card.live .offair-badge{
  border-color: rgba(52,211,153,0.70);
  background: rgba(52,211,153,0.14);
  box-shadow: 0 0 22px rgba(52,211,153,0.22);
  color: #34d399;
}

.offair-title{
  margin-top: 12px;
  font-size: 1.4rem;
  font-weight: 900;
}

.offair-copy{
  margin-top: 10px;
  opacity: 0.88;
  line-height: 1.6;
}

.offair-small{
  margin-top: 12px;
  opacity: 0.65;
  font-size: 12px;
}

.timtv-right{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.55);
  min-height: 290px;
}

.timtv-video{
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  background: #000;
  display: block;
}

.timtv-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0,16,74,0.85), rgba(0,0,0,0.85));
  pointer-events: none;
}

.timtv-overlay-inner{
  text-align: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.timtv-overlay-title{
  font-weight: 1000;
  letter-spacing: 2px;
  font-size: 18px;
  color: #ff3b3b;
}

.timtv-overlay-sub{
  margin-top: 8px;
  opacity: 0.75;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .timtv-card{
    grid-template-columns: 1fr;
  }
  .timtv-right{
    min-height: 240px;
  }
  .timtv-video{
    min-height: 240px;
  }
}


/* === HEADER LAYOUT FIX (prevents content overlap) === */
header {
  position: relative;
  height: 260px; /* gives header real vertical space */
}

/* Ensure the centered block is truly centered */
.header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Push page content below the header */
main {
  margin-top: 40px;
}

/* Fallback if main isn't used */
.content {
  margin-top: 40px;
}
/* === END FIX === */
/* === Make left logo ~full header height (without breaking centered middle) === */

/* Use the real header class (your header is .site-header) */
.site-header{
  height: 260px;          /* same as your current header fix height */
  align-items: stretch;   /* allow left/right columns to fill header height */
}

/* Make the left and right columns stretch full height */
.header-left,
.header-right{
  align-self: stretch;
}

/* Vertically center the logo within that full-height left column */
.header-left{
  display: flex;
  align-items: center;
}

/* Make the logo fill the available height (keeps aspect ratio) */
.header-logo{
  height: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* (Optional) if it becomes too wide, cap it */
.header-logo{
  max-width: 180px;
}

/* Ensure the centered block stays where you already pinned it */
.header-center{
  top: 50%;
  transform: translate(-50%, -50%);
}
/* === TIME: bigger + top-right === */

.header-right {
  position: absolute;
  top: 12px;        /* distance from top of page */
  right: 20px;      /* distance from right edge */
  align-self: auto; /* override stretch */
}

/* Actual time text */
.header-time {
  font-size: 32px;  /* increase size (try 30–36px if you want) */
  font-weight: 700;
  color: #ff2b2b;   /* keeps your red */
  line-height: 1;
}


/* === CHAT (centered, not stretched) === */
.chat{
  padding: 40px 20px 10px;
}

.chat-wrap{
  width: 100%;
  max-width: 1200px;   /* change this to 800/1000 if you want */
  margin: 0 auto;
}

/* Minnit usually injects an iframe; force it to obey the wrapper */
.chat-wrap iframe{
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  border: 0;
}


/* === HEADER MENU (above player) === */
.header-menu{
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 12px 0 16px;
  font-weight: 800;
  letter-spacing: 1px;
}

.header-menu a{
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
}

.header-menu a:hover{
  color: #ff3b3b;
  opacity: 1;
}

/* Responsive menu spacing */
@media (max-width: 520px){
  .header-menu{
    gap: 16px;
    flex-wrap: wrap;
    margin: 10px 0 12px;
  }
}


/* === CHAT TITLE === */
.chat-title{
  text-align: center;
  font-size: 2rem;
  margin: 0 0 20px;
  letter-spacing: 1px;
}

/* === CONTACT FORM === */
.contact-form-wrap{
  max-width: 600px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.contact-form{
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-form label{
  display: flex;
  flex-direction: column;
  text-align: left;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea{
  margin-top: 6px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #111;
  color: #fff;
  font-size: 1rem;
}

.contact-form button{
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  background: #ff3b3b;
  color: #000;
}

.contact-form button:hover{
  opacity: 0.85;
}
/* === CONTACT MODAL POPUP === */
.contact-modal{
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,0.72);
  z-index: 9999;
  padding: 20px;
}

.contact-modal[aria-hidden="false"]{
  display: grid;
}

.contact-modal-card{
  width: min(520px, 92vw);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(20,20,20,0.95);
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
  padding: 18px;
  text-align: center;
}

.contact-modal-title{
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contact-modal-msg{
  opacity: 0.9;
  line-height: 1.5;
}

.contact-modal.is-ok .contact-modal-title{ color: #34d399; }
.contact-modal.is-bad .contact-modal-title{ color: #ff3b3b; }

.contact-modal-close{
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  background: #ff3b3b;
  color: #000;
}

.contact-modal.is-ok .contact-modal-close{
  background: #34d399;
}
/* Honeypot spam trap (must be invisible to humans) */
.hp-trap{
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
}

