/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css');


html{
    scroll-behavior: smooth;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(to bottom, #111827, #141a24);
  color: #ffffff;
  height: 100vh;
  overflow-x: auto;
  min-width: 1280px;
}
nav.nav-scrolled {
  top: 0;
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.06);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 500px;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(125, 160, 250, 0.25);
}

nav.nav-scrolled .nav-links a {
  color: #b0b0b0;
}

nav.nav-scrolled .logo-text {
  color: #ffffff;
}
.logo-text {
  transition: font-size 0.3s ease;
}

nav.scrolled .logo-text {
  font-size: 18px; /* Slightly larger logo text on scroll */
}
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 920px;
  height: 64px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(125, 160, 250, 0.25);
}

.nav-left,
.nav-right {
  flex: 0 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-text {
  font-family: 'Kaher', sans-serif;
  font-size: 15px;
  color: white;
  letter-spacing: 0.3px;
}

.nav-left img {
  height: 28px;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.nav-links a {
  position: relative;
  display: inline-flex; /* Changed from inline-block to inline-flex */
  align-items: center;   /* Vertical centering */
  justify-content: center;
  color: #b0b0b0;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
  height: 40px;  /* You can adjust this height as per your navbar */
}

.nav-links a span {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links a::after {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  top: 50%;
  transform-origin: center;
  color: white;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
}

/* Hover Animations */
.nav-links a:hover span {
  transform: translateY(-100%);
  opacity: 0;
}

.nav-links a:hover::after {
  transform: translateX(-50%) translateY(-100%);
  opacity: 1;
}
.login-icon-btn {
  position: relative;
  width: 46px;
  height: 46px;
  background-color: #ffffff;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 22px rgba(125, 160, 250, 0.6),
              0 0 40px rgba(125, 160, 250, 0.4),
              inset 0 2px 6px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-icon-btn .icon-static {
  position: relative;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.login-icon-btn::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: top 0.4s ease, opacity 0.4s ease;
}

.login-icon-btn:hover {
  background-color: #fafafa;
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(125, 160, 250, 0.7),
              0 0 45px rgba(125, 160, 250, 0.5),
              inset 0 2px 6px rgba(255, 255, 255, 1);
}
.login-icon-btn:hover .icon-static {
  opacity: 0;
}

.login-icon-btn:hover::after {
  top: 50%;
  opacity: 1;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8); /* Darker overlay */
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #1e293b; /* Dark background */
  padding: 40px 30px;
  border-radius: 18px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 20px rgba(125, 160, 250, 0.5); /* Base glow */
  position: relative;
  font-family: 'Inter', sans-serif;
  animation: popIn 0.3s ease, pulseGlow 3s ease-in-out infinite;
  color: #fff;
}
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 15px rgba(125, 160, 250, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(125, 160, 250, 0.8);
  }
  100% {
    box-shadow: 0 0 15px rgba(125, 160, 250, 0.3);
  }
}


@keyframes popIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  color: #e2e8f0;
}

.modal-sub {
  color: #94a3b8;
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #cbd5e1;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #475569;
  border-radius: 12px;
  font-size: 14px;
  background-color: #334155;
  color: #f1f5f9;
  transition: border 0.2s, background 0.2s;
}

.input-group input:hover {
  border-color: #7da0fa;
  background-color: #3b4d65;
}

.input-group input:focus {
  outline: none;
  border-color: #7da0fa;
  background-color: #475569;
}

.btn-login {
  width: 100%;
  background: #7da0fa;
  color: white;
  padding: 12px;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background: #9db9ff;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 22px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #fff;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 6px); /* Small gap below News & Info */
  left: 0;
  width: 100%;
  background: rgba(30, 41, 59, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 999;
  min-width: 200px;
}

.dropdown-content a {
  color: #e0e0e0;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Arrow Icon */
.dropbtn::after {
  content: ' ▼';
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn::after {
  transform: rotate(180deg);
}

.hero-left {
  text-align: left;
  max-width: 720px;
  margin-left: 40px;
  margin-right: auto;
  position: relative;
  z-index: 1;
  color: white;
}

.hero-left h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-left #rot-word {
  color: #7da0fa;
}

.hero-left p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #7da0fa;
  color: #000;
  box-shadow: 0 4px 12px rgba(125, 160, 250, 0.2);
}

.btn-primary:hover {
  background-color: #a3bffc;
  box-shadow: 0 6px 18px rgba(125, 160, 250, 0.3);
}

.btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: #fff;
  border: 2px solid #7da0fa;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  z-index: 1;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: visible; /* Changed this */
  text-shadow: none !important;
}

/* Fixed Glowing Ring */
.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(125, 160, 250, 0.3);
  animation: border-glow-only 2s infinite;
  z-index: -1;
}

