/* =========================================================
   LIFE CHANGERS FAMILY RADIO — CLEAN MASTER STYLESHEET
   Version 3.0.0 - With Responsive Typography
   ========================================================= */

/* ======================
   BASE / RESET
====================== */
html {
  width: 100%;
  overflow-x: hidden;
  /* Base font size that scales with viewport */
  font-size: clamp(14px, 2.5vw, 16px);
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-color: #d8e5f6;
  color: #bfc6cfe0;
  text-align: center;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* Responsive font size with better scaling */
  font-size: clamp(0.95rem, 2vw + 0.5rem, 1.1rem);
  line-height: 1.6;
  
  transition: opacity 1.8s ease-in-out;
}

body.fade-in { opacity: 1; }
body.fade-out { opacity: 0; }

/* ======================
   BACKGROUND
====================== */
.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) brightness(70%);
  transform: scale(1.05);
  animation: fadeMotion 10s ease-in-out infinite alternate;
}

/* ======================
   NAVIGATION
====================== */
.gallery-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  
  padding: 1rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw + 0.3rem, 1.5rem);
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: translateY(-2px);
}

.nav-logo img {
  width: clamp(35px, 8vw, 45px);
  height: clamp(35px, 8vw, 45px);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(134, 11, 70, 0.4);
}

.nav-back {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 8px);
  padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.85rem, 2vw + 0.2rem, 1rem);
  transition: all 0.3s ease;
}

.nav-back:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-5px);
}

/* ======================
   CONTAINER
====================== */
.container {
  width: clamp(85%, 90%, 95%);
  max-width: 550px;
  margin: clamp(15px, 3vw, 20px) auto;
  padding: clamp(20px, 4vw, 30px);
  border-radius: clamp(15px, 3vw, 20px);
  background: rgb(0 0 0 / 19%);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
  animation: pulseGlow 3s infinite ease-in-out;
}

/* ======================
   TYPOGRAPHY
====================== */
h1 {
  font-size: clamp(1.8rem, 5vw + 0.5rem, 3rem);
  line-height: 1.2;
  margin: 0.5em 0;
}

h2 {
  font-size: clamp(1.5rem, 4vw + 0.3rem, 2.5rem);
  color: #013D86;
  text-shadow: 0 0 15px aliceblue;
  line-height: 1.3;
  margin: 0.5em 0;
}

h3 {
  font-size: clamp(1.3rem, 3.5vw + 0.2rem, 2rem);
  line-height: 1.3;
  margin: 0.5em 0;
}

h4 {
  font-size: clamp(1.1rem, 3vw + 0.2rem, 1.6rem);
  line-height: 1.4;
  margin: 0.5em 0;
}

h5 {
  color: #860b46;
  font-weight: lighter;
  text-transform: uppercase;
  text-shadow: 0 0 15px aliceblue;
  font-size: clamp(1rem, 2.5vw + 0.2rem, 1.4rem);
  line-height: 1.4;
  margin: 0.5em 0;
}

h5 i {
  color: #295c82;
  font-weight: 600;
}

p {
  font-size: clamp(0.95rem, 2vw + 0.3rem, 1.15rem);
  line-height: 1.6;
  margin: 0.8em 0;
}

.broadcast-status,
.info-section,
.schedule,
.events {
  font-size: clamp(0.9rem, 2vw + 0.2rem, 1.1rem);
  line-height: 1.5;
}

em {
  color: #9B0A1B;
  text-shadow: 0 0 15px aliceblue;
  font-size: inherit;
}

.lc-social-section h4 {
  margin-bottom: clamp(10px, 2vw, 12px);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: clamp(1rem, 2.5vw + 0.2rem, 1.3rem);
}

/* ======================
   SOCIAL LINKS
====================== */
.lc-social-links {
  list-style: none;
  padding: 0px;
  display: flex;
  gap: 25px;
  margin-left: 5%;
}

