@font-face {
    font-family: "fanta-sanserif";
    src: url(FantasqueSansMNerdFontMono-Regular.ttf);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "fanta-sanserif";
}

html{
  scroll-behavior: smooth;
}

body {
  background-color: #010318;
}

.header{
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.logo-img{
    width: 210PX;
    height: auto;
}

.header-components{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    position: relative;
    z-index: 10;
}

.login-btn{
    border: 1px solid #28f050;;
    padding: 10px;
    color: #28f050;
    width: 70px;
    border-radius: 7px;
}

.login-btn:hover{ 
    color: white; 
    background-color: #3aa04e;
}

.login-btn2{
    border: 1px solid #28f050;;
    padding: 10px;
    color: #28f050;
    width: 75px;
    border-radius: 7px;
}

.login-btn2:hover{ 
    color: white; 
    background-color: #3aa04e;
}


/*Type writer*/
.type-writer{
    justify-self: center;
    transform: translateY(200px);
    color: white;
    font-size: 100%;
    font-weight: 600;
}

#type-text::after{
    content: "|";
    animation: blink 0.9s infinite;
}

@keyframes blink {
    50%{
        opacity: 0;
    }
}

.video-container{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;

}

.bg-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.get-started{
    justify-self: center;
    transform: translateY(350px);
}

.get-started-wrd{
    color: #ffffff;
    border:1px solid white;
    background: rgba(128, 128, 128, 0.2);
    opacity: 1;
    padding: 15px;
    border-radius: 50px;
}

.get-started-wrd:hover{
    background-color: hsl(132, 84%, 62%);
}

a{
    text-decoration: none;
}

.social-platforms{
    width: 30px;
}

/*FOOTER*/
.footer-section{
    padding: 3%;
}

.footer-section{
    background-color: #010318;
}

.footer-elmt{
    color: white;
    list-style: none;
}

.footer-headers{
    display: flex;
    gap: 50px;
    justify-content: center;
}

.foot-details{
    color: gray;
}

/*MEDIA QUERRY*/

@media screen and (max-width:460px){
    .header-components{
    padding: 12px 16px;
}

.bg-video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

}

@media screen and (max-width:600px) {

    .footer-headers{
    flex-direction: column;
    justify-self:left;
    margin-left: 0px;
}
}

@media screen and (min-width:600px){
    .header-components{
        padding: 18px 40px;
    }

    .bg-video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.type-writer{
        font-size: 30px;
    }

}

@media screen and (max-widht:768px){
    .type-writer{
        font-size: 30px;
    }
}
@media screen and (min-width:980px){
    .header-components{
        padding: 18px 60px;

    }

}

/*LOGIN PAGE#########################################################################################################################################*/
.check-box{
  float: left;
}

.chk-txt{
  font-size: 14px;
}

label a{
  color: #22C55E;
  font-size: 14px;
}

.login-card {
  background:#e5e7eb;
  border: 1px solid #e5e7eb;
  padding: 4.5rem 2rem;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  justify-self: center;
}

.login-title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  color: #111827;
  margin-bottom: 1.5rem;
}

.google-btn {
  display: flex;
  justify-self: center;
  gap: 10px;
  width: px;
  padding: 11px 16px;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  transition: background 0.15s;
}

.google-btn:hover {
  background: #f9fafb;
}

.google-icon {
  width: 20px;
  height: 20px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.25rem 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: green;
}

.divider-text {
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: 0.06em;
}

.field-wrap {
  margin-bottom: 1.25rem;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 6px;
}

.label-bar {
  width: 22px;
  height: 3px;
  background: #22C55E;
  border-radius: 2px;
  flex-shrink: 0;
}

.req {
  color: #EF4444;
  font-size: 12px;
  margin-left: 1px;
}

