/* TicketFest — bold festival / ticketing template */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255, 0, 110, 0.18), transparent 50%),
    radial-gradient(circle at 88% 35%, rgba(251, 86, 7, 0.16), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(255, 190, 11, 0.12), transparent 55%);
  background-attachment: fixed;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.tf-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ── Confetti / sparkles background ─────────────────── */
.tf-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.tf-confetti-piece {
  position: absolute;
  top: -20px;
  background: var(--color-accent2);
  border-radius: 50%;
  opacity: 0.5;
  animation: tf-fall 9s linear infinite;
}
.tf-confetti-piece:nth-child(3n) { background: var(--color-primary); border-radius: 0; transform: rotate(20deg); }
.tf-confetti-piece:nth-child(3n+1) { background: var(--color-accent); }
@keyframes tf-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.7; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ── Header ───────────────────────────────────────── */
.tf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 0, 8, 0.75);
  border-bottom: 1px solid rgba(255, 0, 110, 0.18);
  transition: background 0.25s ease;
}
.tf-header.scrolled { background: rgba(10, 0, 8, 0.95); border-bottom-color: rgba(255, 0, 110, 0.35); }
.tf-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.tf-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.tf-logo img { height: 36px; width: auto; }
.tf-logo-mark { color: var(--color-primary); }
.tf-logo-text { font-family: var(--font-title); font-size: 1.4rem; letter-spacing: 2px; color: #fff; }
.tf-nav { display: flex; gap: 26px; }
.tf-nav a { color: #e6d4e0; font-size: 0.92rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; transition: color 0.2s; }
.tf-nav a:hover { color: var(--color-accent2); }

.tf-hamburger {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.tf-hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.25s; }

/* ── Buttons ──────────────────────────────────────── */
.tf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-title); font-size: 1rem; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
  border: 0; cursor: pointer; transition: transform 0.18s, box-shadow 0.2s, filter 0.2s;
}
.tf-btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 0, 110, 0.6);
}
.tf-btn-primary:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.1); }
.tf-btn-mega {
  background: var(--gradient);
  color: #fff;
  padding: 22px 48px;
  font-size: 1.5rem;
  letter-spacing: 3px;
  box-shadow: 0 24px 60px -16px rgba(255, 0, 110, 0.7), 0 0 0 0 rgba(255, 0, 110, 0.4);
  animation: tf-pulse 2.4s infinite;
}
.tf-btn-mega:hover { transform: scale(1.05); }
@keyframes tf-pulse {
  0%, 100% { box-shadow: 0 24px 60px -16px rgba(255, 0, 110, 0.7), 0 0 0 0 rgba(255, 0, 110, 0.5); }
  50% { box-shadow: 0 24px 60px -16px rgba(255, 0, 110, 0.7), 0 0 0 18px rgba(255, 0, 110, 0); }
}

/* ── Hero ─────────────────────────────────────────── */
.tf-hero {
  position: relative;
  padding: 80px 0 100px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.tf-hero-glow {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(255, 0, 110, 0.4) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}
.tf-stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.7; }
.tf-hero-inner { position: relative; z-index: 1; }
.tf-hero-tag {
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid var(--color-accent2);
  color: var(--color-accent2);
  border-radius: 999px;
  font-family: var(--font-title);
  letter-spacing: 4px;
  font-size: 0.92rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.tf-hero-title {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 9vw, 7.2rem);
  margin: 0 0 18px;
  line-height: 0.95;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 0, 110, 0.35);
}
.tf-hero-date {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 36px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.tf-countdown {
  display: inline-flex;
  align-items: stretch;
  gap: 8px;
  margin: 28px 0 40px;
  padding: 20px 30px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--color-primary);
  border-radius: 16px;
  box-shadow: 0 0 40px -10px rgba(255, 0, 110, 0.6);
}
.tf-count-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 78px;
}
.tf-count-cell strong {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--color-accent2);
  text-shadow: 0 0 16px rgba(255, 190, 11, 0.45);
  letter-spacing: 2px;
}
.tf-count-cell span { font-size: 0.7rem; letter-spacing: 2px; color: var(--color-text-soft); margin-top: 8px; text-transform: uppercase; }
.tf-count-sep {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.7;
  align-self: center;
}

.tf-hero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tf-hero-link { color: var(--color-text-soft); font-size: 1rem; transition: color 0.2s; }
.tf-hero-link:hover { color: var(--color-accent2); }

/* ── Sections ─────────────────────────────────────── */
.tf-section { padding: 100px 0; position: relative; }
.tf-section-alt {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 0, 110, 0.15);
  border-bottom: 1px solid rgba(255, 0, 110, 0.15);
}

.tf-section-head { text-align: center; margin-bottom: 70px; }
.tf-eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: var(--color-accent2);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.tf-section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  margin: 0;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

