/*-----------------------------------*\
 * #style.css
\*-----------------------------------*/

/**
 * copyright 2023 @SkidGod4444
 */





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

:root {

  /**
   * colors
   */

  --rich-black-fogra-29: #0a0806;
  --rich-black-fogra-39: #070504;
  --raisin-black: #1a1512;
  --eerie-black: #100d0a;
  --light-gray: hsl(0, 3%, 80%);
  --gunmetal-1: #2a231c;
  --gunmetal-2: #1e1914;
  --gainsboro: hsl(0, 7%, 88%);
  --citrine: #d4a847;
  --citrine-glow: #c9a227;
  --crimson: #8b1a1a;
  --crimson-dark: #5c1010;
  --parchment: #f5efe4;
  --parchment-dim: rgba(245, 239, 228, 0.7);
  --xiketic: #1a1510;
  --gray-x: #b8b0a4;
  --white: #f5efe4;
  --black: #000;
  --jet: #332e28;
  --gold-border: rgba(212, 168, 71, 0.25);
  --gold-glow: rgba(212, 168, 71, 0.15);

  /**
   * typography
   */

  --ff-poppins: 'Poppins', sans-serif;
  --ff-cinzel: 'Cinzel', serif;

  --fs-1: 36px;
  --fs-2: 32px;
  --fs-3: 30px;
  --fs-4: 24px;
  --fs-5: 20px;
  --fs-6: 18px;
  --fs-7: 16px;
  --fs-8: 15px;
  --fs-9: 14px;
  --fs-10: 13px;
  --fs-11: 12px;
  --fs-12: 11px;

  --fw-500: 500;
  --fw-700: 700;

  /**
   * transition
   */

  --transition-1: 0.15s ease;
  --transition-2: 0.25s ease-in;

  /**
   * spacing
   */

  --section-padding: 60px;

}





/*-----------------------------------*\
 * #RESET
\*-----------------------------------*/

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

li { list-style: none; }

a { text-decoration: none; }

a,
img,
span,
input,
button,
ion-icon { display: block; }

input {
  font: inherit;
  width: 100%;
  border: none;
}

select,
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
}

body {
  background: var(--rich-black-fogra-29);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(139, 26, 26, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 71, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(139, 26, 26, 0.03) 0%, transparent 50%);
  color: var(--parchment);
}

body.active { overflow: hidden; }





/*-----------------------------------*\
 * #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

/**
 * TITLES & SUBTITLES
 */

.h1,
.h2,
.h3 {
  color: var(--parchment);
  line-height: 1.2;
  font-family: var(--ff-cinzel);
}

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

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

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

.section-subtitle {
  color: var(--citrine);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-align: center;
  font-family: var(--ff-cinzel);
}

.section-title {
  text-align: center;
  font-family: var(--ff-cinzel);
  text-shadow: 0 2px 8px rgba(212, 168, 71, 0.15);
}

/**
 * BADGE
 */

.badge {
  color: var(--white);
  font-size: var(--fs-12);
  font-weight: var(--fw-700);
  border: 2px solid transparent;
  padding: 2px 10px;
}

.badge-fill {
  background: var(--white);
  color: var(--raisin-black);
}

.badge-outline { border-color: var(--white); }

/**
 * MOVIE META
 */

.meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px 25px;
  margin-bottom: 50px;
}

.badge-wrapper,
.ganre-wrapper,
.date-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}

.ganre-wrapper > a {
  color: var(--parchment-dim);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  transition: var(--transition-1);
}

.ganre-wrapper > a:is(:hover, :focus) { color: var(--citrine); }

.date-time { gap: 15px; }

.date-time > div {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--parchment-dim);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
}

.date-time ion-icon {
  --ionicon-stroke-width: 50px;
  color: var(--citrine);
}

/**
 * BUTTONS
 */

