:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --primary: #facc15;
  --primary-dark: #d4a800;
  --text: #ffffff;
  --text-muted: #9ca3af;
  --success: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
}

/* ── NAV ─────────────────────────────── */

nav {
  background: var(--surface);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 38px;
  display: block;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 2px solid var(--primary);
  padding: 8px 20px 16px;
}

.nav-links.open {
  display: flex;
}

.nav-links li a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav-links li:last-child a {
  border-bottom: none;
}

.nav-links li a:hover {
  color: var(--primary);
}

@media (min-width: 768px) {
  nav { padding: 16px 48px; }

  .hamburger { display: none; }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 32px;
  }

  .nav-links li a {
    padding: 0;
    border: none;
    font-size: 14px;
  }
}

/* ── SECTIONS ─────────────────────────── */

section {
  min-height: 100vh;
  padding: 60px 20px;
}

@media (min-width: 768px) {
  section { padding: 80px 48px; }
}

/* ── HERO ─────────────────────────────── */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 16px;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)),
    url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?q=80&w=1200&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: clamp(30px, 7vw, 72px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: clamp(15px, 2.5vw, 20px);
  color: #ddd;
  max-width: 520px;
}

/* ── BUTTONS ──────────────────────────── */

.btn {
  display: inline-block;
  background: var(--primary);
  color: #000;
  padding: 12px 26px;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Poppins', Arial, sans-serif;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(250,204,21,0.2);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250,204,21,0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ── TITLE ────────────────────────────── */

.title {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  color: var(--primary);
}

/* ── MOVIE GRID ───────────────────────── */

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.movie-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.movie-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.movie-content {
  padding: 18px 20px 22px;
}

.movie-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.movie-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── DETAILS ──────────────────────────── */

.details-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
}

.details-container img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.details-text {
  flex: 1;
  min-width: 260px;
  max-width: 500px;
}

.details-text h2 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

#detailDescription {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.meta-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* ── BOOKING ──────────────────────────── */

.booking-container {
  max-width: 660px;
  margin: 0 auto;
  background: var(--surface-2);
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

@media (min-width: 480px) {
  .booking-container { padding: 36px; }
}

.screen {
  background: var(--primary);
  color: #000;
  text-align: center;
  padding: 11px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  box-shadow: 0 0 30px rgba(250,204,21,0.15);
}

.seat-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.seat-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.legend-dot.available { background: #2c2c2c; }
.legend-dot.selected-dot { background: var(--primary); border-color: var(--primary); }

.seats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

@media (min-width: 480px) {
  .seats {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
}

.seat {
  background: #2c2c2c;
  padding: 14px 8px;
  text-align: center;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
  user-select: none;
}

.seat:hover {
  border-color: var(--primary);
  background: #3a3a3a;
}

.seat.selected {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #222;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 15px;
  font-family: 'Poppins', Arial, sans-serif;
  outline: none;
  transition: border-color var(--transition);
}

input[type="text"]:focus {
  border-color: var(--primary);
}

input[type="text"]::placeholder {
  color: var(--text-muted);
}

/* ── CONFIRMATION ─────────────────────── */

.confirmation-box {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface-2);
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
}

@media (min-width: 480px) {
  .confirmation-box { padding: 48px 40px; }
}

.confirm-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.confirmation-box h2 {
  color: var(--success);
  margin-bottom: 28px;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
}

.confirm-details {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}

.confirm-row:last-child {
  border-bottom: none;
}

.confirm-label {
  color: var(--text-muted);
  font-weight: 500;
}

.total-row {
  background: rgba(250,204,21,0.06);
}

.total-row span:last-child {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

/* ── FOOTER ───────────────────────────── */

footer {
  background: var(--surface);
  text-align: center;
  padding: 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}