.lc-social-links li {
  display: inline-block;
}

/* ICON STYLING */
.lc-social-links a i {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  transition: 0.3s ease;
}

/* BRAND COLORS */
.lc-social-links a.yt i { color: #000000; }
.lc-social-links a.fb i { color: #000000; }
.lc-social-links a.ig i { color: #000000; }
.lc-social-links a.tw i { color: #000000; }

/* HOVER EFFECT */
.lc-social-links a:hover i {
  transform: scale(1.1);
  opacity: 0.85;
  border-radius: 50%;
}

/* ======================
   SHARE SECTION
====================== */
.share-now {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  margin-top: 25px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255,255,255,0.15);
}

.share-now p {
  color: #fff;
  font-size: clamp(0.9rem, 2vw + 0.2rem, 1.1rem);
  font-weight: 500;
  margin-bottom: clamp(10px, 2vw, 14px);
}

.share-now strong {
  font-size: clamp(1rem, 2.5vw + 0.2rem, 1.2rem);
}

.share-now:hover {
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.25);
  transform: scale(1.02);
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-share {
  background: rgba(255,255,255,0.1);
  border: 1px solid transparent;
  color: #6a1345;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  border-radius: 50%;
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255,255,255,0.15);
}

.btn-share:hover {
  transform: scale(1.15);
  border-color: currentColor;
  box-shadow: 0 0 15px #112c4133;
}

#share-whatsapp:hover { color: #25D366; }
#share-facebook:hover { color: #2470ab; }
#share-twitter:hover { color: #112c41; }
#copy-link:hover { color: #858688; }

.btn-share.active {
  background: rgba(0,255,157,0.15);
  color: #00ff9d;
  border-color: #00ff9d;
  transform: scale(1.2);
}

/* ======================
   SHOUTCHEAP PLAYER
====================== */
/* Shoutcheap generated listen button */
.cc_player .mainbutton,
button.mainbutton {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  margin-top: 10px;
  background: linear-gradient(135deg, #013D86, #9B0A1B);
  color: #b2bcc3;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cc_player .mainbutton:hover,
button.mainbutton:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.cc_player .mainbutton:focus-visible,
button.mainbutton:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* .cc_streaminfo { 
  opacity: 100%;
  position: relative;
}

.cc_player {
  background: linear-gradient(45deg, #112c41, #860b46);
  border-radius: 15px;
  padding: 15px;
  margin: 20px auto;
  width: 90%;
  max-width: 560px;
  box-shadow: 0 0 20px rgba(12, 43, 61, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.cc_player:hover {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  transform: scale(1.02);
}
*/
/* ======================
   BRAND LOGO
====================== */
.logo img {
  width: clamp(60px, 12vw, 80px);
  height: clamp(60px, 12vw, 80px);
  border-radius: 50%;
  margin: clamp(15px, 3vw, 20px) auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
   .brand-header {
  display: flex;
  justify-content: center;
  margin: 10px 0 12px;
}

.brand-logo {
  width: min(80%, 620px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.45));
}


/* ======================
   LIVE INDICATOR
====================== */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 8px);
  padding: clamp(5px, 1.5vw, 6px) clamp(12px, 3vw, 14px);
  border-radius: 20px;
  background: rgba(255,0,0,0.15);
  color: #ff4c4c;
  font-weight: bold;
  font-size: clamp(0.85rem, 2vw + 0.1rem, 1rem);
  border: 1px solid rgba(255,0,0,0.3);
  box-shadow: 0 0 15px rgba(255,0,0,0.3);
  animation: livePulse 1.2s infinite ease-in-out;
}

.live-indicator .dot {
  width: clamp(5px, 1.5vw, 8px);
  height: clamp(5px, 1.5vw, 8px);
  border-radius: 50%;
  background: #ff4c4c;
  animation: blink 1s infinite alternate;
}

/* ======================
   BROADCAST STATUS
====================== */
.broadcast-status {
  font-style: italic;
  margin-bottom: 15px;
  color: rgb(240,248,255);
  opacity: 1;
  transition: all 0.6s ease-in-out;
}

/* ======================
   VIDEO SECTION
====================== */
.video-toggle {
  margin-top: 25px;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 8px);
  padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 25px);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: clamp(0.9rem, 2vw + 0.2rem, 1.1rem);
  color: #fff;
  background: linear-gradient(135deg, #013D86, #9B0A1B);
  box-shadow: 0 0 10px rgba(12,43,61,0.6);
  transition: all 0.4s ease;
}

.toggle-btn:hover {
  transform: scale(1.05);
}

.toggle-btn.active {
  background: linear-gradient(145deg, #ff4c4c, #860b46);
  box-shadow: 0 0 25px rgba(255,95,95,0.5);
  animation: buttonPulse 2s infinite;
}

/* Collapsible video container */
.video-section {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-20px);
  transition: all 0.8s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

.video-section.show {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.video-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.video-section.show iframe {
  opacity: 1;
}

/* ======================
   FOOTER
====================== */
.lc-footer {
  padding: 40px 0;
  text-align: center;
  background: transparent;
}

.lc-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* =========================
   PARTNER LINKS SECTION
========================= */
.lc-footer-partners {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
}

.lc-footer-text h5 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw + 0.3rem, 1.4rem);
  color: white;
  font-weight: 600;
}

.lc-footer-text h5 i {
  font-style: italic;
  color: #860b46;
}

.lc-footer-partners h5 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw + 0.3rem, 1.4rem);
  color: white;
  font-weight: 600;
}

.lc-footer-partners h5 i {
  font-style: italic;
  color: #860b46;
}

.partner-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  padding: 10px 15px;
  border-radius: 15px;
}

.partner-link:hover {
  background: none;
  transform: translateY(-3px);
}

.partner-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.partner-link:hover .partner-logo {
  transform: scale(1.1);
  filter: brightness(1.2) drop-shadow(0 4px 12px rgba(134, 11, 70, 0.5));
}

.partner-link span {
  font-size: clamp(0.75rem, 2vw + 0.1rem, 0.9rem);
  font-weight: 600;
  opacity: 0.9;
}

.partner-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

/* Namibia Flag Section */
.namibia-flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  cursor: default;
}

