/* Font-display swap for CDN-loaded icon fonts */
@font-face {
  font-family: 'bootstrap-icons';
  font-display: swap;
  src: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/fonts/bootstrap-icons.woff2?e34853135f9e39acf64315236852cd5a') format('woff2');
}

/* ==================================================
   ROOT COLORS
================================================== */

/*
font-family: "Cherry Swash", serif;
font-family: "Roboto", sans-serif;
*/

:root {
  --navy: #020a35;
  --navy-light: #071451;

  --white: #ffffff;

  --yellow: #ffd33d;

  --red-start: #ff1738;
  --red-end: #b90020;

  --green-start: #b8ff77;
  --green-end: #63d63e;

  --cyan-start: #9ef1f4;
  --cyan-end: #55cbd4;
}


/* ==================================================
   RESET
================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: #fff;

  color: #ffffff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

p {
  font-family: "Roboto", sans-serif !important;
}


/* ==================================================
   WEBSITE WRAPPER
================================================== */

.site-wrapper {
  /*
  width: min(1200px, calc(100% - 50px));
  margin: 35px auto;
  */

  padding-top: 58px;

  background: var(--navy);

  box-shadow:
    0 25px 80px
    rgba(0, 0, 0, 0.55);
}


/* ==================================================
   HEADER
================================================== */

a.premium-btn {
  text-decoration: none;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  height: auto;

  z-index: 1000;

  background:
    linear-gradient(
      90deg,
      rgba(2, 7, 34, 0.98),
      rgba(5, 10, 48, 0.98)
    );

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.05);
}

.main-header .navbar {
  min-height: 0;

  padding: 8px 0;
}


/* ==================================================
   LOGO
================================================== */

.navbar-brand {
  margin-right: 30px;
}

.site-logo {
  width: 135px;

  height: auto;

  object-fit: contain;
}


/* ==================================================
   NAVIGATION
================================================== */

.navbar-nav {
  gap: 4px;
}

/* Touch target minimum size for accessibility */
.main-header .nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.main-header .nav-link {
  position: relative;

  padding:
    11px 10px !important;

  color:
    rgba(255, 255, 255, 0.92);

  font-size: 18px;
  font-weight: 300;

  white-space: nowrap;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.main-header .nav-link::after {
  content: "";

  position: absolute;

  left: 10px;
  right: 10px;

  bottom: 4px;

  height: 2px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #a5ff54,
      #51e8a8
    );

  transform:
    scaleX(0);

  transform-origin:
    right center;

  transition:
    transform 0.3s ease;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
  color: #a9ff61;
}


.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #a9ff61 !important;
}

.main-header .nav-link:hover::after,
.main-header .nav-link.active::after {
  transform:
    scaleX(1);

  transform-origin:
    left center;
}


/* ==================================================
   HEADER BUTTONS
================================================== */

.header-actions {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-left: 20px;

  font-family: "Cherry Swash", serif;
}


/* ==================================================
   ONE COMMON BUTTON STYLE

   premium-btn = common button
   btn-red     = color only
   btn-green   = color only
   btn-cyan    = color only
================================================== */

.premium-btn {
  --btn-start: #444;
  --btn-end: #222;
  --btn-text: #fff;

  position: relative;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  min-height: 42px;

  padding:
    0 18px;

  overflow: hidden;

  border: 0;

  border-radius: 7px;

  color:
    var(--btn-text);

  background:
    linear-gradient(
      135deg,
      var(--btn-start),
      var(--btn-end)
    );

  font-size: 16px;
  font-weight: 300;

  line-height: 1;

  box-shadow:
    0 7px 20px
    rgba(0, 0, 0, 0.25);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
}


/* BUTTON SHINE */

.premium-btn::before {
  content: "";

  position: absolute;

  top: -60%;

  left: -80%;

  width: 45%;
  height: 220%;

  transform:
    rotate(25deg);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.48),
      transparent
    );

  transition:
    left 0.6s ease;
}

.premium-btn:hover::before {
  left: 140%;
}

.premium-btn:hover {
  color:
    var(--btn-text);

  transform:
    translateY(-3px);

  filter:
    brightness(1.08);

  box-shadow:
    0 13px 30px
    rgba(0, 0, 0, 0.35);
}

.premium-btn:active {
  transform:
    translateY(-1px)
    scale(0.98);
}

.premium-btn i,
.premium-btn .btn-icon {
  position: relative;

  z-index: 2;

  font-size: 14px;

  width: auto;
  height: 16px;

  display: block;

  object-fit: contain;
}

.premium-btn span {
  position: relative;
font-family: "Cherry Swash", serif;
  z-index: 2;
}


/* ==================================================
   BUTTON COLORS
================================================== */

.btn-red {
  --btn-start:
    var(--red-start);

  --btn-end:
    var(--red-end);

  --btn-text:
    #ffffff;
}

.btn-green {
  --btn-start:
    var(--green-start);

  --btn-end:
    var(--green-end);

  --btn-text:
    #071507;
}

.btn-cyan {
  --btn-start:
    var(--cyan-start);

  --btn-end:
    var(--cyan-end);

  --btn-text:
    #06232b;
}


/* ==================================================
   MOBILE NAV TOGGLER
================================================== */

.navbar-toggler {
  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 5px;

  width: 42px;
  height: 42px;

  padding: 8px;

  border:
    1px solid
    rgba(255, 255, 255, 0.15);

  border-radius: 8px;

  box-shadow: none !important;
}

.navbar-toggler-line {
  display: block;

  width: 100%;
  height: 2px;

  border-radius: 20px;

  background: #ffffff;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}


/* ==================================================
   HERO
================================================== */

.hero-section {
  position: relative;

  overflow: hidden;

  background:
    url("https://cdn.twasthewaspbeforechristmas.com/assets/images/bg.webp")
    top center /
    cover
    no-repeat;
padding: 60px 0 60px 0;
  background-size: contain;

  background-position: right;
}


/* ==================================================
   OPTIONAL HERO OVERLAY
================================================== */

/*
.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 8, 48, 0.98) 0%,
      rgba(0, 10, 55, 0.83) 40%,
      rgba(0, 8, 48, 0.35) 67%,
      rgba(0, 6, 35, 0.08) 100%
    );
}
*/


.hero-container {
  position: relative;

  z-index: 5;
}

.hero-row {
  min-height: 760px;
}


/* ==================================================
   HERO CONTENT
================================================== */

.hero-content {
  /* max-width: 520px; */

  padding:0px 0;

  animation:
    contentSlide
    0.9s
    0.15s
    ease both;
}


/* ==================================================
   HERO TITLE IMAGE
================================================== */

.hero-title-image {
  display: block;

  width:
    min(390px, 100%);

  height: auto;

  margin-bottom: 25px;

  filter:
    drop-shadow(
      0 7px 12px
      rgba(0, 0, 0, 0.4)
    );
}


/* ==================================================
   HERO TEXT
================================================== */

/* .hero-copy {
  max-width: 510px;
} */

.hero-copy p {
  margin:
    0 0 18px;

  color:
    #ffd544;

  font-size: 16px;

  font-weight: 500;

  line-height: 1.5;

  text-shadow:
    0 2px 5px
    rgba(0, 0, 0, 0.55);
}


/* ==================================================
   HERO ACTIONS
================================================== */

.hero-actions {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 16px;

  margin-top: 21px;
}


/* ==================================================
   RUNTIME
================================================== */

.runtime-pill {
  display: inline-flex;
font-family: "Cherry Swash", serif;
  align-items: center;

  min-height: 32px;

  padding:
    0 18px;

  color:
    #211500;

  background:
    linear-gradient(
      135deg,
      #ffe887,
      #ffc73f
    );

  border:
    1px solid
    rgba(255, 255, 255, 0.25);

  border-radius: 100px;

  font-size: 15px;
  font-weight: 700;

  box-shadow:
    0 7px 18px
    rgba(0, 0, 0, 0.2);
}


/* ==================================================
   AVAILABILITY
================================================== */

.availability-text {
    margin: 25px 0 8px 0;

  color:
    #a6fafd;

  font-family:
    "Cherry Swash",
    serif;

  font-size: 18px;
}


/* ==================================================
   RATINGS
================================================== */

.rating-box {
  display: inline-block;

  margin-bottom: 18px;

  text-align: center;
}

.stars {
  color:
    #ffc31c;

  font-size: 50px;

  line-height: 1;

  letter-spacing: 2px;

  filter:
    drop-shadow(
      0 3px 5px
      rgba(0, 0, 0, 0.25)
    );
}

.review-text {
  padding-left: 0;

  margin-top: 10px;

  color:
    #ffffff;

  font-family:
    "Cherry Swash",
    serif;

  font-size: 20px;
}


/* ==================================================
   STORE LOGOS
================================================== */

.store-logos {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 20px;

  margin:
    15px 0
    27px;
}

.store-logos img {
  width: auto;

  max-width: 100px;

  height: 21px;

  object-fit: contain;

  opacity: 0.92;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.store-logos img:hover {
  opacity: 1;

  transform:
    translateY(-3px);
}

.store-logos img:nth-child(1) {
  position: relative;

  top: 5px;
}

/* ==================================================
   STORY CARD
   CLEAN 1PX GOLD BORDER + GLOW
================================================== */

.story-card {
  position: relative;

  display: flex;
  align-items: center;

  /* max-width: 590px; */
  min-height: 100px;

  margin-top: 75px;

  padding: 18px 25px 18px 95px;

  color: #171000;

  background:
    linear-gradient(
      180deg,
      #ffec86 0%,
      #ffe065 20%,
      #ffd34c 45%,
      #ffc039 72%,
      #f3aa26 100%
    );

  /* CLEAN 1PX BORDER */
  border: 1px solid #fff000;

  border-radius: 8px 16px 16px 8px;

  /* glow stays behind the 1px line */
  box-shadow:
    0 0 4px rgba(255, 240, 0, 0.95),
    0 0 10px rgba(255, 213, 0, 0.70),
    0 0 22px rgba(255, 171, 0, 0.42),
    0 7px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);

  overflow: visible;

  isolation: isolate;

  animation:
    storyGlow
    1.8s
    ease-in-out
    infinite;
}


/* ==================================================
   GLOW ONLY
   NO SECOND BORDER
================================================== */

.story-card::before {
  content: "";

  position: absolute;

  inset: -1px;

  z-index: -1;

  border-radius:
    9px 17px 17px 9px;

  /* IMPORTANT:
     no border here, otherwise double line appears
  */
  border: 1px solid #fff000;

  box-shadow:
    0 0 7px rgb(255 239 0 / 0%),
    0 0 18px rgb(255 196 0 / 0%),
    0 0 30px rgb(255 151 0 / 29%);
  pointer-events: none;
}


/* ==================================================
   SUBTLE TOP SHINE
================================================== */

.story-card::after {
  content: "";

  position: absolute;

  top: 1px;

  left: 18px;
  right: 18px;

  z-index: 2;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.65),
      transparent
    );

  opacity: 0.7;

  pointer-events: none;
}


/* ==================================================
   STORY CARD TEXT
================================================== */

.story-card p {
  position: relative;

  z-index: 3;

  margin: 0;

  color: #171000;

  font-family:
    "Cherry Swash",
    serif;

  font-size: 16px;

    font-weight: bolder;

  line-height: 1.45;

  text-shadow:
    0 1px 0
    rgba(255, 255, 255, 0.2);
}


/* ==================================================
   STORY BOOK
================================================== */

.story-book {
  position: absolute;

  left: -12px;

  bottom: -20px;

  z-index: 6;

  width: 95px;

  height: auto;

  transform:
    translateX(-3px);

  filter:
    drop-shadow(
      0 9px 12px
      rgba(0, 0, 0, 0.42)
    );

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}


