:root {
  --bg: #05070d;
  --bg-alt: #0b101c;
  --text: #f4f1ed;
  --muted: #9ea3b5;
  --accent: #d3a756;
  --accent-soft: rgba(211, 167, 86, 0.18);
  --border: rgba(244, 241, 237, 0.08);
  --card: rgba(8, 12, 20, 0.75);
  --danger: #f15b5d;
}

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

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

nav a {
  padding: 0.4rem 0.6rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #1a1306;
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn.outline {
  border-color: var(--accent);
  color: var(--text);
  background: transparent;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.hero {
  position: relative;
  padding: 8rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(0.3);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(211, 167, 86, 0.4), rgba(5, 7, 13, 0.95));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.1;
}

.hero-subheadline {
  font-size: 1.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.countdown p {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.countdown-grid div {
  background: var(--card);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
}

.count {
  font-size: 2rem;
  font-weight: 600;
}

.trailer-info {
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 320px;
}

.play-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-visual {
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.devotional-card,
.musical-card,
.final-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
}

.about-card ul {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.timeline article {
  background: var(--card);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.timeline article::before {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 3px solid var(--accent);
  opacity: 0.6;
}

.timeline article h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.timeline-date {
  font-weight: 600;
  color: var(--accent);
}

.musical {
  background: linear-gradient(120deg, rgba(211, 167, 86, 0.08), rgba(5, 7, 13, 0.95));
}

.musical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: start;
}

.musical-intro p {
  max-width: 540px;
  margin-bottom: 1rem;
}

.musical-showcase {
  display: grid;
  gap: 1.5rem;
}

.musical-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

.musical-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}

.media-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0), rgba(5, 7, 13, 0.8));
}

.tag {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.musical-card {
  background: var(--card);
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ticket-detail {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.ticket-detail .label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: var(--muted);
}

.ticket-detail .value {
  font-size: 1.05rem;
  font-weight: 600;
}

.ticket-note {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ticket-note p {
  color: var(--muted);
  font-size: 0.95rem;
}

.devotional-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.metric {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
}

.ibb {
  background: linear-gradient(120deg, rgba(11, 16, 28, 0.9), rgba(5, 7, 13, 0.7));
}

.ibb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

.ibb-grid .btn {
  margin-top: 1.25rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.pillar-card {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pillar-card:nth-child(2) {
  transform: translateY(12px);
}

.pillar-card:nth-child(3) {
  transform: translateY(24px);
}


.pillar-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.85rem;
}

.sponsors {
  background: radial-gradient(circle at top, rgba(211, 167, 86, 0.1), rgba(5, 7, 13, 0.95));
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.section-header + .sponsor-master {
  margin-top: 1.5rem;
}

.sponsor-master {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.2rem 1.75rem;
  background: rgba(211, 167, 86, 0.08);
  width: min(900px, 100%);
  height: 200px;
  margin: 0 auto 2.5rem;
  gap: 1rem;
}

.sponsor-master p {
  margin: 0;
  text-align: right;
  font-size: 1rem;
  font-weight: 600;
}

.sponsor-master p span {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  margin-top: 0.2rem;
}

.sponsor-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  text-align: center;
}

.sponsor-badge {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.sponsor-logo {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sponsor-logo img {
  max-width: 180px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sponsor-logo.large img {
  max-width: 220px;
}

.sponsor-card p {
  color: var(--muted);
}

.sponsor-cta {
  text-align: center;
  margin-top: 2rem;
}

.sponsor-card.placeholder {
  border-style: dashed;
  color: var(--muted);
}

.footer {
  padding: 2.5rem 0;
  background: #04060c;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  font-weight: 600;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list strong {
  display: block;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-list span {
  display: block;
  color: var(--text);
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.social {
  display: flex;
  gap: 0.6rem;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: var(--text);
  opacity: 0.6;
}

.trailer-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.trailer-modal.open {
  visibility: visible;
  opacity: 1;
}

.trailer-dialog {
  width: min(900px, 90%);
  background: #000;
  border-radius: 16px;
  padding: 1rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  nav {
    position: absolute;
    top: 68px;
    right: 5%;
    flex-direction: column;
    background: var(--card);
    padding: 1rem 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    display: none;
  }

  nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner > .btn.primary {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 7rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