.flag-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.namibia-flag:hover .flag-logo {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.namibia-flag span {
  font-size: clamp(0.75rem, 2vw + 0.1rem, 0.9rem);
  font-weight: 600;
  color: white;
  opacity: 0.9;
}

/* =========================
   SOCIAL SECTION
========================= */
.lc-social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.lc-social-section h5 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw + 0.3rem, 1.4rem);
  color: white;
  font-weight: 600;
}

.lc-social-section h5 i {
  font-style: italic;
  color: #860b46;
}

.lc-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 8vw, 50px);
  height: clamp(40px, 8vw, 50px);
  color: white;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  transition: all 0.3s ease;
  text-decoration: none;
}

.lc-social-links a:hover {
  transform: translateY(-1px) scale(1.1);
}

.lc-social-links a.yt:hover {
  background: #ff0000;
  border-radius: 35%;
}

.lc-social-links a.fb:hover {
  align-content: center;
  background: #1877f2;
  border-radius: 50%;
}

.lc-social-links a.ig:hover {
  color: #E1306C;
  text-emphasis-color: darkred;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #bc1888;
  border-radius: 26%;
}

/* =========================
   COPYRIGHT
========================= */
.lc-footer-copy {
  margin: 0;
  padding: 0 clamp(10px, 3vw, 0);
  font-size: clamp(0.8rem, 2vw + 0.1rem, 1rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  line-height: 1.5;
}

/* ======================
   ANIMATIONS
====================== */
@keyframes fadeMotion {
  from { transform: scale(1.05); filter: blur(12px) brightness(70%); }
  to   { transform: scale(1.1);  filter: blur(16px) brightness(60%); }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes blink {
  from { opacity: 1; }
  to   { opacity: 0.2; }
}

@keyframes livePulse {
  0%, 100% {
    box-shadow: rgba(255, 0, 0, 0.3) 0px 0px 10px;
  }
  50% {
    box-shadow: rgba(255, 0, 0, 0.6) 0px 0px 25px;
  }
}

@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 15px rgba(255,215,0,0.2); }
  50%     { box-shadow: 0 0 30px rgba(255,215,0,0.5); }
}

