 /* ===== CSS ===== */
    /* Reset & basic */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  color: #e4e4e4;
  scroll-behavior: smooth;
  background-color: #0f0f17;
 
}
/*Style and colors*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bangers', cursive;
  letter-spacing: 1px;
}

/* ======== PARAGRAPHS ======== */
p {
  font-weight: 400;
  margin-bottom: 1rem;
  /* max-width: 800px; */
  font-size: 17px;       /* Perfect middle ground for readability */
  line-height: 1.7;      /* Adds breathing space between lines */
  color: #e4e4e4;        /* Gentle off-white for comfort on dark bg */
        /* maxwidth-width:750 Keeps paragraphs narrow and readable */
  margin-bottom: 1.2rem;
}

/* ======== 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%); }
}

/*Character Styling*/
 .character-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      max-width: 1000px;
      margin: 0 auto 50px;
      background: rgba(20, 20, 20, 0.8);
      border-radius: 16px;
      box-shadow: 0 0 30px rgba(255, 46, 99, 0.25);
      overflow: hidden;
      
    }

    .character-image {
      flex: 1 1 350px;
      text-align: center;
      background: #000;
    }

    .character-image img {
      width: 100%;
      height: 450px;
      object-fit: cover;
      display: block;
    }

    .character-info {
      flex: 1 1 400px;
      padding: 30px;
    }

    .character-info h1 {
      font-size: 2.2rem;
      color: #ff2e63;
      margin-bottom: 10px;
    }

    .character-info h2 {
      font-size: 1.2rem;
      color: #ff2e63;
      opacity: 0.8;
      margin-bottom: 20px;
      font-weight: 400;
    }

    .character-info p {
      font-size: 1rem;
      color: #ddd;
    }

    .facts-section {
      max-width: 1000px;
      margin: 0 auto;
      background: rgba(25, 25, 25, 0.85);
      border-radius: 16px;
      padding: 30px;
      box-shadow: 0 0 20px rgba(255, 46, 99, 0.2);
      margin-bottom: 30px;
    }

    .facts-section h3 {
      color: #ff2e63;
      font-size: 1.5rem;
      border-bottom: 2px solid #ff2e63;
      display: inline-block;
      margin-bottom: 20px;
    }

    .facts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 20px;
    }

    .fact-card {
      background: #181818;
      border-radius: 10px;
      padding: 15px 20px;
      box-shadow: 0 0 10px rgba(255, 46, 99, 0.1);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .fact-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 0 15px rgba(255, 46, 99, 0.3);
    }

    .fact-card strong {
      display: block;
      color: #ff2e63;
      font-weight: 700;
      margin-bottom: 5px;
    }

    .fact-card span {
      color: #ccc;
    }

    @media (max-width: 768px) {
      .character-container {
        flex-direction: column;
      }

      .character-info {
        text-align: center;
      }
    }
.btn-container {
  text-align: center;
  margin-bottom: 30px;
}

.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);
}
/*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;
  margin-bottom: 5px;
}
.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%;
  }
}