body { font-family: 'Roboto', sans-serif; }
.movie-card:hover { transform: scale(1.05); transition: transform 0.3s ease; }
.trailer-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 1000; justify-content: center; align-items: center; }
.trailer-overlay.active { display: flex; }
.movie-buttons { opacity: 0; transition: opacity 0.3s ease; }
.movie-card:hover .movie-buttons { opacity: 1; }
.movie-card {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3; /* hoặc height: 400px; */
    overflow: hidden;
}
.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* full ảnh, có thể bị crop nhẹ nhưng không bị viền đen */
    display: block;
}
.movie-info-overlay {
    background: rgba(0,0,0,0.6); /* nền mờ để chữ nổi bật */
    color: #fff;
}
.footer {
    background: #181818 !important;
    color: #fff !important;
  font-family: Arial, sans-serif;
  padding-top: 30px;
  padding-bottom: 0;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.18);
}
body.dark .footer {
    background: #23272f !important;
    color: #eee !important;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.18);
}
.footer-top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 30px;
}
.footer-col {
  min-width: 180px;
}
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
    text-transform: uppercase;
}
body.dark .footer-col h4 {
    color: #ffd580;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
    color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
    opacity: 0.92;
}
.footer-col ul li a:hover {
    color: #ffe0c2;
    opacity: 1;
}
body.dark .footer-col ul li a {
    color: #ffd580;
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-logo {
  width: 120px;
  margin-bottom: 10px;
    filter: drop-shadow(0 2px 8px rgba(255,145,77,0.18));
}
.footer-icons {
  display: flex;
  gap: 10px;
}
.footer-icons .icon {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  object-fit: contain;
    box-shadow: 0 2px 8px rgba(255,145,77,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}
.footer-icons .icon:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(255,145,77,0.18);
}
.bo-cong-thuong {
  width: 110px;
  margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 2px 6px;
    box-shadow: 0 2px 8px rgba(255,145,77,0.10);
}
hr {
  border: none;
    border-top: 2px solid #fff3e0;
  margin: 0 10% 20px 10%;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-bottom: 18px;
  font-size: 15px;
    color: #fff;
  text-align: left;
}
.footer-logo-bottom {
  width: 60px;
  margin-right: 18px;
    filter: drop-shadow(0 2px 8px rgba(255,145,77,0.18));
}
.footer-bottom strong {
  color: #fff;
  font-size: 16px;
}
body.dark .footer-bottom strong {
    color: #ffd580;
}
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Banner Slider Styles */
        .banner-slider {
position: relative;
max-width: 900px;
margin: 30px auto 40px auto;
overflow: hidden;
border-radius: 16px;
box-shadow: 0 4px 24px rgba(0,0,0,0.2);
      }
      .banner-slider .slides {
position: relative;
        width: 100%;
height: 350px;
      }
      .banner-slider .slide {
display: none;
        width: 100%;
height: 350px;
object-fit: cover;
border-radius: 16px;
      }
      .banner-slider .slide.active {
display: block;
animation: fade 0.7s;
}
@keyframes fade {
from { opacity: 0.4; }
to { opacity: 1; }
      }
      .banner-slider .prev, .banner-slider .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: 44px;
        height: 44px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 28px;
        border: none;
        background: rgba(0,0,0,0.4);
        border-radius: 50%;
        z-index: 2;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.8);
      }
      .banner-slider:hover .prev, .banner-slider:hover .next {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
      }
      .banner-slider .prev:hover, .banner-slider .next:hover {
        background: rgba(0,0,0,0.7);
        transform: scale(1.1);
      }
      .banner-slider .prev { left: 16px; }
      .banner-slider .next { right: 16px; }
      .banner-slider .dots {
        text-align: center;
        position: absolute;
        bottom: 18px;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(8px);
        border-radius: 30px;
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
      }
      .banner-slider .dot {
        cursor: pointer;
        height: 8px;
        width: 8px;
        margin: 0;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        display: inline-block;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
      }
      .banner-slider .dot.active {
        width: 32px;
        height: 8px;
        background-color: #fff;
        border-radius: 4px;
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
      }
      .banner-slider .dot:hover:not(.active) {
        background-color: rgba(255, 255, 255, 0.7);
        transform: scale(1.2);
}
html {
    scroll-behavior: smooth;
}