.btn {
  color: var(--parchment);
  font-size: var(--fs-11);
  font-weight: var(--fw-700);
  font-family: var(--ff-cinzel);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border: 2px solid var(--citrine);
  border-radius: 50px;
  transition: var(--transition-2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn > ion-icon { font-size: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--citrine) 0%, #b8912e 100%);
  color: var(--rich-black-fogra-29);
  border-color: var(--citrine);
}

.btn-primary:is(:hover, :focus) {
  background: linear-gradient(135deg, #e8bc5a 0%, var(--citrine) 100%);
  box-shadow: 0 4px 20px rgba(212, 168, 71, 0.35);
  color: var(--rich-black-fogra-29);
}

/**
 * MOVIE CARD
 */

.movies-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .movies-list { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 16px; }
}
@media (min-width: 1200px) {
  .movies-list { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 20px 16px; }
}
@media (min-width: 1600px) {
  .movies-list { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 24px 18px; }
}

.movie-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.movie-card .card-banner {
  position: relative;
  background: var(--gunmetal-1);
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  transition: var(--transition-2);
  border: 1px solid rgba(212, 168, 71, 0.12);
}

.movie-card .card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: var(--transition-2);
}

.movie-card .card-banner:hover {
  box-shadow: 0 4px 20px rgba(212, 168, 71, 0.2), 0 2px 8px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 168, 71, 0.35);
  transform: translateY(-3px);
}

.movie-card .card-banner:hover::after { background: rgba(212, 168, 71, 0.06); }

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

.movie-card .title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.movie-card .card-title {
  color: var(--parchment);
  font-size: 13px;
  transition: var(--transition-1);
  font-family: var(--ff-cinzel);
}

.movie-card .card-title:is(:hover, :focus) { color: var(--citrine); }

.movie-card .title-wrapper time {
  color: var(--citrine);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
}

.movie-card .card-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.movie-card .badge { color: var(--citrine); }

.movie-card .duration { margin-left: auto; }

.movie-card :is(.duration, .rating) {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gainsboro);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
}

.movie-card :is(.duration, .rating) ion-icon {
  font-size: 13px;
  --ionicon-stroke-width: 50px;
  color: var(--citrine);
}

/**
 * CUSTOM SLIDER & SCROLLBAR
 */

.movies-list.has-scrollbar {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  padding-bottom: 25px;
}

.has-scrollbar::-webkit-scrollbar { height: 8px; }

.has-scrollbar::-webkit-scrollbar-track {
  background: transparent;
  box-shadow: 0 0 0 2px var(--citrine);
  border-radius: 10px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--gainsboro);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 var(--black),
              inset 0 -1px 0 var(--black);
}





/*-----------------------------------*\
 * #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 25px;
  transition: var(--transition-2);
  z-index: 4;
}

.header.active {
  background: rgba(10, 8, 6, 0.95);
  backdrop-filter: blur(10px);
  padding-block: 20px;
  border-bottom: 1px solid rgba(212, 168, 71, 0.1);
}

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

.header-actions { display: none; }

.menu-open-btn {
  color: var(--parchment);
  font-size: 40px;
}

.navbar {
  position: fixed;
  top: 0;
  right: -300px;
  background: linear-gradient(180deg, var(--xiketic), var(--rich-black-fogra-39));
  width: 100%;
  max-width: 300px;
  height: 100%;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(212, 168, 71, 0.1);
  transition: 0.15s ease-in;
  visibility: hidden;
  z-index: 3;
}

.navbar.active {
  right: 0;
  visibility: visible;
  transition: 0.25s ease-out;
}

.navbar-top {
  padding: 30px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-close-btn {
  color: var(--parchment);
  font-size: 25px;
  padding: 5px;
}

.menu-close-btn ion-icon { --ionicon-stroke-width: 80px; }

.navbar-list {
  border-top: 1px solid rgba(212, 168, 71, 0.1);
  margin-bottom: 30px;
}

.navbar-link {
  color: var(--parchment);
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  font-family: var(--ff-cinzel);
  padding: 10px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus) { color: var(--citrine); }

.navbar-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.navbar-social-link {
  font-size: 20px;
  color: var(--white);
  transition: var(--transition-1);
}

.navbar-social-link:is(:hover, :focus) { color: var(--citrine); }

.overlay {
  position: fixed;
  inset: 0;
  background: hsla(204, 18%, 11%, 0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-2);
}

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





/*-----------------------------------*\
 * #HERO
\*-----------------------------------*/

