/* === GENERAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BODY === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* === HEADER === */
header {
    background: linear-gradient(to right, #5e5e5f, #abb5ad);
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

header .logo h1 {
    font-size: 4.8rem;
    font-weight: 900;
    letter-spacing: 1px;
}

/* LIVE logo */
.title {
    margin-top: 5%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
  }
  
  .title a {
    text-decoration: none;
    color: #c5c5c5;
  }
  
  .live-badge {
    color: rgb(0, 255, 51);
    position: relative;
    padding-left: 8px;
  }

  .live-badge {
	-webkit-animation: bounce-in-bck 1.1s 1s both;
	        animation: bounce-in-bck 1.1s 1s both;
   }

  @-webkit-keyframes bounce-in-bck {
    0% {
      -webkit-transform: scale(7);
              transform: scale(7);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
      opacity: 0;
    }
    38% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
      opacity: 1;
    }
    55% {
      -webkit-transform: scale(1.5);
              transform: scale(1.5);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    72% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    81% {
      -webkit-transform: scale(1.24);
              transform: scale(1.24);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    89% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    95% {
      -webkit-transform: scale(1.04);
              transform: scale(1.04);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }
  @keyframes bounce-in-bck {
    0% {
      -webkit-transform: scale(7);
              transform: scale(7);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
      opacity: 0;
    }
    38% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
      opacity: 1;
    }
    55% {
      -webkit-transform: scale(1.5);
              transform: scale(1.5);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    72% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    81% {
      -webkit-transform: scale(1.24);
              transform: scale(1.24);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    89% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    95% {
      -webkit-transform: scale(1.04);
              transform: scale(1.04);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }
  
  .live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #00ff00;
    border-radius: 50%;
    margin-left: 6px;
    animation: pulse 1.2s infinite ease-in-out;
    box-shadow: 0 0 5px #00ff00;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.5);
      opacity: 0.6;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
/* End of the Live logo */

header .navbar a {
    color: rgb(100, 100, 100);
    margin: 0 10px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    justify-content: center;
    gap: 15px;
    display: flex;
    z-index: 1;
}

header .navbar a:hover {
    color: #40e23a; /* Attention-grabbing gold */
    text-decoration: underline;
}

.navbar {
        position: fixed;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 1;
}

/* === LAYOUT CONTAINER === */
.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* === MAIN CONTENT === */
.content {
    flex: 1;
    padding: 20px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #6f6f6f;
    font-weight: 800;
}

/* === NEWS SECTION === */
.news-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.news-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.news-item.large-item {
    flex: 1 1 60%;
}

.news-item img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.news-item h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: #6f6f6f;
    font-weight: bold;
}

.news-item a {
    color: #6f6f6f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: #40e23a;
    text-decoration: underline;
}

.news-item .meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.news-item p {
    color: #444;
}

/* === FOOTER === */
.footer {
    background-color: #7a8188 ;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}

.footer p {
    margin: 0;
    font-size: 0.95rem;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #40e23a;
    text-decoration: underline;
}
