/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*

:root {
    /* colours *
    --background: #0f1115;
    --banner-background: #313036;
    --white-alpha-20: #ffffff33;
    --on-background: #e5eeff;
    --on-surface: #eae5ff;
    --on-surface-variant: #6f6f71;
    --primary: #db0028;
    --primary-variant: #d82c4b;
    --rating-color: #fab700;
    --surface: #1a1820;
    --text-color: #959499;
    --white: #ffffff;
  
    /* gradient colors *
    --banner-overlay: 90deg, rgb(15, 17, 21) 0%, rgba(15, 17, 21, 0.5) 100%;
    --bottom-overlay: 180deg, rgba(26, 24, 32, 0), rgb(26, 24, 32);
  
    /* TYPOGRAPHY */
  
    /* font family *
    --ff-dm-sans: "DM Sans", sans-serif;
  
    /* font size *
    --fs-heading: 4rem;
    --fs-title-lg: 2.6rem;
    --fs-title: 2rem;
    --fs-body: 1.8rem;
    --fs-button: 1.5rem;
    --fs-label: 1.4rem;
  
    /* font weight *
    --weight-bold: 700;
  
    /* shadow *
    --shadow-1: 0 1px 4px rgba(0, 0, 0, 0.75);
    --shadow-2: 0 2px 4px rgba(220, 53, 69, 0.3);
  
    /* border radius *
    --radius-4: 4px;
    --radius-8: 8px;
    --radius-16: 16px;
    --radius-24: 24px;
    --radius-36: 36px;
  
    /* transition *
    --transition-short: 250ms ease;
    --transition-long: 500ms ease;
  }
  
  *-----------------------------------*
    #RESET
  \*-----------------------------------*
  
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  li {
    list-style: none;
  }
  
  a,
  img,
  span,
  iframe,
  button {
    display: block;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    height: auto;
  }
  
  input,
  button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
  }
  
  input {
    width: 100%;
  }
  
  button {
    text-align: left;
    cursor: pointer;
  }
  
  html {
    font-family: var(--ff-dm-sans);
    font-size: 10px;
    scroll-behavior: smooth;
  }
  
  body {
    background-color: var(--background);
    color: var(--on-background);
    font-size: var(--fs-body);
    line-height: 1.5;
  }
  
  :focus-visible {
    outline-color: var(--primary-variant);
  }
  
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--banner-background);
    border-radius: var(--radius-8);
  }*/
  /*-----------------------------------*\
  #CUSTOM PROPERTY
  Personalized for Shantel's Project
\*-----------------------------------*/

:root {
  /* Primary color scheme inspired by a modern, cinematic look for movie nights */
  --background: #141414; /* Dark background for movie app atmosphere */
  --banner-background: #384141;
  --white-alpha-20: #fa070733;
  --on-background: #e5eeff; /* Light color for text to contrast the dark background */
  --on-surface: #eae5ff;
  --on-surface-variant: #6f6f71;
  --primary: #db0028; /* Cinematic red for primary accents */
  --primary-variant: #d82c4b;
  --rating-color: #fab700; /* Golden rating color for emphasis on ratings */
  --surface: #1a1820;
  --text-color: #959499;
  --white: #ffffff;

  /* Gradient overlays to enhance the cinematic look */
  --banner-overlay: 90deg, rgb(15, 17, 21) 0%, rgba(15, 17, 21, 0.5) 100%;
  --bottom-overlay: 180deg, rgba(26, 24, 32, 0), rgb(26, 24, 32);

  /* TYPOGRAPHY - setting a distinct, modern font */
  --ff-dm-sans: "DM Sans", sans-serif;

  /* Font sizes for visual hierarchy */
  --fs-heading: 4rem;
  --fs-title-lg: 2.6rem;
  --fs-title: 2rem;
  --fs-body: 1.8rem;
  --fs-button: 1.5rem;
  --fs-label: 1.4rem;

  /* Font weight for headers */
  --weight-bold: 700;

  /* Shadow for depth effect */
  --shadow-1: 0 1px 4px rgba(0, 0, 0, 0.75);
  --shadow-2: 0 2px 4px rgba(220, 53, 69, 0.3);

  /* Border radius values for consistent rounded corners */
  --radius-4: 4px;
  --radius-8: 8px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-36: 36px;

  /* Transition timing for smooth effects */
  --transition-short: 250ms ease;
  --transition-long: 500ms ease;
}

/*-----------------------------------*\
  #RESET STYLES
  Universal reset for better cross-browser consistency
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Remove list styling */
li {
  list-style: none;
}

/* Anchor, image, and other block-level element resets */
a,
img,
span,
iframe,
button {
  display: block;
}

a {
  color: inherit;
  text-decoration: none; /* Keeps links inline with color scheme */
}

img {
  height: auto;
  
}

/* Input and button resets for theme consistency */
input,
button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

input {
  width: 100%;
}

/* Smooth scrolling effect */
html {
  font-family: var(--ff-dm-sans);
  font-size: 10px;
  scroll-behavior: smooth;
}

/* Body styling */
body {
  background-color: var(--background);
  color: var(--on-background);
  font-size: var(--fs-body);
  line-height: 1.5;
}

/* Focus outline for accessibility */
:focus-visible {
  outline-color: var(--primary-variant);
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--banner-background);
  border-radius: var(--radius-8);
}