.hero {
  background: url("../images/hero-bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.4) 0%, rgba(10, 8, 6, 0.2) 40%, rgba(10, 8, 6, 0.9) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '⚓';
  position: absolute;
  right: 60px;
  bottom: 40px;
  font-size: 80px;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  margin-top: 0;
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hero-subtitle {
  color: var(--citrine);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  margin-bottom: 10px;
  font-family: var(--ff-cinzel);
}

.hero-title {
  margin-bottom: 30px;
  font-family: var(--ff-cinzel);
  text-shadow: 0 2px 12px rgba(212, 168, 71, 0.2);
}

.hero-title > strong {
  color: var(--citrine);
  text-shadow: 0 0 20px rgba(212, 168, 71, 0.3);
}





/*-----------------------------------*\
 * #UPCOMING
\*-----------------------------------*/

.upcoming {
  background: url("../images/upcoming-bg.png") no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: var(--section-padding);
}

.upcoming .flex-wrapper { margin-bottom: 50px; }

.upcoming .section-title { margin-bottom: 30px; }

.filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.upcoming .filter-btn {
  color: var(--parchment);
  background: var(--raisin-black);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  font-family: var(--ff-cinzel);
  border: 2px solid rgba(212, 168, 71, 0.15);
  padding: 12px 26px;
  border-radius: 50px;
  transition: var(--transition-2);
}

.upcoming .filter-btn:focus {
  border-color: var(--citrine);
  box-shadow: 0 0 12px rgba(212, 168, 71, 0.2);
}

.upcoming .movies-list > li {
  min-width: 100%;
  scroll-snap-align: start;
}





/*-----------------------------------*\
 * #TOP RATED
\*-----------------------------------*/

.top-rated {
  background: url("../images/top-rated-bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: var(--section-padding);
  position: relative;
}

.top-rated::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.5) 0%, rgba(10, 8, 6, 0.7) 100%);
  pointer-events: none;
}

.top-rated .section-title { margin-bottom: 50px; }

.top-rated .filter-list {
  gap: 15px;
  margin-bottom: 50px;
}

.top-rated .filter-btn {
  position: relative;
  background: rgba(10, 8, 6, 0.8);
  color: var(--parchment-dim);
  font-size: var(--fs-10);
  font-weight: var(--fw-700);
  font-family: var(--ff-cinzel);
  text-transform: uppercase;
  padding: 17px 25px;
  border-radius: 4px;
  border: 1px solid rgba(212, 168, 71, 0.1);
  transition: var(--transition-2);
}

.top-rated .filter-btn:focus {
  color: var(--citrine);
  text-shadow: 0 3px 25px rgba(212, 168, 71, 0.3);
  border-color: var(--citrine);
}

.top-rated .filter-btn:focus::before,
.top-rated .filter-btn:focus::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--citrine);
  width: 2px;
  height: 15px;
}

.top-rated .filter-btn:focus::before { left: 0; }

.top-rated .filter-btn:focus::after { right: 0; }





/*-----------------------------------*\
 * #TV SEREIS
\*-----------------------------------*/

.tv-series {
  background: url("../images/tv-series-bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: var(--section-padding);
  position: relative;
}

.tv-series::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.5) 0%, rgba(10, 8, 6, 0.7) 100%);
  pointer-events: none;
}

.tv-series .section-title { margin-bottom: 50px; }


































































/*-----------------------------------*\
 * #FOOTER
\*-----------------------------------*/

.footer-top {
  background: url("../images/footer-bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 80px 50px;
  position: relative;
}

.footer-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.5) 0%, rgba(10, 8, 6, 0.85) 100%);
  pointer-events: none;
}

.footer-brand-wrapper .logo {
  width: max-content;
  margin-inline: auto;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.footer-list,
.quicklink-list,
.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.footer-link {
  color: var(--parchment-dim);
  font-size: var(--fs-9);
  font-weight: var(--fw-700);
  font-family: var(--ff-cinzel);
  text-transform: uppercase;
  padding: 5px 15px;
  transition: var(--transition-1);
}

:is(.footer-link, .quicklink-link, .social-link):is(:hover, :focus) { color: var(--citrine); }

.divider {
  height: 1px;
  margin-block: 40px;
  border-top: 1px solid rgba(212, 168, 71, 0.15);
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 71, 0.3), transparent);
}