@keyframes border-glow-only {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 160, 250, 0.3);
  }
  50% {
    box-shadow: 0 0 10px 4px rgba(125, 160, 250, 0.6);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(125, 160, 250, 0.3);
  }
}

.btn-outline:hover {
  background-color: #7da0fa;
  color: #000;
}

.hero-section {
  position: relative;
  min-height: 768px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 1rem; /* smaller padding on phones */
  }
}
.background-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit; /* hero background */
  filter: blur(1px);   /* small blur */
  z-index: 0;
  transition: filter 0.3s ease;
}

.background-blur::after {
  content: '';
  position: absolute;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
}

.weather-widget {
  position: fixed;
  bottom: 20px;
  right: 50px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(125, 160, 250, 0.25);
  border: 1px solid rgba(125, 160, 250, 0.15);
  z-index: 1000;
}
.weather-widget .divider {
  color: #ccc;
}
/* Custom cursor dot */
.cursor-dot {
  position: fixed;
  width: 15px;
  height: 15px;
  background-color: rgb(141, 136, 136);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.image-cluster {
  background-color: #0f1225;
  padding: 60px 0;
}

.burst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 5%;
}
  .program-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px 20px;
    border-left: 4px solid #7da0fa;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1);
    cursor: pointer;
    transform: translate(0px, -250px) scale(2.0);
  }

  .program-card:hover {
    transform: translate(0px, -250px) scale(2.0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.12);
  }
/* Reuse image burst animation */
.burst-images {
  position: relative;
  width: 100%;
  height: 500px;
  left: -20px;
}
.wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.image-cluster-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
  background-color: #0f172a;
  flex-wrap: wrap;
}
.img {
  position: absolute;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, z-index 0.3s;
  transform-origin: center center;
  max-width: 100%;
  height: auto;
}

.image-cluster {
  position: relative;
  width: 100%;
  height: auto;
}


.img1, .img2, .img3, .img4, .img5 , .img6{
  top: 45%;
  left: 45%;
}


.image-cluster.visible .img1 { transform: translate(0px, -220px) scale(1); opacity: 1; }
.image-cluster.visible .img2 { transform: translate(-220px, -120px) scale(1); opacity: 1; }
.image-cluster.visible .img3 { transform: translate(200px, -120px) scale(1); opacity: 1; }
.image-cluster.visible .img4 { transform: translate(-10px, 80px) scale(1); opacity: 1; }
.image-cluster.visible .img5 { transform: translate(180px, 70px) scale(1); opacity: 1; }
.image-cluster.visible .img6 { transform: translate(-200px, 70px) scale(1); opacity: 1; }
.image-cluster.visible .img1:hover {
  transform: translate(0px, -220px) scale(2.0);
}
.image-cluster.visible .img2:hover {
  transform: translate(-220px, -120px) scale(2.0);
}
.image-cluster.visible .img3:hover {
   transform: translate(200px, -120px) scale(2.0);
}
.image-cluster.visible .img4:hover {
  transform: translate(-10px, 80px) scale(2.0);
}
.image-cluster.visible .img5:hover {
  transform: translate(180px, 70px) scale(2.0);
}
.image-cluster.visible .img6:hover {
  transform: translate(-200px, 70px) scale(2.0);
}

/* Search bar styles */
.search-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 10px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 1s ease, opacity 1s ease;
}

.image-cluster.visible .search-bar {
  transform: translate(-35%, -90%) scale(1);
  opacity: 1;
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 16px;
}

