:root {
  --ctf-purple: #8300e9;
  --ctf-purple-dark: #6600b8;
  --ctf-gold: #f6c945;
  --ctf-text: #666666;
  --ctf-heading: #2b2b2b;
  --ctf-bg: #ffffff;
  --ctf-bg-alt: #f7f5fb;
  --ctf-border: #e5e1ee;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-heading: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ctf-text);
  background: var(--ctf-bg);
  line-height: 1.6;
}

a { color: var(--ctf-purple); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ctf-heading);
  font-weight: 700;
  margin: 0 0 0.5em;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
.site-header {
  border-bottom: 1px solid var(--ctf-border);
  background: #fff;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ctf-heading);
  line-height: 1.1;
}
.site-logo small {
  display: block;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--ctf-purple);
  letter-spacing: 0.05em;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ctf-heading);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--ctf-purple); text-decoration: none; }
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .site-header .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-nav ul { gap: 14px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  background: var(--ctf-purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--ctf-purple-dark); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--ctf-purple);
  border: 2px solid var(--ctf-purple);
}
.btn-secondary:hover { background: var(--ctf-purple); color: #fff; }
.btn-block { width: 100%; text-align: center; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--ctf-bg-alt) 0%, #fff 100%);
  padding: 72px 24px;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; margin-bottom: 0.25em; }
.hero .hero-date {
  font-size: 1.2rem;
  color: var(--ctf-purple);
  font-weight: 600;
  margin-bottom: 1.5em;
}

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--ctf-bg-alt); }
.section-title { text-align: center; margin-bottom: 40px; }

.card {
  background: #fff;
  border: 1px solid var(--ctf-border);
  border-radius: 10px;
  padding: 24px;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 800px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.pricing-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; margin: 32px 0; }
.pricing-tiers .tier-label { font-style: italic; color: var(--ctf-text); margin-bottom: 8px; }
.pricing-tiers .tier-price { font-size: 2.4rem; font-weight: 800; color: var(--ctf-heading); }
.pricing-tiers .tier-unit { color: var(--ctf-text); margin-top: 4px; }
@media (max-width: 800px) { .pricing-tiers { grid-template-columns: 1fr; } }

.placeholder-note {
  background: #fff8e1;
  border: 1px dashed #d9b400;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #6b5900;
  margin: 16px 0;
}

/* Schedule */
.schedule-item { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--ctf-border); }
.schedule-time { min-width: 110px; font-weight: 700; color: var(--ctf-purple); }
.schedule-item h4 { margin-bottom: 4px; }

/* Forms */
label { display: block; font-weight: 600; color: var(--ctf-heading); margin-bottom: 6px; font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  margin-bottom: 16px;
}
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .form-row, .form-row.cols-2 { grid-template-columns: 1fr; } }

.required { color: #c0392b; }
.field-hint { font-size: 0.8rem; color: #999; margin-top: -12px; margin-bottom: 16px; }

.participant-block {
  border: 1px solid var(--ctf-border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  background: var(--ctf-bg-alt);
  position: relative;
}
.participant-block h3 { display: flex; align-items: center; justify-content: space-between; }
.remove-participant { background: none; border: none; color: #c0392b; font-weight: 700; cursor: pointer; font-size: 0.85rem; }

.pricing-summary {
  background: var(--ctf-bg-alt);
  border: 1px solid var(--ctf-border);
  border-radius: 10px;
  padding: 24px;
}
.pricing-summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.pricing-summary .total-row { font-size: 1.4rem; font-weight: 800; color: var(--ctf-heading); border-top: 1px solid var(--ctf-border); margin-top: 10px; padding-top: 10px; }

#payment-element { margin: 16px 0; min-height: 220px; }

.year-section { padding: 32px 0; border-bottom: 1px solid var(--ctf-border); }
.year-section:last-child { border-bottom: none; }
.year-section h2 { font-size: 1.8rem; color: var(--ctf-purple); }
.year-subheading { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ctf-text); margin: 24px 0 12px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .video-grid { grid-template-columns: 1fr; } }
.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.alert { padding: 14px 16px; border-radius: 8px; margin: 16px 0; font-size: 0.95rem; }
.alert-error { background: #fdecea; color: #a12a1c; border: 1px solid #f5c6c2; }
.alert-success { background: #eafaf1; color: #1e7a44; border: 1px solid #b7ebc6; }

/* Footer */
.site-footer {
  background: var(--ctf-heading);
  color: #cfcfcf;
  padding: 48px 0 24px;
  margin-top: 40px;
}
.site-footer h4 { color: #fff; }
.site-footer a { color: #e6d9fb; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { text-align: center; margin-top: 32px; font-size: 0.85rem; color: #999; }

.subscribe-form { display: flex; gap: 8px; max-width: 360px; }
.subscribe-form input { margin-bottom: 0; }

.gallery-grid img, .gallery-grid .gallery-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  background: var(--ctf-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px;
}
.gallery-grid figure { margin: 0; }
.gallery-grid figure img { margin-bottom: 6px; }
.gallery-grid figcaption {
  font-size: 0.8rem;
  color: var(--ctf-text);
  text-align: center;
}
.video-wrap-group { margin-bottom: 4px; }
.video-caption {
  font-size: 0.85rem;
  color: var(--ctf-text);
  margin: 6px 0 0;
  text-align: center;
}

.artist-card img { width: 100%; border-radius: 10px; margin-bottom: 12px; aspect-ratio: 3/4; object-fit: cover; background: var(--ctf-bg-alt); }

.tbd-icon-wrap {
  position: relative;
  max-width: 220px;
  margin: 12px auto 0;
}
.tbd-icon-wrap img {
  width: 100%;
  display: block;
  border-radius: 8px;
  opacity: 0.55;
}
.tbd-icon-wrap .tbd-question {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  font-weight: 800;
  color: var(--ctf-purple);
  text-shadow: 0 0 10px rgba(255,255,255,0.95), 0 0 4px rgba(255,255,255,0.95);
  font-family: var(--font-heading);
}