/* ── Lineup grid ──────────────────────────────────── */
.tf-lineup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tf-artist {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.tf-artist:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  border-color: var(--color-primary);
  box-shadow: 0 24px 50px -20px rgba(255, 0, 110, 0.5);
}
.tf-artist-img {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf-stage-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gradient);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 2px;
}
.tf-artist-initial {
  font-family: var(--font-title);
  font-size: 6rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 4px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.tf-artist h3 {
  font-family: var(--font-title);
  font-size: 1.7rem;
  letter-spacing: 2px;
  margin: 18px 22px 8px;
  text-transform: uppercase;
  color: #fff;
}
.tf-artist p { margin: 0 22px 18px; color: var(--color-text-soft); font-size: 0.95rem; }
.tf-fav {
  margin: 0 22px 22px;
  padding: 8px 14px;
  background: transparent;
  color: var(--color-accent2);
  border: 1px dashed rgba(255, 190, 11, 0.5);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  transition: all 0.2s;
}
.tf-fav:hover { background: rgba(255, 190, 11, 0.1); border-style: solid; }

/* ── Program (activities) ─────────────────────────── */
.tf-program {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tf-prog-card {
  padding: 30px 24px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  transition: transform 0.25s, border-color 0.25s;
}
.tf-prog-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.tf-prog-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient);
  border-radius: 14px;
  color: #fff;
  margin-bottom: 18px;
}
.tf-prog-icon svg { width: 26px; height: 26px; }
.tf-prog-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin: 0 0 10px;
  color: #fff;
  text-transform: uppercase;
}
.tf-prog-card p { color: var(--color-text-soft); margin: 0; font-size: 0.95rem; }

