body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ff66de;
  color: #333;
}

nav {
  background-color: #282c34;
  padding: 1rem;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navbar */
.topnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: #000;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topnav a {
  color: #f2f2f2;
  padding: 16px 20px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.topnav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-title {
  color: #ffef10;
  font-size: 1.5rem;
}

.social-links a {
  color: #ffffff;
  margin-left: 1rem;
  text-decoration: none;
  font-size: 1.2rem;
}

main {
  padding: 2rem;
}

#info-slide {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(211, 10, 184, 0.1);
  margin-bottom: 2rem;
}

.slide-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.slide-buttons button {
  background-color: #251caa;
  border: none;
  border-radius: 5px;
  color: #ffffff;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slide-buttons button:hover {
  background-color: #6a21f1;
}

/* Character slider styling */
#character-section {
  position: relative;
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  /* fixed size area, enough for the biggest card */
  min-height: 520px;
}

/* Card base */
.glass-card {
  position: absolute;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: opacity 0.4s ease;
  opacity: 0;
  transform: scale(0.98);

  /* keep all cards same size and layout */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.glass-card.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

/* Image fixed size */
.char-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* Text areas consistent */
.glass-card h2 {
  margin: 0.8rem 0 0.4rem 0;
  font-size: 1.3rem;
}

.glass-card p {
  margin: 0;
  flex-grow: 1;
}

/* Buttons under the section */
.slider-buttons {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
  gap: 1rem;
}

.slider-buttons button {
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.slider-buttons button:hover {
  background: rgba(255, 255, 255, 1);
}

footer {
  background-color: #7008d134;
  color: #dfff2c;
  padding: 2rem;
  text-align: center;
}

.slider-title {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
}

.video-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
}

.video-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.video-thumb img {
  width: 100%;
  border-radius: 8px;
}

.footer2 {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 600px) {
  .slide-buttons {
    flex-direction: column;
  }

  .slide-buttons button {
    width: 100%;
    margin: 0.5rem 0;
  }
  #character-section {
    max-width: 90%;
    min-height: 440px;
  }

  .char-img {
    height: 250px;
  }

  .glass-card h2 {
    font-size: 1.1rem;
  }

  .slider-buttons button {
    font-size: 1.6rem;
  }
}
