@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

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

body {
  font-family: "Arial", Helvetica, sans-serif;
  background: black;
  color: #cfcfcf;
  min-height: 100vh;
}

.container {
  display: flex;
  width: 100%;
  height: 105vh;
  position: relative;
}

.left {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  z-index: 2;
}

.logo {
  position: absolute;
  top: 40px;
  text-decoration: none;
}

.logo img {
  width: 140px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.left h1 {
  font-family: 'Anton', 'Courier New', monospace; 
  font-size: 5.5vw;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 5px;
  color: #450f0f; 
  text-align: center;
  text-shadow: 
    4px 4px 6px #ac6976, 
    0 0 8px #ffb957; 
}


.fade {
  position: absolute;
  left: 30%;
  width: 10%;
  height: 100%;
  background: linear-gradient(to right, black 20%, transparent 80%);
  z-index: 3;
}

.right {
  width: 70%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* POSTER WALL */
.poster-wall {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px 0;
}

.poster-row {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: scrollInfinite 25s linear infinite;
}

.poster-row:nth-child(even) {
  animation-direction: reverse;
}

.poster-row img {
  width: 82px;
  border-radius: 6px;
  opacity: 0.7;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes scrollInfinite {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* CTA SECTION */
.cta-vintage {
  background: #f3e5c0 url("../images/bgcta.png") center/cover;
  background-blend-mode: multiply;
  color: #4b3b2f;
  text-align: center;
  padding: 40px 10px;
  border-top: 3px solid #d4b483;
  border-bottom: 3px solid #d4b483;
  font-family: 'Georgia', serif;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-vintage h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #3b141c;
  letter-spacing: 1px;
}

.cta-vintage p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 35px;
  color: #4f3b2a;
}

.cta-btn {
  text-decoration: none;
  color: #f6d28a;
  background: #3b141c;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 0 #5e3820;
  transition: transform 0.25s cubic-bezier(0.25, 1.5, 0.5, 1), box-shadow 0.25s ease;
}

.cta-btn:hover {
  transform: translateY(-6px); /* nâng nhẹ */
  box-shadow: 0 6px 0 #5e3820; /* shadow theo chiều nâng */
}

.cta-btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.cta-btn:hover .arrow {
  transform: translateX(8px); /* arrow di chuyển nhẹ, mượt */
}


/* NOW NEXT MOVIE SECTION */
.section-title-vhs {
  text-align: center;
  font-family: "Orbitron", "Georgia", serif;
  font-size: 2.6rem;
  color: #f6d28a;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 60px 0 25px 0;
  position: relative;
  text-shadow:
    0 0 8px rgba(255, 230, 180, 0.6),
    0 0 20px rgba(255, 90, 60, 0.4);
}

.movie-section {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;
  margin: 36px auto;
  padding: 0 20px;
}

.movie-box {
  flex: 1;
  background-image: url('../images/product-detail-background.jpg');
  border-radius: 10px;
  padding: 18px;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Poster area (left) */
.movie-box .poster-wrap {
  flex: 0 0 38%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-width: 180px;
  max-width: 320px;
  height: auto;
}

.movie-box .poster-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(0.85);
}

/* Overlay text appears on hover */
.movie-box .poster-wrap .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffcc88;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  cursor: pointer;
}

/* Info (right) */
.movie-box .info {
  padding: 5px 0 0 0;
  flex: 1;
  color: #3b141c;
}

.movie-box .info h3 {
  margin: 0 0 5px 0;
  color: #3b141c;
  font-size: 1.25rem;
  letter-spacing: 0.6px;
}

/* Dòng Year và Director */
.movie-box .info .detail {
  font-size: 1rem;
  color: #3b141c;
  margin: 4px 0;
  display: flex;
  gap: 10px;
  font-style: italic;
}

.movie-box .info .detail span.label {
  font-weight: bold;
  color: #3b141c;
  text-transform: uppercase;
}

/* Mô tả phim */
.movie-box .info .description {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3b141c;
  opacity: 0.9;
  text-align: justify;
  max-height: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height 0.4s ease;
}

.movie-box .info .time {
  display: inline-block;
  font-size: 16px;
  color: #3b141c;
  background: #e3d2bc;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Hover effects */
.movie-box:hover .poster-wrap img {
  transform: scale(1.03);
  filter: brightness(1);
}

.movie-box:hover .poster-wrap .overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 880px) {
  .movie-section {
    flex-direction: column;
    gap: 18px;
    margin: 20px auto;
    padding: 0 12px;
  }

  .movie-box {
    padding: 14px;
  }

  .movie-box .poster-wrap {
    width: 48%;
    flex-basis: 48%;
  }

  .movie-box .info {
    width: 52%;
  }

  .movie-box .info h3 {
    font-size: 1.05rem;
  }
}


/* vé xem phim */
.ticket-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ticket-container {
  perspective: 1600px;
  animation: wobble 2s ease-in-out infinite;
}

.ticket-card {
  width: 1280px;
  height: 600px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s ease;
  animation: flip 7s infinite ease-in-out; 
}

.ticket-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
}

.ticket-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-face.back {
  transform: rotateY(180deg);
}

/* Animation lắc nhẹ liên tục */
@keyframes wobble {

  0%,
  100% {
    transform: rotateZ(0deg);
  }

  25% {
    transform: rotateZ(1.5deg);
  }

  50% {
    transform: rotateZ(-1.5deg);
  }

  75% {
    transform: rotateZ(1deg);
  }
}

/* Animation lật rõ ràng, đều mặt */
@keyframes flip {

  0%,
  45% {
    transform: rotateY(0deg);
  }

  50%,
  95% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

/* LỊCH CHIẾU */
.schedule-section {
  background: black;
  color: white;
  padding: 40px;
  text-align: center;
}

.schedule-section h2 {
  margin-bottom: 25px;
}

.week-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.week-bar button {
  background: #222;
  color: #f6d28a;
  border: 1px solid #444;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 15px;
}

.week-bar button.active {
  background: #3b141c;
  border-color: #3b141c;
}

.filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 35px;
}

.filter label {
  color: #ffcc88;
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-shadow: 0 0 6px rgba(255, 100, 60, 0.3);
  font-size: 18px;
}

#datePicker {
  background: #181818;
  color: #f5d97e;
  border: 1.5px solid #3b141c;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 16px;
  outline: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

#datePicker:hover {
  background: #222;
  border-color: #3b141c;
}

