* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  background: radial-gradient(circle at top, #1a1a1a, #0a0a0a);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  animation: fadePage 0.5s ease;
}

body {
  border: 5px solid red !important;
}

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

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 15px 20px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #222;
  flex-wrap: wrap;
}

.logo {
  color: red;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
  position: relative;
}

.navbar a:hover {
  color: red;
  transform: translateY(-2px);
}

/* HERO */
.hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  filter: brightness(0.4);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-overlay h1 {
  font-size: 48px;
  color: red;
  text-shadow: 0 0 10px rgba(255,0,0,0.3);
}

.subtitle {
  color: #ccc;
  font-size: 16px;
  margin-top: 8px;
}

.hero-box {
  background: rgba(0,0,0,0.7);
  padding: 25px;
  border-radius: 12px;
  max-width: 600px;
  margin-top: 20px;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  background: red;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: white;
  color: red;
  transform: translateY(-2px);
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  background: #0d0d0d;
  border-top: 1px solid #1f1f1f;
  text-align: center;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 25px;
  border-left: 4px solid red;
  padding-left: 10px;
  display: inline-block;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: #151515;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #222;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  color: red;
  padding: 15px;
  font-size: 20px;
}

.card p {
  padding: 0 15px 20px;
  color: #bbb;
}

.news-card {
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #222;
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: red;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-tag {
  background: red;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.news-card h3 {
  color: white;
  margin-bottom: 10px;
}

.news-card p {
  color: white;
}

.news-card a {
  color: white;
  text-decoration: none;
}

.news-card a:visited {
  color: white;
}


/* FEATURED STORY */
.featured-top-story {
  padding: 50px 20px;
}

.featured-main-story {
  position: relative;
  max-width: 1200px;
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
}

.featured-main-story img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.45);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  padding: 40px;
  max-width: 600px;
}

/* SOCIAL */
#social-bar {
  padding: 30px 20px;
  text-align: center;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-buttons a {
  width: 44px;
  height: 44px;
  background: #1a1a1a;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #222;
}

.social-buttons img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: none;
  transition: 0.2s;
}

.social-buttons img:hover {
  transform: scale(1.15);
}

.social-buttons a:hover {
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  background: #050505;
  text-align: center;
  padding: 50px 20px;
  border-top: 1px solid #222;
}

.footer h3 {
  color: red;
  font-size: 26px;
}

.footer p {
  color: #aaa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    height: 55vh;
  }

  .hero-overlay h1 {
    font-size: 30px;
  }

  .section h2 {
    font-size: 22px;
  }
@media (max-width: 768px) {
  .cards,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* BREAKING NEWS TICKER */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #111;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 12px 0;
  position: relative;
}

/* moving track */
.ticker {
  display: flex;
  width: max-content;
  animation: tickerMove 18s linear infinite;
}

/* content inside ticker */
.ticker span {
  white-space: nowrap;
  margin-right: 40px;
  font-weight: bold;
  font-size: 14px;
  color: white;
}

/* highlight BREAKING */
.ticker span:first-child {
  color: red;
}

/* animation */
@keyframes tickerMove {
  0% {
    transform: translateX(100%);
  }

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