/* styles.css - MrBill.com homepage */
html, body {
  background:#000;
  color:#fff;
  margin:0;
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align:center;
}
.wrap { max-width:1200px; margin:0 auto; padding:24px 16px 56px; }

/* Top section with three columns */
.top-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}

.left-image img {
  max-width: 200px;
  height: auto;
}

.center-content {
  flex: 1;
  text-align: center;
}

.banner img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
  margin: 0 auto 15px; 
  max-height: 120px;
}

.youtube-link-container {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.youtube-link-container:hover {
  text-decoration: underline;
}

.title-text {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.subtitle-text { 
  display: block; 
  margin: 8px auto; 
  font-weight: 600; 
  font-size: clamp(16px, 2vw, 22px); 
  color: #ffd24a; 
}

.premiere-text {
  font-size: clamp(16px, 2vw, 22px);
  color: #ffd24a;
  font-weight: 600;
  margin-top: 8px;
}


.right-image img {
  max-width: 150px;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .top-section {
    flex-direction: column;
    text-align: center;
  }
  
  .left-image img,
  .right-image img {
    max-width: 120px;
  }
}

/* Video section with side images */
.video-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 20px;
  max-width: 1400px;
  position: relative;
  /* Ensure adequate padding for side images */
  padding: 0 220px;
}

.video-left-image img,
.video-right-image img {
  max-width: 250px;
  height: auto;
}

/* Left GIF positioning - moved further to corner */
.video-left-image {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  /* Ensure it doesn't interfere with video */
  pointer-events: auto;
}

/* Right picture positioning - moved further to corner */
.video-right-image {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  /* Ensure it doesn't interfere with video */
  pointer-events: auto;
}

/* Video container with safe spacing */
.video-box { 
  position: relative; 
  width: 100%; 
  max-width: 750px;
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: hidden; 
  border-radius: 8px; 
  margin: 0 auto;
  /* Ensure video is above background but below controls */
  z-index: 2;
}
.video-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Mobile: Stack layout to prevent overlap */
@media (max-width: 768px) {
  .video-section {
    flex-direction: column;
    gap: 15px;
    position: static;
    /* Remove padding on mobile */
    padding: 0;
  }
  
  /* Reset positioning for mobile - no overlap possible */
  .video-left-image,
  .video-right-image {
    position: static;
    transform: none;
    /* Center images on mobile */
    text-align: center;
  }
  
  .video-left-image img,
  .video-right-image img {
    max-width: 100px;
  }
  
  .video-box {
    max-width: 90%;
    /* Ensure video has breathing room on mobile */
    margin: 20px auto;
  }
}

/* Tablet: 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .video-section {
    max-width: 1100px;
    /* Reduced padding for tablet */
    padding: 0 200px;
  }
  
  /* Tablet positioning - closer to corners */
  .video-left-image {
    left: -30px;
  }
  
  .video-right-image {
    right: -30px;
  }
  
  .video-box {
    max-width: 650px;
  }
  
  .video-left-image img,
  .video-right-image img {
    max-width: 180px;
  }
}

/* Desktop: 1025px to 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
  .video-section {
    max-width: 1300px;
    /* Standard padding for desktop */
    padding: 0 220px;
  }
  
  /* Desktop positioning - further toward corners */
  .video-left-image {
    left: -25px;
  }
  
  .video-right-image {
    right: -25px;
  }
  
  .video-box {
    max-width: 750px;
  }
  
  .video-left-image img,
  .video-right-image img {
    max-width: 200px;
  }
}

/* Large desktop: 1441px and above */
@media (min-width: 1441px) {
  .video-section {
    max-width: 1500px;
    /* Increased padding for large screens */
    padding: 0 240px;
  }
  
  /* Large desktop positioning - maximum corner placement */
  .video-left-image {
    left: -60px;
  }
  
  .video-right-image {
    right: -60px;
  }
  
  .video-box {
    max-width: 850px;
  }
  
  .video-left-image img,
  .video-right-image img {
    max-width: 220px;
  }
}

/* Ultra-wide displays: 1920px and above */
@media (min-width: 1920px) {
  .video-section {
    max-width: 1700px;
    /* Maximum padding for ultra-wide */
    padding: 0 260px;
  }
  
  /* Ultra-wide positioning - furthest corner placement */
  .video-left-image {
    left: -80px;
  }
  
  .video-right-image {
    right: -80px;
  }
  
  .video-box {
    max-width: 900px;
  }
  
  .video-left-image img,
  .video-right-image img {
    max-width: 240px;
  }
}

.icons { 
  margin: 0 auto 20px; 
  display: flex; 
  gap: 30px; 
  justify-content: space-around; 
  align-items: center;
  flex-wrap: wrap; 
}
.icons img { 
  height: 120px; 
  width: auto; 
  display: block;
  transition: transform 0.2s ease;
}
.icons img:first-child {
  height: 180px;
}
.icons img:last-child {
  height: 60px;
}
.icons img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .icons {
    gap: 20px;
  }
  .icons img {
    height: 80px;
  }
}