#datePicker::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.2);
  cursor: pointer;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
  margin-top: 25px;
}

.movie-card {
  width: 180px;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  color: white;
}

.movie-card p {
  margin-top: 5px;
}

.movie-card:hover {
  transform: scale(1.05);
}

.movie-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 10px;
}

.book-btn {
  font-weight: 700;
  background: #3b141c;
  color: #f6d28a;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

/* ĐIỀN MAIL */
.email {
  color: #f5f0e1;
  padding: 15px 20px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  margin-top: 15px;
  margin-bottom: 15px;
}

.email h2 {
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.email form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  max-width: 800px; 
  margin: 0 auto;
}

.email input[type="email"] {
  padding: 10px;
  border: 1px solid #f5f0e1;
  border-radius: 3px;
  font-size: 14px;
  background-color: #3b141c;
  color: #f6d28a;
  flex: 1; 
  min-width: 0; /* tránh tràn khi flex */
}

.email input[type="email"]::placeholder {
  color: #f6d28a;
}

.email button {
  padding: 10px 20px;
  background-color: #f5f0e1;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
}

.email button:hover {
  background-color: #f6d28a;
}

/* responsive full width */
@media (max-width: 600px) {
  .email form {
    flex-direction: column;
  }

  .email input[type="email"], .email button {
    width: 100%;
  }
}


/* STORE LINK */
.store-section {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 40px 80px;
  background: black
}

.store-link {
  background: #3b141c;
  color: #f6d28a;
  font-size: 32px;
  font-weight: 700;
  text-decoration: none;
  padding: 18px 45px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.store-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.store-link .arrow {
  font-size: 28px;
  transition: transform 0.3s ease;
}

.store-link:hover .arrow {
  transform: translateX(6px);
}