* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  overflow-x: hidden;
}

a {
  color: #00647d;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

img {
  display: block;
}

.stage {
  position: relative;
  margin: 0 auto;
  width: 1152px;
  height: 923px;
}

.bb-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 1152px;
  height: 923px;
  overflow: hidden;
  background: #ffffff;
  color: #000000;
  transform-origin: 0 0;
}

.top-logo {
  position: absolute;
  left: 13px;
  top: 0;
  width: 266px;
  height: 151px;
}

.festival-banner {
  position: absolute;
  left: 318px;
  top: 0;
  width: 740px;
  height: 87px;
}

.search-bar {
  position: absolute;
  left: 282px;
  top: 91px;
  width: 851px;
  height: 60px;
  margin: 0;
  border-radius: 0 31px 31px 0;
  background: #1268a4;
  color: #ffffff;
}

.search-bar label {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 29px;
  font-weight: 800;
  line-height: 34px;
}

.search-bar select {
  position: absolute;
  left: 103px;
  top: 10px;
  width: 101px;
  height: 31px;
  border: 2px inset #d7d7d7;
  background: #ffffff;
  color: #000000;
  font-size: 21px;
}

.search-bar input {
  position: absolute;
  left: 211px;
  top: 10px;
  width: 201px;
  height: 31px;
  border: 2px inset #d7d7d7;
  background: #ffffff;
  color: #000000;
  font-size: 19px;
}

.search-bar button {
  position: absolute;
  left: 418px;
  top: 10px;
  width: 38px;
  height: 27px;
  padding: 0;
  border: 2px outset #cca500;
  background: #ffd300;
  color: #001b4e;
  font-size: 18px;
  font-weight: 900;
  line-height: 18px;
}

.search-links {
  position: absolute;
  left: 462px;
  top: 9px;
  width: 150px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 17px;
}