/* ==================================================
   BOOK HOVER
================================================== */

.story-card:hover .story-book {
  transform:
    translateX(-3px)
    translateY(-4px);

  filter:
    drop-shadow(
      0 13px 17px
      rgba(0, 0, 0, 0.5)
    );
}


/* ==================================================
   STORY CARD GLOW ANIMATION
================================================== */

@keyframes storyGlow {

  0%,
  100% {
    box-shadow:
      0 0 4px rgba(255, 240, 0, 0.75),
      0 0 10px rgba(255, 213, 0, 0.50),
      0 0 20px rgba(255, 171, 0, 0.30),
      0 7px 20px rgba(0, 0, 0, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }

  50% {
    box-shadow:
      0 0 5px rgba(255, 244, 60, 1),
      0 0 13px rgba(255, 218, 0, 0.80),
      0 0 27px rgba(255, 165, 0, 0.45),
      0 7px 22px rgba(0, 0, 0, 0.40),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

}

.about-section {
    background:url("https://cdn.twasthewaspbeforechristmas.com/assets/images/red-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center bottom ;
  padding:80px 0;
}

.about-section .contentstyle p {color:#fff}


.watch-trailer {
  background:url("https://cdn.twasthewaspbeforechristmas.com/assets/images/bg-watch.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center bottom ;
  padding:80px 0;
}
.contentstyle h2{
  font-family: "Cherry Swash", serif;
  font-size: 50px;
}
.redcolor{
  color: #d2232a;
}

.afterbefore h2 {
  position:relative
}

.afterbefore {
    position: relative;
    width: 45%;
    text-align: center;
    display: block;
    margin: 0px auto;
}

.afterbefore:after {
    background:url("https://cdn.twasthewaspbeforechristmas.com/assets/images/rightafter.webp");
    height: 36px;
    width: 70px;
    content: "";
    position: absolute;

    right: 0;
    background-repeat:no-repeat;
    background-size:contain;
    display:block;
    top:0;
    top: 50%;
    transform: translateY(-50%);
    
}
.afterbefore:before {
    background:url("https://cdn.twasthewaspbeforechristmas.com/assets/images/leftbefore.webp");
    height: 36px;
    width: 70px;
    content: "";
    position: absolute;

    left: 0;
    background-repeat:no-repeat;
    background-size:contain;
        display:block;
    top:0;
    top: 50%;
    transform: translateY(-50%);
}

.about-section .afterbefore:after,
.about-section .afterbefore:before {
    filter: brightness(0) invert(1);
}
.contentstyle p {
    font-size: 18px;
    color:#000;
}


/* tvpopup */

/* ==================================================
   TV
================================================== */

.tv-led {
  position: relative;

  cursor: pointer;

  isolation: isolate;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.tv-led > img {
  display: block;

  width: 100%;
  height: auto;
}

.tv-led:hover {
  transform:
    translateY(-5px);

  filter:
    drop-shadow(
      0 18px 26px
      rgba(0, 0, 0, 0.25)
    );
}


/* ==================================================
   PLAY BUTTON WRAPPER
================================================== */

.tv-play-button {
  position: absolute;

  top: 50%;
  left: 50%;

  z-index: 5;

  width: 78px;
  height: 78px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform:
    translate(-50%, -50%);
}


/* ==================================================
   PLAY CIRCLE
================================================== */

.play-circle {
  position: relative;

  z-index: 3;

  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    2px solid
    rgba(255, 255, 255, 0.9);

  border-radius: 50%;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #ff1837 0%,
      #c80022 100%
    );

  box-shadow:
    0 8px 22px
    rgba(0, 0, 0, 0.35),

    0 0 22px
    rgba(255, 22, 54, 0.38);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.play-circle i {
  position: relative;

  left: 2px;

  font-size: 34px;

  line-height: 1;
}


/* ==================================================
   PULSE
================================================== */

.play-pulse {
  position: absolute;

  inset: 0;

  border:
    2px solid
    rgba(255, 255, 255, 0.65);

  border-radius: 50%;

  animation:
    playPulse
    1.8s
    ease-out
    infinite;
}


/* SECOND PULSE */

.tv-play-button::before {
  content: "";

  position: absolute;

  inset: 8px;

  border:
    2px solid
    rgba(255, 32, 65, 0.45);

  border-radius: 50%;

  animation:
    playPulse
    1.8s
    0.6s
    ease-out
    infinite;
}


/* ==================================================
   HOVER
================================================== */

.tv-led:hover .play-circle {
  transform:
    scale(1.1);

  box-shadow:
    0 10px 30px
    rgba(0, 0, 0, 0.4),

    0 0 35px
    rgba(255, 22, 54, 0.7);
}


/* ==================================================
   PULSE ANIMATION
================================================== */

@keyframes playPulse {

  0% {
    transform:
      scale(0.75);

    opacity: 1;
  }

  100% {
    transform:
      scale(1.45);

    opacity: 0;
  }

}


/* ==================================================
   VIDEO MODAL
================================================== */

.video-modal .modal-dialog {
  max-width: 1050px;
}

.video-modal .modal-content {
  position: relative;

  overflow: visible;

  padding: 0;

  background: #000;

  border:
    1px solid
    rgba(255, 255, 255, 0.15);

  border-radius: 16px;

  box-shadow:
    0 30px 90px
    rgba(0, 0, 0, 0.7);
}

.video-modal video {
  display: block;

  width: 100%;
  height: 100%;

  background: #000;

  object-fit: contain;

  border-radius: 16px;
}


/* ==================================================
   CLOSE
================================================== */

.video-close {
  position: absolute;

  top: -42px;
  right: 0;

  z-index: 20;

  width: 32px;
  height: 32px;

  opacity: 1;
}



.footer-section {padding:15px 0 ;background:#310000}
section.footer-section p {
    margin-bottom: 0;
    text-align: center;
}


/* aboutus */

.aboutpage .hero-row {
    min-height: auto !important;
}

.hero-section.aboutpage {
    background-size: cover;
    padding: 100px 0 200px 0;
}


.contentstylebanner h1 {
    font-size: 70px;
    font-family: "Cherry Swash", serif;
font-weight: 700;
    color: #ffffff;
}

.contentstylebanner p {
    font-size: 30px;
    width: 38%;
    font-weight: 300;
    color: #ffffff;
}


.imgborder {
    margin: 30px 0 20px 0;
}


.backtohead {

    position: relative;
    top: -120px;

}


.boxstyle-topview {
    background:#fff;
  border:3px solid #3a3a3a;
  border-radius:30px;
      padding: 40px;
  position: relative;
  z-index: 10000;
}

.abouttheauthorbg {
  /* background:#fff */
  background-image:url("https://cdn.twasthewaspbeforechristmas.com/assets/images/bg-watch.webp");
  width:100%;
  height:100%;
  background-size:contain;
  background-position:center bottom;
  background-repeat:no-repeat !important;
}

.backtohead .contentstyle h2 {
    font-family: "Cherry Swash", serif;
    font-size: 45px;
    color: #310000;
    font-weight: bold;
    margin-bottom: 30px;
}

.backtohead .contentstyle p {color:#3b3b3b}

.imagebox img {
    width: 100%;
}

.greencolor{
  color:#40ae49 !important;
}

.bluecolors {
  color:#7aa6e2 !important;
}

.fontitalic{
  font-style:italic !important;
}


.goldenbg{
  background: #FDD15D;
background: -webkit-linear-gradient(264deg, rgba(253, 209, 93, 1) 0%, rgba(255, 239, 192, 1) 42%, rgba(255, 209, 87, 1) 100%);
background: -moz-linear-gradient(264deg, rgba(253, 209, 93, 1) 0%, rgba(255, 239, 192, 1) 42%, rgba(255, 209, 87, 1) 100%);
background: linear-gradient(264deg, rgba(253, 209, 93, 1) 0%, rgba(255, 239, 192, 1) 42%, rgba(255, 209, 87, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FDD15D", endColorstr="#FFD157", GradientType=0);
border-radius:25px;
border:1px solid #fff6dd;
padding:25px;
}

/* Join The Adventure: buttons sit on the right; extra buttons are added to the right too */
@media (min-width: 992px) {
  .goldenbg .header-actions.join-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-left: 0;
  }
}

.goldenbg .contentstyle h2 {
    margin-bottom: 0;
    text-align: center;
}
.logostyles img {
    transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


.logostyles img:hover {
  opacity: 1;

  transform:
    translateY(-3px);
}
/* aboutus */




/* buythebook */

.hero-section.buythebook .hero-overlay {
  display: none;
}

.hero-section.buythebook {
  background-position: 100% 50%;
}

/* buythebook responsive */
@media (max-width: 991px) {
  .hero-section.buythebook {
    background-position: left center;
  }
  .buythebook .hero-row {
    min-height: 600px !important;
  }
  .hero-section.buythebook .hero-overlay {
    display: block;
    background: rgba(40, 5, 90, 0.35);
  }
}

@media (max-width: 767px) {
  .hero-section.buythebook {
    background-position: left center;
  }
  .buythebook .hero-row {
    min-height: 560px !important;
  }
  .hero-section.buythebook .hero-overlay {
    display: block;
    background: rgba(40, 5, 90, 0.45);
  }
}

@media (max-width: 480px) {
  .hero-section.buythebook {
    background-position: left center;
  }
  .buythebook .hero-row {
    min-height: 480px !important;
  }
}

.hero-copy.colorwhite p {
    color: #fff;
}

.redcolor {
    color: #d2232a !important;
}
.yellowcolor{
  color:#ffc000 !important;
}


      .gradient-border {
  position: relative;
  background: linear-gradient(0deg, #de8827, #f3cd17);
  padding: 2px;
  border-radius: 30px;
}
.gradient-border-content {
  background: #ffffff;
  border-radius: 28px;
  padding: 25px;
}


.product-thumb {
    text-align: center;
}

.product-thumb h3 {
    color: #d2232a !important;
    font-family: "Cherry Swash", serif;
    font-weight: bold;
        margin: 30px 0 15px 0;
        font-size: 1.25rem;
}




.product-thumb ul {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0px auto;
        padding-bottom: 5px;
}


.product-thumb ul li {
    color: #343434;
    list-style: none;
    text-align: left;
    display: block;
    margin: 0px auto;
    position: relative;
        margin: 0 0 12px 0;
        font-size: 14px;
}

.product-thumb ul li:after {
    width: 12px;
    height: 12px;
    background: url(https://cdn.twasthewaspbeforechristmas.com/assets/images/buy/tickicon.webp) no-repeat center center;
    background-size: contain;
    content: "";
    position: absolute;
    left: -20px;
    top: 49%;
    transform: translateY(-50%);
}

.product-thumb .hero-actions a {
    text-align: center;
    margin: 0px auto;

 
}
.product-thumb .hero-actions{
    margin-top:0 !important
}

.iconboxtext h3 {
    color: #d2232a;
    font-weight: bold;
    font-family: "Cherry Swash", serif;
}

.iconboxtext p {color:#282828}


.securestylebox {
    display: flex;
    gap: 20px;
}

.securestylebox .iconbox {
    width: 80px;
}

section.abouttheauthorbg.buypage{
  background: #ffffff !important;
  background-image: none !important;
  position: relative;
  z-index: 10000;
}


/* .hero-section.aboutpage.buythebook {
    padding: 100px 0 370px 0;
} */
/* buythebook */





/* moviepage */


section.abouttheauthorbg.moviepage {
  background:#01194b;
}

section.abouttheauthorbg.moviepage .gradient-border-content{
    background: #05194a;}

.moviepage .contentstyle h3 {
    font-family: "Cherry Swash", serif;
    font-size: 40px;
    font-weight: bold;
}

.moviepage .contentstyle h4 {
    font-weight: 300 !important;
    padding: 15px 0 15px 0;
}

.moviepage .contentstyle h5 {
    font-size: 22px;
    font-weight: 100;
    margin-bottom:0;
}


.detailboximg {
    display: flex;
    gap: 15px;
    align-items: center;
    position:relative;
}
.moviepage .contentstyle p.para-detail {
    color: #fff;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 300;
}
.moviepage .contentstyle p {
    color: #fff;

}

.moviepage .header-actions {
    margin-left: 0;
}

.imagethumb {position:relative;}

.custompositions .header-actions {
    text-align: center;
    margin: 0px auto;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
        width: 65%;
}

.imagethumb img {
    width: 100%;
}
.custompositions .header-actions a {
    width: 100%;
    text-align: center;
    margin: 0px auto;
}

.product-thumb.mythumbdetails {
    display: flex;
    align-items: center;
        gap: 10px;
}


.imageproductdetailsboxs {
    text-align: left;
}

.imageproductdetailsboxs h3 {
    font-size: 14px;
    margin: 0 0 5px 0;
    color: #fff !important;
}

.imageproductdetailsboxs p {
    margin-bottom: 0;
    font-size: 13px;
}
.product-thumb .imagethumbproduct img {
    width: 100px;
}
.myboxradius .imagethumbproduct {
    width: 90px;
    margin: 0;
    text-align: left;
    flex-shrink: 0;
}

.imagethumbproduct img {
    width: 100%;
}


.myboxradius .gradient-border-content {
    border-radius: 8px;
     height:100%
}

.myboxradius .gradient-border {
    border-radius: 10px;
    height:100%
}
.myboxradius .gradient-border-content {
    padding: 40px 25px;
}

.myboxradius {
    margin-top: 80px;
}

/* moviepage */



/* reviewpage */

.backtohead.offtop {
    top: 0;
}

.reviewpage .hero-title-image {
    width: min(500px, 100%);
}


.reviewpage .store-logos img {

    max-width: 120px;
height: 22px;
 
}


.reviewpage .store-logos {

    margin: 30px 0 0 0 !important;
}
.reviewbanner img {
    width: 90%;
}
.reviewpage div#reviews {
    margin: 0px auto;
    display: block;
    margin-top: 20px;
}
/* reviewpage */

/* ==================================================
   BACKDROP
================================================== */

.modal-backdrop.show {
  opacity: 0.88;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

  .tv-play-button {
    width: 64px;
    height: 64px;
  }

  .play-circle {
    width: 52px;
    height: 52px;
  }

  .play-circle i {
    font-size: 28px;
  }

  .video-modal .modal-dialog {
    margin: 15px;
  }

}

/* tvpopup */





@media (max-width: 1400px) {
.hero-section{
      background-size: cover;
}


.contentstylebanner p {

    width: 50%;

}
.premium-btn {
   
    font-size: 14px;}


.main-header .nav-link {

    font-size: 14px;}

}
@media (max-width: 1280px) {
.afterbefore {

    width: 65%;
}}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1199px) {

  .main-header .nav-link {
    font-size: 12px;

    padding:
      10px 6px !important;
  }


  .header-actions {
    gap: 7px;

    margin-left: 10px;
  }


  .premium-btn {
    padding:
      0 13px;

    font-size: 12px;
  }

}


/* ==================================================
   MOBILE NAV
================================================== */

@media (max-width: 991px) {
.imagethumbproduct {
    text-align: center;
    margin: 0px auto;
}


  .hero-section.aboutpage {

    padding: 50px 0 160px 0;
}
.product-thumb ul {
    display: block;
    width: 90%;}

    .gradient-border-content {

    padding: 15px;
}

  .logostyles img {
    text-align: center;
    display: block;
    margin: 0px auto;
    padding-top: 20px;
}
  .contentstylebanner p {

    width: 100%;

}



.afterbefore {

    width: 100%;
}

.afterbefore h2 {
    width: 70%;
    margin: 0px auto;
}

  body {
    background:#fff;
  }


  .site-wrapper {
    width: 100%;

    margin: 0;

    box-shadow: none;
  }


  .navbar-collapse {
    margin-top: 10px;

    padding:
      20px;

    background:
      rgba(2, 7, 38, 0.98);

    border:
      1px solid
      rgba(255, 255, 255, 0.08);

    border-radius: 13px;

    box-shadow:
      0 20px 40px
      rgba(0, 0, 0, 0.3);
  }


  .navbar-nav {
    align-items:
      flex-start !important;
  }


  .main-header .nav-link {
    width: 100%;

    padding:
      10px 0 !important;

    font-size: 14px;
  }


  .main-header .nav-link::after {
    left: 0;

    right: auto;

    width: 40px;

    bottom: 4px;
  }


  .header-actions {
    flex-wrap: wrap;

    margin:
      18px 0
      0;
  }


  .hero-section {
    min-height: auto !important;

    background-position:
      60% center;
  }


  .hero-row {
    min-height: auto !important;
  }


  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(0, 8, 48, 0.97) 0%,
        rgba(0, 10, 55, 0.88) 55%,
        rgba(0, 8, 48, 0.55) 100%
      );
  }


  /* Story Card Tablet */

  .story-card {
    max-width: 540px;

    padding:
      17px 20px
      17px 88px;
  }


  .story-book {
    width: 88px;

    left: -10px;
  }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {

  .hero-section {
    min-height: auto;

    background-position:
      65% center;
  }


  .hero-row {
    min-height: 720px;
  }


  .hero-content {
    padding:
     0px 0;
  }


  .hero-title-image {
    width:
      min(320px, 90%);
  }


  .hero-copy p {
    font-size: 14px;
  }


  .hero-actions {
    flex-direction: column;

    align-items:
      flex-start;
  }


  /* ==============================================
     STORY CARD MOBILE
  ============================================== */

  .story-card {
    max-width: 100%;

    min-height: 92px;

    margin-top: 55px;

    padding:
      17px 17px
      17px 82px;

    border-radius:
      7px 14px 14px 7px;
  }


  .story-card p {
    font-size: 13.5px;

    line-height: 1.4;
  }


  .story-book {
    width: 80px;

    left: -7px;

    bottom: -15px;
  }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

  .main-header .container,
  .hero-section .container {
    padding-left: 20px;

    padding-right: 20px;
  }


  .site-logo {
    width: 115px;
  }


  .header-actions {
    flex-direction: column;

    align-items: stretch;
  }


  .header-actions .premium-btn {
    width: 100%;
  }


  .hero-title-image {
    width: 275px;
  }


  .hero-copy p {
    font-size: 13px;
  }


  .runtime-pill {
    font-size: 12px;
  }


  .stars {
    font-size: 25px;
  }


  .store-logos {
    gap: 13px;
  }


  /* ==============================================
     STORY CARD SMALL MOBILE
  ============================================== */

  .story-card {
    min-height: 88px;

    margin-top: 45px;

    padding:
      15px 13px
      15px 68px;

    border-width: 1.5px;

    border-radius:
      7px 12px 12px 7px;
  }


  .story-card::before {
    inset: -2px;

    border-width: 1px;

    border-radius:
      8px 13px 13px 8px;
  }


  .story-card p {
    font-size: 12.5px;

    line-height: 1.4;
  }


  .story-book {
    width: 70px;

    left: -5px;

    bottom: -12px;
  }

}


/* ==================================================
   MOBILE SLIDER (slidermobile)
================================================== */

.slidermobile.swiper {
  overflow: hidden;
}

.slidermobile.row > .swiper-wrapper {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.slidermobile .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .slidermobile.swiper {
    overflow: visible;
  }

  .slidermobile .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    transform: none !important;
  }

  .slidermobile .swiper-slide {
    margin-right: 0 !important;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }

  .slidermobile .swiper-slide.col-lg-4 {
    width: 33.33333333% !important;
    max-width: 33.33333333%;
  }

  .slidermobile .swiper-slide.col-lg-3 {
    width: 25% !important;
    max-width: 25%;
  }
}

/* When Swiper not initialized (admin iframe), use Bootstrap grid */
.slidermobile:not(.swiper-initialized) {
  container-type: inline-size;
}

.slidermobile:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
}

/* Desktop (>= 992px container): 4 per row */
@container (min-width: 992px) {
  .slidermobile:not(.swiper-initialized) .swiper-slide {
    width: 25% !important;
    max-width: 25%;
    flex-shrink: 0;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }
}

/* Tablet (< 992px container): 2 per row */
@container (max-width: 991.98px) {
  .slidermobile:not(.swiper-initialized) .swiper-slide {
    width: 50% !important;
    max-width: 50%;
    flex-shrink: 0;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    margin-bottom: 1.5rem;
  }
}

/* Mobile (< 576px container): 1 per row */
@container (max-width: 575.98px) {
  .slidermobile:not(.swiper-initialized) .swiper-slide {
    width: 100% !important;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .slidermobile .swiper-slide {
    width: 100% !important;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 991.98px) {
  .slidermobile .swiper-slide {
    padding-left: 0;
    padding-right: 0;
  }

  .slidermobile .securestylebox {
    justify-content: center;
    text-align: left;
  }

  .logostyles .slidermobile .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logostyles .slidermobile img {
    display: block;
    margin: 0 auto;
  }
}



 .review-ui {
      --review-yellow: #ffb81f;
      --review-blue: #2944ff;
      --review-text: #353535;
      --review-border: #414141;
      --review-gray: #bfbfbf;
      --review-pale: #ffe8b0;

      padding: 16px 0 24px;
      background: #000;
      color: var(--review-text);
      font-family: "Roboto", Arial, sans-serif;
    }

    .review-ui *,
    .review-ui *::before,
    .review-ui *::after {
      box-sizing: border-box;
    }

    .review-ui .review-container {
      width: 100%;
      max-width: 1288px;
    }

    /* =========================================
       TOP FORM CARD
    ========================================= */

    .review-ui .review-form-column {
      max-width: 736px;
    }

    .review-ui .review-form-card {
      background: #fff;
      border: 3px solid var(--review-border);
      border-radius: 28px;
      padding: 20px 34px 30px;
    }

    .review-ui .review-heading {
      margin: 0 0 18px;
      color: var(--review-blue);

font-family: "Cherry Swash", serif;
      font-size: 48px;
      font-weight: 700;
      line-height: 1.25;
    }

    .review-ui .review-controls {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .review-ui .review-name-wrap {
      flex: 1;
      min-width: 0;
    }

    .review-ui .review-input,
    .review-ui .review-textarea {
      border: 3px solid var(--review-border);
      background: #fff;
      color: var(--review-text);
      box-shadow: none;

      font-family: "Roboto", Arial, sans-serif;
      font-size: 20px;

      transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
    }

    .review-ui .review-input {
      height: 58px;
      padding: 10px 14px 10px 40px;
      
      border-radius: 50px;
      /* text-align: center; */
    }

    .review-ui .review-textarea {
      min-height: 170px;
      height: 170px;
      padding: 12px 44px;

      border-radius: 28px;
      resize: vertical;
    }

    .review-ui .review-input::placeholder,
    .review-ui .review-textarea::placeholder {
      color: #6b6b6b;
      opacity: 1;
    }

    .review-ui .review-input:focus,
    .review-ui .review-textarea:focus {
      border-color: var(--review-blue);
      outline: none;
      box-shadow: 0 0 0 4px rgb(41 68 255 / 10%);
    }

    /* =========================================
       SHARED STAR SHAPE

       --fill:
       0%   = empty
       50%  = half yellow
       100% = full yellow
    ========================================= */

    .review-ui .review-star-shape {
      position: relative;
      display: block;

      width: 100%;
      height: 100%;

      background: var(--star-empty, #c5c5c5);

      clip-path: polygon(
        50% 0%,
        61.8% 34.5%,
        98% 36%,
        69.5% 59%,
        79% 95%,
        50% 74%,
        21% 95%,
        30.5% 59%,
        2% 36%,
        38.2% 34.5%
      );
    }

    .review-ui .review-star-shape::after {
      content: "";
      position: absolute;

      top: 0;
      bottom: 0;
      left: 0;

      width: var(--fill, 0%);
      background: var(--rating-star-color, var(--review-yellow));
    }

    /* =========================================
       INTERACTIVE HALF / FULL STAR PICKER
    ========================================= */

    .review-ui .rating-fieldset {
      flex: 0 0 300px;
      width: 300px;
      min-width: 0;

      margin: 0;
      padding: 0;
      border: 0;
    }

    .review-ui .rating-picker {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 4px;
      width: 100%;
    }

    .review-ui .rating-star {
      position: relative;
      aspect-ratio: 1;
      border-radius: 7px;
    }

    /*
      Two real radio inputs cover each star:
      left half = half rating
      right half = full rating
    */

    .review-ui .rating-choice {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 3;

      width: 50%;
      height: 100%;

      margin: 0;
      padding: 0;

      opacity: 0;
      cursor: pointer;
      appearance: none;
      touch-action: manipulation;
    }

    .review-ui .rating-choice-full {
      left: 50%;
    }

    .review-ui .rating-star:focus-within {
      outline: 2px solid var(--review-blue);
      outline-offset: 3px;
    }

    .review-ui .rating-star .review-star-shape {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .review-ui .rating-number {
      position: absolute;
      top: 56%;
      left: 0;
      right: 0;
      z-index: 2;

      transform: translateY(-50%);
      text-align: center;

      color: #626262;
      font-size: clamp(10px, 2.5vw, 12px);
      font-weight: 500;
      line-height: 1;
      white-space: nowrap;
      overflow: hidden;

      pointer-events: none;
      user-select: none;
    }

    /* =========================================
       SUBMIT BUTTON
    ========================================= */

    .review-ui .review-submit-wrap {
      display: flex;
      justify-content: center;
      margin-top: 24px;
    }

    .review-ui .review-submit {
      display: inline-flex;
      align-items: center;
      justify-content: center;

      width: 310px;
      max-width: 100%;
      min-height: 56px;
      padding: 8px 28px;

      border: 0;
      border-radius: 50px;

      background: var(--review-yellow);
      color: #fff;

      font-family: "Roboto", Arial, sans-serif;
      font-size: 30px;
      font-weight: 400;
      line-height: 1.2;

      transition:
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
    }

    .review-ui .review-submit:hover {
      background: #f2a900;
      color: #fff;

      transform: translateY(-2px);
      box-shadow: 0 8px 18px rgb(255 184 31 / 26%);
    }

    .review-ui .review-submit:active {
      transform: translateY(0);
    }

    .review-ui .review-submit:focus-visible {
      outline: 3px solid var(--review-blue);
      outline-offset: 4px;
    }

    .review-ui .review-status {
      margin: 16px 0 0;
      font-size: 14px;
      line-height: 1.5;
      text-align: center;
      color: #166534;
    }

    .review-ui .review-status[data-state="error"] {
      color: #b42318;
    }

    /* =========================================
       BOTTOM RATING CARD
    ========================================= */

    .review-ui .rating-summary {
      margin-top: 36px;
      padding: 18px 32px;

      background: #fff;
      border: 3px solid var(--review-border);
      border-radius: 28px;
    }

    .review-ui .summary-overall {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      min-height: 188px;
      padding-right: 28px;

      border-right: 2px solid var(--review-border);
      text-align: center;
    }

    .review-ui .overall-heading {
      margin: 0;

      color: var(--review-text);
font-family: "Cherry Swash", serif;
      font-size: 28px;
      font-weight: 700;
      line-height: 1.25;
    }

    .review-ui .overall-number {
      display: block;
      margin: 2px 0;

      font-size: 68px;
      font-weight: 400;
      line-height: 1.05;
    }

    .review-ui .overall-count {
      margin: 8px 0 0;

font-family: "Cherry Swash", serif !important;
      font-size: 20px;
      line-height: 1.3;
    }

    /* Shared display-only stars */

    .review-ui .display-stars {
      display: inline-flex;
      align-items: center;
      gap: 1px;

      --star-size: 36px;
      --star-empty: var(--review-pale);
    }

    .review-ui .display-star {
      display: block;
      flex: 0 0 var(--star-size);

      width: var(--star-size);
      height: var(--star-size);
    }

    /* =========================================
       RATING DISTRIBUTION
    ========================================= */

    .review-ui .summary-breakdown {
      padding-left: 30px;
    }

    .review-ui .rating-distribution {
      display: grid;
      gap: 9px;
    }

    .review-ui .distribution-row {
      display: grid;
      grid-template-columns: 160px minmax(0, 1fr) 42px;
      align-items: center;
      column-gap: 20px;
    }

    .review-ui .distribution-stars {
      --star-size: 31px;
    }

    .review-ui .review-progress {
      height: 22px;
      background: var(--review-gray);
      border-radius: 6px;
      overflow: hidden;
    }

    .review-ui .review-progress .progress-bar {
      background: var(--review-yellow);
      border-radius: inherit;
      transition: width 300ms ease;
    }

    .review-ui .distribution-percent {
      color: var(--review-text);
      font-size: 20px;
      text-align: right;
      line-height: 1;
    }

    .review-ui .review-data-note {
      margin: 10px 0 0;
      color: #b7b7b7;
      font-size: 12px;
      line-height: 1.5;
      text-align: right;
    }

    /* =========================================
       RESPONSIVE
    ========================================= */

    @media (max-width: 1199.98px) {
      .review-ui .review-form-column {
        width: 100%;
      }

      .review-ui .distribution-row {
        grid-template-columns: 140px minmax(0, 1fr) 38px;
        column-gap: 14px;
      }

      .review-ui .distribution-stars {
        --star-size: 27px;
      }

      .review-ui .overall-heading {
        font-size: 25px;
      }

      .review-ui .overall-count {
        font-size: 17px;
      }
    }

    @media (max-width: 991.98px) {
      .review-ui .summary-overall {
        min-height: auto;

        padding: 0 0 22px;
        margin-bottom: 22px;

        border-right: 0;
        border-bottom: 2px solid var(--review-border);
      }

      .review-ui .summary-breakdown {
        padding-left: 0;
      }

      .review-ui .rating-summary {
        padding: 24px;
      }

      .review-ui .review-data-note {
        text-align: center;
      }
    }

    @media (max-width: 767.98px) {
      .review-ui {
        padding-top: 12px;
      }

      .review-ui .review-form-card {
        padding: 22px;
        border-radius: 24px;
      }

      .review-ui .review-heading {
        font-size: clamp(30px, 6vw, 42px);
        margin-bottom: 22px;
      }

      .review-ui .review-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
      }

      .review-ui .review-name-wrap {
        width: 100%;
      }

      .review-ui .rating-fieldset {
        flex: none;
        width: min(100%, 300px);
        margin-inline: auto;
      }

      .review-ui .review-input,
      .review-ui .review-textarea {
        font-size: 17px;
      }

      .review-ui .review-textarea {
        padding: 15px 20px;
        border-radius: 24px;
      }

      .review-ui .review-submit {
        font-size: 25px;
        min-height: 52px;
      }

      .review-ui .rating-summary {
        margin-top: 24px;
        border-radius: 24px;
      }
    }

    @media (max-width: 575.98px) {
      .review-ui .review-form-card {
        padding: 20px 16px 24px;
        border-width: 2px;
      }

      .review-ui .review-input,
      .review-ui .review-textarea {
        border-width: 2px;
      }

      .review-ui .rating-summary {
        padding: 22px 16px;
        border-width: 2px;
      }

      .review-ui .distribution-row {
        grid-template-columns: 110px minmax(0, 1fr) 34px;
        column-gap: 10px;
      }

      .review-ui .distribution-stars {
        --star-size: 21px;
      }

      .review-ui .review-progress {
        height: 17px;
      }

      .review-ui .distribution-percent {
        font-size: 16px;
      }

      .review-ui .overall-number {
        font-size: 62px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .review-ui .review-submit,
      .review-ui .review-input,
      .review-ui .review-textarea,
      .review-ui .review-progress .progress-bar {
        transition: none;
      }

      .review-ui .review-submit:hover {
        transform: none;
      }
    }

    .hero-section.review-ui {
    padding-bottom: 50px;
}


/* =========================
   REVIEW HIGHLIGHT CARD
========================= */

.review-highlight-section {
  background: #fff;
  padding: 48px 0;
}

.review-highlight-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 26px;
  background: #f5f5f5;
  border: 1.5px solid #5c5c5c;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* =========================
   LEFT PROFILE IMAGE
========================= */

.review-user-image {
  flex: 0 0 118px;
  width: 118px;
}

.review-user-image img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid #2f2f2f;
  display: block;
}

/* =========================
   CENTER CONTENT
========================= */

.review-highlight-content {
  flex: 1 1 auto;
  min-width: 0;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.review-user-name {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  color: #2f49e8;
font-family: "Cherry Swash", serif;
}

.review-dot {
  font-size: 34px;
  line-height: 1;
  color: #222;
  transform: translateY(-3px);
}

.review-date {
  font-size: 18px;
  color: #333;
  font-weight: 500;
  line-height: 1.2;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
}

.review-stars span {
  color: #f7b51e;
  font-size: 34px;
  line-height: 1;
}

/* unfilled stars of a rating below 5 */
.review-stars .review-star-empty {
  color: #f7b51e;
  opacity: 0.28;
}

.review-text {
  margin: 0;
  font-size: 22px;
  line-height: 1.28;
  color: #616161;
  font-weight: 400;
  max-width: 760px;
}

/* =========================
   RIGHT THUMBNAIL
========================= */

.review-side-thumb {
  flex: 0 0 245px;
  width: 245px;
}

.review-side-thumb img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.reviewpage .hero-content .review-text {
    color: #fff;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1199px) {
  .review-user-name {
    font-size: 26px;
  }

  .review-text {
    font-size: 20px;
  }

  .review-side-thumb {
    flex: 0 0 210px;
    width: 210px;
  }

  .review-side-thumb img {
    height: 120px;
  }
}

@media (max-width: 991px) {
  .review-highlight-card {
    gap: 18px;
    padding: 20px;
  }

  .review-user-image {
    flex: 0 0 95px;
    width: 95px;
  }

  .review-user-image img {
    width: 95px;
    height: 95px;
  }

  .review-user-name {
    font-size: 24px;
  }

  .review-date {
    font-size: 16px;
  }

  .review-stars span {
    font-size: 28px;
  }

  .review-text {
    font-size: 18px;
  }

  .review-side-thumb {
    flex: 0 0 180px;
    width: 180px;
  }

  .review-side-thumb img {
    height: 108px;
  }
}

@media (max-width: 767px) {
  .review-highlight-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .review-user-image {
    flex: 0 0 auto;
  }

  .review-side-thumb {
    width: 100%;
    flex: 0 0 auto;
  }

  .review-side-thumb img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
  }

  .review-user-name {
    font-size: 22px;
  }

  .review-text {
    font-size: 17px;
  }
}

@media (max-width: 575px) {
  .review-highlight-card {
    padding: 16px;
    border-radius: 22px;
  }

  .review-user-image img {
    width: 82px;
    height: 82px;
  }

  .review-user-name {
    font-size: 20px;
  }

  .review-date {
    font-size: 15px;
  }

  .review-stars span {
    font-size: 24px;
  }

  .review-text {
    font-size: 16px;
    line-height: 1.45;
  }
}


.textleftcss .contentstyle.text-left h2 {
    text-align: left !important;
}


.textleftcss .contentstyle.text-left p {
    text-align: left !important;
    font-weight:bold;
    font-size:20px;
    margin-top:10px;
    font-family: "Cherry Swash", serif !important;
    margin-bottom:0 !important
}

.textleftcss .header-actions a {
    padding: 30px 30px 30px 30px;
    font-weight: bold;
}

.textleftcss .header-actions {
    text-align: center;
    margin: 0px auto;
}

.textleftcss .goldenbg {
    padding: 45px;
}

.hero-section .review-text {
    color: #fff;
}





@media(max-width: 480px){
.contentstylebanner h1 {
    font-size: 35px;
}
.contentstyle h2 {
    font-size: 25px;
}  
.contentstyle p {
    font-size: 16px;
}
.moviepage .contentstyle h3 {
    font-size: 24px;
}
.moviepage .contentstyle h4 {
    font-size: 16px;
}
.moviepage .contentstyle p.para-detail {
    font-size: 16px;
}
.moviepage .contentstyle h5 {
    font-size: 16px;
}
.detailboximg {
    margin-bottom: 10px;
}
.backtohead .contentstyle h2 {
    font-size: 30px;
    margin-bottom: 10px;
}
.contentstylebanner p {
    font-size: 20px;
}
section.abouttheauthorbg .imagebox {
    margin-bottom: 20px;
}    
.boxstyle-topview {
    padding: 20px;
}
.imagebox img {
    height: auto !important;
}
section.abouttheauthorbg .row.mb-5 {
    margin-bottom: 0 !important;
}
.reviewpage .store-logos {
    margin: 30px 0 30px 0 !important;
}
.textleftcss .header-actions {
    margin: 10px auto;
}
}

.site-wrapper .row > *,
.review-ui .summary-breakdown,
.review-ui .rating-distribution {
  min-width: 0;
}

.site-wrapper :is(.hero-content, .contentstyle, .contentstylebanner, .review-highlight-content, .imageproductdetailsboxs) {
  overflow-wrap: anywhere;
}

.site-wrapper :is(video, iframe) {
  max-width: 100%;
}

.review-ui .rating-summary {
  padding: clamp(14px, 2.5vw, 28px);
}

.review-ui .rating-summary > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  align-items: center;
}

.review-ui .rating-summary > .row > * {
  width: auto;
  max-width: 100%;
}

.review-ui .summary-overall {
  min-height: 170px;
  margin: 0;
  padding: 0 clamp(10px, 2vw, 26px) 0 0;
  border-right: 2px solid var(--review-border);
  border-bottom: 0;
}

.review-ui .summary-breakdown {
  padding-left: clamp(12px, 2.5vw, 30px);
}

.review-ui .overall-heading {
  font-size: clamp(18px, 2.4vw, 28px);
}

.review-ui .overall-count {
  font-size: clamp(13px, 1.6vw, 20px);
}

.review-ui .summary-overall .display-stars {
  --star-size: clamp(19px, 2.6vw, 36px);
}

.review-ui .distribution-row {
  grid-template-columns: max-content minmax(0, 1fr) 3ch;
  column-gap: clamp(6px, 1.5vw, 20px);
}

.review-ui .distribution-stars {
  --star-size: clamp(16px, 2.3vw, 31px);
}

.review-ui .distribution-percent {
  font-size: clamp(13px, 1.7vw, 20px);
}

@media (max-width: 1199.98px) {
  .review-ui .review-controls {
    flex-wrap: wrap;
  }

  .review-ui .review-name-wrap {
    flex: 1 1 180px;
  }

  .review-ui .rating-fieldset {
    flex: 0 1 300px;
    max-width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 991.98px) {
  .main-header .nav-link {
    white-space: normal;
  }

  .site-wrapper :is(.premium-btn, .runtime-pill) {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .review-ui .hero-row {
    row-gap: 28px;
  }

  .review-ui .review-form-column {
    max-width: 100%;
  }

  .review-highlight-content {
    overflow-wrap: anywhere;
  }

  .securestylebox > *,
  .detailboximg > *,
  .product-thumb.mythumbdetails > * {
    min-width: 0;
  }

  .securestylebox .iconbox {
    flex: 0 0 64px;
  }

  .contentstylebanner h1 {
    font-size: clamp(35px, 7vw, 60px);
  }

  .textleftcss .goldenbg {
    padding: clamp(18px, 4vw, 35px);
            width: 90%;
        margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .review-ui .review-name-wrap {
    flex: auto;
  }

  .review-ui .rating-fieldset {
    flex: none;
  }
}

@media (max-width: 575.98px) {
  .review-ui .rating-summary {
    padding: 14px 10px;
    border-radius: 18px;
  }

  .review-ui .rating-summary > .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  }

  .review-ui .summary-overall {
    min-height: 132px;
    padding-right: 8px;
  }

  .review-ui .summary-breakdown {
    padding-left: 8px;
  }

  .review-ui .overall-heading {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .review-ui .overall-number {
    font-size: 44px;
  }

  .review-ui .overall-count {
    font-size: 11px;
    margin-top: 6px;
  }

  .review-ui .summary-overall .display-stars {
    --star-size: clamp(13px, 3.4vw, 19px);
  }

  .review-ui .distribution-stars {
    --star-size: clamp(9px, 2.7vw, 15px);
  }

  .review-ui .distribution-row {
    column-gap: 5px;
  }

  .review-ui .distribution-percent {
    font-size: 11px;
  }

  .review-ui .review-progress {
    height: 12px;
    border-radius: 4px;
  }

  .review-ui .rating-distribution {
    gap: 10px;
  }

  .review-ui .review-name-wrap {
    flex: auto;
  }

  .review-ui .rating-fieldset {
    flex: none;
  }

  .site-wrapper .textleftcss .header-actions a {
    padding: 16px;
  }

  .site-wrapper .custompositions .header-actions {
    width: calc(100% - 24px);
    bottom: 12px;
  }
}

[data-edit-field][style*="--admin-text-color"] {
  color: var(--admin-text-color) !important;
}

.review-highlight-section .container {
  min-width: 0; /* keep Bootstrap's own max-width so the cards stay as wide as on the reference page */
}
.review-highlight-card,
.review-highlight-content {
  min-width: 0;
  max-width: 100%;
}
/* Join The Adventure sits on white like the review cards above it, not on the page's navy background */
.review-join-section {
  position: relative;
  background: #fff;
  padding-top: 1px;     /* overlaps the section above by a pixel so no hairline of the navy page shows between the two */
  margin-top: -1px;
  padding-bottom: 48px;
}
.review-highlight-card .review-meta,
.review-highlight-card .review-text {
  overflow-wrap: anywhere;
}
.review-highlight-card .review-side-thumb {
  max-width: 100%;
}

/* ── 320px mobile: navbar header-actions stack below nav links ── */
@media (max-width: 991.98px) {
  .main-header .navbar-collapse .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-header .navbar-collapse .header-actions {
    width: 100%;
    margin: 12px 0 4px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-header .navbar-collapse .header-actions .nav-user {
    margin-left: auto;
  }
}

/* ── 360px and below: distribution rows tighter for very small screens ── */
@media (max-width: 360px) {
  .review-ui .rating-summary > .row {
    grid-template-columns: 1fr;
  }
  .review-ui .summary-score {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .review-ui .distribution-row {
    grid-template-columns: max-content minmax(0, 1fr) 3ch;
    column-gap: 5px;
  }
  .review-ui .distribution-stars {
    --star-size: clamp(8px, 4.5vw, 14px);
  }
}



/* ==================================================
   AUTH PAGES (Login / Signup)
================================================== */

.auth-section {
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
  padding: 60px 0;
  background:
    radial-gradient(ellipse at top, #071451 0%, #020a35 60%),
    #020a35;
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  background:
    linear-gradient(
      145deg,
      rgba(7, 20, 81, 0.85),
      rgba(2, 10, 53, 0.95)
    );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 48px 44px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(163, 255, 80, 0.06);
}

.auth-header {
  text-align: center;
  margin-bottom: 36px;
}

.auth-title {
  font-family: "Cherry Swash", serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #b8ff77, #55cbd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
}

.auth-alert-error {
  background: rgba(255, 23, 56, 0.15);
  border: 1px solid rgba(255, 23, 56, 0.4);
  color: #ff7b8e;
}

.auth-alert-success {
  background: rgba(99, 214, 62, 0.15);
  border: 1px solid rgba(99, 214, 62, 0.4);
  color: #a3ff61;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-label {
  font-family: "Roboto", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  outline: none;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.auth-input:focus {
  border-color: rgba(163, 255, 80, 0.5);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(163, 255, 80, 0.1);
}

/* Browser autofill paints inputs light blue, which hides the white left icons. Keep the dark look. */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  caret-color: #ffffff;
  -webkit-box-shadow: 0 0 0 1000px #0f1d5c inset, 0 0 0 3px rgba(163, 255, 80, 0.1);
  box-shadow: 0 0 0 1000px #0f1d5c inset, 0 0 0 3px rgba(163, 255, 80, 0.1);
  transition: background-color 9999s ease-in-out 0s;
}
.auth-input:-webkit-autofill ~ .auth-input-icon,
.auth-input-wrap:has(.auth-input:-webkit-autofill) .auth-input-icon {
  color: rgba(255, 255, 255, 0.6);
}

.auth-btn {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-size: 1rem;
  font-family: "Cherry Swash", serif;
  font-weight: 700;
  margin-top: 4px;
  border: none;
  cursor: pointer;
}

.auth-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.auth-footer {
  text-align: center;
  margin-top: 28px;
}

.auth-footer p {
  font-family: "Roboto", sans-serif !important;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.auth-link {
  color: #a3ff61;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: #d4ff9a;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 32px 20px;
    border-radius: 12px;
  }

  .auth-title {
    font-size: 1.6rem;
  }
}


/* ==================================================
   PAGE LOADER
================================================== */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020a35;
  transition: opacity 0.35s ease;
  /* Failsafe: never block the page if JS is slow or fails to load */
  animation: pageLoaderFailsafe 0.35s ease 6s forwards;
}

.page-loader--fade {
  opacity: 0;
  pointer-events: none;
}

@keyframes pageLoaderFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Hexagon with letter */
.page-loader__hex {
  position: relative;
  width: 80px;
  height: 92px;
  animation: loader-pulse 1.6s ease-in-out infinite;
}

.page-loader__hex svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.page-loader__hex-border {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: loader-draw 1.2s ease forwards;
}

.page-loader__letter {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cherry Swash", serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #b8ff77, #55cbd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: loader-letter-in 0.4s ease 0.8s forwards;
}

/* Three dots */
.page-loader__dots {
  display: flex;
  gap: 8px;
}

.page-loader__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b8ff77, #55cbd4);
  animation: loader-bounce 0.9s ease-in-out infinite;
}

.page-loader__dots span:nth-child(1) { animation-delay: 0s; }
.page-loader__dots span:nth-child(2) { animation-delay: 0.18s; }
.page-loader__dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes loader-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes loader-letter-in {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes loader-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(184,255,119,0.25)); }
  50%       { filter: drop-shadow(0 0 20px rgba(184,255,119,0.6)); }
}

@keyframes loader-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%            { transform: scale(1);   opacity: 1; }
}

/* ===== NAV USER / ACCOUNT DROPDOWN ===== */
.nav-user-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-user-btn {
  background: none;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  padding: 0;
  overflow: hidden;
  color: #fff;
}
.nav-user-btn:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
}
.nav-user-btn--in {
  border-color: #2d9e5f;
}
.nav-user-icon {
  width: 20px;
  height: 20px;
}
.nav-user-avatar {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.nav-user-drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  min-width: 220px;
  z-index: 9999;
  overflow: hidden;
  animation: dropIn 0.15s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-user-drop-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 12px;
}
.nav-drop-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav-drop-name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.3;
}
.nav-drop-email {
  font-size: 12px;
  color: #777;
  margin: 0;
  line-height: 1.3;
}
.nav-user-drop-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 0;
}
.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.nav-drop-item:hover {
  background: #f5f5f5;
  color: #111;
  text-decoration: none;
}
.nav-drop-logout {
  color: #e53e3e;
}
.nav-drop-logout:hover {
  background: #fff5f5;
  color: #c53030;
}

/* ── Admin image edit animations ── */
@keyframes shake {
  0%,100%{transform:translateX(0)} 10%,30%,50%,70%,90%{transform:translateX(-6px)} 20%,40%,60%,80%{transform:translateX(6px)}
}
@keyframes fadeIn {
  from{opacity:0} to{opacity:1}
}
@keyframes fadeInUp {
  from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)}
}
@keyframes fadeInDown {
  from{opacity:0;transform:translateY(-30px)} to{opacity:1;transform:translateY(0)}
}
@keyframes fadeInLeft {
  from{opacity:0;transform:translateX(-30px)} to{opacity:1;transform:translateX(0)}
}
@keyframes fadeInRight {
  from{opacity:0;transform:translateX(30px)} to{opacity:1;transform:translateX(0)}
}
@keyframes bounceIn {
  0%{opacity:0;transform:scale(.3)} 50%{opacity:1;transform:scale(1.05)} 70%{transform:scale(.9)} 100%{opacity:1;transform:scale(1)}
}
@keyframes zoomIn {
  from{opacity:0;transform:scale(.5)} to{opacity:1;transform:scale(1)}
}
@keyframes slideInUp {
  from{transform:translateY(100%);opacity:0} to{transform:translateY(0);opacity:1}
}
@keyframes pulse {
  0%,100%{transform:scale(1)} 50%{transform:scale(1.08)}
}
@keyframes wobble {
  0%,100%{transform:translateX(0) rotate(0)} 15%{transform:translateX(-10px) rotate(-3deg)} 30%{transform:translateX(8px) rotate(2deg)} 45%{transform:translateX(-6px) rotate(-2deg)} 60%{transform:translateX(5px) rotate(1deg)} 75%{transform:translateX(-3px) rotate(-1deg)}
}

/* ── Review Submit Form ── */
.review-submit-section {
  padding: 60px 0;
  background: var(--navy);
}
.review-submit-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy-light);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid rgba(255,211,61,0.15);
}
.review-submit-title {
  font-family: "Cherry Swash", serif;
  color: var(--yellow);
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}
.review-submit-desc {
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin-bottom: 20px;
  font-size: 15px;
}
.review-submit-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,211,61,0.08);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.review-submit-logout {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.review-submit-logout:hover { border-color: #e63946; color: #e63946; }
.review-submit-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.review-submit-tab {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.review-submit-tab.active,
.review-submit-tab:hover {
  background: rgba(255,211,61,0.12);
  border-color: var(--yellow);
  color: var(--yellow);
}
.review-submit-form { display: flex; flex-direction: column; gap: 18px; }
.review-submit-field { display: flex; flex-direction: column; gap: 6px; }
.review-submit-label { color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 500; }
.review-submit-input,
.review-submit-textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  resize: vertical;
}
.review-submit-input:focus,
.review-submit-textarea:focus { border-color: var(--yellow); }
.review-star-picker { display: flex; flex-direction: column; gap: 8px; }
.review-stars-row { display: flex; gap: 6px; }
.review-star-btn {
  font-size: 34px;
  cursor: pointer;
  color: rgba(255,255,255,0.2);
  transition: color 0.15s, transform 0.1s;
  line-height: 1;
  user-select: none;
}
.review-star-btn.active { color: #f5c518; }
.review-star-btn:hover { transform: scale(1.15); }
.review-submit-btn {
  background: linear-gradient(135deg, var(--red-start), var(--red-end));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}
.review-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.review-submit-btn:not(:disabled):hover { opacity: 0.9; }
.review-submit-msg {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.review-submit-msg--success { background: rgba(45,158,95,0.15); border: 1px solid rgba(45,158,95,0.4); color: #6ee7a0; }
.review-submit-msg--error { background: rgba(230,57,70,0.12); border: 1px solid rgba(230,57,70,0.35); color: #fca5a5; }
.review-submit-prompt { text-align: center; }
@media (max-width: 600px) {
  .review-submit-card { padding: 28px 18px; }
  .review-submit-title { font-size: 22px; }
}

/* ==================================================
   EQUAL HEIGHT CARDS (slidermobile swiper slides)
================================================== */
.slidermobile .swiper-slide {
  display: flex;
  height: auto;
}

.slidermobile .swiper-slide > .gradient-border {
  display: flex;
  width: 100%;
  height: 100%;
}

.slidermobile .swiper-slide > .gradient-border > .gradient-border-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.slidermobile .product-thumb {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.slidermobile .product-thumb .imagethumbproduct {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slidermobile .product-thumb .imagethumbproduct img {
  max-height: 170px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.slidermobile .product-thumb h3 {
  margin: 20px 0 10px 0;
}

.slidermobile .product-thumb p {
  margin: 4px 0;
  flex-shrink: 0;
}

.slidermobile .product-thumb ul {
  flex: 1 1 auto;
}

.slidermobile .product-thumb .hero-actions {
  margin-top: auto !important;
  padding-top: 12px;
}

.slidermobile .product-thumb .hero-actions a {
  display: inline-flex;
}

.moviepage .myboxradius .swiper-slide > .gradient-border {
  border-radius: 10px;
  background: linear-gradient(180deg, #ffdf00, #ed9500);
  padding: 2px;
}

.moviepage .myboxradius .swiper-slide > .gradient-border > .gradient-border-content {
  justify-content: center;
  min-height: 122px;
  padding: 24px;
  border-radius: 8px;
  background: #091a46;
}

.moviepage .myboxradius .product-thumb.mythumbdetails {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  height: auto;
}

.moviepage .myboxradius .product-thumb .imagethumbproduct {
  flex: 0 0 44px;
  width: 44px;
  min-height: 0;
  margin: 0;
}

.moviepage .myboxradius .product-thumb .imagethumbproduct img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.moviepage .myboxradius .imageproductdetailsboxs {
  flex: 1;
  min-width: 0;
}

.moviepage .myboxradius .product-thumb h3 {
  margin: 0 0 5px;
  font-size: 14px;
  line-height: 1.3;
}

.moviepage .myboxradius .product-thumb p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

/* ===== Available On: store badges in white boxes (scoped) ===== */
.logostyles .slidermobile.swiper {
  width: 100%;
}

.logostyles .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

.logostyles .swiper-slide {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  display: flex;
}

.logostyles .swiper-slide > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #fff;
  border: 1px solid #e3d9c2;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 78px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logostyles .swiper-slide > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.logostyles .swiper-slide img {
  display: block;
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  padding-top: 0;
}

@media (max-width: 991.98px) {
  .goldenbg .contentstyle h2 {
    text-align: center;
    margin-bottom: 18px;
  }

  .logostyles .swiper-wrapper {
    gap: 12px;
  }

  .logostyles .swiper-slide > a {
    min-height: 70px;
    padding: 10px 12px;
  }
}

@media (max-width: 575.98px) {
  .logostyles .swiper-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }

  .logostyles .swiper-slide {
    flex: 0 0 calc(50% - 6px);
    max-width: calc(50% - 6px);
  }

  .logostyles .swiper-slide > a {
    min-height: 64px;
  }

  .logostyles .swiper-slide img {
    max-height: 44px;
  }
}


/* ==================================================
   FLUID TYPOGRAPHY + SPACING (320px -> 1920px)
   Each size scales linearly from its value at 320px to its value at 1920px.
   Loaded last so it replaces the stepped font sizes above.
================================================== */
:root {
  --fl: calc((100vw - 320px) / 1600);
  --fs-h1: clamp(30px, calc(30px + 40 * var(--fl)), 70px);
  --fs-h2: clamp(24px, calc(24px + 26 * var(--fl)), 50px);
  --fs-h2-alt: clamp(26px, calc(26px + 19 * var(--fl)), 45px);
  --fs-h3: clamp(22px, calc(22px + 18 * var(--fl)), 40px);
  --fs-h5: clamp(15px, calc(15px + 7 * var(--fl)), 22px);
  --fs-lead: clamp(17px, calc(17px + 13 * var(--fl)), 30px);
  --fs-p: clamp(15px, calc(15px + 3 * var(--fl)), 18px);
  --fs-sm: clamp(12px, calc(12px + 2 * var(--fl)), 14px);
  --fs-btn: clamp(12px, calc(12px + 4 * var(--fl)), 16px);
  --fs-hero-p: clamp(14px, calc(14px + 3 * var(--fl)), 17px);
  --fs-pad-section: clamp(40px, calc(40px + 40 * var(--fl)), 80px);
}

html { -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; }
h1, h2, h3, h4, h5, p { overflow-wrap: break-word; }

/* headings and body */
.contentstylebanner h1 { font-size: var(--fs-h1); line-height: 1.15; }
.contentstylebanner p { font-size: var(--fs-lead); }
.contentstyle h2 { font-size: var(--fs-h2); line-height: 1.2; }
.backtohead .contentstyle h2 { font-size: var(--fs-h2-alt); }
.contentstyle p { font-size: var(--fs-p); }
.textleftcss .contentstyle.text-left p { font-size: clamp(16px, calc(16px + 4 * var(--fl)), 20px); }
.moviepage .contentstyle h3 { font-size: var(--fs-h3); }
.moviepage .contentstyle h4,
.moviepage .contentstyle h5 { font-size: var(--fs-h5); }
.moviepage .contentstyle p.para-detail { font-size: clamp(15px, calc(15px + 7 * var(--fl)), 22px); }
.product-thumb h3 { font-size: clamp(1.05rem, calc(1.05rem + 0.2 * var(--fl)), 1.25rem); }
.product-thumb ul li { font-size: var(--fs-sm); }
.imageproductdetailsboxs h3,
.moviepage .myboxradius .product-thumb h3 { font-size: var(--fs-sm); }
.imageproductdetailsboxs p,
.moviepage .myboxradius .product-thumb p { font-size: clamp(12px, calc(12px + 1 * var(--fl)), 13px); }

/* hero */
.hero-copy p { font-size: var(--fs-hero-p); }
.runtime-pill { font-size: clamp(12px, calc(12px + 3 * var(--fl)), 15px); }
.availability-text { font-size: clamp(13px, calc(13px + 5 * var(--fl)), 18px); }
.stars { font-size: clamp(26px, calc(26px + 24 * var(--fl)), 50px); }
.rating-box .review-text { font-size: clamp(15px, calc(15px + 5 * var(--fl)), 20px); }
.story-card p { font-size: clamp(13px, calc(13px + 3 * var(--fl)), 16px); }

/* buttons + nav */
.premium-btn { font-size: var(--fs-btn); }
@media (min-width: 992px) {
  .main-header .nav-link { font-size: clamp(13px, calc(13px + 5 * ((100vw - 992px) / 928)), 18px); }
}

/* reviews */
/* the review cards under the form follow the reference page's breakpoints (see REVIEW HIGHLIGHT CARD), so no fluid sizes here */
.review-text:not(.review-highlight-card .review-text) { font-size: clamp(15px, calc(15px + 7 * var(--fl)), 22px); }
.review-ui .review-heading { font-size: clamp(28px, calc(28px + 20 * var(--fl)), 48px); }
.review-ui .review-textarea { font-size: clamp(15px, calc(15px + 5 * var(--fl)), 20px); }
.review-ui .review-submit { font-size: clamp(20px, calc(20px + 10 * var(--fl)), 30px); }
.review-ui .overall-heading { font-size: clamp(15px, calc(15px + 13 * var(--fl)), 28px); }
.review-ui .overall-number { font-size: clamp(44px, calc(44px + 24 * var(--fl)), 68px); }
.review-ui .overall-count,
.review-ui .distribution-percent { font-size: clamp(12px, calc(12px + 8 * var(--fl)), 20px); }
.review-submit-title { font-size: clamp(22px, calc(22px + 6 * var(--fl)), 28px); }
.review-submit-desc { font-size: clamp(14px, calc(14px + 1 * var(--fl)), 15px); }
.review-submit-textarea,
.review-submit-btn { font-size: clamp(14px, calc(14px + 1 * var(--fl)), 15px); }
.review-star-btn { font-size: clamp(26px, calc(26px + 8 * var(--fl)), 34px); }

/* auth pages */
.auth-title { font-size: clamp(1.6rem, calc(1.6rem + 0.4 * var(--fl)), 2rem); }

/* section spacing: no oversized gaps on small screens */
.about-section,
.watch-trailer { padding: var(--fs-pad-section) 0; }
.hero-section { padding-top: clamp(30px, calc(30px + 30 * var(--fl)), 60px); padding-bottom: clamp(30px, calc(30px + 30 * var(--fl)), 60px); }
.textleftcss .goldenbg { padding: clamp(20px, calc(20px + 25 * var(--fl)), 45px); }
.textleftcss .header-actions a { padding: clamp(16px, calc(16px + 14 * var(--fl)), 30px); }

/* Trailer modal: 16:9 video with the shared control bar underneath */
.trailer-stage { display: flex; flex-direction: column; background: #000; width: 100%; }
.trailer-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.trailer-frame video { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.trailer-stage:fullscreen { height: 100%; justify-content: center; }
.trailer-stage:fullscreen .trailer-frame { flex: 1 1 auto; aspect-ratio: auto; }
.trailer-stage { border-radius: 16px; overflow: hidden; }
.trailer-frame video { border-radius: 0; }

/* Trailer modal sizing: the whole player (video + control bar) always fits the viewport.
   Width = the smallest of 1050px, the screen width minus a margin, and the width whose
   16:9 video still leaves room for the control bar below it. */
/* --vm-gap covers Bootstrap's dialog margins (1.75rem top and bottom from 576px up, 0.5rem below) */
.video-modal { --vm-gap: 72px; --vm-bar: 66px; }
.video-modal .modal-dialog {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  width: min(1050px, calc(100vw - var(--vm-gap)), calc((100vh - var(--vm-gap) - var(--vm-bar)) * 16 / 9));
  width: min(1050px, calc(100vw - var(--vm-gap)), calc((100dvh - var(--vm-gap) - var(--vm-bar)) * 16 / 9));
}
@media (max-width: 575.98px) { .video-modal { --vm-gap: 24px; --vm-bar: 72px; } }
@media (max-width: 520px) { .video-modal { --vm-bar: 114px; } }

/* Close button: a round dark button inside the top-right corner of the video */
.video-modal .video-close {
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .6);
  background-size: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}
.video-modal .video-close:hover { background-color: rgba(0, 0, 0, .85); }

/* Close button: draw our own white X so the Bootstrap "white" invert filter doesn't wash out the dark circle */
.video-modal .video-close {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  background-color: rgba(0, 0, 0, .7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5);
}

/* Join The Adventure: text on the left, buttons on the right and they stay there at every width
   from 576px up (no dropping under the text). Extra buttons are added on the right too. */
@media (min-width: 576px) {
  .goldenbg .join-row > .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .goldenbg .header-actions.join-actions { justify-content: flex-end; flex-wrap: wrap; margin-left: 0; }
}
/* Phones: the two parts stack, with real space between them */
@media (max-width: 575.98px) {
  .goldenbg .header-actions.join-actions { margin-top: 18px; justify-content: center; }
}

/* ==================================================
   RENTAL TIMER (navbar)
================================================== */
.rental-timer { position: relative; display: flex; align-items: center; }
.rental-timer-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px;
  background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; border-radius: 8px;
  border: 2px solid #2d9e5f; font-size: 14px; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap; transition: background .2s, border-color .2s;
}
.rental-timer-btn:hover { background: rgba(255, 255, 255, .18); }
.rental-timer-btn.rental-timer--warn { border-color: #f5a623; }
.rental-timer-btn.rental-timer--danger { border-color: #e63946; animation: rentalPulse 1.2s ease-in-out infinite; }
@keyframes rentalPulse { 50% { background: rgba(230, 57, 70, .28); } }

.rental-timer-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 9999; width: 280px; padding: 16px;
  background: #fff; color: #111; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  animation: dropIn .15s ease; font-family: "Roboto", sans-serif;
}
.rental-timer-title { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #666; }
.rental-timer-bigtime { font-size: 24px; font-weight: 800; line-height: 1.2; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.rental-timer-bigtime span { font-size: 14px; font-weight: 500; color: #666; }
.rental-timer-track { height: 8px; border-radius: 999px; background: #e6e6e6; overflow: hidden; margin-bottom: 14px; }
.rental-timer-fill { height: 100%; border-radius: 999px; background: #2d9e5f; transition: width 1s linear; }
.rental-timer-fill.rental-timer--warn { background: #f5a623; }
.rental-timer-fill.rental-timer--danger { background: #e63946; }
.rental-timer-rows { display: grid; gap: 6px; font-size: 13px; }
.rental-timer-rows div { display: flex; justify-content: space-between; gap: 12px; }
.rental-timer-rows span { color: #666; }
.rental-timer-rows b { font-weight: 600; text-align: right; }
.rental-timer-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #eee; font-size: 12px; color: #777; line-height: 1.4; }
@media (max-width: 991.98px) {
  .rental-timer-panel { right: auto; left: 0; }
}
@media (max-width: 480px) {
  .rental-timer-panel { width: min(280px, calc(100vw - 32px)); }
}

/* Movie page, admin only: choose Trailer or Full movie */
.admin-view {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin: 4px auto 18px; padding: 6px; width: fit-content; max-width: 100%;
  border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .18);
}
.admin-view-tag {
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #1b1300; background: linear-gradient(135deg, #ffe887, #ffc73f);
}
.admin-view-tab {
  padding: 8px 18px; border: 0; border-radius: 999px; cursor: pointer; background: transparent;
  color: rgba(255, 255, 255, .8); font: 700 14px "Roboto", sans-serif; transition: background .2s, color .2s;
}
.admin-view-tab:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.admin-view-tab.is-active { background: #fff; color: #0b1330; }
.admin-view-tab:focus-visible { outline: 2px solid #ffd33d; outline-offset: 2px; }

/* Trailer: "Buffering 4s / 10s" overlay before playback starts */
.trailer-buffering {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; background: rgba(0, 0, 0, .35); pointer-events: none; color: #fff; font-size: 14px; font-variant-numeric: tabular-nums;
}
.trailer-buffering[hidden] { display: none; }
.trailer-buffering-spin {
  width: 48px; height: 48px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .2); border-top-color: #fff;
  animation: trailerSpin .9s linear infinite;
}
@keyframes trailerSpin { to { transform: rotate(360deg); } }

/* Trailer unavailable: same overlay, no spinner, a short message */
.trailer-buffering.is-error { background: rgba(0, 0, 0, .78); text-align: center; padding: 0 24px; }
.trailer-buffering.is-error .trailer-buffering-spin { display: none; }

/* Review rating: inline validation */
.review-ui .rating-fieldset { position: relative; border-radius: 12px; transition: box-shadow .2s ease, background-color .2s ease; }
.review-ui .rating-fieldset.has-error { box-shadow: 0 0 0 2px rgba(220, 53, 69, .55); background: rgba(220, 53, 69, .06); animation: rating-shake .35s ease; }
.review-ui .rating-error {
  display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 8px 12px;
  border-radius: 8px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c;
  font-size: 14px; font-weight: 500; line-height: 1.35; animation: rating-fade .2s ease;
}
.review-ui .rating-error svg { flex: 0 0 auto; color: #e11d48; }
.review-ui .rating-star:focus-within { outline: 2px solid #f5b301; outline-offset: 2px; border-radius: 6px; }
@keyframes rating-shake { 0%,100% { transform: translateX(0) } 25% { transform: translateX(-4px) } 75% { transform: translateX(4px) } }
@keyframes rating-fade { from { opacity: 0; transform: translateY(-4px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .review-ui .rating-fieldset.has-error, .review-ui .rating-error { animation: none; } }

/* ── Loading skeletons for data that comes from the API ── */
.skel { background: linear-gradient(90deg, #e4e4e4 25%, #f1f1f1 50%, #e4e4e4 75%); background-size: 200% 100%; animation: skel-shimmer 1.2s infinite linear; border-radius: 8px; }
.skel--dark { background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.06) 75%); background-size: 200% 100%; }
.skel-line { height: 14px; margin-bottom: 10px; }
.skel-circle { border-radius: 50%; flex-shrink: 0; }
@keyframes skel-shimmer { to { background-position: -200% 0; } }

/* Round spinner inside Buy / Rent buttons while the page goes to Stripe checkout */
.btn-spinner { display: inline-block; width: 16px; height: 16px; flex-shrink: 0; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btn-spin .7s linear infinite; vertical-align: middle; }
.premium-btn[aria-busy="true"] { cursor: progress !important; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ==================================================
   HOME HERO 991px -> 320px
   Same look as desktop: text on the left, artwork on the right.
   Everything scales with the viewport so no text is cut off.
   Scoped to the home hero only (about / buy / movie heroes also use id="movie" and class "aboutpage", so they are excluded).
================================================== */
@media (max-width: 991.98px) {
  .hero-section#movie:not(.aboutpage) {
    --hh: clamp(0px, (100vw - 320px) / 671, 1px); /* 0 at 320px, 1 at 991px */
    background-size: cover;
    background-position: 78% center;
    padding-top: calc(18px + 12 * var(--hh));
    padding-bottom: calc(18px + 12 * var(--hh));
  }

  .hero-section#movie:not(.aboutpage) .hero-container {
    padding-left: calc(14px + 16 * var(--hh));
    padding-right: calc(14px + 16 * var(--hh));
  }

  .hero-section#movie:not(.aboutpage) .hero-row { min-height: 0 !important; }

  /* left column: text only, artwork stays visible on the right */
  .hero-section#movie:not(.aboutpage) .hero-row > [class*="col-"] {
    flex: 0 0 auto;
    width: 64%;
    max-width: 64%;
    min-width: 0;
  }

  .hero-section#movie:not(.aboutpage) .hero-overlay {
    background: linear-gradient(90deg,
      rgba(0, 8, 48, 0.88) 0%,
      rgba(0, 10, 55, 0.62) 55%,
      rgba(0, 8, 48, 0.05) 100%);
  }

  .hero-section#movie:not(.aboutpage) .hero-heading {
    font-size: calc(16px + 12 * var(--hh));
    line-height: 1.2;
  }

  .hero-section#movie:not(.aboutpage) .hero-title-image {
    width: min(100%, calc(150px + 240 * var(--hh)));
    margin-bottom: calc(6px + 6 * var(--hh));
  }

  .hero-section#movie:not(.aboutpage) .hero-copy p {
    font-size: calc(10.5px + 5.5 * var(--hh));
    line-height: 1.45;
    margin-bottom: calc(6px + 4 * var(--hh));
  }

  .hero-section#movie:not(.aboutpage) .hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: calc(6px + 6 * var(--hh));
    margin-top: calc(6px + 4 * var(--hh));
  }

  .hero-section#movie:not(.aboutpage) .hero-actions .premium-btn {
    font-size: calc(9.5px + 3.5 * var(--hh));
    white-space: nowrap;
    flex: 0 0 auto;
    padding: calc(6px + 4 * var(--hh)) calc(9px + 9 * var(--hh));
    min-height: 0;
  }

  .hero-section#movie:not(.aboutpage) .hero-actions .btn-icon {
    width: calc(11px + 5 * var(--hh));
    height: auto;
  }

  .hero-section#movie:not(.aboutpage) .runtime-pill {
    font-size: calc(9.5px + 3.5 * var(--hh));
    white-space: nowrap;
    min-height: calc(24px + 6 * var(--hh));
    padding: 0 calc(10px + 8 * var(--hh));
  }

  .hero-section#movie:not(.aboutpage) .availability-text {
    font-size: calc(11px + 7 * var(--hh));
    margin: calc(8px + 4 * var(--hh)) 0 4px;
  }

  .hero-section#movie:not(.aboutpage) .stars {
    font-size: calc(22px + 28 * var(--hh));
    letter-spacing: 1px;
  }

  .hero-section#movie:not(.aboutpage) .rating-box { margin-bottom: calc(4px + 4 * var(--hh)); }

  .hero-section#movie:not(.aboutpage) .rating-box .review-text {
    font-size: calc(12px + 8 * var(--hh));
    margin-top: 6px;
  }

  .hero-section#movie:not(.aboutpage) .store-logos {
    flex-wrap: wrap;
    gap: calc(8px + 12 * var(--hh));
    margin: 6px 0 calc(8px + 4 * var(--hh));
  }

  .hero-section#movie:not(.aboutpage) .store-logos img {
    height: calc(13px + 8 * var(--hh));
    max-width: calc(58px + 42 * var(--hh));
  }

  /* book card: spans the left column and wraps its text */
  .hero-section#movie:not(.aboutpage) .story-card {
    max-width: 100%;
    min-height: 0;
    margin-top: calc(26px + 10 * var(--hh));
    padding: calc(10px + 8 * var(--hh)) calc(10px + 12 * var(--hh)) calc(10px + 8 * var(--hh)) calc(56px + 34 * var(--hh));
  }

  .hero-section#movie:not(.aboutpage) .story-card p {
    font-size: calc(10px + 5 * var(--hh));
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .hero-section#movie:not(.aboutpage) .story-book {
    width: calc(54px + 40 * var(--hh));
    left: calc(-4px - 6 * var(--hh));
    bottom: -12px;
  }
}

/* very narrow phones: more room for text so nothing is squeezed */
@media (max-width: 700px) {
  .hero-section#movie:not(.aboutpage) .hero-row > [class*="col-"] {
    width: 72%;
    max-width: 72%;
  }
}

/* tiny phones: the pill cannot fit beside the button, so allow it to wrap */
@media (max-width: 480px) {
  .hero-section#movie:not(.aboutpage) .hero-actions { flex-wrap: wrap; }
}

/* ==================================================
   HOME HERO - ARTWORK ON TOP (991px and below)
   Artwork on top (whole scene visible), full-width readable text below.
   Separate block: delete it to go back to the scaled two-column look.
================================================== */
@media (max-width: 991.98px) {
  .hero-section#movie:not(.aboutpage) {
    background-color: #050f3a;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 70vw;
    padding-bottom: 28px;
  }

  .hero-section#movie:not(.aboutpage) .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,
      rgba(5, 15, 58, 0) 0%,
      rgba(5, 15, 58, 0) 58vw,
      rgba(5, 15, 58, 0.8) 71vw,
      #050f3a 79vw,
      #050f3a 100%);
  }

  .hero-section#movie:not(.aboutpage) .hero-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section#movie:not(.aboutpage) .hero-row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
  }

  .hero-section#movie:not(.aboutpage) .hero-heading { font-size: 20px; }

  /* logo sits on the artwork, top-left */
  .hero-section#movie:not(.aboutpage) .hero-content { position: relative; }
  .hero-section#movie:not(.aboutpage) .hero-title-image {
    position: absolute;
    top: calc(14px - 70vw);
    left: 0;
    z-index: 3;
    width: min(52vw, 260px);
    margin: 0;
  }

  .hero-section#movie:not(.aboutpage) .hero-copy p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .hero-section#movie:not(.aboutpage) .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
  }

  .hero-section#movie:not(.aboutpage) .hero-actions .premium-btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .hero-section#movie:not(.aboutpage) .hero-actions .btn-icon { width: 15px; }

  .hero-section#movie:not(.aboutpage) .runtime-pill {
    font-size: 13px;
    min-height: 36px;
    padding: 0 16px;
    white-space: normal;
  }

  .hero-section#movie:not(.aboutpage) .availability-text { font-size: 15px; margin: 14px 0 4px; }
  .hero-section#movie:not(.aboutpage) .stars { font-size: 32px; }
  .hero-section#movie:not(.aboutpage) .rating-box .review-text { font-size: 16px; }

  .hero-section#movie:not(.aboutpage) .store-logos {
    gap: 14px 18px;
    margin: 8px 0 14px;
  }
  .hero-section#movie:not(.aboutpage) .store-logos img { height: 18px; max-width: 80px; }

  .hero-section#movie:not(.aboutpage) .story-card {
    margin-top: 34px;
    padding: 14px 16px 14px 84px;
  }
  .hero-section#movie:not(.aboutpage) .story-card p { font-size: 13.5px; }
  .hero-section#movie:not(.aboutpage) .story-book { width: 72px; left: -6px; }
}

