/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
}



html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}



/* Generic page container for FAQ, videos, top-up, etc. */
.page-container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 10px 40px;
}

/* Generic stacked cards layout */
.cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: #111;
  border-radius: 10px;
  border: 1px solid #222;
  padding: 16px 18px;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 4px 0;
  font-size: 14px;
  color: #ccc;
}

/* Optional: list styling inside cards */
.card .instructions-list {
  margin: 8px 0 4px;
  padding-left: 18px;
  font-size: 13px;
  color: #ccc;
}








h2 {
  text-align: center;
  color: #fff;
  margin-top: 20px;
  font-size: 2rem;
  font-weight: 800;
}








.stream-container {
  max-width: 1900px;       /* was 1400px */
  margin: 20px auto;
  text-align: left;
  color: white;
  font-family: sans-serif;
  padding: 0 10px;         /* tiny edge padding */
}






/* Video Styling */


#offline-image.half-size {
  max-width: 50vw;           /* only changes size when you add .half-size */
}


/* Stream Controls */
#stream-controls {
  margin-top: 20px;
  display: none;
}

/* Streaming Links Section */
.streaming-links {
  margin-top: 15px;
  text-align: center;
}

.streaming-title {
  font-size: 16px;
}

.streaming-icons {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}


















/* Top Bar */
.top-bar {
  width: 100%;
  background: #111;
  border-bottom: 1px solid #333;
}

.top-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between; /* left vs right */
  align-items: center;
}

/* Left & right groups */
.top-left,
.top-right {
  display: flex;
  align-items: center;
}

/* Add spacing between the buttons on the right */
.top-right a {
  margin: 0 8px;   /* bump to 12/16 if you want more space */
}



/* Button style */


.top-link:hover {
  background: #fff;
  color: #000;
}

/* Active tab */
.top-link.active,
.top-link.active:hover {
  background: #fff;
  color: #000;
  font-weight: bold;
}






.top-link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #fff;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  background: #000;
  cursor: pointer;
}



/* === Bottom Link Buttons === */
.bottom-links {
  text-align: center;
  margin: 25px 0;
  font-size: 16px;
}

.bottom-links a {
  color: #fff;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: #000;
  margin: 0 6px;
  display: inline-block;
  transition: 0.2s;
}

.bottom-links a:hover {
  background: #fff;
  color: #000;
}





/* Make sure the video and offline image center nicely inside */

/* Video + offline image: keep 16:9 and centered */
#stream,
#offline-image {
  width: 100%;
  display: block;
  border: 2px solid #fff;
  border-radius: 10px;

  aspect-ratio: 16 / 9;   /* keep a nice player shape */
  object-fit: contain;    /* no weird cropping */
  max-height: 80vh;       /* never exceed viewport */
}







/* No desktop grid override anymore – cards stay stacked on all sizes */


.footer {
  margin-top: 40px;
  text-align: center;
  color: #666;
  font-size: 14px;
  opacity: 0.6;
}


.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
  opacity: 0.8;
}










/* === ZAP STATS BAR (clean reset) === */
.stats-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0 15px;
}

/* Each box: same visible height */
.stats-box {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0 8px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
 height: 40px;        /* clamp height – matches widget-base */
  overflow: hidden;    /* clip anything taller inside */
}


/* Top zappers: fill the remaining space */
.stats-box--top {
  flex: 1 1 auto;
    overflow: hidden; /* keep nice rounded corners */
}

/* Zap button pill on the right */
.stats-box--zap {
  flex: 0 0 auto;
  justify-content: center;
}

/* Iframes inside the first two boxes */
.stats-box iframe {
  width: 100%;
  height: 40px;
  border: none;
  display: block;
  margin: 0;
}


.stats-row > .stats-box {
  min-width: 0; /* 🔑 REQUIRED for flex + iframe overflow */
}





/* Zap icon + text button */
.zap-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 100%;
  height: 100%;

  text-decoration: none;
  font-weight: 600;
  font-size: 20px;

  /* force same color for normal + visited */
  color: #ffd65a;
}

.zap-link:visited {
  color: #ffd65a;
}

.zap-link:hover {
  color: #fff;
}



/* Zap icon/link */
.zap-icon {
  font-size: 18px;
  text-decoration: none;
  color: #ffd65a;
  font-weight: 600;
}

/* Only apply hover on real hover devices (desktop mouse) */
@media (hover: hover) and (pointer: fine) {
  .zap-icon:hover {
    color: #fff;
  }
}


.zap-icon {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}



/* Make the zap button clickable across the full width/height of its box */
.stats-box--zap .zap-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  text-decoration: none;    /* keep it looking like a button */
}




/* Stack on mobile */
@media screen and (max-width: 700px) {
  .stats-row {
    flex-direction: column;
  }

  .stats-box {
    width: 100%;
  }
}








@media screen and (max-width: 720px) {
  body {
    padding-left: 10px;
    padding-right: 10px;
  }
}



@media screen and (max-width: 720px) {
  .page-container,
  .stream-container {
    padding-left: 4px;
    padding-right: 4px;
  }
}


