body {
    background-color: rgb(182, 208, 212);
    margin: 0;
    padding: 0;
}

h1 {
    color: rgb(189, 211, 232);
    margin-left: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

p {
    color: azure;
}

h2 {
    color: rgb(6, 56, 97);
}

.top-box {
  width: 100%;
  background: linear-gradient(135deg, #4461a5, #23315f00 );
  padding: 6px;
  text-align: left;
  border-bottom: 5px solid #4979b0, #23315f00;
  box-sizing: content-box;
  height: 100px;
  display: flex;
  flex-direction: row;
}

.cool-img-btn {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 10px;
  width: calc(100% - 600px);
  margin: 15px;
  margin-top: 15px;
  padding: 14px 24px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #3d4c7b, #23315f00);
  color: white;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 5px #4979b0, #23315f00;
}

.cool-img-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(22, 22, 22, 0.3);
}

/* 1. Creates a full-screen dark layer (hidden by default) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.371); /* Controls how dark the web gets */
  opacity: 0;
  pointer-events: none; /* Lets you still click things normally */
  transition: opacity 0.3s ease;
  z-index: 10;
}

/* 2. Turns on the darkness when ANY .cool-img-btn is hovered */
body:has(.cool-img-btn:hover)::after {
  opacity: 1;
}

/* 3. Keeps your button ready to rise above the darkness */
.cool-img-btn {
  position: relative;
  /* ...keep all your existing .cool-img-btn styles here... */
}

/* 4. Lifts the chosen button above the dark layer on hover */
.cool-img-btn:hover {
  z-index: 20;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 25px rgba(5, 156, 244, 0.6);
}

/* Splits the page into Left (buttons) and Right (broadcast) */
.main-layout {
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: flex-start;
}

/* Left Column */
.left-panel {
  width: 50%; /* Adjust width as needed */
}

/* Right Broadcast Screen */
.right-broadcast {
  width: 50%;
  background: #161d33;
  color: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-family: sans-serif;
  min-height: 300px;
}

.live-badge {
  display: inline-block;
  background: #e63946;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.right-broadcast img {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 15px;
}

.stacked-vertical {
  display: flex;
  flex-direction: column; /* Stacks items top-to-bottom */
  gap: 8px;               /* Adds space between each line */
}

.bottom-box {
    background: linear-gradient(45deg, #3d4c7b, #23315f00);
    display: flex;
    height: 200px;
    border-top: 5px solid #4979b0, #23315f00;
    align-content: center;
    flex-direction: row;
    width: 100%;
}

a {
    color: #ddd;
    font-size: large;
    text-decoration: 0;
    font-style: italic;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h3 {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: #3d4c7b;
}

#preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 99999;
}

.loader-image {
    width: 80%;
    max-width: none;
    height: auto;
    flex-shrink: 0;

    animation: slideLeft 2s cubic-bezier(.7, 0, .3, 1) forwards;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-130vw);
    }
}

@keyframes slideZoom {
    0% {
        opacity: 0;
        transform: translate(100vw, -50%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

audio {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 10px;
  width: calc(100% - 600px);
  margin: 15px;
  margin-top: 15px;
  padding: 14px 24px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #3d4c7b, #a1afdb);
  color: white;
  text-decoration: none;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: bold;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 5px #4979b0, #23315f00;
}

.pr {
  display: flex;
  align-items: left;
  gap: 10px;
  margin: 15px;
  margin-top: 15px;
  padding: 14px 24px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #7687bc, #a1afdb);
  color: white;
  text-decoration: none;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: bold;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 5px #4979b0, #23315f00;
  flex-direction: column;
  width: calc(100% - 600px);
}

.alt-cool-img-btn {
  display: flex;
  justify-content: left;
  align-items: left;
  margin: 5px;
  margin-top: 15px;
  padding: 14px 24px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #3d4c7b, #23315f00);
  color: white;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 5px #4979b0, #23315f00;
}