.inp {
  width: 100%;
  padding: 20px 14px;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.inp:focus {
  border-color: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.pw-wrap {
  position: relative;
}

.pw-wrap .inp {
  padding-right: 44px;
}

.eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.eye-btn:hover {
  color: #6b7280;
}

.forgot {
  text-align: right;
  margin-top: -6px;
  margin-bottom: 1.25rem;
}

.forgot a {
  font-size: 14px;
  color: #22C55E;
  text-decoration: none;
  font-weight: 500;
}

.forgot a:hover {
  text-decoration: underline;
}

.sign-btn {
  width: 100%;
  padding: 13px;
  background: #22C55E;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.sign-btn:hover {
  background: #16A34A;
}

.sign-btn:active {
  transform: scale(0.98);
}

.signup-row {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 14px;
  color: #6b7280;
}

.signup-row a {
  color: #22C55E;
  text-decoration: none;
  font-weight: 500;
}

.signup-row a:hover {
  text-decoration: underline;
}

h1{
    text-align:center;
    margin-bottom:25px;
    font-size:2rem;
}

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

    /* CARD */
    .movie-card{
      position:relative;
      overflow:hidden;
      border-radius:15px;
      cursor:pointer;
      transition:transform 0.3s ease;
      height:320px;
    }

    .movie-card:hover{
      transform:scale(1.03);
    }

    .movie-card img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
    }

    /* DARK OVERLAY */
    .overlay{
      position:absolute;
      inset:0;
      background:linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.1)
      );
      display:flex;
      align-items:flex-end;
      padding:15px;
    }

    .movie-title{
      font-size:1.2rem;
      font-weight:bold;
    }

    /* MOBILE */
    @media(max-width:600px){
      .movie-card{
        height:250px;
      }

      .movie-title{
        font-size: 12px;
      }

      .movie-grid{
        grid-template-columns:repeat(3,1fr);
        gap: 2px;
      }

      .suceess-reg{
        width: 100px;
      }
    }

    /*Alert stylings*/
    .alert-image{
      width: 20px;
    }

    .alert-msg{
      display: none;
      justify-items: center;
      padding: 10px;
      border: transparent;
      transform: translateY(-10px);
      background-color: rgb(228, 197, 197);
      border-radius: 8px;

    }

    .Alert-text{
      color: red;
      font-weight: 200;
    }

    /* Shake animation */