.search-links a {
  display: block;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.left-rail {
  position: absolute;
  left: 25px;
  top: 169px;
  width: 236px;
}

.cart-link {
  display: block;
  width: 231px;
  height: 60px;
  margin-bottom: 19px;
}

.cart-link img {
  width: 231px;
  height: 60px;
}

.nav-box {
  position: absolute;
  left: 0;
  width: 236px;
  overflow: hidden;
  border-radius: 11px 11px 10px 10px;
  background: #126d9d;
}

.nav-box h2 {
  height: 30px;
  margin: 0;
  padding: 4px 8px 2px;
  background: #ffd20c;
  color: #000000;
  font-size: 23px;
  font-weight: 900;
  line-height: 25px;
  text-decoration: underline;
}

.my-blockbuster h2 {
  font-size: 21px;
  text-decoration: none;
}

.nav-box nav {
  padding: 8px 8px 12px;
}

.nav-box a {
  display: block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 17px;
  text-decoration: none;
}

.my-blockbuster {
  top: 79px;
  height: 223px;
}

.movies {
  top: 307px;
  height: 171px;
}

.games {
  top: 486px;
  height: 120px;
}

.specials {
  top: 615px;
  height: 140px;
}

.week-header {
  position: absolute;
  left: 270px;
  top: 168px;
  width: 849px;
  height: 47px;
  border-radius: 0 13px 0 0;
  background: #126d9d;
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  line-height: 46px;
  text-align: center;
  text-shadow: 1px 1px 1px #77a9c4;
}

.content-panel {
  position: absolute;
}

.content-panel h1,
.content-panel h2 {
  margin: 0;
  color: #126d9d;
  font-size: 24px;
  font-weight: 900;
  line-height: 27px;
  letter-spacing: 1px;
}

.new-releases {
  left: 282px;
  top: 224px;
  width: 578px;
  height: 271px;
  border-bottom: 1px solid #8c8c8c;
}

.poster-row {
  position: absolute;
  left: 4px;
  top: 24px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
}

.poster.large {
  width: 106px;
  height: 172px;
}

.poster.large img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.poster.broken {
  border: 1px solid #cccccc;
  color: #126d9d;
  font-size: 17px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
}

.poster.broken span:last-child {
  display: block;
  margin-top: 8px;
}

.broken-icon {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 23px;
  border: 1px solid #b8c5c8;
  background: #f5f9fb;
  vertical-align: top;
}

.broken-icon::before {
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 18px;
  height: 11px;
  background: #85b76c;
  clip-path: polygon(0 100%, 43% 30%, 65% 55%, 100% 0, 100% 100%);
  content: "";
}

.broken-icon::after {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8d6f1;
  content: "";
}

.poster.broken .broken-icon {
  margin-top: 5px;
  margin-left: -74px;
}

.instock {
  position: absolute;
  top: 201px;
  width: 82px;
  color: #e2211b;
  font-size: 10px;
  font-weight: 900;
  line-height: 9px;
  text-align: center;
}

.instock::before {
  display: block;
  height: 5px;
  margin: 0 7px 1px;
  background: repeating-linear-gradient(
    to right,
    #e2211b 0,
    #e2211b 4px,
    #ffffff 4px,
    #ffffff 7px
  );
  content: "";
}

.instock.one {
  left: 18px;
}

.instock.two {
  left: 132px;
}

.rent-copy {
  position: absolute;
  left: 8px;
  top: 227px;
  width: 562px;
  margin: 0;
  font-size: 17px;
  line-height: 18px;
  text-align: center;
}

.red {
  color: #d31616;
  font-weight: 900;
}

.viewed {
  left: 282px;
  top: 513px;
  width: 578px;
  height: 161px;
  border-bottom: 1px solid #8c8c8c;
}

.small-posters {
  position: absolute;
  left: 5px;
  top: 30px;
  display: flex;
  gap: 10px;
}

.small-posters img {
  width: auto;
  height: 110px;
}

.quality {
  position: absolute;
  left: 262px;
  top: 31px;
  width: 105px;
  height: 61px;
}

.viewed-copy {
  position: absolute;
  left: 377px;
  top: 25px;
  width: 192px;
  margin: 0;
  font-size: 17px;
  line-height: 18px;
}

.screening {
  left: 282px;
  top: 686px;
  width: 578px;
  height: 138px;
  border-bottom: 1px solid #8c8c8c;
}

.x2-poster {
  position: absolute;
  left: 1px;
  top: 25px;
  display: block;
  width: 60px;
  height: 104px;
}

.x2-poster img {
  width: 60px;
  height: 104px;
}

.screening p {
  position: absolute;
  left: 68px;
  top: 24px;
  width: 508px;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 18px;
}

.screening span {
  font-weight: 900;
}

.bottom-left {
  left: 282px;
  top: 835px;
  width: 288px;
  height: 90px;
  overflow: hidden;
  border-right: 1px solid #9f9f9f;
}

.bottom-left p,
.bottom-right p {
  margin: 12px 0 0 5px;
  font-size: 17px;
  font-weight: 700;
  line-height: 18px;
}

.bottom-right {
  left: 580px;
  top: 835px;
  width: 280px;
  height: 90px;
  overflow: hidden;
}

.broken-box {
  position: absolute;
  border: 1px solid #bcbcbc;
  background: #ffffff;
  color: #126d9d;
  font-size: 16px;
  line-height: 18px;
}

.broken-box.charlies {
  left: 172px;
  top: 34px;
  width: 103px;
  height: 58px;
  padding: 5px 0 0 31px;
}

.broken-box.collector {
  left: 173px;
  top: 33px;
  width: 103px;
  height: 58px;
  padding: 5px 0 0 8px;
}

.right-rail {
  position: absolute;
  left: 882px;
  top: 222px;
  width: 237px;
}

.right-card {
  position: absolute;
  left: 0;
  width: 237px;
  border: 1px solid #9a9a9a;
  background: #ffffff;
}

.right-card h2 {
  height: 32px;
  margin: 0;
  background: #126d9d;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 32px;
  text-align: center;
}

.right-body {
  position: relative;
  height: 100%;
}

.preorder {
  top: 0;
  height: 286px;
}

.preorder .right-body p {
  position: absolute;
  left: 91px;
  top: 7px;
  width: 141px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
}

.broken-ad {
  position: absolute;
  left: 8px;
  top: 7px;
  width: 78px;
  height: 96px;
  border: 1px solid #bcbcbc;
  background: #ffffff;
}

.broken-ad .broken-icon {
  margin: 3px 0 0 3px;
}

.mitsubishi {
  position: absolute;
  left: 27px;
  top: 196px;
  width: 178px;
  border-top: 1px solid #8f8f8f;
  color: #000000;
  font-size: 17px;
  line-height: 22px;
  text-align: center;
}

.car-broken {
  position: absolute;
  left: 65px;
  top: 215px;
  width: 105px;
  height: 33px;
  border: 1px solid #bcbcbc;
}

.car-broken .broken-icon {
  margin-left: 4px;
  margin-top: 3px;
}

.greenlight {
  top: 305px;
  height: 216px;
}

.greenlight h2 {
  font-size: 20px;
  text-align: left;
  padding-left: 7px;
}

.greenlight img {
  position: absolute;
  left: 20px;
  top: 9px;
  width: 181px;
  height: 82px;
}

.greenlight p {
  position: absolute;
  left: 16px;
  top: 91px;
  width: 205px;
  margin: 0;
  font-size: 17px;
  line-height: 18px;
  text-align: center;
}

.kids {
  top: 527px;
  height: 174px;
}

.kids::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 235px;
  height: 1px;
  background: #8f8f8f;
  content: "";
}

