:root {
  --brand: #D32F2F;
  --secondary: #FFA500;
  --accent: #1A1A1A;
  --bg: #0A0A0A;
  --fg: #FFFFFF;
  --display-font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --body-font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--fg);
}

.font-display {
  font-family: var(--display-font);
  letter-spacing: -0.03em;
}

#hero-canvas { pointer-events: none; }

::selection {
  background: var(--brand);
  color: var(--fg);
}

.bg-bg { background-color: var(--bg); }
.text-fg { color: var(--fg); }
.text-fg\/40 { color: color-mix(in srgb, var(--fg) 40%, transparent); }
.text-fg\/50 { color: color-mix(in srgb, var(--fg) 50%, transparent); }
.text-fg\/70 { color: color-mix(in srgb, var(--fg) 70%, transparent); }
.text-fg\/75 { color: color-mix(in srgb, var(--fg) 75%, transparent); }

/* Bordas/cards adaptam ao tema */
body[data-theme="light"] [class*="border-white/"] { border-color: rgba(0,0,0,0.08) !important; }
body[data-theme="light"] [class*="bg-white/"] { background-color: rgba(0,0,0,0.025) !important; }

/* ─── Animações base ─── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes flame-flicker {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.85; transform: scaleY(1.04); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--brand) 40%, transparent); }
  50% { box-shadow: 0 0 40px color-mix(in srgb, var(--brand) 70%, transparent), 0 0 80px color-mix(in srgb, var(--secondary) 30%, transparent); }
}

@keyframes ember-float {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-60px) scale(0.3); opacity: 0; }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes sound-ring {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

[data-bind] {
  animation: fade-up 0.8s ease-out backwards;
}

.service-card { animation: fade-up 0.8s ease-out backwards; }
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* ─── Fire gradient text ─── */
.fire-text {
  background: linear-gradient(135deg, #fff 0%, #FFA500 50%, #D32F2F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-gradient {
  background: linear-gradient(135deg, #D32F2F 0%, #FFA500 100%);
}

/* ─── Hero eyebrow badge ─── */
.rock-badge {
  background: linear-gradient(90deg, rgba(211,47,47,0.15), rgba(255,165,0,0.1));
  border: 1px solid rgba(211,47,47,0.4);
  color: #FFA500;
  letter-spacing: 0.15em;
}

/* ─── Divider linha de fogo ─── */
.fire-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #D32F2F 30%, #FFA500 70%, transparent);
  border: none;
  margin: 0;
}

/* ─── Show card ─── */
.show-card {
  position: relative;
  background: linear-gradient(135deg, rgba(211,47,47,0.08), rgba(255,165,0,0.05));
  border: 1px solid rgba(211,47,47,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
  animation: fade-up 0.7s ease-out backwards;
}

.show-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #D32F2F, #FFA500);
  border-radius: 16px 0 0 16px;
}

.show-card:hover {
  border-color: rgba(211,47,47,0.5);
  background: linear-gradient(135deg, rgba(211,47,47,0.14), rgba(255,165,0,0.09));
  transform: translateX(4px);
}

.show-card:nth-child(1) { animation-delay: 0.1s; }
.show-card:nth-child(2) { animation-delay: 0.2s; }
.show-card:nth-child(3) { animation-delay: 0.3s; }
.show-card:nth-child(4) { animation-delay: 0.4s; }
.show-card:nth-child(5) { animation-delay: 0.5s; }

.show-date-badge {
  background: linear-gradient(135deg, #D32F2F, #c62828);
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 56px;
  flex-shrink: 0;
}

/* ─── Gallery ─── */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(211,47,47,0.2);
  transition: all 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover {
  border-color: rgba(255,165,0,0.5);
  box-shadow: 0 0 30px rgba(211,47,47,0.3);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── CTA ingresso ─── */
.ingresso-cta {
  background: linear-gradient(135deg, rgba(211,47,47,0.12), rgba(255,165,0,0.08));
  border: 1px solid rgba(211,47,47,0.3);
  border-radius: 24px;
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ─── Section numbers ─── */
.section-number {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(211,47,47,0.12), rgba(255,165,0,0.06));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
}

/* ─── Band stat ─── */
.band-stat {
  text-align: center;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s;
}

.band-stat:hover {
  background: rgba(211,47,47,0.08);
  border-color: rgba(211,47,47,0.3);
}

.band-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FFA500, #D32F2F);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

/* ─── Noise texture overlay ─── */
.noise-overlay {
  position: relative;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.4;
}

/* ─── Botão primário ─── */
.btn-fire {
  background: linear-gradient(135deg, #D32F2F 0%, #b71c1c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.btn-fire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FFA500 0%, #D32F2F 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-fire:hover::before { opacity: 1; }
.btn-fire:hover { transform: scale(1.05); box-shadow: 0 8px 30px rgba(211,47,47,0.5); }

.btn-fire span { position: relative; z-index: 1; }

/* ─── Lightbox ─── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

#lightbox.active { display: flex; }

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(211,47,47,0.3);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0A0A0A; }
::-webkit-scrollbar-thumb { background: #D32F2F; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #FFA500; }