/* Additional customizations continue below */
/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

  /*-----------------------------------*\
    #REUSED STYLE
  \*-----------------------------------*/
  
  /* Loader Animation Style for Search and Load More Buttons */
.search-wrapper::before,
.load-more::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-radius: 50%;
  border-right-color: transparent;
  animation: loading 500ms linear infinite, pulse 1.5s ease-in-out infinite;
  display: none;
}

/* Loader for Search Wrapper */
.search-wrapper::before {
  position: absolute;
  top: 14px;
  right: 12px;
}

.search-wrapper.searching::before {
  display: block;
}

/* Load More Button Styles */
.load-more {
  background-color: var(--primary-variant);
  margin: 36px auto 60px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: var(--weight-bold);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.load-more:is(:hover, :focus-visible) {
  background-color: hsla(350, 67%, 39%, 1);
  transform: translateY(-2px); /* Slight lift effect */
}

.load-more.loading::before {
  display: block;
}

/* Loading and Pulse Animations */
@keyframes loading {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* Smooth Scrolling for Slider */
html {
  scroll-behavior: smooth;
}

/* Typography Styling */
.heading,
.title-large,
.title {
  font-weight: var(--weight-bold);
  letter-spacing: 0.5px;
}

.title {
  font-size: var(--fs-title);
}

.heading {
  color: var(--white);
  font-size: var(--fs-heading);
  line-height: 1.2;
  animation: fadeInUp 0.5s ease-out both;
}

.title-large {
  font-size: var(--fs-title-lg);
  animation: fadeInUp 0.6s ease-out both;
}

/* Image Cover Styling */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.img-cover:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

/* Meta List and Item Styling */
.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Button Styling */
.btn {
  color: var(--white);
  font-size: var(--fs-button);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 8px;
  transition: transform 0.3s, background-color 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  background-color: hsla(350, 67%, 39%, 1);
}

/* Fade-In Up Animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Card Badge Styling */
.card-badge {
  background-color: var(--banner-background);
  color: var(--white);
  font-size: var(--fs-label);
  font-weight: var(--weight-bold);
  padding: 0 6px;
  border-radius: 4px;
  animation: fadeInUp 0.7s ease-out both;
}

/* Poster Box and Video Card Styling */
.poster-box {
  background-image: url("../images/poster-bg-icon.png");
  aspect-ratio: 2 / 3;
}

.poster-box,
.video-card {
  background-repeat: no-repeat;
  background-size: 50px;
  background-position: center;
  background-color: var(--banner-background);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.poster-box:hover,
.video-card:hover {
  transform: scale(1.03); /* Slight lift on hover */
}

/* Slider List Styling */
.slider-list {
  margin: 0 -20px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: -16px;
}

.slider-list::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.slider-list:is(:hover, :focus-within)::-webkit-scrollbar-thumb {
  background-color: var(--banner-background);
}

.slider-list .slider-inner {
  position: relative;
  display: flex;
  gap: 16px;
}

/* Adding Minimal Margins to Slider Inner */
.slider-list .slider-inner::before,
.slider-list .slider-inner::after {
  content: "";
  min-width: 4px;
}

/* Bottom Overlay Gradient Effect */
.search-modal::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(var(--bottom-overlay));
  z-index: 1;
  pointer-events: none;
}

  
  /*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/
  
 /* Header Styling */
.header {
  position: relative;
  padding-block: 24px;
  padding-inline: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background-color: var(--background); /* Adds a consistent background color */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header:hover {
  background-color: var(--primary-background); /* Slight color shift on hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Emphasizes shadow on hover */
}

/* Logo Styling */
.header .logo {
  margin-inline-end: auto;
  font-size: var(--fs-title);
  font-weight: var(--weight-bold);
  color: var(--primary);
  transition: color 0.3s ease;
}

.header .logo:hover {
  color: var(--accent); /* Color shift on hover */
}

/* Button Styling */
.search-btn,
.menu-btn {
  padding: 12px;
  background-color: var(--banner-background);
  border-radius: var(--radius-8);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.search-btn:hover,
.menu-btn:hover {
  transform: scale(1.05); /* Slight scale effect */
  background-color: var(--accent); /* Background color shift */
}

.search-btn img,
.menu-btn img {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.search-btn:is(:hover, :focus-visible) img,
.menu-btn:is(:hover, :focus-visible) img {
  opacity: 1; /* Increase icon opacity on hover/focus */
}

/* Active Menu Button */
.menu-btn.active .menu,
.menu-btn .close {
  display: none;
}

.menu-btn .menu,
.menu-btn.active .close {
  display: block;
}

/* Search Box Styling */
.search-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background);
  padding: 24px 16px;
  align-items: center;
  gap: 8px;
  z-index: 1;
  display: none;
  animation: fadeIn 0.3s ease;
}

.search-box.active {
  display: flex;
}

/* Smooth fade-in effect */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Search Wrapper and Field */
.search-wrapper {
  position: relative;
  flex-grow: 1;
}

.search-field {
  background-color: var(--banner-background);
  height: 48px;
  line-height: 48px;
  padding-inline: 44px 16px;
  outline: none;
  border-radius: var(--radius-8);
  transition: box-shadow 0.3s ease, padding-inline-start 0.3s ease;
}

.search-field::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.8; /* Higher opacity for readability */
}

.search-field:hover {
  box-shadow: 0 0 0 2px var(--on-surface-variant); /* Subtle shadow on hover */
}

.search-field:focus {
  box-shadow: 0 0 0 2px var(--on-surface);
  padding-inline-start: 16px;
}

/* Leading Icon for Search Field */
.search-wrapper .leading-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.search-wrapper:focus-within .leading-icon {
  opacity: 0; /* Hides icon when field is focused */
}

/* Separator Styling */
.separator {
  width: 4px;
  height: 4px;
  background-color: var(--white-alpha-20);
  border-radius: var(--radius-8);
  transition: background-color 0.3s ease;
}

.separator:hover {
  background-color: var(--primary); /* Highlighted on hover */
}

/* Video Card Styling */
.video-card {
  background-image: url("../images/video-bg-icon.png");
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  max-width: 500px;
  width: calc(100% - 40px);
  border-radius: var(--radius-16);
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: scale(1.02); /* Slight lift effect on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

  
  /*-----------------------------------*\
    #SIDEBAR
  \*-----------------------------------*/
  
/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/



.sidebar {
  position: absolute;
  background-color: var(--background);
  top: 96px;
  bottom: 0;
  left: -340px;
  max-width: 340px;
  width: 100%;
  border-top: 1px solid var(--banner-background);
  overflow-y: overlay;
  z-index: 4;
  visibility: hidden;
  transition: transform 0.4s ease-in-out, visibility 0.4s ease;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
}

.sidebar.active {
  transform: translateX(340px);
  visibility: visible;
}

.sidebar-inner {
  display: grid;
  gap: 24px;
  padding-block: 36px;
  padding-inline: 20px;
  animation: slideIn 0.5s ease forwards; /* Smooth slide-in animation */
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.sidebar:is(:hover, :focus-within)::-webkit-scrollbar-thumb {
  background-color: var(--accent); /* Accent color for scrollbar when hovered */
  border-radius: 8px;
}

.sidebar::-webkit-scrollbar-button {
  height: 16px;
}

/* Sidebar Content and Links */
.sidebar-list,
.sidebar-footer {
  padding-inline: 24px;
}

.sidebar-link {
  color: var(--on-surface-variant);
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar-link:is(:hover, :focus-visible) {
  color: var(--on-background); /* Highlighted on hover */
  transform: translateX(4px); /* Small nudge effect */
}

.sidebar-list {
  display: grid;
  gap: 12px;
}

.sidebar-list .title {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--primary); /* Custom title color */
  text-transform: uppercase;
}

/* Footer and Copyright */
.sidebar-footer {
  border-top: 1px solid var(--banner-background);
  padding-top: 28px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--on-surface-variant);
}

.copyright {
  color: var(--on-surface-variant);
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.8rem;
}

.copyright a {
  color: var(--accent);
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Overlay Styling */
.overlay {
  position: fixed;
  top: 96px;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--background);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.overlay.active {
  opacity: 0.6;
  pointer-events: all;
}

  
  /*-----------------------------------*\
    #HOMEPAGE
  \*-----------------------------------*/
  
  .container {
    position: relative;
    background-color: var(--surface);
    color: var(--on-surface);
    padding: 24px 20px 48px;
    height: calc(100vh - 96px);
    overflow-y: overlay;
    z-index: 1;
  }
  
  /* BANNER */
  
  .banner {
    position: relative;
    height: 700px;
    border-radius: var(--radius-24);
    overflow: hidden;
  }
  
  .banner-slider .slider-item {
    position: absolute;
    top: 0;
    left: 120%;
    width: 100%;
    height: 100%;
    background-color: var(--banner-background);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-long);
  }
  
  .banner-slider .slider-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--banner-overlay));
  }
  
  .banner-slider .active {
    left: 0;
    opacity: 1;
    visibility: visible;
  }
  
  .banner-content {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 206px;
    z-index: 1;
    color: var(--text-color);
  }
  
  .banner :is(.heading, .banner-text) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .banner .heading {
    -webkit-line-clamp: 3;
    margin-block-end: 16px;
  }
  
  .banner .genre {
    margin-block: 12px;
  }
  
  .banner-text {
    -webkit-line-clamp: 2;
    margin-block-end: 24px;
  }
  
  .banner .btn {
    background-color: var(--primary);
  }
  
  .banner .btn:is(:hover, :focus-visible) {
    box-shadow: var(--shadow-2);
  }
  
  .slider-control {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 0;
    border-radius: var(--radius-16) 0 0 var(--radius-16);
    user-select: none;
    padding: 4px 0 4px 4px;
    overflow-x: auto;
  }
  
  .slider-control::-webkit-scrollbar {
    display: none;
  }
  
  .control-inner {
    display: flex;
    gap: 12px;
  }
  
  .control-inner::after {
    content: "";
    min-width: 12px;
  }
  
  .slider-control .slider-item {
    width: 100px;
    border-radius: var(--radius-8);
    flex-shrink: 0;
    filter: brightness(0.4);
  }
  
  .slider-control .active {
    filter: brightness(1);
    box-shadow: var(--shadow-1);
  }

  /* MOVIE LIST */
  .movie-list {
    padding-block-start: 32px;
  }
  
  .movie-card {
    position: relative;
    width: 200px;
  }
  
  .movie-card .card-banner {
    width: 200px;
  }
  
  .movie-card .title {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-block: 8px 4px;
  }
  
  .movie-card .meta-list {
    justify-content: space-between;
  }
  
  .movie-card .card-btn {
    position: absolute;
    inset: 0;
  }
  
  /*-----------------------------------*\
    #DETAIL PAGE
  \*-----------------------------------*/
  
  .backdrop-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
  }
  
  .backdrop-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
      0deg,
      hsla(250, 13%, 11%, 1),
      hsla(250, 13%, 11%, 0.9)
    );
  }
  
  .movie-detail .movie-poster {
    max-width: 300px;
    width: 100%;
  }
  
  .movie-detail .heading {
    margin-block: 24px 12px;
  }
  
  .movie-detail :is(.meta-list, .genre) {
    color: var(--text-color);
  }
  
  .movie-detail .genre {
    margin-block: 12px 16px;
  }
  
  .detail-list {
    margin-block: 24px 32px;
  }
  
  .movie-detail .list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-block-end: 12px;
  }
  
  .movie-detail .list-name {
    color: var(--text-color);
    min-width: 112px;
  }
  
  /*-----------------------------------*\
    #MOVIE LIST PAGE
  \*-----------------------------------*/
  
  .genre-list .title-wrapper {
    margin-block-end: 56px;
  }
  
  .grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    column-gap: 16px;
    row-gap: 20px;
  }
  
  :is(.genre-list, .search-modal) :is(.movie-card, .card-banner) {
    width: 100%;
  }
  
  /*-----------------------------------*\
    #SEARCH MODAL
  \*-----------------------------------*/
  
  .search-modal {
    position: fixed;
    top: 96px;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--surface);
    padding: 50px 24px;
    overflow-y: overlay;
    z-index: 4;
    display: none;
  }
  
  .search-modal.active {
    display: block;
  }
  
  .search-modal .label {
    color: var(--primary-variant);
    font-weight: var(--weight-bold);
    margin-block-end: 8px;
  }
  
  /*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/
  
  /* screen larger than 575px */
  @media (min-width: 575px) {
    /* HOME PAGE */
    .banner-content {
      right: auto;
      max-width: 500px;
    }
  
    .slider-control {
      left: calc(100% - 400px);
    }
  
    /* DETAIL PAGE */
    .detail-content {
      max-width: 750px;
    }
  }
  
  /* screen larger than 768px */
  @media (min-width: 768px) {
    /* CUSTOM PROPERTY */
    :root {
      /* gradient color */
      --banner-overlay: 90deg, hsl(220, 17%, 7%) 0%, hsla(220, 17%, 7%, 0) 100%;
  
      /* font size */
      --fs-heading: 5.4rem;
    }
    /* HOME PAGE */
    .container {
      padding-inline: 24px;
    }
  
    .slider-list {
      margin-inline: -24px;
    }
  
    .search-btn {
      display: none;
    }
  
    .search-box {
      all: unset;
      display: block;
      width: 360px;
    }
  
    .banner {
      height: 500px;
    }
  
    .banner-content {
      bottom: 50%;
      transform: translateY(50%);
      left: 50px;
    }
  
    /* MOVIE DETAIL PAGE */
    .movie-detail {
      display: flex;
      align-items: flex-start;
      gap: 40px;
    }
  
    .movie-detail .detail-box {
      flex-grow: 1;
    }
  
    .movie-detail .movie-poster {
      flex-shrink: 0;
      position: sticky;
      top: 0;
    }
  
    .movie-detail .slider-list {
      margin-inline-start: 0;
      border-radius: var(--radius-16) 0 0 var(--radius-16);
    }
  
    .movie-detail .slider-inner::before {
      display: none;
    }
  }
  
  /* screen larger than 1200px */
  @media (min-width: 1200px) {
    /* HOME PAGE */
    .header {
      padding: 28px 56px;
    }
  
    .logo img {
      width: 160px;
    }
  
    .menu-btn,
    .overlay {
      display: none;
    }
  
    main {
      display: grid;
      grid-template-columns: 250px 1fr;
    }
  
    .sidebar {
      position: static;
      visibility: visible;
      border-block-start: 0;
      height: calc(100vh - 104px);
    }
  
    .sidebar.active {
      transform: none;
    }
  
    .sidebar-list,
    .sidebar-footer {
      padding-inline: 56px;
    }
  
    .container {
      height: calc(100vh - 104px);
      border-top-left-radius: var(--radius-36);
    }
  
    .banner-content {
      left: 100px;
    }
  
    .search-modal {
      top: 104px;
      padding: 60px;
    }
  
    /* MOVIE DETAIL PAGE */
    .backdrop-image {
      border-top-left-radius: var(--radius-36);
    }
  }



  .icon-movie {
    color: #ff4757;
    font-size: 24px;
    padding: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
 }
 
 /* Hover effect to slightly grow the icon and change color */
 .icon-movie:hover {
    transform: scale(1.2);
    color: #ff6b81;
 }
 
 /* Optional keyframe animation for a continuous pulsing effect */
 @keyframes pulse {
    0%, 100% {
       transform: scale(1);
    }
    50% {
       transform: scale(1.1);
    }
 }
 
 .icon-movie {
    animation: pulse 2s infinite;
 }
 







 /* Footer styling */