.search-bar button {
  background: #7da0fa;
  border: none;
  padding: 4px 10px;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.burst-images img {
    transition: transform 0.3s ease;
    cursor: pointer;
    max-width: 150px;
    margin: 5px;
  }

  .burst-images img:hover {
    transform: scale(1.2);
    z-index: 10;
    position: relative;
  }
.top-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-heading a {
  color: #7da0fa;
  font-size: 14px;
  text-decoration: none;
}

.section {
  padding: 2rem;
  width: 100%;
  min-height: auto;
  box-sizing: border-box;
}

/* Top Stories Layout */
.top-stories {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  width: 100%;
  flex-wrap: wrap;
}

#top-stories {
  width: 100%;
  overflow: auto;
  padding: 2rem;
  box-sizing: border-box;
}

/* LARGE STORY CARD */
.story-large {
  margin-top: 30px;
  flex: 1.5;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 600px;
  box-shadow: 0 0 20px rgba(125, 160, 250, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.story-large:hover img {
  transform: scale(1.03);
}
.story-large img, .story-large video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.story-large::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
  z-index: 1;
}
.story-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem;
  color: white;
  z-index: 2;
}
.tag { 
    display: inline-block; 
    padding: 4px 10px; 
    font-size: 12px; 
    border-radius: 10px; 
    margin-bottom: 8px; 
    color: black; 
}