.kids img {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 64px;
  height: 93px;
}

.kids p {
  position: absolute;
  left: 90px;
  top: 16px;
  width: 134px;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 17px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 94vw);
  border: 4px solid #ffd20c;
  background: #126d9d;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  color: #ffffff;
}

.modal-card h2 {
  margin: 0;
  padding: 10px 42px 10px 14px;
  font-size: 24px;
  font-weight: 900;
  line-height: 28px;
}

.modal-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000000;
}

.modal-close {
  position: absolute;
  top: 7px;
  right: 9px;
  width: 28px;
  height: 28px;
  border: 2px outset #ffffff;
  background: #ffd20c;
  color: #001b4e;
  font-size: 19px;
  font-weight: 900;
  line-height: 20px;
}

.youtube-link {
  display: block;
  padding: 9px 14px 12px;
  color: #ffffff;
  font-size: 15px;
}

.jiggle-a {
  animation: jiggle-a 420ms ease;
}

.jiggle-b {
  animation: jiggle-b 460ms ease;
}

.jiggle-c {
  animation: jiggle-c 500ms ease;
}

.jiggle-d {
  animation: jiggle-d 480ms ease;
}

.jiggle-e {
  animation: jiggle-e 520ms ease;
}

@keyframes jiggle-a {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-3px, 1px) rotate(-2deg);
  }
  55% {
    transform: translate(3px, -1px) rotate(2deg);
  }
  78% {
    transform: translate(-1px, 0) rotate(-1deg);
  }
}

@keyframes jiggle-b {
  0%,
  100% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.08, 0.95);
  }
  60% {
    transform: scale(0.96, 1.08);
  }
}

@keyframes jiggle-c {
  0%,
  100% {
    transform: translateY(0);
  }
  22% {
    transform: translateY(-5px);
  }
  44% {
    transform: translateY(3px);
  }
  70% {
    transform: translateY(-2px);
  }
}

@keyframes jiggle-d {
  0%,
  100% {
    transform: skewX(0deg);
  }
  25% {
    transform: skewX(-8deg);
  }
  50% {
    transform: skewX(6deg);
  }
  75% {
    transform: skewX(-3deg);
  }
}

@keyframes jiggle-e {
  0%,
  100% {
    transform: rotate(0deg) translateX(0);
  }
  20% {
    transform: rotate(4deg) translateX(2px);
  }
  45% {
    transform: rotate(-4deg) translateX(-3px);
  }
  70% {
    transform: rotate(2deg) translateX(1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jiggle-a,
  .jiggle-b,
  .jiggle-c,
  .jiggle-d,
  .jiggle-e {
    animation: none;
  }
}
