/* body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0f0f17;
  color: #fff;
  line-height: 1.7;
}

 Hero Section 
.article-hero {
  text-align: center;
  background: linear-gradient(180deg, #111, #1a1a26);
  padding: 4rem 2rem;
  border-bottom: 3px solid #ff2e63;
  animation: fadeIn 1s ease-in-out;
}

.article-title {
  font-size: 2.5rem;
  color: #ff2e63;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 0 #000;
}

.article-subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.article-date {
  font-size: 0.9rem;
  color: #888;
}

 Content Section 
.article-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  gap: 2rem;
}

.article-image-container {
  overflow: hidden;
  border-radius: 1rem;
  max-width: 800px;
  box-shadow: 0 0 20px rgba(255, 46, 99, 0.3);
}

.article-image {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.article-image:hover {
  transform: scale(1.05);
}

.article-body {
  max-width: 800px;
  background: rgba(17, 17, 17, 0.8);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255, 46, 99, 0.2);
  animation: slideUp 1.2s ease;
}

.article-body p {
  margin-bottom: 1.2rem;
}

blockquote {
  font-style: italic;
  color: #ff2e63;
  border-left: 3px solid #ff2e63;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.author {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
  text-align: right;
}

.back-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  color: #fff;
  background: #ff2e63;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background: #ff4081;
}

 Animations 
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

 Responsive 
@media (max-width: 768px) {
  .article-title { font-size: 1.8rem; }
  .article-body { padding: 1.5rem; }
} */

/* General Comic Style */
body {
  margin: 0;
  font-family: 'Roboto';
  background: #111 url('textures/halftone-bg.png') repeat;
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
}


/*Navbar section*/

/* ======== LINKS ======== */
a {
  font-weight: 500;
  color: #ff2e63;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #ff6bcb;
}

footer {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: #999;
  text-align: center;
}

/*Style and colors*/

/* Navbar */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  /* justify-content: space-between; */
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15,15,23,0.9);
  backdrop-filter: blur(5px);
  z-index: 1000;
  padding: 0.5rem 1rem;
}
/* Group all three elements */
.nav-center-group {
  display: flex;
  align-items: center;
  gap: 3rem; /* spacing between logo, nav, and search/subscribe */
}
/* Search + subscribe container */
.search-subscribe {
  display: flex;
  align-items: center;
  gap: 1rem; /* spacing between search bar and subscribe button */
}


nav ul {
  list-style: none;
  display: flex;
  padding: 1rem 0;
  margin: 0 auto; /* centers the menu */
  flex: 1;
  gap: 2px;
  justify-content: center;
  transition: all 0.3s ease;
}
nav ul li {
  margin: 0 1.5rem;
  
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  font-size: 16px;
  letter-spacing: 0.2px;
  transition: color 0.3s ease;
  
}
nav ul li a:hover {
  color: #ff00ff;
}

/* Dropdown styling */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none; /* hide by default */
  position: absolute;
  top: 100%;
  left: 0;
  background: #1b1b27;
  padding: 0.5rem 0;
  list-style: none;
  min-width: 160px;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 100;
}

.nav-links .dropdown-menu li {
  margin: 0;
}

.nav-links .dropdown-menu li a {
  color: #fff;
  padding: 0.5rem 1rem;
  display: block;
  text-decoration: none;
  transition: background 0.3s;
}

.nav-links .dropdown-menu li a:hover {
  background: #ff2e63;
}

/* Show dropdown on hover for desktop */
.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}
/* Dropdown menu end */

/* Hamburger icon (hidden by default) */
.menu-toggle {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 22px;
}

/* 🔸 Mobile Styles */
@media (max-width: 768px) {
  /* Hide actions and show hamburger */
  
  /* Dropdown menu */
  .nav-links .dropdown-menu {
    position: static;
    display: none;
    background: none;
    box-shadow: none;
  }

  /* Show dropdown when parent li has active class */
  .nav-links .dropdown.active .dropdown-menu {
    display: block;
  }
  /* Dropdown menu  end*/


  .subscribe-btn {
    display: none;

  }

  .menu-toggle {
    display: block;
  }

  /* Hide menu by default */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    flex-direction: column;
    width: 100%;
    background: #1b1b27;
    text-align: center;
    padding: 20px 0;
    /* padding-left: 200px; */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }
}

.search-container {
  display: flex;
  align-items: center;
  background: #1b1b26;
  border-radius: 20px;
  padding: 5px 20px;
  margin-right: 20px;
}

.search-container input {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  padding: 5px;
}

.search-container button {
  background: none;
  border: none;
  color: #ff2e63;
  cursor: pointer;
}

.search-container button:hover {
  color: #ff5e8e;
}