/* Modern Gradient Colors */
.tag.local-news { 
    background: linear-gradient(45deg, #ffb347, #ff6a00); /* warm orange */
}
.tag.national-news { 
    background: linear-gradient(45deg, #3a7bd5, #00d2ff); /* blue blend */
}
.tag.serbisyung-publiko { 
    background: linear-gradient(135deg, #11a070ff, #34d399); } /* green teal */
.tag.news-info { 
    background: linear-gradient(45deg, #8e2de2, #4a00e0); /* deep purple */
}
.story-title { font-weight: 700; font-size: 22px; margin: 8px 0; }
.story-desc { font-size: 15px; line-height: 1.6; margin-top: 5px; color: #f3f3f3; }
.story-footer { font-size: 14px; margin-top: 12px; display: flex; justify-content: space-between; align-items: center; color: #d1d5db; }

/* SMALL STORY CARD */
.story-small {
  position: relative;
  flex: 1;
  height: 100px; /* updated from 100px to 180px for better visibility */
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px; /* slightly smaller gap */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.story-small:hover img { 
  transform: scale(1.03); 
}

.story-small img, .story-small video { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.story-small::before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0)); 
  z-index: 1; 
}

.story-small .story-content { 
  position: absolute; 
  bottom: 0; 
  width: 100%; 
  padding: 0.8rem; 
  color: white; 
  z-index: 2; 
}

.story-small .story-title { 
  font-weight: 600; 
  font-size: 14px; 
  margin: 5px 0; 
  line-height: 1.4; 
}

.story-small .story-footer { 
  font-size: 12px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  color: #ccc; 
}

.story-small .story-footer a { 
  color: #7da0fa; 
  text-decoration: none; 
  font-size: 12px; 
}



.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: bold;
}

.section-header a {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
}

.news-grid {
  display: flex;
  gap: 20px;
}

/* Featured News (Large Card) */
.featured-news {
  position: relative;
  flex: 1.5;
  height: 500px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.featured-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-news .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  color: white;
  transition: background 0.3s ease;
}

.featured-news .tag {
  font-size: 12px;
  font-weight: bold;
  background-color: #2563eb;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.featured-news h3 {
  font-size: 18px;
  margin: 0 0 6px 0;
}

.featured-news p {
  font-size: 14px;
  margin-bottom: 10px;
}

.featured-news .date {
  font-size: 12px;
  opacity: 0.8;
}

.featured-news .read-more {
  font-weight: bold;
  font-size: 14px;
  margin-top: 5px;
  color: #93c5fd;
  cursor: pointer;
}

/* Side News (Small Cards) */
.side-news {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-card {
  position: relative;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .overlay {
  position: absolute;
  bottom: 0;
  padding: 20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.news-card .tag {
  font-size: 11px;
  background: dodgerblue;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
  width: fit-content;
}

.news-card h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.3em;
}
.featured-news img,
.news-card img {
  transition: transform 0.4s ease;
}

.featured-news:hover img,
.news-card:hover img {
  transform: scale(1.05);
}

.btn {
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Live Button */
.live-btn {
  display: inline-flex;
  align-items: center;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
  color: white;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  animation: pulse-shadow 2s infinite;
  box-shadow: 0 0 0 rgba(223, 0, 0, 0.4);
  position: fixed;
  bottom: 70px;
  right: 10px;
  z-index: 1000;
}

/* Scroll to Top Button */
.up-btn-floating {
  position: fixed;
  bottom: 115px;
  right: 10px;
  background-color: #7c3aed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
  font-size: 16px;
  color: white;
  display: none; /* controlled by JS */
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 9999; /* bring on top */
  cursor: pointer;
}

/* Pulse Animation */
@keyframes pulse-shadow {
  0% {
    box-shadow: 0 0 0 rgba(223, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 25px 10px rgba(223, 0, 0, 0.6);
  }
  100% {
    box-shadow: 0 0 0 rgba(223, 0, 0, 0.3);
  }
}
.footer {
  background-color: #0f1225;
  color: white;
  padding: 60px 20px 30px;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-name {
  font-family: 'Kaher', sans-serif;
  font-size: 1.5rem;
  font-weight: normal;
}
.brand-badge {
  background-color: #dc2626;
  color: white;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: bold;
}
.footer-description {
  margin: 15px 0;
  color: #a0aec0;
}
.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 10px;
  color: #a0aec0;
}
.footer-links ul li a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links ul li a:hover {
  color: #7da0fa;
}
.footer-contact ul li i {
  margin-right: 8px;
  color: #7da0fa;
}
.studio-hotlines p {
  color: #a0aec0;
  margin: 2px 0;
}
.social-icons {
  display: flex;
  gap: 10px;
}
.social-icons a {
  background: #222642;
  padding: 10px;
  border-radius: 9999px;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}
.social-icons a:hover {
  background-color: #7da0fa;
}
.footer-bottom {
  border-top: 1px solid #1e1e2d;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}
.footer-bottom p {
  color: #999;
  font-size: 14px;
}
.bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.bottom-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
}
.bottom-links a:hover {
  color: #7da0fa;
}
  .share-facebook {
    background-color: #1877f2;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .share-facebook:hover {
    background-color: #155db2;
  }
.facebook-login {
  background-color: #1877f2;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
.facebook-login:hover {
  background-color: #155db2;
}
.livestream-section {
  padding: 2rem;
  background-color: #0f111a;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
}
.livestream-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.main-stream {
  flex: 2;
}
.video-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.video-container video {
  width: 100%;
  display: block;
}
.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #e50914;
  color: white;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 50px;
  font-weight: bold;
}
.view-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 50px;
}
.stream-details h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.5rem;
}
.stream-details p {
  margin-bottom: 1rem;
  color: #bbb;
}
.stream-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.stream-controls select {
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  background-color: #1c1e2a;
  color: white;
}
.control-btn {
  background: #1c1e2a;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 7px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}
.control-btn:hover {
  background-color: #2a2d3d;
}
.volume-slider {
  width: 120px;
  cursor: pointer;
}
.side-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.recent-broadcasts h4,
.social-links h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #eee;
}
.broadcast-card {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  background-color: #1a1c26;
  border-radius: 8px;
  padding: 0.5rem;
  transition: background 0.3s;
}
.broadcast-card:hover {
  background-color: #222532;
}
.broadcast-card img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}
.broadcast-info p {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}
.broadcast-info small {
  font-size: 0.75rem;
  color: #aaa;
}
.social-links .social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: white;
  font-weight: 500;
}
.social i {
  margin-right: 10px;
}
.facebook {
  background-color: #3b5998;
}
.youtube {
  background-color: #ff0000;
}
.twitter {
  background-color: #1da1f2;
}