/* ── Tickets ──────────────────────────────────────── */
.tf-tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.tf-ticket {
  position: relative;
  background: #fff;
  color: #1a001a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 50px -16px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tf-ticket:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 0 30px 70px -20px rgba(255, 0, 110, 0.6);
}
.tf-ticket-feat {
  background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
  color: #fff;
  transform: scale(1.06);
  z-index: 1;
}
.tf-ticket-feat:hover { transform: scale(1.08) translateY(-8px); }
.tf-ticket-top {
  padding: 28px 26px 22px;
  text-align: center;
}
.tf-ticket-type {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(0,0,0,0.08);
  color: inherit;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.tf-ticket-feat .tf-ticket-type { background: rgba(255,255,255,0.2); color: #fff; }
.tf-ticket-name {
  display: block;
  font-family: var(--font-title);
  font-size: 2.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Perforation effect */
.tf-ticket-divider {
  position: relative;
  height: 28px;
}
.tf-ticket-divider::before,
.tf-ticket-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px; height: 28px;
  background: var(--color-background);
  border-radius: 50%;
  transform: translateY(-50%);
}
.tf-ticket-divider::before { left: -14px; }
.tf-ticket-divider::after { right: -14px; }
.tf-ticket-divider {
  background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.5px);
  background-size: 14px 100%;
  background-position: center;
  background-repeat: repeat-x;
  opacity: 0.4;
}
.tf-ticket-feat .tf-ticket-divider::before,
.tf-ticket-feat .tf-ticket-divider::after { background: var(--color-background); }

.tf-ticket-body {
  padding: 22px 26px 30px;
  text-align: center;
}
.tf-ticket-price {
  font-family: var(--font-title);
  font-size: 2.8rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
  color: inherit;
}
.tf-ticket-feat .tf-ticket-price { color: #fff; }
.tf-ticket-includes {
  font-size: 0.92rem;
  color: rgba(0,0,0,0.65);
  margin: 0 0 22px;
}
.tf-ticket-feat .tf-ticket-includes { color: rgba(255,255,255,0.92); }
.tf-ticket-feat .tf-btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.tf-ticket-feat .tf-btn-primary:hover { background: #fff8f0; filter: none; }

/* ── Gallery (masonry) ────────────────────────────── */
.tf-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.tf-gal-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: block;
}
.tf-gal-tall { grid-row: span 2; }
.tf-gal-item img,
.tf-gal-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.tf-gal-item:hover img,
.tf-gal-item:hover .tf-gal-placeholder { transform: scale(1.08); }
.tf-gal-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}
.tf-gal-item:hover .tf-gal-cap { opacity: 1; transform: translateY(0); }

/* ── Testimonials ─────────────────────────────────── */
.tf-testi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tf-testi-card {
  padding: 28px 26px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}
.tf-testi-card:hover { transform: translateY(-4px); border-color: var(--color-accent2); }
.tf-testi-stars { color: var(--color-accent2); font-size: 1.1rem; letter-spacing: 4px; margin-bottom: 12px; }
.tf-testi-card p { color: #fff; line-height: 1.55; margin: 0 0 18px; font-style: italic; }
.tf-testi-author strong { display: block; color: #fff; font-weight: 700; }
.tf-testi-author span { display: block; color: var(--color-text-soft); font-size: 0.85rem; margin-top: 2px; }

/* ── FAQ ──────────────────────────────────────────── */
.tf-faq-wrap { max-width: 820px; }
.tf-faq-list { display: flex; flex-direction: column; gap: 14px; }
.tf-faq {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.tf-faq[open] { border-color: var(--color-primary); }
.tf-faq summary {
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 1.5px;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.tf-faq summary::-webkit-details-marker { display: none; }
.tf-faq summary::after {
  content: "+";
  font-size: 1.7rem;
  color: var(--color-primary);
  transition: transform 0.25s;
}
.tf-faq[open] summary::after { content: "−"; transform: rotate(180deg); }
.tf-faq p { margin: 0 26px 22px; color: var(--color-text-soft); line-height: 1.55; }

/* ── Newsletter ───────────────────────────────────── */
.tf-newsletter {
  padding: 80px 0;
  background: var(--gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tf-newsletter::before, .tf-newsletter::after {
  content: ""; position: absolute; width: 200px; height: 200px;
  border: 4px solid rgba(255,255,255,0.18);
  border-radius: 50%; pointer-events: none;
}
.tf-newsletter::before { top: -80px; left: -60px; }
.tf-newsletter::after { bottom: -100px; right: -80px; }
.tf-newsletter-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.tf-newsletter .tf-eyebrow { color: rgba(255,255,255,0.85); }
.tf-newsletter h2 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  margin: 0;
  letter-spacing: 3px;
}
.tf-newsletter p { color: rgba(255,255,255,0.92); max-width: 580px; margin: 0; }
.tf-news-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 540px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.tf-news-form input {
  flex: 1 1 240px;
  padding: 16px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  background: rgba(0,0,0,0.25);
  color: #fff;
  outline: 2px solid rgba(255,255,255,0.4);
}
.tf-news-form input::placeholder { color: rgba(255,255,255,0.7); }
.tf-news-form .tf-btn-primary {
  background: #0a0008;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.6);
}

/* ── Contact ──────────────────────────────────────── */
.tf-contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
}
.tf-ci-list {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tf-ci { display: flex; gap: 14px; align-items: center; color: var(--color-text-soft); }
.tf-ci strong { color: var(--color-primary); font-size: 1.4rem; }
.tf-ci a { color: #fff; }
.tf-ci a:hover { color: var(--color-accent2); }
.tf-social { display: flex; gap: 10px; margin-top: 10px; }
.tf-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.2s;
}
.tf-social a:hover { transform: scale(1.1) rotate(8deg); }
.tf-maps-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  min-height: 380px;
  position: relative;
  background: var(--color-card-bg);
}
.tf-maps-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  height: 380px;
  color: #fff;
  background: var(--gradient);
  font-family: var(--font-title);
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.tf-maps-pin { font-size: 3rem; }

/* ── Footer ───────────────────────────────────────── */
.tf-footer {
  padding: 36px 0;
  background: #050003;
  border-top: 1px solid rgba(255, 0, 110, 0.18);
}
.tf-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.tf-footer-brand { display: flex; align-items: center; gap: 10px; }
.tf-footer-brand img { height: 32px; width: auto; }
.tf-footer-nav { display: flex; gap: 24px; }
.tf-footer-nav a { color: var(--color-text-soft); font-size: 0.92rem; letter-spacing: 1.5px; text-transform: uppercase; }
.tf-footer-nav a:hover { color: var(--color-accent2); }
.tf-footer-copy { color: var(--color-text-soft); font-size: 0.88rem; }

/* ── WhatsApp ─────────────────────────────────────── */
.tf-whatsapp {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5);
  z-index: 60;
  transition: transform 0.2s;
}
.tf-whatsapp:hover { transform: scale(1.1); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .tf-lineup, .tf-program, .tf-tickets, .tf-testi { grid-template-columns: repeat(2, 1fr); }
  .tf-gallery { grid-template-columns: repeat(3, 1fr); }
  .tf-contact { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .tf-hamburger { display: block; }
  .tf-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 0, 8, 0.97);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-card-border);
    display: none;
  }
  .tf-nav.open { display: flex; }
  .tf-header .tf-btn { display: none; }
  .tf-hero { padding: 60px 0 80px; }
  .tf-section { padding: 60px 0; }
  .tf-section-head { margin-bottom: 50px; }
  .tf-lineup, .tf-program, .tf-tickets, .tf-testi { grid-template-columns: 1fr; }
  .tf-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .tf-countdown { padding: 14px 18px; gap: 4px; }
  .tf-count-cell { min-width: 56px; }
  .tf-ticket-feat { transform: none; }
  .tf-ticket-feat:hover { transform: translateY(-8px); }
  .tf-btn-mega { padding: 18px 32px; font-size: 1.2rem; }
}
