/* === Base Body Styling (Netflix Dark Theme) === */
body {
  margin: 0;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.15) 100%);
  z-index: -1;
  pointer-events: none;
}

/* === Welcome Container === */
.welcome-container {
  text-align: center;
  max-width: 800px;
  padding-bottom: 50px;
  /* Reduced to avoid excessive empty space */
}

/* === Titles === */
.netflix-title {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.netflix-subtitle {
  font-size: 1.2rem;
  color: #aaaaaa;
  margin-bottom: 2rem;
}

/* === Option Cards (Manual & AI) === */
.option-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 60px;
  width: 260px;
  text-align: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  transition: all 0.3s ease-in-out;
}

.card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(229, 9, 20, 0.5);
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.4);
}

.card h2 {
  margin-top: 0;
  color: #e50914;
  font-size: 1.4rem;
}

.card p {
  color: #cccccc;
  font-size: 0.95rem;
}

/* === Overview Page (Chevron Buttons) === */
.overview-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

/* === Chevron Buttons Styling === */
.chevron-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.chevron {
  position: relative;
  display: inline-block;
  padding: 50px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #e50914;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%);
  transition: all 0.3s ease;
  min-width: 220px;
  z-index: 1;
}

.chevron::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inherit;
  background-color: transparent;
  border: 2px solid transparent;
  z-index: -1;
  transition: border-color 0.3s ease;
}

.chevron:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(229, 9, 20, 0.5);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.4);
}

.chevron:hover::before {
  border-color: #e50914;
}


.chevron::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #060606;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.chevron:hover::after {
  opacity: 1;
}

.chevron span {
  display: inline-block;
  padding-left: 8px;
  color: #e50914;
}



/* === Entrance Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in.delay-1 {
  animation-delay: 0.5s;
}

.fade-in.delay-2 {
  animation-delay: 1s;
}

.fade-in.delay-3 {
  animation-delay: 1.5s;
}

.fade-in.delay-4 {
  animation-delay: 2s;
}

/* === Responsive Layout === */
@media (max-width: 1024px) {

  .chevron,
  .card {
    min-width: 40%;
    font-size: 1rem;
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {

  .chevron,
  .card {
    min-width: 90%;
    font-size: 1rem;
    padding: 20px 15px;
  }

  .netflix-title {
    font-size: 2rem;
  }

  .netflix-subtitle {
    font-size: 1rem;
  }

  .card h2 {
    font-size: 1.2rem;
  }

  .card p {
    font-size: 0.9rem;
  }

  .nav-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .welcome-container {
    padding-bottom: 30px;
  }

  .site-footer {
    padding: 10px 0;
  }
}

@media (min-width: 1440px) {

  .chevron,
  .card {
    max-width: 360px;
    font-size: 1.2rem;
  }
}

/* === Footer Styling === */
.site-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: transparent;
  color: #cccccc;
  font-size: 0.9rem;
  padding: 0px;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 999;
  pointer-events: none;
}

.site-footer.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.footer-title {
  font-weight: bold;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 5px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0px;
}

.footer-links a {
  color: #e50914;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.75rem;
  color: #888888;
}

.footer-links.icon-only {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 0px;
}

.footer-links.icon-only a {
  color: #e50914;
  font-size: 1.4rem;
  transition: transform 0.3s ease, opacity 0.3s;
  position: relative;
}

.footer-links.icon-only a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Optional: Fancy tooltips (beyond default `title` attribute) */
.footer-links.icon-only a::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.footer-links.icon-only a:hover::after {
  opacity: 1;
}


/*static home icon on every page*/
.home-float-btn {
  position: fixed;
  top: 40px;
  right: 40px;
  background-color: #1f1f1f;
  color: #e50914;
  border: 2px solid #e50914;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s, transform 0.2s;
}

.home-float-btn:hover {
  background-color: #e50914;
  color: #ffffff;
  transform: scale(1.1);
}

/* Top right Buttons for index.html*/
.top-buttons {
  position: fixed;
  top: 50px;
  right: 40px;
  z-index: 1000;
  display: flex;
  gap: 12px;
}

.top-button {
  background-color: #2c2828;
  color: rgb(219, 19, 19);
  padding: 10px 16px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.top-button:hover {
  background-color: #0b0b0b;
}