.footer {
  background-color: #222;          /* Dark background color */
  color: #fff;                     /* White text color */
  text-align: center;              /* Center-align text */
  padding: 10px 5px;              /* Spacing around the footer */
  font-family: 'Arial', sans-serif;
}

.footer h1 {
  font-size: 1em;                /* Font size for the heading */
  font-weight: 400;                /* Lighter font weight for sleek look */
  margin: 0;                       /* Remove margin */
  color: #f8f8f8;                  /* Light color for contrast */
}

.footer h1 a {
  color: #ff9800;                  /* Accent color for link */
  text-decoration: none;           /* Remove underline */
  margin-left: 5px;
}

.footer h1 a:hover {
  color: #ffc107;                  /* Slightly lighter color on hover */
}

.footer p {
  font-size: 0.9em;                /* Slightly smaller font size for copyright text */
  margin: 5px 0 0;
  color: #ccc;                     /* Lighter gray for softer look */
}

/* Heart icon pulse effect */
.pulse {
  color: #e74c3c;                  /* Red color for the heart */
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.2);
  }
  100% {
      transform: scale(1);
  }
}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
  display: none;
}

.menu-toggler.active .overlay {
  display: block;
}


.typing-text {
  font-family: 'Arial', sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  color: #ff6347; /* Tomato color for a standout look */
  border-right: 2px solid #ff6347;
  padding-right: 5px;
  animation: blink-caret 0.75s step-end infinite;
}

/* Blinking caret animation */
@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}