.footer-bottom {
  padding-block: 25px;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(212, 168, 71, 0.3) 0px, rgba(212, 168, 71, 0.3) 4px, transparent 4px, transparent 8px);
}

.copyright {
  color: var(--gray-x);
  font-size: var(--fs-10);
  font-weight: var(--fw-500);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 15px;
}

.copyright > a {
  display: inline-block;
  color: var(--citrine);
}

.footer-bottom-img {
  max-width: max-content;
  width: 100%;
  margin-inline: auto;
}





/*-----------------------------------*\
 * #GO TO TOP
\*-----------------------------------*/

.go-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--citrine) 0%, #b8912e 100%);
  color: var(--rich-black-fogra-29);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(212, 168, 71, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
  z-index: 2;
}

.go-top.active {
  opacity: 1;
  visibility: visible;
}

.go-top:hover {
  box-shadow: 0 6px 25px rgba(212, 168, 71, 0.5);
  transform: translateY(-2px);
}





/*-----------------------------------*\
 * #MOVIE DETAIL 
\*-----------------------------------*/

.movie-detail {
  background: url("../images/movie-detail-bg.png") no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 120px;
  padding-bottom: var(--section-padding);
  position: relative;
}

.movie-detail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.4) 0%, rgba(10, 8, 6, 0.7) 100%);
  pointer-events: none;
}

.movie-detail-banner {
  position: relative;
  background: var(--gunmetal-1);
  max-width: 200px;
  margin-inline: auto;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 168, 71, 0.08);
}

.movie-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 80px;
  color: var(--parchment);
  transition: var(--transition-1);
}

.play-btn:hover { background: rgba(212, 168, 71, 0.15); }

.detail-subtitle {
  font-size: var(--fs-5);
  color: var(--citrine);
  font-weight: var(--fw-700);
  margin-bottom: 10px;
  font-family: var(--ff-cinzel);
}

.detail-title {
  margin-bottom: 20px;
  font-family: var(--ff-cinzel);
}

.detail-title strong { color: var(--citrine); }

.movie-detail .meta-wrapper { margin-bottom: 30px; }

.storyline {
  color: var(--parchment-dim);
  font-size: var(--fs-9);
  font-weight: var(--fw-500);
  line-height: 1.8;
  margin-bottom: 40px;
}

.details-actions {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 460px;
  margin-bottom: 30px;
}

.details-actions .share ion-icon {
  font-size: 25px;
  color: var(--parchment);
  margin-inline: auto;
}

.details-actions .share span {
  color: var(--parchment-dim);
  font-size: var(--fs-11);
  transition: var(--transition-1);
}

.details-actions .share:is(:hover, :focus) span { color: var(--citrine); }

.details-actions .title {
  color: var(--parchment);
  font-weight: var(--fw-700);
  font-family: var(--ff-cinzel);
}

.details-actions .text {
  font-size: var(--fs-11);
  color: var(--parchment-dim);
}

.details-actions .btn-primary {
  font-size: 12px;
  padding: 16px 34px;
  letter-spacing: 0;
  border-color: var(--citrine);
}

.details-actions .btn-primary:is(:hover, :focus) {
  background: var(--citrine);
  color: var(--rich-black-fogra-29);
}

