/* --- FULLSCREEN BACKGROUND VIDEO --- */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* --- TOP CYAN SOCIAL BAR --- */
.top-social-bar {
  width: 100%;
  background: rgba(10, 15, 20, 0.85);
  border-bottom: 1px solid rgba(65, 183, 188, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
}

.top-social-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-social-tagline {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #41b7bc;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #41b7bc;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.top-social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.top-social-icon:hover {
  color: #ffffff;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(65, 183, 188, 0.9));
}

@media (max-width: 600px) {
  .top-social-container {
    justify-content: center;
  }
  .top-social-tagline {
    display: none;
  }
}

/* --- FLOATING TOP SOCIAL ICONS --- */
.top-social-float {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-top: 14px;
  position: relative;
  z-index: 20;
}

.top-social-float .top-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #41b7bc;
  text-decoration: none;
  transition: all 0.25s ease;
  opacity: 0.9;
}

.top-social-float .top-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.top-social-float .top-social-icon:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(65, 183, 188, 0.9));
}

/* --- BASE SETUP & BACKGROUND --- */
html, body {
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background-color: transparent !important;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* GLOBAL LINK COLOR OVERRIDES (PREVENTS VISITED PURPLE TEXT) */
a, a:visited, a:hover, a:active {
  color: #ffffff;
  text-decoration: none;
}

/* --- HEADER & LOGO --- */
.top-header-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 25px 0 10px 0;
  position: relative;
  z-index: 10;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  position: relative;
}

@keyframes homeLogoPulse {
  0% { 
    transform: scale(0.97); 
    filter: drop-shadow(0 0 18px rgba(65, 183, 188, 0.5)); 
  }
  50% { 
    transform: scale(1.03); 
    filter: drop-shadow(0 0 30px rgba(65, 183, 188, 0.8)); 
  }
  100% { 
    transform: scale(0.97); 
    filter: drop-shadow(0 0 18px rgba(65, 183, 188, 0.5)); 
  }
}

.logo {
  width: 240px !important;
  height: auto !important;
  aspect-ratio: auto;
  display: block;
  opacity: 1 !important;
  transform-origin: center center;
  will-change: transform, filter;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  animation: homeLogoPulse 3s infinite ease-in-out;
}

