body { 
  margin: 0;
  font-family: 'Permanent Marker', cursive;
  background-color: #1a1a1a;
  color: #f5f5f5;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #ff004f;
  padding: 2rem;
  text-align: center;
  color: #fff;
}

header h1 {
  font-size: 3rem;
  margin: 0;
}

.tagline {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* NAVIGATION */
nav {
  background-color: #333;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline;
  margin: 0 1rem;
}

nav a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #ffaa00;
}

/* MAIN CONTENT */
main {
  padding: 2rem;
}

section {
  margin-bottom: 2rem;
}

h2 {
  color: #00ffff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* CHARACTER LISTS */
.character-list {
  list-style-type: none;
  padding: 0;
}

/* === STACKED CHARACTER LAYOUT === */
.character-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.character-list li:hover {
  transform: scale(1.02);
}

.character-info {
  margin-top: 0.5rem;
  max-width: 300px;
}

.character-info p {
  margin: 0.3rem 0 0;
  font-size: 1rem;
  color: #f5f5f5;
}

/* HERO / VILLAIN CARD GLOW ON HOVER */
.heroes li:hover {
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.4);
}

.villains li:hover {
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

/* PROFILE IMAGES */
.profile-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 0.5rem;
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

/* HEROES – light green tint */
.profile-pic.hero {
  box-shadow: 0 0 10px rgba(0, 255, 128, 0.5);
  border-color: #00ff80;
  filter: brightness(1.1) saturate(1.2);
}

/* VILLAINS – red tint */
.profile-pic.villain {
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  border-color: #ff004f;
  filter: brightness(0.9) saturate(1.3);
}

/* Hover effects */
.profile-pic:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* FORMS */
form {
  margin-top: 1rem;
}

input[type="email"] {
  padding: 0.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  margin-right: 0.5rem;
}

button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #ffcc00;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #ffaa00;
}

.hidden {
  display: none;
}

/* FOOTER */
footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* --- DEBTFOOL PAGE FIXES & STYLING --- */
.villain-header {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: linear-gradient(180deg, #440000 0%, #1a0000 100%);
  text-align: center;
  padding: 3rem 1rem;
  border-bottom: 4px solid #ff004f;
  box-sizing: border-box;
}

.villain-title {
  font-family: 'Nosifer', cursive;
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: #ff1a1a;
  text-shadow: 0 0 15px #ff004f, 0 0 25px #660000;
  margin: 0;
  word-wrap: break-word;
}

.villain-header .tagline {
  font-family: 'Bangers', cursive;
  color: #ffcccc;
  font-size: clamp(1rem, 4vw, 1.5rem);
  margin-top: 0.5rem;
}

.villain-image {
  display: block;
  margin: 1.5rem auto;
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.villain-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 50, 50, 0.8);
}

.debt {
  color: #ff004f;
  font-weight: bold;
  text-shadow: 0 0 6px #ff004f;
  animation: pulseDebt 1.5s infinite alternate;
}

@keyframes pulseDebt {
  from { opacity: 0.8; text-shadow: 0 0 5px #ff004f; }
  to { opacity: 1; text-shadow: 0 0 15px #ff1a1a; }
}

/* Mobile responsiveness for DebtFool sections */
@media (max-width: 768px) {
  body, main {
    padding: 0;
    margin: 0;
  }

  .villain-header {
    padding: 2rem 1rem;
  }

  section {
    padding: 1rem;
  }
}

/* --- RESPONSIVE NAVIGATION (HAMBURGER MENU) --- */
.navbar {
  background-color: #333;
  padding: 1rem;
  position: relative;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: #ffcc00;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-list li {
  display: inline-block;
  margin: 0 1rem;
}

.nav-list a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
}

.nav-list a:hover {
  color: #ffaa00;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 999;
  }

  .nav-list.active {
    display: flex;
    animation: fadeIn 0.3s ease-in;
  }

  .nav-list li {
    display: block;
    margin: 1rem 0;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* END OF STYLE.CSS */