.download-btn {
  max-width: max-content;
  background: linear-gradient(135deg, var(--citrine) 0%, #b8912e 100%);
  color: var(--rich-black-fogra-29);
  font-size: var(--fs-11);
  font-weight: var(--fw-500);
  font-family: var(--ff-cinzel);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 35px;
  letter-spacing: 5px;
  border-radius: 6px;
  transition: var(--transition-2);
}

.download-btn:is(:hover, :focus) {
  box-shadow: 0 4px 20px rgba(212, 168, 71, 0.35);
}

.download-btn ion-icon { font-size: 16px; }





/*-----------------------------------*\
 * #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for screens smaller than 768px (mobile)
 */

@media (max-width: 767px) {

  /**
   * TYPOGRAPHY
   */
  :root {
    --fs-1: 26px;
    --fs-2: 22px;
    --fs-3: 20px;
    --fs-4: 18px;
    --fs-5: 16px;
    --fs-6: 15px;
    --section-padding: 40px;
  }

  /**
   * CONTAINER
   */
  .container { padding-inline: 12px; }

  /**
   * HEADER
   */
  .header { padding-block: 15px; }
  .header.active { padding-block: 12px; }

  .logo { height: 28px; }

  .menu-open-btn { font-size: 30px; }

  .navbar {
    max-width: 280px;
  }

  .navbar-top { padding: 20px; }
  .navbar-link {
    padding: 12px 20px;
    font-size: var(--fs-9);
  }

  /**
   * HERO
   */
  .hero {
    min-height: 100vh;
    padding-bottom: 40px;
  }

  .hero::after { font-size: 36px; right: 16px; bottom: 16px; }

  .hero-content { padding-inline: 20px; }

  .hero-subtitle { font-size: var(--fs-5); }

  .hero-title { font-size: var(--fs-1); margin-bottom: 20px; }

  /**
   * BUTTONS
   */
  .btn {
    font-size: 10px;
    padding: 12px 22px;
    letter-spacing: 1px;
    gap: 8px;
  }

  /**
   * FILTER BUTTONS
   */
  .upcoming .filter-btn {
    font-size: 10px;
    padding: 10px 18px;
  }

  .top-rated .filter-btn {
    font-size: 10px;
    padding: 12px 16px;
  }

  /**
   * MOVIE CARDS
   */
  .movies-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .movie-card .card-banner {
    border-radius: 6px;
    margin-bottom: 8px;
  }

  .movie-card .card-title {
    font-size: 11px;
    line-height: 1.3;
  }

  .movie-card .title-wrapper { margin-bottom: 6px; }

  .movie-card .card-meta {
    gap: 8px;
    flex-wrap: wrap;
  }

  .movie-card .badge { font-size: 10px; }
  .movie-card .duration { font-size: 10px; }

  /**
   * UPCOMING
   */
  .upcoming .movies-list > li {
    min-width: calc(33.33% - 8px);
  }

  /**
   * TOP RATED
   */
  .top-rated .filter-list {
    gap: 8px;
    flex-wrap: wrap;
  }

  /**
   * TV SERIES
   */
  .tv-series { padding-block: var(--section-padding); }

  /**
   * DETAIL PAGE
   */
  .movie-detail {
    padding-top: 90px;
    padding-bottom: var(--section-padding);
  }

  .movie-detail-banner {
    max-width: 150px;
    margin-bottom: 20px;
  }

  .play-btn { font-size: 50px; }

  .detail-subtitle { font-size: var(--fs-4); margin-bottom: 8px; }
  .detail-title { font-size: var(--fs-1); margin-bottom: 16px; }

  .storyline {
    font-size: var(--fs-10);
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .details-actions {
    gap: 16px;
    max-width: 100%;
  }

  .details-actions .btn-primary {
    font-size: 11px;
    padding: 14px 28px;
  }

  .download-btn {
    font-size: 10px;
    padding: 14px 24px;
    letter-spacing: 3px;
  }

  /**
   * BROWSE PAGE
   */
  .browse-header {
    padding-block: 90px 20px;
  }

  .browse-header .h1 {
    font-size: var(--fs-2);
  }

  /**
   * FOOTER
   */
  .footer-top { padding-block: 50px 30px; }

  .footer-brand-wrapper .logo {
    margin-bottom: 30px;
  }

  .footer-link {
    font-size: var(--fs-10);
    padding: 4px 10px;
  }

  .footer-list { gap: 3px; }

  .copyright {
    font-size: var(--fs-11);
    line-height: 1.6;
  }

  /**
   * SEARCH PANEL
   */
  .search-modal { padding: 30px 12px; }

  .search-panel {
    padding: 20px;
    border-radius: 14px;
  }

  .search-panel-title { font-size: 0.75rem; }

  .search-modal-inner {
    padding: 12px 14px;
    gap: 10px;
  }

  .search-modal-inner ion-icon { font-size: 18px; }
  .search-modal-inner input { font-size: 0.95rem; }

  .search-results {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-height: calc(100vh - 240px);
  }

  /**
   * PLAYER PAGE
   */
  .player-shell {
    border-radius: 10px;
  }

  .player-shell .bb-top { padding: 10px 14px; }
  .bb-title { font-size: 0.9rem; }

  .player-shell .bb-controls {
    padding: 30px 14px 10px;
    gap: 8px;
  }

  .bb-btn { font-size: 20px; }
  .bb-skip { font-size: 11px; }
  .bb-vol-slider { width: 60px; }
  .bb-time { font-size: 11px; }

  .bb-big-play {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }

  .bb-spinner-ring {
    width: 40px;
    height: 40px;
    border-width: 4px;
  }

  /**
   * GO TO TOP
   */
  .go-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
    bottom: 15px;
    right: 15px;
  }

  /**
   * OVERLAY
   */
  .overlay {
    background: rgba(8, 7, 5, 0.88);
  }
}

/**
 * responsive for screens smaller than 400px (small mobile)
 */
@media (max-width: 400px) {

  .movies-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .movie-card .card-title { font-size: 10px; }

  .hero { min-height: 100vh; padding-bottom: 30px; }

  .hero-content { padding-inline: 14px; }

  .search-results {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .upcoming .movies-list > li {
    min-width: calc(50% - 6px);
  }

  .btn {
    font-size: 9px;
    padding: 10px 18px;
  }

  .details-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/**
 * responsive for larger than 550px screen
 */

@media (min-width: 550px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 42px;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    margin-inline: auto;
  }

  /* MOVIE CARD */

  .movies-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }



  /**
   * HERO
   */

  .hero { min-height: 100vh; }

  .hero-content { margin-top: 0; }



  /**
   * UPCOMING
   */

  .upcoming .movies-list > li { min-width: calc(50% - 10px); }



  /**
   * SERVICE
   */







  /**
   * MOVIE DETAIL
   */

  .detail-subtitle { --fs-5: 22px; }

  .detail-title { --fs-1: 46px; }

}





/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 36px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }



  /**
   * HEADER
   */

  .header .container { gap: 30px; }

  .header-actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 35px;
  }

  .header-actions .btn-primary { display: none; }

  .search-btn {
    position: relative;
    color: var(--parchment);
  }

  .search-btn ion-icon { --ionicon-stroke-width: 80px; }

  .search-btn::after {
    content: "";
    position: absolute;
    top: 1px;
    right: -20px;
    background: rgba(212, 168, 71, 0.15);
    width: 2px;
    height: 14px;
  }

  .lang-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .lang-wrapper label {
    color: var(--citrine);
    font-size: 20px;
  }

  .lang-wrapper select {
    color: var(--parchment);
    font-size: var(--fs-9);
    font-weight: var(--fw-700);
  }

  .lang-wrapper option { color: var(--black); }



  /**
   * HERO
   */

  .hero-content { margin-top: 0; }



  /**
   * SERVICE
   */





  /**
   * FOOTER
   */

  .footer-brand-wrapper .logo { margin: 0; }

  .footer-brand-wrapper,
  .quicklink-wrapper,
  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .quicklink-list { margin-bottom: 0; }

  .copyright { margin-bottom: 0; }

  .footer-bottom-img { margin-inline: 0; }



  /**
   * MOVIE DETAIL
   */

  .detail-subtitle { --fs-5: 26px; }

  .detail-title { --fs-1: 50px; }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }

  /* MOVIE CARD */

  .movies-list { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 16px; }



  /**
   * HEADER
   */

  .header.active { padding-block: 5px; }

  .menu-open-btn,
  .navbar-top,
  .navbar-social-list { display: none; }

  .navbar {
    all: unset;
    margin-left: auto;
  }

  .header-actions {
    order: 1;
    margin-left: 0;
  }

  .navbar-list {
    all: unset;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .navbar-link {
    border-bottom: none;
    font-size: var(--fs-9);
    font-weight: var(--fw-700);
    text-transform: uppercase;
    padding: 30px 15px;
  }

  .overlay { display: none; }



  /**
   * HERO
   */

  .hero { background-position: center; }

  .hero .container { width: 100%; padding-inline: 40px; margin-inline: 0; }

  .hero-content {
    margin-top: 0;
    max-width: 600px;
  }



  /**
   * UPCOMING
   */

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

  .upcoming :is(.section-subtitle, .section-title) { text-align: left; }

  .upcoming .section-title { margin-bottom: 0; }

  .upcoming .movies-list > li { min-width: calc(33.33% - 20px); }



  /**
   * SERVICE
   */







  /**
   * MOVIE DETAIL
   */

  .movie-detail { padding-bottom: 200px; }

  .movie-detail .container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
  }

  .movie-detail-banner,
  .details-actions { margin: 0; }

  .download-btn {
    position: absolute;
    left: 15px;
    bottom: -80px;
  }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 60px;
    --fs-4: 26px;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1320px; }

  /* MOVIE CARD */

  .movies-list { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }



  /**
   * HEADER
   */

  .navbar { margin-inline: auto; }

  .header-actions .btn-primary {
    display: block;
    --fs-11: 14px;
    padding: 10px 35px;
    letter-spacing: 1px;
  }



  /**
   * HERO
   */

  .hero .container { width: 100%; padding-inline: 48px; margin-inline: 0; }



  /**
   * UPCOMING
   */

  .upcoming .movies-list > li { min-width: calc(25% - 22.5px); }



  /**
   * SERVICE
   */






  /**
   * MOVIE DETAIL
   */

  .movie-detail { padding-bottom: var(--section-padding); }

  .movie-detail-content { max-width: 620px; }

  .detail-title { --fs-1: 60px; }

  .download-btn {
    left: auto;
    right: 15px;
    bottom: 0;
    transform: rotate(0.25turn) translateY(100%);
    transform-origin: bottom right;
    padding: 40px 50px;
  }

  .download-btn ion-icon {
    font-size: 30px;
    transform: rotate(-0.25turn);
  }

}
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 7, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  overflow-y: auto;
  padding: 60px 0;
}
.search-modal.active {
  display: block;
}
.search-panel {
  max-width: 720px;
  margin-inline: auto;
  padding: 28px;
  background: linear-gradient(180deg, var(--xiketic), var(--rich-black-fogra-39));
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 168, 71, 0.05);
}
.search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.search-panel-title {
  font-family: var(--ff-cinzel);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--citrine);
}
.search-panel-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(245, 239, 228, 0.85);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.search-panel-close:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--parchment);
}
.search-modal-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--xiketic);
  border: 1px solid rgba(212, 168, 71, 0.12);
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color 0.2s;
}
.search-modal-inner:focus-within {
  border-color: var(--citrine);
  box-shadow: 0 0 12px rgba(212, 168, 71, 0.15);
}
.search-modal-inner ion-icon {
  color: var(--citrine);
  font-size: 22px;
  flex-shrink: 0;
}
.search-modal-inner input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--parchment);
  font-size: 1.05rem;
  font-family: inherit;
}
.search-modal-inner input::placeholder { color: rgba(245, 239, 228, 0.35); }
.search-hint {
  margin: 14px 2px 0;
  color: rgba(245, 239, 228, 0.4);
  font-size: 0.85rem;
}
.search-hint.hidden { display: none; }
.search-results {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  max-height: calc(100vh - 320px);
  overflow-y: auto;
  padding-right: 4px;
}
.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-thumb {
  background: rgba(212, 168, 71, 0.35);
  border-radius: 3px;
}
.search-results .movie-card { width: 100%; }
.search-results .card-banner img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.search-results .search-empty {
  grid-column: 1 / -1;
  color: rgba(245, 239, 228, 0.45);
  font-size: 0.95rem;
  text-align: center;
  padding: 40px 0;
}

