:root {
  --brand-green: #4CAF50;
  --brand-dark: #1E2E1F;
  --accent-neon: #39FF14;
  --bg-light: #F9F9F6;
  --text-main: #333333;
  --text-muted: #777777;
  --card-bg: #FFFFFF;
  --gold: #D4AF37;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 10px 20px;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--brand-dark);
}
.brand img { height: 32px; width: auto; }
.nav-links {
  display: none;
  gap: 20px;
  font-size: 15px;
}
.nav-links a:hover { color: var(--brand-green); }
.header-search {
  display: none;
  background: #eee;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 14px;
  color: #888;
}
.download-btn-small {
  background: var(--brand-green);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at center, #fffde7 0%, var(--bg-light) 100%);
  padding: 40px 20px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  box-shadow: inset 0 0 100px rgba(76, 175, 80, 0.1);
  pointer-events: none;
}
h1 {
  font-size: 28px;
  color: var(--brand-dark);
  margin-bottom: 10px;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.theater-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.hall-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  transition: transform 0.3s;
  border-left: 4px solid var(--brand-green);
}
.hall-card:hover { transform: translateY(-5px); }
.hall-card img {
  width: 80px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hall-info h3 { font-size: 16px; margin-bottom: 5px; }
.hall-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.hall-btn {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-dark);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
}
.main-cta {
  display: inline-block;
  background: var(--brand-green);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
  margin-bottom: 15px;
  border: 2px dashed #fff;
  outline: 2px solid var(--brand-green);
  outline-offset: -6px;
}
.main-cta:hover { background: #43a047; }
.device-links { font-size: 14px; color: var(--text-muted); }
.device-links a { text-decoration: underline; margin: 0 5px; }

/* Sections Common */
section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
h2 {
  font-size: 24px;
  color: var(--brand-dark);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--brand-green);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Schedule */
.schedule-board {
  background: var(--brand-dark);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  overflow-x: auto;
  white-space: nowrap;
}
.time-row {
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
  min-width: 600px;
  width: 100%;
}
.time-row:last-child { border-bottom: none; }
.time-row.active {
  background: rgba(76, 175, 80, 0.1);
  border-radius: 8px;
  padding: 15px 10px;
  animation: breathe 2s infinite alternate;
  border-left: 4px solid var(--accent-neon);
}
@keyframes breathe { from { box-shadow: 0 0 5px rgba(57,255,20,0.2); } to { box-shadow: 0 0 15px rgba(57,255,20,0.6); } }
.time-label {
  color: var(--accent-neon);
  font-size: 20px;
  font-weight: bold;
  width: 100px;
  flex-shrink: 0;
}
.drama-mini-list {
  display: flex;
  gap: 15px;
  overflow-x: auto;
}
.drama-mini {
  width: 90px;
  flex-shrink: 0;
}
.drama-mini img { width: 100%; border-radius: 4px; margin-bottom: 5px; }
.drama-mini span { font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-badge { background: var(--brand-green); color: #fff; font-size: 10px; padding: 1px 4px; border-radius: 2px; margin-top: 2px; display: inline-block;}

/* Tabs & Grid */
.tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.tab-btn {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 14px;
}
.tab-btn.active { background: var(--brand-green); color: #fff; border-color: var(--brand-green); }
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.grid-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  position: relative;
}
.grid-card:hover { transform: translateY(-5px); }
.grid-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-info { padding: 10px; }
.card-title { font-size: 14px; font-weight: bold; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }
.badge {
  position: absolute;
  top: 5px; left: 5px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Exclusive */
.exclusive-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.exclusive-main {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.exclusive-main img { width: 120px; border-radius: 8px; }
.exclusive-info h3 { font-size: 20px; margin-bottom: 10px; }
.exclusive-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; }
.reserve-btn {
  background: var(--brand-dark);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}
.exclusive-list { display: flex; flex-direction: column; gap: 10px; }
.ex-list-item { display: flex; gap: 10px; align-items: center; background: #fff; padding: 10px; border-radius: 8px; }
.ex-list-item img { width: 40px; border-radius: 4px; }
.ex-list-item span { font-size: 14px; }

/* Member Cards */
.member-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.m-card {
  background: linear-gradient(135deg, #fff, #f0f0f0);
  width: 100%;
  max-width: 300px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transform: rotate(2deg);
  transition: all 0.3s;
  border-left: 5px solid var(--gold);
}
.m-card:nth-child(2) { transform: rotate(-2deg); border-left-color: var(--brand-green); }
.m-card:nth-child(3) { transform: rotate(1deg); border-left-color: #2196F3; }
.m-card:hover { transform: rotate(0) scale(1.05); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.m-card h3 { font-size: 18px; margin-bottom: 10px; }
.m-card p { font-size: 13px; color: var(--text-muted); }

/* Reviews */
.stats-row { display: flex; justify-content: space-around; text-align: center; margin-bottom: 30px; }
.stat-num { font-size: 32px; font-weight: bold; color: var(--brand-green); }
.stat-label { font-size: 14px; color: var(--text-muted); }
.ticket-wall {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ticket {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  position: relative;
  border-left: 4px dashed #ccc;
  border-right: 4px dashed #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transform: rotate(-1deg);
}
.ticket:nth-child(even) { transform: rotate(1deg); }
.ticket::before, .ticket::after {
  content: ''; position: absolute; width: 12px; height: 12px; background: var(--bg-light); border-radius: 50%;
  top: 50%; transform: translateY(-50%);
}
.ticket::before { left: -8px; }
.ticket::after { right: -8px; }
.user-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.user-row img { width: 30px; height: 30px; border-radius: 50%; }
.user-row span { font-weight: bold; font-size: 14px; }
.stars { color: var(--gold); font-size: 14px;}
.ticket p { font-size: 14px; color: #555; }

/* Download & FAQ */
.faq-list { margin-bottom: 40px; }
.faq-item { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 10px; }
.faq-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--brand-dark); }
.faq-item p { font-size: 14px; color: var(--text-muted); }
.gate-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.qr-box { text-align: center; }
.qr-box .qr-placeholder {
  width: 150px; height: 150px; background: #eee; border: 2px dashed #ccc; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px;
}
.gate-buttons { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; }
.gate-btn {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  background: var(--brand-green);
  color: #fff;
  font-weight: bold;
}
.gate-btn.secondary { background: #eee; color: var(--brand-dark); }

/* Footer */
footer {
  background: var(--brand-dark);
  color: #999;
  padding: 40px 20px 20px;
  font-size: 13px;
  text-align: center;
}
.footer-links { margin: 20px 0; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.copyright { border-top: 1px solid #333; padding-top: 20px; font-size: 12px; }

/* Media Queries */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .theater-cards { flex-direction: row; }
  .hall-card { flex: 1; }
  .grid-container { grid-template-columns: repeat(3, 1fr); }
  .member-cards { flex-direction: row; justify-content: center; }
  .exclusive-layout { flex-direction: row; }
  .exclusive-main { flex: 2; }
  .exclusive-list { flex: 1; }
  .gate-area { flex-direction: row; justify-content: center; gap: 50px; }
  .ticket-wall { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .ticket { width: calc(50% - 15px); }
}
@media (min-width: 1024px) {
  .grid-container { grid-template-columns: repeat(4, 1fr); }
  .header-search { display: block; }
  .ticket { width: calc(33.333% - 15px); }
  .time-row { min-width: auto; }
}