.banner-slider {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  max-width: 100vw;
  overflow: hidden;
  background: #000;
  height: 70vh;
  min-height: 400px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-slider .slides {
  width: 100vw;
  height: 100%;
  position: relative;
  display: flex;
  transition: transform 0.7s cubic-bezier(.77,0,.18,1);
}
.banner-slider .slide {
  min-width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s;
  position: absolute;
  top: 0; left: 0;
}
.banner-slider .slide.active {
  opacity: 1;
  position: relative;
  z-index: 2;
  animation: slideIn 0.7s cubic-bezier(.77,0,.18,1);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
.banner-img {
  width: 100vw;
  height: 70vh;
  min-height: 400px;
  max-height: 800px;
  object-fit: cover;
  display: block;
  background: #000;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  user-select: none;
  pointer-events: none;
}
.banner-slider .prev, .banner-slider .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  color: #fff;
  font-weight: bold;
  font-size: 32px;
  border: none;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s ease !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.8) !important;
}
.banner-slider:hover .prev, .banner-slider:hover .next {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
}
.banner-slider .prev:hover, .banner-slider .next:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.1);
}
.banner-slider .prev { left: 24px; }
.banner-slider .next { right: 24px; }
.banner-slider .dots {
  text-align: center;
  position: absolute;
  bottom: 24px;
  z-index: 10;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(8px);
  border-radius: 30px !important;
  width: fit-content !important;
  left: 50%;
  transform: translateX(-50%);
}
.banner-slider .dot {
  cursor: pointer;
  height: 8px !important;
  width: 8px !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  position: relative;
  margin: 0 !important;
}
.banner-slider .dot.active {
  width: 32px !important;
  height: 8px !important;
  background-color: #fff !important;
  border-radius: 4px !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6) !important;
}
.banner-slider .dot:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}
.movie-card {
  position: relative;
  overflow: hidden;
}
.movie-card .movie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.movie-card:hover .movie-overlay {
  opacity: 1;
}
.movie-card .movie-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ff914d;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 12px 32px;
  margin-bottom: 14px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.2s;
}
.movie-card .movie-btn:last-child { margin-bottom: 0; }
.movie-card .movie-btn:hover { background: #ff7300; transform: translateY(-2px) scale(1.04); }
.movie-card .movie-btn svg { width: 22px; height: 22px; fill: #fff; }
.movie-card .movie-rating-age {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.movie-card .star-box {
  background: #ff914d;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 4px 12px 4px 10px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 4px;
}
.movie-card .star-box svg { width: 18px; height: 18px; fill: #fff; }
.movie-card .age-box {
  background: #bfa16c;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.95rem;
  margin-left: 2px;
}
nav ul li a {
  font-size: 1.18rem;
  font-weight: 600;
}

/* Payment Page Layout */
.payment-container {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 40px;
max-width: 1200px;
margin: 0 auto;
min-height: 600px;
position: relative;
}
.main-payment {
flex: 1 1 0;
max-width: 520px;
}
.payment-title {
font-size: 2rem;
font-weight: bold;
text-align: left;
margin-bottom: 18px;
}
.payment-box {
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 24px rgba(0,0,0,0.10);
padding: 32px 28px 28px 28px;
}
.box-title {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 12px;
}
.ticket-info p {
margin-bottom: 6px;
font-size: 1rem;
}
.total-price {
font-weight: bold;
color: #ff6600;
margin-top: 12px;
font-size: 1.1rem;
}
.payment-methods {
margin: 18px 0 18px 0;
}
.method {
display: flex;
align-items: center;
margin-bottom: 10px;
font-size: 1rem;
}
.method img {
width: 32px;
height: 32px;
object-fit: contain;
margin-right: 8px;
background: #fff;
border-radius: 6px;
border: 1px solid #eee;
box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.promo-section {
margin-top: 18px;
margin-bottom: 8px;
}
.promo-section label {
font-weight: 500;
margin-right: 8px;
}
.promo-section input[type="text"] {
padding: 6px 12px;
border-radius: 6px;
border: 1px solid #ccc;
margin-right: 8px;
font-size: 1rem;
}
.apply-btn {
background: #ff6600;
color: #fff;
border: none;
border-radius: 6px;
padding: 7px 18px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s;
}
.apply-btn:hover {
background: #ff914d;
}
.promo-note {
font-size: 0.95rem;
color: #888;
margin-top: 4px;
}
.center-btn {
text-align: center;
margin-top: 24px;
}
.pay-btn {
background: #ff6600;
color: #fff;
border: none;
border-radius: 8px;
padding: 12px 38px;
font-size: 1.1rem;
font-weight: bold;
cursor: pointer;
transition: background 0.2s;
}
.pay-btn:disabled {
background: #ccc;
cursor: not-allowed;
}
.pay-btn:hover:not(:disabled) {
background: #ff914d;
}

/* Ticket Summary Box - always fixed top right on desktop */
@media (min-width: 1100px) {
.payment-container {
justify-content: flex-start !important;
}
.ticket-summary {
position: fixed !important;
top: 120px;
right: 5vw;
left: unset;
margin: 0;
z-index: 30;
max-width: 350px;
min-width: 320px;
background: #fff;
box-shadow: 0 4px 24px rgba(255,102,0,0.10);
border: 2px solid #ff6600;
border-radius: 16px;
}
}
@media (max-width: 1100px) {
.ticket-summary {
position: static !important;
margin: 32px auto 0 auto;
max-width: 100%;
min-width: unset;
}
}

/* Promo Box */
.promo-box {
background: #fff;
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
padding: 24px 28px 18px 28px;
margin-bottom: 28px;
border: 1px solid #eee;
}
.promo-header {
font-size: 1.15rem;
font-weight: bold;
margin-bottom: 12px;
}
.promo-input-row {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 6px;
}
.promo-box input[type="text"] {
flex: 1;
padding: 8px 12px;
border-radius: 6px;
border: 1px solid #ccc;
font-size: 1rem;
}
.promo-box .apply-btn {
background: #ff6600;
color: #fff;
border: none;
border-radius: 6px;
padding: 8px 22px;
font-weight: 500;
font-size: 1rem;
cursor: pointer;
transition: background 0.2s;
}
.promo-box .apply-btn:hover {
background: #ff914d;
}
.promo-note {
font-size: 0.97rem;
color: #888;
margin-bottom: 8px;
}
.promo-dropdowns details {
margin-bottom: 4px;
}
.promo-dropdowns summary {
font-size: 1rem;
font-weight: 500;
color: #333;
cursor: pointer;
outline: none;
padding: 4px 0;
}
.promo-list {
font-size: 0.98rem;
color: #666;
margin-left: 12px;
margin-bottom: 4px;
}

.payment-warning {
font-size: 0.95rem;
color: #ff6600;
margin-top: 18px;
margin-bottom: 2px;
font-style: italic;
}

.ticket-summary-header {
font-size: 1rem;
color: #ff6600;
font-weight: 500;
margin-bottom: 10px;
text-align: right;
}
.price-row {
font-size: 1.05rem;
color: #222;
margin-bottom: 2px;
text-align: right;
}
.ticket-summary .total {
font-weight: bold;
color: #ff6600;
font-size: 1.08rem;
margin-top: 6px;
text-align: right;
}
.ticket-summary .actions {
margin-top: 24px;
display: flex;
justify-content: flex-end;
gap: 16px;
}
.ticket-summary .pay-btn {
min-width: 160px;
font-size: 1.1rem;
padding: 12px 0;
border-radius: 8px;
background: #ff6600;
color: #fff;
font-weight: bold;
border: none;
cursor: pointer;
transition: background 0.2s;
}
.ticket-summary .pay-btn:hover {
background: #ff914d;
}
.ticket-summary .back-btn {
background: none;
color: #ff6600;
border: 1px solid #ff6600;
border-radius: 6px;
padding: 8px 22px;
font-size: 1rem;
cursor: pointer;
font-weight: 500;
transition: background 0.2s, color 0.2s;
}
.ticket-summary .back-btn:hover {
background: #ff6600;
color: #fff;
}

@media (max-width: 900px) {
.promo-box {
padding: 18px 10px 12px 10px;
}
.ticket-summary-header {
text-align: left;
}
.ticket-summary .actions {
justify-content: stretch;
}
}

header, .header, .main-header {
background: var(--header-bg) !important;
color: var(--header-text) !important;
transition: background 0.3s, color 0.3s;
border-radius: 24px 24px 0 0;
box-shadow: 0 8px 40px rgba(255,145,77,0.13), 0 1.5px 8px rgba(0,0,0,0.06);
margin: 0;
padding: 0;
width: 100%;
position: relative;
min-width: 0;
}

header .container, .header .container, .main-header .container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
flex-wrap: nowrap;
min-width: 0;
}
header .container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0;
padding-left: 0;
padding-right: 0;
}
header .container > div:first-child {
flex: 0 0 auto;
min-width: 0;
}
header nav {
flex: 1 1 0%;
display: flex;
justify-content: center;
min-width: 0;
}
nav ul {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.7rem;
flex-wrap: nowrap;
white-space: nowrap;
margin: 0;
padding: 0;
list-style: none;
min-width: 0;
justify-content: center;
width: 100%;
}
.header-actions {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: nowrap;
white-space: nowrap;
min-width: 0;
}
@media (max-width: 900px) {
  nav ul {
    gap: 0.3rem;
    /* overflow-x: auto; */
    /* white-space: nowrap; */
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  header nav {
    justify-content: flex-start;
  }
  .header-actions {
    gap: 6px;
  }
  nav ul li a, .header-actions a {
    font-size: 0.97rem;
    padding: 6px 10px;
  }
}
#darkModeBtn, .dark-mode-btn {
width: 40px !important;
height: 40px !important;
min-width: 40px;
min-height: 40px;
max-width: 40px;
max-height: 40px;
border-radius: 50% !important;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
box-sizing: border-box;
      }
/* ==== MOVIE GRID & CARD ==== */
.movies-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px;
  margin: 40px 0 0 0;
  padding: 0 60px;
}
@media (max-width: 1100px) {
  .movies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 4px;
  }
  .movie-card {
    border-radius: 12px;
    max-width: 98vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 8px;
    position: relative;
  }
  .movie-card img {
    border-radius: 12px 12px 0 0;
    aspect-ratio: 1/1.35;
  }
  .movie-info-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 0;
    width: auto;
    background: none;
    z-index: 2;
  }
  .star-box, .age-box {
    display: block;
    margin: 0 0 4px 0;
    font-size: 1rem;
    border-radius: 8px;
    padding: 4px 10px;
    width: fit-content;
  }
  .movie-title {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    margin: 6px 0 0 0;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* ==== END MOVIE GRID & CARD ==== */
.container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
}
.section-title {
  text-align: center;
  font-size: 2.6rem;
  color: #ff914d;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 36px;
  margin-top: 0;
  text-shadow: 0 2px 12px #ff914d22, 0 1.5px 8px #0002;
}