/* Home hero logo centred in the text column, 576px - 991px */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-section#movie:not(.aboutpage) .hero-title-image {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Larger sizes for the artwork-on-top layout between 576px and 991px */
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-section#movie:not(.aboutpage) .hero-container { padding-left: 32px; padding-right: 32px; }
  .hero-section#movie:not(.aboutpage) .hero-row > [class*="col-"] { width: 100%; max-width: 100%; }
  .hero-section#movie:not(.aboutpage) .hero-title-image {
    top: calc(26px - 70vw);
    width: min(40vw, 380px);
    margin: 0;
  }
  .hero-section#movie:not(.aboutpage) .hero-heading { font-size: 28px; }
  .hero-section#movie:not(.aboutpage) .hero-copy p { font-size: 18px; }
  .hero-section#movie:not(.aboutpage) .hero-actions .premium-btn { font-size: 16px; padding: 12px 24px; }
  .hero-section#movie:not(.aboutpage) .hero-actions .btn-icon { width: 17px; }
  .hero-section#movie:not(.aboutpage) .runtime-pill { font-size: 15px; min-height: 40px; padding: 0 20px; }
  .hero-section#movie:not(.aboutpage) .availability-text { font-size: 19px; }
  .hero-section#movie:not(.aboutpage) .stars { font-size: 42px; }
  .hero-section#movie:not(.aboutpage) .rating-box .review-text { font-size: 19px; }
  .hero-section#movie:not(.aboutpage) .store-logos img { height: 22px; max-width: 100px; }
  .hero-section#movie:not(.aboutpage) .story-card { padding: 18px 22px 18px 100px; }
  .hero-section#movie:not(.aboutpage) .story-card p { font-size: 16px; }
  .hero-section#movie:not(.aboutpage) .story-book { width: 88px; }
}