/* --- MAIN LAYOUT CONTAINER --- */
.main-content-container {
  width: 100%;
  max-width: 900px;
  margin: 10px auto 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- LATEST ANNOUNCEMENT CARD --- */
.latest-news-card,
.latest-announcements-card {
  background: rgba(20, 30, 60, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 22px 30px 18px 30px;
  color: #ffffff;
  text-align: left;
  box-shadow:      
      inset 0 1px 0 rgba(255, 255, 255, 0.2), 
      0 8px 25px rgba(0, 0, 0, 0.5);         
  transition: all 0.3s ease;
  cursor: pointer;
}

.latest-news-card:hover,
.latest-announcements-card:hover {
  border-color: rgba(65, 183, 188, 0.8);
  transform: translateY(-2px);
  box-shadow:      
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 20px rgba(65, 183, 188, 0.4);
}

.latest-news-date,
.latest-announcements-date {
  font-size: 0.85rem;
  color: #41b7bc !important;
  text-shadow: 0 0 8px rgba(65, 183, 188, 0.4); /* Adds glow so text matches icon visual weight */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.latest-news-card h2,
.latest-announcements-card h2 {
  margin: 0 0 12px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.latest-news-card p,
.latest-announcements-card p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.latest-news-image,
.latest-announcements-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-gallery,
.announcements-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

/* --- SIDE-BY-SIDE FLEX SECTION --- */
.showcase-side-layout {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: stretch;
}

.showcase-video-side {
  flex: 1 1 65%;
  min-width: 0;
}

.showcase-video-side .featured-video-card {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-video-card {
  background: rgba(20, 30, 60, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.2), 
    0 8px 25px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s ease;
}

.featured-video-card:hover {
  border-color: rgba(65, 183, 188, 0.8);
  transform: translateY(-2px);
  box-shadow:      
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 20px rgba(65, 183, 188, 0.4);
}

.featured-badge {
  font-size: 0.85rem;
  color: #41b7bc !important;
  text-shadow: 0 0 8px rgba(65, 183, 188, 0.4); /* Adds glow so text matches icon visual weight */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-align: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- SIDE NAVIGATION LINKS --- */
.side-nav-container {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

.side-nav-card,
.side-nav-card:visited {
  background: rgba(20, 30, 60, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 20px;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow:      
      inset 0 1px 0 rgba(255, 255, 255, 0.2), 
      0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.side-nav-card:hover {
  border-color: rgba(65, 183, 188, 0.8);
  transform: translateY(-2px);
  box-shadow:      
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 18px rgba(65, 183, 188, 0.4);
}

.side-nav-card h3 {
  margin: 0 0 4px 0;
  font-size: 1.15rem;
  color: #ffffff !important;
}

.side-nav-card p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.3;
}

/* --- FULL-WIDTH SUPPORT BANNER --- */
.support-banner-card,
.support-banner-card:visited {
  background: rgba(30, 70, 100, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(65, 183, 188, 0.4);
  border-radius: 12px;
  padding: 16px 25px;
  color: #ffffff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.support-banner-card:hover {
  background: rgba(40, 90, 130, 0.7);
  border-color: rgba(65, 183, 188, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(65, 183, 188, 0.5);
}

.support-banner-content h3 {
  margin: 0 0 4px 0;
  font-size: 1.2rem;
  color: #ffffff !important;
}

.support-banner-content p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

.support-btn-badge {
  background: rgba(65, 183, 188, 0.2);
  border: 1px solid rgba(65, 183, 188, 0.7);
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* --- FOOTER CONTACT / DOMAIN INFO --- */
.footer-contact-info {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 25px auto 10px auto;
  position: relative;
  z-index: 10;
}

.footer-contact-info p {
  margin: 3px 0;
}

/* --- MAN WHAT? RADIO PLAYER CONTAINER --- */
.radio-card-container {
  max-width: 900px;
  margin: 12px auto 30px auto;
  padding: 0 15px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.radio-card {
  background: rgba(20, 30, 60, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px;
  box-shadow:      
    inset 0 1px 0 rgba(255, 255, 255, 0.2), 
    0 8px 25px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s ease;
}

.radio-card:hover {
  border-color: rgba(65, 183, 188, 0.8);
  transform: translateY(-2px);
  box-shadow:      
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 20px rgba(65, 183, 188, 0.4);
}

.radio-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  margin-top: 12px;
}

.iframe-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.iframe-container iframe,
.iframe-container #player {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- DOCKED CONTROL PANEL WITH PERFECT CORNER TRIANGLE TOGGLE --- */
.radio-control-panel {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  width: 90%;
  max-width: 520px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio-triangle-toggle {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 2px 3px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.55rem !important;
  cursor: pointer;
  z-index: 100000;
  box-shadow: none !important;
  transition: all 0.2s ease;
  line-height: 1;
}

.radio-triangle-toggle:hover {
  background: transparent !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: scale(1.2);
  filter: drop-shadow(0 0 4px rgba(65, 183, 188, 0.9));
}

.radio-control-panel.minimized {
  left: auto;
  right: 12px;
  bottom: 12px;
  transform: none;
  width: 24px;
  height: 24px;
  max-width: none;
  padding: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-control-panel.minimized .radio-triangle-toggle {
  position: static !important;
  transform: none !important;
  font-size: 0.65rem !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
}

.radio-control-panel.minimized .radio-triangle-toggle:hover {
  transform: scale(1.15) !important;
}

.radio-control-panel.minimized button:not(.radio-triangle-toggle) {
  display: none !important;
}

.radio-control-panel button:not(.radio-triangle-toggle) {
  width: 100% !important;
  margin: 0 !important;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.radio-control-panel button:not(.radio-triangle-toggle):hover {
  background: rgba(30, 80, 110, 0.9);
  border-color: rgba(65, 183, 188, 0.9);
}

@keyframes pulseUnmute {
  0% { 
    background: rgba(30, 80, 110, 0.7); 
    border-color: rgba(65, 183, 188, 0.5); 
    box-shadow: 0 0 6px rgba(65, 183, 188, 0.3);
  }
  50% { 
    background: rgba(40, 120, 160, 0.95); 
    border-color: rgba(65, 183, 188, 1); 
    box-shadow: 0 0 16px rgba(65, 183, 188, 0.8);
  }
  100% { 
    background: rgba(30, 80, 110, 0.7); 
    border-color: rgba(65, 183, 188, 0.5); 
    box-shadow: 0 0 6px rgba(65, 183, 188, 0.3);
  }
}

.unmute-button.unmute-anim {
  animation: pulseUnmute 1.8s infinite ease-in-out !important;
  will-change: background, box-shadow, border-color;
}

.unmute-button:not(.unmute-anim) {
  animation: none !important;
  background: rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* --- FOOTER LOGOS --- */
.bottom-logos-container {
  text-align: center;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  gap: 4px;
}

.bottom-logo {
  max-width: 200px;
  height: auto;
  display: block;
}

/* --- MOBILE RESPONSIVE MEDIA QUERY --- */
@media only screen and (max-width: 767px) {
  .showcase-side-layout {
    flex-direction: column;
  }
  .support-banner-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .radio-card-container {
    padding: 0 12px;
  }
  .radio-control-panel {
    bottom: 8px;
    padding: 8px 6px;
    gap: 5px;
    width: 95%;
  }
  .radio-control-panel button:not(.radio-triangle-toggle) {
    font-size: 0.7rem;
    padding: 6px 4px;
  }
  .radio-control-panel.minimized {
    right: 8px;
    bottom: 8px;
  }
}