/* https://bytewebster.com/ */
/* https://bytewebster.com/ */
/* https://bytewebster.com/ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500&display=swap");
body {
  margin: 0;
  background-color: #1a1a1a;
  color: #FFFFFFDD;
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

.card {
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

#btn {
  position: absolute;
  top: 690px;
  left: 16px;
  z-index: 99;
}

.card-content {
  position: absolute;
  left: 0;
  top: 0;
  color: #FFFFFFDD;
  padding-left: 16px;
}

.content-place {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
}

.content-place {
  font-weight: 500;
}

.content-title-1,
.content-title-2 {
  font-weight: 600;
  font-size: 20px;
  font-family: "Oswald", sans-serif;
}

.content-start {
  width: 30px;
  height: 5px;
  border-radius: 99px;
  background-color: #FFFFFFDD;
}

.details {
  z-index: 22;
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100vw - 80px));
  color: #2b1b3d;
}

.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(120, 92, 170, 0.55);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 20px 60px;
  backdrop-filter: blur(10px);
}

.ticket:before,
.ticket:after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background-image: linear-gradient(to bottom, rgba(120, 92, 170, 0.75), rgba(120, 92, 170, 0.75));
  background-size: 1px 10px;
  background-repeat: repeat-y;
  opacity: 0.7;
}

.ticket:before {
  left: 220px;
}

.ticket:after {
  right: 320px;
}

.ticket-scan {
  padding: 20px 18px;
  background: rgba(120, 92, 170, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ticket-scan-title {
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 14px;
  color: rgba(43, 27, 61, 0.85);
}

.ticket-qr {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(43, 27, 61, 0.15) 1px, transparent 1px),
    linear-gradient(0deg, rgba(43, 27, 61, 0.15) 1px, transparent 1px);
  background-size: 12px 12px;
  border: 2px solid rgba(120, 92, 170, 0.45);
}

.ticket-scan-sub {
  font-size: 12px;
  color: rgba(43, 27, 61, 0.7);
}

.ticket-main {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ticket-kicker {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: rgba(120, 92, 170, 0.95);
  text-transform: uppercase;
}

.ticket-tagline {
  margin-top: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(43, 27, 61, 0.75);
}

.ticket-info {
  padding: 22px 22px;
  background: rgba(120, 92, 170, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.ticket-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.ticket-info-label {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(43, 27, 61, 0.65);
}

.ticket-info-value {
  font-weight: 800;
  font-size: 13px;
  color: rgba(43, 27, 61, 0.95);
  text-align: right;
}

.ticket-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ticket-info-datetime {
  padding-top: 8px;
  border-top: 1px solid rgba(120, 92, 170, 0.35);
}

.ticket-date {
  font-weight: 900;
  font-size: 18px;
  color: rgba(43, 27, 61, 0.95);
}

.ticket-time {
  margin-top: 4px;
  font-weight: 700;
  font-size: 12px;
  color: rgba(43, 27, 61, 0.75);
}
.details .place-box {
  height: 46px;
  overflow: hidden;
}
.details .place-box .text {
  padding-top: 16px;
  font-size: 20px;
}
.details .place-box .text:before {
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background-color: white;
}
.details .title-1,
.details .title-2 {
  font-weight: 600;
  font-size: 64px;
  font-family: "Oswald", sans-serif;
}
.details .title-box-1,
.details .title-box-2 {
  margin-top: 2px;
  height: 100px;
  overflow: hidden;
}
.details > .desc {
  margin-top: 16px;
  width: auto;
  max-width: 740px;
  color: rgba(43, 27, 61, 0.85);
}
.details > .cta {
  width: auto;
  margin-top: 24px;
  display: flex;
  align-items: center;
}
.details > .cta > .bookmark {
  border: none;
  background-color: #ff0000;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  color: white;
  display: grid;
  place-items: center;
}
.details > .cta > .star {
  border: none;
  background-color: #ffbf00;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  color: white;
  display: grid;
  place-items: center;
}
.details > .cta > .bookmark svg {
  width: 20px;
  height: 20px;
}
.details > .cta > .discover {
  border: 1px solid #ffffff;
  background-color: transparent;
  height: 36px;
  border-radius: 99px;
  color: #ffffff;
  padding: 4px 24px;
  font-size: 12px;
  margin-left: 16px;
  text-transform: uppercase;
}

.ticket .details > .cta > .discover,
.ticket .cta > .discover {
  border-color: rgba(43, 27, 61, 0.45);
  color: rgba(43, 27, 61, 0.95);
}

.ticket .cta > .bookmark {
  background-color: rgba(120, 92, 170, 1);
}

.ticket .cta > .star {
  background-color: rgba(255, 191, 0, 1);
}

nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  font-weight: 500;
}
nav svg {
  width: 20px;
  height: 20px;
}
nav .svg-container {
  width: 20px;
  height: 20px;
}
nav > div {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 14px;
}
nav > div:first-child {
  gap: 10px;
}
nav > div:last-child {
  gap: 24px;
}
nav > div:last-child > .active {
  position: relative;
}
nav > div:last-child > .active:after {
  bottom: -8px;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
  height: 3px;
  border-radius: 99px;
  background-color: #ff0000;
}

.indicator {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  z-index: 60;
  background-color: #ff0000;
}

.pagination {
  position: absolute;
  left: 0px;
  top: 0px;
  display: inline-flex;
}
.pagination > .arrow {
  z-index: 60;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid #ffffff55;
  display: grid;
  place-items: center;
}
.pagination > .arrow:nth-child(2) {
  margin-left: 20px;
}
.pagination > .arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  color: #ffffff99;
}
.pagination .progress-sub-container {
  margin-left: 24px;
  z-index: 60;
  width: 500px;
  height: 50px;
  display: flex;
  align-items: center;
}
.pagination .progress-sub-container .progress-sub-background {
  width: 500px;
  height: 3px;
  background-color: #ffffff33;
}
.pagination .progress-sub-container .progress-sub-background .progress-sub-foreground {
  height: 3px;
  background-color: #ff0000;
}
.pagination .slide-numbers {
  width: 50px;
  height: 50px;
  overflow: hidden;
  z-index: 60;
  position: relative;
}
.pagination .slide-numbers .item {
  width: 50px;
  height: 50px;
  position: absolute;
  color: white;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: bold;
}

.cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 100;
}

@media (max-width: 768px) {
  .details {
    top: 76px;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    width: calc(100vw - 24px);
    padding: 0;
    background: transparent;
  }
  .ticket {
    grid-template-columns: 1fr;
  }
  .ticket:before,
  .ticket:after {
    display: none;
  }
  .ticket-scan {
    flex-direction: row;
    justify-content: space-between;
  }
  .ticket-qr {
    width: 76px;
    height: 76px;
  }
  .ticket-main {
    padding: 18px 16px;
  }
  .ticket-info {
    padding: 16px 16px;
  }
  .details .place-box .text {
    font-size: 16px;
  }
  .details .title-1,
  .details .title-2 {
    font-size: 44px;
  }
  .details .title-box-1,
  .details .title-box-2 {
    height: 64px;
  }
  .details > .desc {
    width: auto;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.5;
  }
  .details > .cta {
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }
  .details > .cta > .discover {
    margin-left: 0;
  }

  nav {
    padding: 14px 16px;
  }

  .pagination {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    top: auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    box-sizing: border-box;
    gap: 12px;
  }

  .pagination > .arrow {
    width: 40px;
    height: 40px;
  }
  .pagination > .arrow:nth-child(2) {
    margin-left: 0;
  }
  .pagination > .arrow svg {
    width: 20px;
    height: 20px;
  }

  .pagination .progress-sub-container {
    width: min(520px, 100%);
    margin-left: 0;
    height: 44px;
  }
  .pagination .progress-sub-container .progress-sub-background {
    width: 100%;
  }

  .pagination .slide-numbers {
    display: block;
    width: 40px;
    height: 40px;
  }
  .pagination .slide-numbers .item {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

body.qr-detail {
  overflow: auto;
}

body:not(.qr-detail) .details {
  top: 240px;
  left: 60px;
  transform: none;
  width: auto;
  color: #FFFFFFDD;
}

body:not(.qr-detail) .details .title-1,
body:not(.qr-detail) .details .title-2 {
  font-size: 72px;
}

body:not(.qr-detail) .details > .desc {
  width: 500px;
  max-width: none;
  color: #FFFFFFDD;
}

body:not(.qr-detail) .details > .cta {
  width: 500px;
}

body:not(.qr-detail) .details > .cta > .discover {
  border: 1px solid #ffffff;
  color: #ffffff;
}

body.qr-detail:before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 20% 20%, rgba(145, 109, 220, 0.55), rgba(26, 26, 26, 0.55) 60%),
    radial-gradient(900px 700px at 80% 30%, rgba(255, 191, 0, 0.12), rgba(26, 26, 26, 0.55) 70%),
    var(--bg-image, none);
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.75);
  transform: scale(1.08);
  z-index: -2;
}

body.qr-detail:after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

body.qr-detail nav,
body.qr-detail .indicator,
body.qr-detail .pagination,
body.qr-detail .cover,
body.qr-detail #demo,
body.qr-detail .details,
body.qr-detail .card,
body.qr-detail .card-content {
  display: none !important;
}

body.qr-detail .page {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.qr-detail .page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 4px 14px;
  flex: 0 0 auto;
  text-align: center;
}

body.qr-detail .page-kicker {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

body.qr-detail .page-title {
  margin: 8px 0 6px;
  font-size: 28px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
}

body.qr-detail .page-subtitle {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

body.qr-detail .page-content {
  max-width: 1200px;
  margin: 0 auto;
  flex: 1 1 auto;
  height: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  min-height: 0;
}

body.qr-detail .gift-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  min-height: 0;
}

body.qr-detail .gift-card,
body.qr-detail .movie-detail,
body.qr-detail .movies-head {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

body.qr-detail .gift-head {
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 10px;
}

body.qr-detail .gift-line {
  display: flex;
  gap: 8px;
  margin: 6px 0;
  line-height: 1.4;
}

body.qr-detail .gift-label {
  color: rgba(255, 255, 255, 0.7);
  min-width: 92px;
}

body.qr-detail .gift-value {
  font-weight: 800;
}

body.qr-detail .gift-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
}

body.qr-detail .movie-detail {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.qr-detail .movie-detail-title {
  font-weight: 900;
  font-size: 18px;
}

body.qr-detail .movie-detail-sub {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
}

body.qr-detail .movie-detail-desc {
  margin-top: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
  line-clamp: 9;
}

body.qr-detail .movie-detail-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

body.qr-detail .form-status {
  min-width: 160px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.75);
}

body.qr-detail .form-status.is-success {
  color: rgba(163, 255, 205, 0.95);
}

body.qr-detail .form-status.is-error {
  color: rgba(255, 170, 170, 0.95);
}

body.qr-detail .btn {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  width: 150px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(20, 20, 20, 0.95);
}

body.qr-detail .btn.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

body.qr-detail .movies {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

body.qr-detail .movies-title {
  font-weight: 900;
  font-size: 16px;
}

body.qr-detail .movies-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

body.qr-detail .movies-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 12px;
}

body.qr-detail .movie-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  min-height: 120px;
  aspect-ratio: 13.5 / 10;
}

body.qr-detail .movie-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

body.qr-detail .movie-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.72) 70%, rgba(0,0,0,0.88) 100%);
}

body.qr-detail .movie-card-content {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
}

body.qr-detail .movie-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(20, 20, 20, 0.95);
}

body.qr-detail .movie-card-place {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.qr-detail .movie-card-title {
  margin-top: 6px;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.05;
}

body.qr-detail .movie-card-subtitle {
  margin-top: 4px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.12em;
}

body.qr-detail .movie-card.is-selected {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  body.qr-detail .page-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  body.qr-detail .gift-panel {
    grid-template-rows: auto auto;
    max-height: none;
    overflow: visible;
  }

  body.qr-detail .movies {
    grid-template-rows: auto 1fr;
    flex: 1 1 auto;
    min-height: 0;
  }

  body.qr-detail .movies-grid {
    min-height: 0;
  }

  body.qr-detail .movie-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  body.qr-detail .page {
    padding: 14px;
  }

  body.qr-detail .page-header {
    padding: 6px 2px 10px;
  }

  body.qr-detail .page-title {
    font-size: 22px;
  }

  body.qr-detail .page-subtitle {
    font-size: 13px;
  }

  body.qr-detail .page-content {
    gap: 12px;
  }

  body.qr-detail .gift-card,
  body.qr-detail .movie-detail,
  body.qr-detail .movies-head {
    padding: 12px;
    border-radius: 14px;
  }

  body.qr-detail .gift-label {
    min-width: 80px;
  }

  body.qr-detail .movie-detail-title {
    font-size: 16px;
  }

  body.qr-detail .movie-detail-actions {
    gap: 8px;
  }

  body.qr-detail .btn {
    flex: 1 1 auto;
    padding: 10px 12px;
  }

  body.qr-detail .movies-grid {
    gap: 10px;
  }

  body.qr-detail .movie-card {
    border-radius: 16px;
  }

  body.qr-detail .movie-card-badge {
    top: 10px;
    left: 10px;
    padding: 5px 9px;
    font-size: 11px;
  }

  body.qr-detail .movie-card-content {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  body.qr-detail .movie-card-title {
    font-size: 16px;
  }

  body.qr-detail .movie-card-place {
    font-size: 11px;
  }
}

@media (max-height: 700px) {
  body.qr-detail .page {
    padding: 12px;
  }

  body.qr-detail .page-title {
    font-size: 20px;
    margin: 6px 0 4px;
  }

  body.qr-detail .page-subtitle {
    display: block;
  }

  body.qr-detail .page-content {
    gap: 10px;
  }

  body.qr-detail .movies-head {
    padding: 12px;
  }

  body.qr-detail .movies-sub {
    display: block;
  }

  body.qr-detail .movies {
    overflow: visible;
  }

  body.qr-detail .movies-grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.qr-detail .gift-card,
  body.qr-detail .movie-detail {
    overflow: visible;
  }

  body.qr-detail .movie-detail-desc {
    -webkit-line-clamp: 6;
    line-clamp: 6;
  }

  body.qr-detail .movie-card-title {
    font-size: 15px;
  }

  body.qr-detail .movie-card-subtitle {
    display: none;
  }
}