/**
 * PLAYER - FULL VIEWPORT
 */
.player-body {
  margin: 0;
  padding: 0;
  background: var(--rich-black-fogra-29);
  overflow: hidden;
}

.player-viewport {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-viewport .player-shell {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.player-shell {
  position: relative;
  background: var(--rich-black-fogra-29);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 168, 71, 0.05);
  border: 1px solid rgba(212, 168, 71, 0.1);
  user-select: none;
}
.player-shell iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: var(--rich-black-fogra-29);
}
.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--rich-black-fogra-29);
  object-fit: contain;
}
.bb-spinner {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bb-spinner-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--citrine);
  animation: bb-spin 0.9s linear infinite;
}
@keyframes bb-spin { to { transform: rotate(360deg); } }
.bb-big-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--citrine);
  background: rgba(0, 0, 0, 0.55);
  color: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  cursor: pointer;
  transition: all 0.2s;
}
.bb-big-play:hover {
  background: var(--citrine);
  color: var(--rich-black-fogra-29);
  box-shadow: 0 0 25px rgba(212, 168, 71, 0.4);
}
.bb-big-play.hidden { display: none; }
.bb-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  color: var(--parchment);
  z-index: 5;
}
.bb-title {
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--ff-cinzel);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.bb-back {
  font-size: 22px;
  padding: 6px;
}
.bb-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 40px 20px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 5;
}
.bb-controls.show { display: flex; }
.bb-seek {
  position: relative;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.bb-seek-bg { position: absolute; left: 0; right: 0; height: 4px; background: rgba(255, 255, 255, 0.25); border-radius: 2px; }
.bb-seek-buffer { position: absolute; left: 0; height: 4px; background: rgba(255, 255, 255, 0.4); border-radius: 2px; }
.bb-seek-fill { position: absolute; left: 0; height: 4px; background: var(--citrine); border-radius: 2px; }
.bb-seek-thumb {
  position: absolute;
  width: 12px; height: 12px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--citrine);
  transform: translateX(-50%);
  display: none;
}
.bb-seek:hover .bb-seek-thumb { display: block; }
.bb-seek:hover .bb-seek-fill { height: 6px; margin-top: -1px; }
.bb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--parchment);
}
.bb-btn {
  background: transparent;
  border: none;
  color: var(--parchment);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.2s;
}
.bb-btn:hover { color: var(--citrine); }
.bb-skip { font-size: 13px; font-weight: 700; }
.bb-vol-wrap { display: flex; align-items: center; gap: 6px; }
.bb-vol-slider {
  position: relative;
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.bb-vol-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--citrine);
  border-radius: 2px;
}
.bb-vol-slider input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}
.bb-time { font-size: 13px; color: var(--parchment-dim); white-space: nowrap; }
.bb-spacer { flex: 1; }