/* Home hero: book cover must not touch the store logos above it.
   The card is as tall as the cover (cover height = 1.5 x its width). */
@media (max-width: 991.98px) {
  .hero-section#movie:not(.aboutpage) .story-card {
    --bk: 72px;
    min-height: calc(var(--bk) * 1.5);
    margin-top: 40px;
  }
  .hero-section#movie:not(.aboutpage) .story-book { width: var(--bk); bottom: -6px; }
  .hero-section#movie:not(.aboutpage) .story-card { padding-left: calc(var(--bk) + 22px); }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .hero-section#movie:not(.aboutpage) .story-card { --bk: 88px; margin-top: 48px; }
}

/* ==================================================
   REVIEW + BUY PAGES - 991px -> 320px
   Hero logo no longer fills the whole column; Buy banner shows the full artwork.
   Scoped to .reviewpage / .buythebook, desktop (992px+) is untouched.
================================================== */
@media (max-width: 991.98px) {
  /* Review hero logo (it is w-100 in a full-width column) */
  .hero-section.reviewpage .hero-content > img.w-100 {
    width: clamp(190px, 46vw, 400px) !important;
    max-width: 100%;
    height: auto;
  }
  .hero-section.reviewpage .reviewbanner img {
    width: clamp(220px, 60vw, 420px);
    max-width: 100%;
  }

  /* Buy hero logo */
  .hero-section.buythebook .hero-title-image {
    width: clamp(170px, 44vw, 340px);
    max-width: 100%;
    margin-bottom: 14px;
  }
}