@keyframes shake {
    0%   { transform: translateX(0); }
    15%  { transform: translateX(-8px); }
    30%  { transform: translateX(8px); }
    45%  { transform: translateX(-6px); }
    60%  { transform: translateX(6px); }
    75%  { transform: translateX(-3px); }
    90%  { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

.alert-msg.shake {
    animation: shake 0.6s ease;
}


.already-exist{
  display: none;
  text-align: center;
  padding: 10px;
  border: 1px solid red;
  color: white;
  border-radius: 6px;
  background-color: red;
  transform: translateY(-14px);
}

.already-exist.shake {
    animation: shake 0.6s ease;
}
/*#################################################################################################################################################################*/
/*DASHBOARD PAGE*/
.dash-header{
  background: #22C55E;
  backdrop-filter: blur(10px);
  padding: 0px;
  position: sticky;
  top: 0;
  z-index: 1000000;
}

.dash-logo{
  margin-left: 200px;
}

.dash-logo img{
  width: 200px;
  height: auto;
  margin-left: 0;
}

.logouttt{
  text-decoration: none;
  color: white;
}

.dash-header-compnet{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.dash-optns{
  margin-right: 0;
  color: white;
} 

.dash-list{
  display: flex;
  gap: 35px;
}

.dash-btn{
  list-style: none;
  cursor: pointer;
  transition: 0.2s;
}

.dash-btn a {
  color: white;
}

.dash-btn:hover{
  color: rgb(56, 168, 56);
}

.fa-solid{
  color: white;
  margin-right: 10px;
  cursor: pointer;
}

.fa-solid:hover{
  color: rgb(45, 128, 0);
}

/*HERO SECTION*/
/* HERO SLIDESHOW */
.hero-section {
  position: relative;
  height: 90vh;
  overflow: hidden;
}


.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;

  /* Dark gradient overlay */
  background-blend-mode: normal;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 30%,
    rgba(0, 0, 0, 0.1)
  );
}

.slide.active {
  opacity: 1;
}

/* Slide text content */
.slide-content {
  position: absolute;
  bottom: 30%;
  left: 60px;
  color: white;
  z-index: 2;
}

.slide-content h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-content p {
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 8px;
}

.watch-btn {
  margin-top: 18px;
  padding: 12px 28px;
  background: #22C55E;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.watch-btn:hover {
  background: #16A34A;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: #22C55E;
  transform: scale(1.3);
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 3rem;
  padding: 4px;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.arrow:hover {
  background: rgba(255,255,255,0.3);
}

.left-arrow  { left: 20px; }
.right-arrow { right: 20px; }

/* Mobile */
@media (max-width: 600px) {
  .slide-content {
    left: 20px;
    bottom: 25%;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }

  .arrow {
    font-size: 2rem;
    padding: 6px 12px;
  }
}

/*RESPONSIVE DESIGNS###################################################*/
@media screen and (max-width:1023px){
  .dash-optns{
    display: none;
    position: absolute;
    background-color: rgb(6, 6, 8);
    top: 60px;
    height: auto;
    left: 0;
    width: 100%;
  }

  .hero-section {
  height: 70vh;
  }

  .dash-list{
    display: flex;
    flex-direction: column;
  }

  .dash-btn{
    padding: 3px;
    border-bottom: 1px solid white;
    width:400px;
    margin-left: 5%;
  }

  .dash-logo{
    margin-left: 10px;
  }
}

@media screen and (max-width:1024px){
  .dash-logo{
  margin-left: 10px;
}
}

@media screen and (min-width:1024px){
  .dash-logo{
    margin-left: 40px;
  }

  .menu-btn{
    display: none;
  }
}


.sign-btn .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.sign-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/*carousel-section#################################################*/
/* ── Section ── */
.carousel-section {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #010318;
}

.section-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: #e0e6f0;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  padding: 9px;
}

/* ── Carousel Wrapper ── */
.carousel-wrapper {
  position: relative;
}

.carousel-track-outer {
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  gap: 10px;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

/* ── Movie Card ── */
.movie-card {
  flex: 0 0 calc((100% - 40px) / 5);
  min-width: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 2/3;
  background: #1a2030;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-card:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,0,0,0.7);
  z-index: 2;
}

.movie-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.movie-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(5,8,20,0.6) 100%);
  pointer-events: none;
}

/* ── Poster Placeholder (remove when using real images) ── */
.poster-placeholder {
  width: 100%;
  height: 100%;
  padding: 0;
}


.poster-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-title {
  font-weight: 800;
  text-transform: uppercase;
  color: white;
}

/* ── Badge ── */
.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px 15px;
  border-radius: 5px;

  font-weight: 700;
  letter-spacing: 0.05em;
  background: #27ae60;
  color: #fff;
  z-index: 3;
}

/* ── Nav Buttons ── */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(32px, 4vw, 44px);
  height: clamp(32px, 4vw, 44px);
  border-radius: 50%;
  background: rgba(15, 20, 40, 0.85);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  backdrop-filter: blur(4px);
}

.nav-btn:hover {
  background: rgba(39, 174, 96, 0.85);
  border-color: #27ae60;
}

.nav-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.nav-btn.prev { left: -18px; }
.nav-btn.next { right: -18px; }

/* ── Dots ── */
.dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.25s;
}

.dot.active {
  background: #27ae60;
  transform: scale(1.3);
}

.carousel-track.dragging {
  transition: none;
  cursor: grabbing;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .movie-card { flex: 0 0 calc((100% - 30px) / 4); }
}

@media (max-width: 820px) {
  .movie-card { flex: 0 0 calc((100% - 20px) / 3); }
  .nav-btn.prev { left: -12px; }
  .nav-btn.next { right: -12px; }
}

@media (max-width: 560px) {
  .movie-card { flex: 0 0 calc((100% - 10px) / 2); }
  .nav-btn.prev { left: -8px; }
  .nav-btn.next { right: -8px; }
}

@media (max-width: 360px) {
  .movie-card { flex: 0 0 75%; }
}

@media (max-width: 820px) {
  .carousel-section {
    max-width: 100%;
    padding: 0 8px;
  }
}





