@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* --- Custom Font --- */
@font-face {
  font-family: 'Hb_font-Regular';
  src: url('fonts/Hb_font-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg-color: #000000;
  --text-color: #f0f0f0;
  --muted: #b0b0b0;
  --accent: #e50914; /* This remains the button color */
  --dark-accent: #b20710;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --radius: 8px;
  --container-max-width: 1200px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* --- Base Layout --- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-family: 'Hb_font-Regular', sans-serif;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 1.5px;
  color: var(--text-color);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  background-color: rgba(26, 26, 30, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar .logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  transition: color 0.2s ease, background-color 0.2s ease;
  font-family: 'Hb_font-Regular', sans-serif;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
  font-weight: normal; 
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.discord {
  background-color: #5865f2;
  color: white;
  padding: 0.5rem 1rem;
}

.nav-link.discord:hover {
  background-color: #677bc4;
  color: white;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: -2;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-color) 0%, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.5) 100%);
  z-index: -1;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-top: 5rem;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content .poster {
  width: 250px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.hero-text {
  flex-grow: 1;
}

.hero-text .title {
  font-family: 'Hb_font-Regular', sans-serif;
  font-size: 4rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.hero-text .tagline {
  font-size: 1.4rem;
  color: #c3daff;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-text .description {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-size: 1.1rem; /* Adjusted size slightly */
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  /* ✅ FONT CHANGE APPLIED HERE */
  font-family: 'Hb_font-Regular', sans-serif;
  letter-spacing: 0.5px;
  font-weight: normal;
}

.btn.primary {
  background-color: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ FIX: This centers the text and icon */
  gap: 0.5rem;
}

.btn.primary:hover {
  background-color: var(--dark-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn.outline {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.btn.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn .icon {
  font-size: 1.2rem;
}

.hero-text .meta {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-text .meta .pill {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-weight: 600;
  color: var(--text-color);
}

/* --- Seasons Section (Carousel) --- */
.seasons-section {
  padding: 5rem 0;
}

.carousel-wrapper {
  position: relative;
  margin: 0 -1.5rem;
}

.carousel {
  display: flex;
  justify-content: center;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.season-card {
  flex: 0 0 auto;
  width: 200px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  scroll-snap-align: start;
  cursor: pointer;
}

.season-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  background: var(--glass-hover);
}

.season-card .thumb {
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.season-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.season-card:hover .thumb img {
  transform: scale(1.05);
}

.season-card .card-body {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.season-card .card-info strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.season-card .card-info small {
  color: var(--muted);
  font-size: 0.9rem;
}

.season-card .card-actions .action-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.season-card .card-actions .action-btn:hover {
  background-color: var(--dark-accent);
  transform: scale(1.1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  opacity: 1;
}

.carousel-btn.prev {
  left: 0.5rem;
}

.carousel-btn.next {
  right: 0.5rem;
}


/* --- Credits Section --- */
.credits {
  padding: 5rem 0;
  text-align: center;
}

.credits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.credits-list li {
  font-size: 1.1rem;
  color: var(--muted);
}

.credits-list li strong {
  color: var(--text-color);
  margin-right: 0.5rem;
}

/* --- Footer --- */
.site-footer {
  background-color: #111;
  color: var(--muted);
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* --- Custom Modal --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 450px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.modal-content h3 {
  font-family: 'Hb_font-Regular', sans-serif;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.modal-content p {
  color: var(--muted);
  margin-bottom: 2rem;
}

#modal-close-btn {
  margin: 0 auto;
}

/* --- Responsive Design --- */
@media (max-width: 980px) {
  .hero {
    height: auto;
    padding-bottom: 3rem;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
    gap: 2rem;
  }
  .hero-content .poster {
    width: 180px;
    height: auto;
    margin: 0 auto;
  }
  .hero-text .title {
    font-size: 3rem;
  }
  .hero-text .tagline {
    font-size: 1.2rem;
  }
  .hero-text .description {
    font-size: 1rem;
  }
  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
  }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  .carousel {
    padding: 1rem 1rem;
  }
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
}

@media (max-width: 600px) {
  .nav-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-link {
    padding: 0.4rem 0.7rem;
    font-size: 1rem; /* Adjusted for smaller screens */
  }
  .navbar .logo img {
    height: 40px;
  }
  .hero-content .poster {
    width: 150px;
  }
  .hero-text .title {
    font-size: 2.5rem;
  }
  .hero-text .tagline {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .season-card {
    width: 160px;
  }
  .season-card .thumb {
    height: 220px;
  }
}
/* --- Signature Style --- */
.signature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row-reverse; /* <-- NEW: Reverses the order of items */
}

.signature img {
  height: 2.8em; /* <-- CHANGED: Made it slightly bigger (was 1.2em) */
  width: auto;
}

/* --- Secret Video Modal Styles --- */
.modal-content.video-modal {
  max-width: 700px; /* <--- BIG MODAL SIZE */
  width: 95%;        
  padding: 1.5rem;
}

/* Ensure the wrapper inside the modal keeps the 16:9 ratio */
.modal-content .video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
  width: 100%;
}

.modal-content .video-wrapper iframe,
.modal-content .video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Secret Input Field Styling --- */
#secret-code-input {
  width: 100%;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: white;
  font-size: 1.2rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
  outline: none;
  transition: border-color 0.3s ease;
}

#secret-code-input:focus {
  border-color: var(--accent);
}