/* Buy banner: text on the artwork's purple sky, the whole picture (book included) underneath */
@media (max-width: 991.98px) {
  .hero-section.buythebook {
    background-color: #311964;
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 28px 0 calc(42.4vw + 16px);
  }
  .hero-section.buythebook .hero-overlay { display: none; }
  .hero-section.buythebook .hero-row { min-height: 0 !important; }
  .hero-section.buythebook .hero-row > [class*="col-"] { width: 100%; max-width: 100%; }
  .hero-section.buythebook .hero-copy p {
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1.5;
  }
  .hero-section.buythebook .store-logos {
    margin-top: 20px !important;
    margin-bottom: 0;
    gap: 14px 18px;
  }
  .hero-section.buythebook .store-logos img { height: clamp(16px, 2.6vw, 22px); max-width: 100px; }

  /* the dark strip under the banner was the page background showing through a collapsed margin */
  section.abouttheauthorbg.buypage { display: flow-root; }
  .buypage .backtohead { top: 0; }
}

/* ==================================================
   AVAILABLE ON (store logo cards) - mobile slider, 991px -> 320px
   The older rules turned these into a 2x2 grid, which fought with Swiper
   (slides stacked on top of each other and slid out of view). Swiper now lays them out.
================================================== */
@media (max-width: 991.98px) {
  .logostyles .slidermobile .swiper-wrapper {
    flex-wrap: nowrap;
    gap: 0; /* Swiper adds the 12px space between slides itself */
  }
  .logostyles .slidermobile .swiper-slide {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
    height: auto;
  }
  .logostyles .slidermobile .swiper-slide > a { height: 100%; }
}
@media (max-width: 575.98px) {
  /* one card at a time */
  .logostyles .slidermobile.swiper-initialized .swiper-slide {
    width: 100% !important;
    max-width: none;
  }
}

/* ==================================================
   MOVIE PAGE - Watch Trailer / Watch Movie button, 991px -> 320px
   The button sat on top of the poster and hid part of it; it now sits under the poster.
================================================== */
@media (max-width: 991.98px) {
  .site-wrapper .moviepage .custompositions .header-actions {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 28px; /* space above the movie title */
  }
  /* button right under the poster */
  .site-wrapper .moviepage .custompositions .imagethumb { margin-bottom: 14px !important; }
}