/* Subscribe button */
.subscribe-btn {
  background: #ff2e63;
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 15px;
}

/* 🔸 Search box collapses & Subscribe hides on smaller screens */
@media (max-width: 768px) {
  /* Hide subscribe button */
  .search-container {
    display: none;
  }
  .subscribe-btn {
    display: none;
  }

  /* Collapse search box into just an icon */
  .search-container input {
    display: none;
  }

  .search-container {
    background: none;
    padding: 0;
  }

  .search-btn {
    font-size: 18px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
  }
}

/* 🔸 Optionally make search visible again on tiny screens if clicked */
.search-container.active input {
  display: inline-block;
  background: #1b1b27;
  border-radius: 15px;
  padding: 4px 8px;
  margin-right: 5px;
}

.subscribe-btn:hover {
  background: #ff5e8e;
  transform: scale(1.05);
}


/* News Chyron */
.news-chyron {
  margin-top: 80px;/*navbar height */
  background: #111;
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid #ff00ff;
  border-bottom: 2px solid #ff00ff;
  margin-bottom: 30px;
}
.news-text {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 20s linear infinite;
}
.news-text p {
  color: #e5dc41;
  margin: 1px;
}
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}






/*Style and colors*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bangers', cursive;
  letter-spacing: 1px;
}
h2 {
  color: #e5dc41;
}
h3 {
  color: #c2813c; 
}

/* Speech Bubble Header */
.comic-header {
  background: linear-gradient(135deg, #ff00ff, #6600cc);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  color: #fff;
}

.bubble {
  display: inline-block;
  background: #fff;
  color: #222;
  border-radius: 25px;
  padding: 1.5rem 2rem;
  max-width: 80%;
  position: relative;
  font-family: 'Bangers', cursive;
  box-shadow: 0 8px 0 #222;
}

.bubble::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-top-color: #fff;
}

.bubble h1 {
  margin: 0;
  font-size: 2.5rem;
  text-transform: uppercase;
}

.subtitle {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  font-style: italic;
  color: #333;
}

/* Article Layout */
.comic-article {
  max-width: 900px;
  margin: 3rem auto;
  background: rgba(20, 20, 30, 0.85);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.2);
  animation: fadeIn 1s ease;
}
/* img {
  width: 400px;
  height: 200px;
} */
.article-meta {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.article-image {
  /* width: 100%; */
  width: auto;
  border-radius: 10px;
  margin: 1.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.article-content p {
  margin-bottom: 1.2rem;
}

/* Back Button */
.back-btn {
  display: inline-block;
  background: #ff00ff;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.back-btn:hover {
  background: #e600e6;
  transform: scale(1.05);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .bubble {
    max-width: 95%;
    font-size: 1rem;
  }

  .comic-article {
    padding: 1.5rem;
  }

  .bubble h1 {
    font-size: 1.8rem;
  }
}

/*footer styling*/

footer {
  background: #111;
  color: #fff;
  padding: 3rem 2rem 1rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10rem;
  text-align: left;
}

/* Logo */
.footer-logo {
  text-align: center;
  margin-bottom: 1rem;
}
.footer-logo img {
  width: 120px;
  /* margin-bottom: 1rem; */
  height: auto;
}

/* Section Titles */
.footer-section h3 {
  margin-bottom: 1rem;
  color: #c2813c;
}

/* Lists */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ff2e63;
}

/* Social Icons */
.social li a i {
  margin-right: 8px;
  color: #ff2e63;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social li a:hover i {
  transform: rotate(360deg);
  color: #ff7eb6;
}

/* Policies */
.policies li a {
  font-size: 0.9rem;
}

/* Newsletter Form */
.footer-newsletter h3{
  color: #c2813c;
  
}
.footer-newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-newsletter input[type="email"] {
  padding: 0.5rem;
  border-radius: 4px;
  border: none;
  flex: 1 1 auto;
}

.footer-newsletter button {
  padding: 0.5rem 1rem;
  background: #ff2e63;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: #ff46a0;
}

/* Footer bottom text */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}
/* Subscribe glow footer feature */
/* Glow effect */
.glow {
  box-shadow: 0 0 20px #ff2e63, 0 0 40px #ff2e63, 0 0 60px #ff2e63;
  transition: box-shadow 0.3s ease;
}


/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem; /* reduced vertical spacing */
  }

  .footer-logo img {
    margin-bottom: 1.5rem;
  }

  .footer-section {
    margin-bottom: 1.5rem;
  }

  .footer-newsletter form {
    justify-content: center;
  }
}


/* Mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  nav ul li {
    margin: 0 1rem;
  }
  .page-card, .blog-card {
    width: 90%;
  }
}