/**
 * EMBEDDED SERVER MENU
 */
.bb-server-wrap {
  position: relative;
}
.bb-server-btn {
  font-size: 20px;
}
.bb-server-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 8px;
  background: rgba(15, 12, 9, 0.95);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  z-index: 10;
}
.bb-server-menu.open {
  display: flex;
}
.bb-server-option {
  background: transparent;
  border: none;
  color: var(--parchment-dim);
  font-family: var(--ff-cinzel);
  font-size: 0.8rem;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  white-space: nowrap;
}
.bb-server-option:hover {
  background: rgba(212, 168, 71, 0.1);
  color: var(--citrine);
}
.bb-server-option.active {
  color: var(--citrine);
  background: rgba(212, 168, 71, 0.15);
}

@media (max-width: 575px) {
  .bb-row { flex-wrap: wrap; gap: 6px; }
  .bb-vol-slider { width: 50px; }
  .bb-spacer { display: none; }
  .bb-server-menu { min-width: 120px; }
  .bb-server-option { font-size: 0.75rem; padding: 8px 12px; }
}

.upcoming .movies-list > li {
  min-width: calc(12.5% - 16px);
  max-width: 165px;
}
.upcoming .movies-list.has-scrollbar {
  gap: 12px;
  overflow-x: auto;
}
.upcoming .movies-list > li .card-banner img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 71, 0.3);
  background: rgba(212, 168, 71, 0.05);
  color: var(--parchment);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-btn:hover {
  background: var(--citrine);
  border-color: var(--citrine);
  color: var(--rich-black-fogra-29);
}
.upcoming .movies-list.has-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.upcoming .movies-list.has-scrollbar::-webkit-scrollbar { display: none; }