@keyframes buttonPulse {
  0%,100% { transform: scale(1.05); }
  50%     { transform: scale(1.1); }
}

@keyframes animate{
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }
  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

/* ======================
   RESPONSIVE BREAKPOINTS
====================== */

/* Extra small devices (< 375px) */
@media (max-width: 374px) {
  html {
    font-size: 15px;
  }
  
  body {
    font-size: 1rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .container {
    padding: 18px;
  }
  
  .nav-logo {
    font-size: 1.1rem;
  }
  
  .btn-share {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
  
  .lc-social-links a {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}

/* Small devices (375px - 480px) */
@media (min-width: 375px) and (max-width: 480px) {
  html {
    font-size: 15px;
  }
  
  body {
    font-size: 1rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  .lc-footer-partners {
    flex-direction: row;
    gap: 15px;
    padding: 20px;
  }
  
  .partner-divider {
    width: 1px;
    height: 60px;
  }
}

/* Medium devices (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  html {
    font-size: 15.5px;
  }
  
  body {
    font-size: 1.05rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  p {
    font-size: 1.05rem;
  }
}

/* Tablets and up */
@media (max-width: 768px) {
  .lc-footer {
    padding: 30px 20px;
  }

  .lc-footer-partners {
    flex-direction: row;
    gap: 15px;
    padding: 20px;
  }

  .partner-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(
      to top,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
  }

  .partner-logo {
    height: 45px;
  }

  .flag-logo {
    height: 35px;
  }

  .lc-social-section h5 {
    font-size: 1.1rem;
  }

  .lc-social-links a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .lc-footer-copy {
    font-size: 0.8rem;
    padding: 0 15px;
  }
  
  /* Touch targets for mobile */
  button,
  .btn-share,
  .lc-social-links a,
  .toggle-btn,
  .nav-back {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Better line height on mobile */
  p, .broadcast-status, .info-section {
    line-height: 1.7;
  }
}

/* Large devices (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  html {
    font-size: 16px;
  }
  
  body {
    font-size: 1.1rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

/* Extra large devices (> 1024px) */
@media (min-width: 1025px) {
  html {
    font-size: 16px;
  }
  
  body {
    font-size: 1.1rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .container {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .lc-footer-partners {
    padding: 15px;
  }

  .partner-logo {
    height: 40px;
  }

  .flag-logo {
    height: 30px;
  }

  .lc-social-links {
    gap: 10px;
  }

  .lc-social-links a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* Very small screens */
@media (max-width: 350px) {
  .container {
    padding: 18px;
    border-radius: 15px;
  }

  .video-wrapper {
    max-width: 100%;
    padding-top: 56.25%;
  }

  .toggle-btn {
    width: 85%;
    font-size: 0.95em;
  }

  .live-indicator {
    font-size: 0.8em;
  }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .container {
    padding: 15px;
    margin: 10px auto;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
 .brand-logo {
    width: min(100%, 460px);
  }
}

/* ======================
   ACCESSIBILITY
====================== */

/* Support user's browser font size preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Increase contrast for better readability */
@media (prefers-contrast: high) {
  body {
    color: #ffffff;
  }
  
  h2, h5, em {
    text-shadow: 0 0 20px #000000;
  }
}

/* ======================
   PREVENT TEXT OVERFLOW
====================== */
h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
