/* ============================================================
   БАРАБАНЫ И ЗВЕЗДОПАДЫ — Festival Site Styles
   Dark cosmic theme with warm amber/fire accents
   ============================================================ */

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

:root {
  --bg:        #07080f;
  --bg2:       #0d0f1e;
  --bg3:       #111328;
  --accent:    #f5a623;
  --accent2:   #e05c1a;
  --accent3:   #c0392b;
  --gold:      #ffd700;
  --text:      #e8e4d8;
  --muted:     #8a8399;
  --card-bg:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.08);
  --radius:    16px;
  --shadow:    0 8px 40px rgba(0,0,0,0.6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- STARS ---- */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- CONTAINERS ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ---- NAVBAR ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7,8,15,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.7); }
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; gap: 24px;
}
.nav-logo img { display: block; }
.nav-links {
  list-style: none; display: flex; gap: 28px; margin-left: auto;
}
.nav-links a {
  color: var(--text); text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.btn-nav {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000 !important;
  padding: 8px 18px; border-radius: 30px;
  font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.btn-nav:hover { transform: scale(1.05); box-shadow: 0 0 18px rgba(245,166,35,0.5); }
.burger {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.6rem; cursor: pointer;
  margin-left: auto;
}
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--bg2); padding: 16px 24px; gap: 16px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  color: var(--text); text-decoration: none;
  font-size: 1rem; font-weight: 500;
}
.nav-mobile.open { display: flex; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000; font-weight: 700; text-decoration: none;
  padding: 14px 32px; border-radius: 50px;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(245,166,35,0.55); }

.btn-secondary {
  display: inline-block;
  border: 2px solid rgba(245,166,35,0.5);
  color: var(--accent); font-weight: 600; text-decoration: none;
  padding: 12px 28px; border-radius: 50px;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: rgba(245,166,35,0.1); }

/* ---- HERO ---- */
#hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(245,166,35,0.12) 0%, transparent 65%),
              radial-gradient(ellipse at 80% 70%, rgba(224,92,26,0.1) 0%, transparent 50%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 3; }
.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent); font-size: 0.85rem; font-weight: 500;
  padding: 6px 16px; border-radius: 30px;
  margin-bottom: 24px; letter-spacing: 0.05em;
}
#hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 16px;
  text-shadow: 0 0 60px rgba(245,166,35,0.3);
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: 1.2rem; color: var(--muted);
  margin-bottom: 36px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-dates {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 16px; flex-wrap: wrap;
}
.date-box {
  font-family: 'Unbounded', sans-serif;
  font-size: 2.4rem; font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 4px;
}
.date-label {
  font-size: 1.1rem; color: var(--text);
  font-weight: 500; margin-left: 8px;
}
.hero-place {
  color: var(--muted); font-size: 1rem; margin-bottom: 40px;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.hero-drums {
  position: absolute; font-size: 18rem; opacity: 0.03;
  right: -5%; bottom: -5%; z-index: 2;
  animation: floatDrum 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatDrum {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-30px) rotate(5deg); }
}
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem; color: var(--accent); opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
  z-index: 3;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* ---- SECTION COMMON ---- */
section { padding: 100px 0; position: relative; z-index: 2; }
section:nth-child(even) { background: var(--bg2); }
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: var(--muted);
  font-size: 1rem; margin-bottom: 56px; letter-spacing: 0.08em;
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-bottom: 48px;
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s;
}
.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,166,35,0.35);
}
.about-icon { font-size: 2rem; margin-bottom: 14px; }
.about-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem; font-weight: 700;
  margin-bottom: 10px;
}
.about-card p { color: var(--muted); font-size: 0.92rem; }

.tagline {
  text-align: center; font-size: 1.3rem; font-weight: 600;
  color: var(--accent);
  padding: 24px;
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius);
  background: rgba(245,166,35,0.05);
}

/* ---- ARTISTS ---- */
#artists { background: var(--bg); }
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.artist-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.artist-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-color: rgba(245,166,35,0.3);
}
.artist-img-wrap {
  position: relative; overflow: hidden;
  height: 260px;
}
.artist-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.artist-card:hover .artist-img-wrap img { transform: scale(1.06); }
.artist-img-placeholder {
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  display: flex; align-items: center; justify-content: center;
}
.placeholder-icon { font-size: 4rem; }
.artist-country {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  color: var(--accent); font-size: 0.78rem; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid rgba(245,166,35,0.3);
}
.artist-body { padding: 20px 20px 24px; }
.artist-body h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 4px;
}
.artist-role { color: var(--accent); font-size: 0.82rem; font-weight: 500; margin-bottom: 10px; }
.artist-body p { color: var(--muted); font-size: 0.88rem; }
.artist-schedule { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sched-item {
  font-size: 0.75rem; font-weight: 600;
  padding: 3px 10px; border-radius: 20px;
}
.sched-item.red    { background: rgba(192,57,43,0.2); color: #e74c3c; border: 1px solid rgba(192,57,43,0.3); }
.sched-item.orange { background: rgba(224,92,26,0.2); color: #e67e22; border: 1px solid rgba(224,92,26,0.3); }
.sched-item.yellow { background: rgba(245,166,35,0.15); color: var(--accent); border: 1px solid rgba(245,166,35,0.3); }

/* ---- FEATURED CARD (Special Guest) ---- */
.featured-card {
  border: 1px solid rgba(245,166,35,0.5) !important;
  box-shadow: 0 0 30px rgba(245,166,35,0.15), inset 0 0 60px rgba(245,166,35,0.03);
  position: relative;
}
.featured-card:hover {
  border-color: rgba(245,166,35,0.8) !important;
  box-shadow: 0 16px 60px rgba(245,166,35,0.25) !important;
}
.featured-badge {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000; font-size: 0.72rem; font-weight: 800;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.artist-labels {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px;
}
.label-badge {
  font-size: 0.72rem; font-weight: 700;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  padding: 3px 10px; border-radius: 20px;
}
.artist-extra {
  margin-top: 8px !important;
  font-size: 0.85rem !important;
  font-style: italic;
  color: rgba(232,228,216,0.7) !important;
}
.artist-socials {
  display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap;
}
.social-link {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  padding: 5px 14px; border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--accent);
  transition: background 0.2s, transform 0.2s;
}
.social-link:hover { background: rgba(245,166,35,0.12); transform: scale(1.05); }

/* Featured row in schedule */
.featured-row {
  background: rgba(245,166,35,0.06);
  border-radius: 10px;
  padding: 14px 12px !important;
  margin: 4px -12px;
  border-bottom: none !important;
  border: 1px solid rgba(245,166,35,0.2) !important;
}
.featured-row .sched-time { color: var(--gold) !important; }
.featured-row .sched-desc em { color: var(--muted); font-size: 0.82rem; }


.also-note {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
}
.also-note p { color: var(--muted); font-size: 0.95rem; margin-bottom: 6px; }
.also-note p:last-child { margin-bottom: 0; }
.also-note strong { color: var(--text); }

/* ---- SCHEDULE ---- */
#schedule { background: var(--bg2); }
.schedule-tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 36px; flex-wrap: wrap;
}
.tab {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 10px 28px; border-radius: 30px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.tab:hover { border-color: rgba(245,166,35,0.4); color: var(--accent); }
.tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent; color: #000;
}
.schedule-content { max-width: 720px; margin: 0 auto; }
.schedule-content.hidden { display: none; }
.sched-row {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.sched-row:last-child { border-bottom: none; }
.sched-time {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent); min-width: 72px; padding-top: 2px;
}
.sched-desc { flex: 1; font-size: 0.95rem; }
.sched-desc strong { color: var(--text); }
.sched-row.night { opacity: 0.8; }
.sched-row.night .sched-time { color: #9b59b6; }

.papumba-block {
  margin-top: 48px; text-align: center;
  background: linear-gradient(135deg, rgba(192,57,43,0.1), rgba(224,92,26,0.1));
  border: 1px solid rgba(224,92,26,0.3);
  border-radius: var(--radius); padding: 32px;
}
.papumba-icon { font-size: 2.5rem; margin-bottom: 12px; }
.papumba-block h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem; margin-bottom: 8px; color: var(--accent2);
}
.papumba-block p { color: var(--muted); }

/* ---- LOCATION ---- */
#location { background: var(--bg); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.loc-item {
  display: flex; gap: 16px; margin-bottom: 24px;
}
.loc-icon { font-size: 1.4rem; flex-shrink: 0; }
.loc-item strong { display: block; color: var(--text); margin-bottom: 2px; }
.loc-item p, .loc-item a { color: var(--muted); font-size: 0.95rem; text-decoration: none; }
.loc-item a:hover { color: var(--accent); }
.loc-cta { margin-top: 32px; }

.map-placeholder {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
}
.map-pin { font-size: 3rem; margin-bottom: 16px; }
.map-placeholder p { font-size: 1.2rem; font-weight: 600; }
.map-sub { color: var(--muted) !important; font-size: 0.9rem !important; margin-top: 4px; }
.btn-map {
  display: inline-block; margin-top: 24px;
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--accent); text-decoration: none;
  padding: 10px 24px; border-radius: 30px;
  font-size: 0.9rem; transition: background 0.2s;
}
.btn-map:hover { background: rgba(245,166,35,0.1); }

/* ---- FOOTER ---- */
#footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
  position: relative; z-index: 2;
}
.footer-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  justify-content: space-between; margin-bottom: 32px;
}
.footer-text p { font-size: 0.9rem; color: var(--muted); margin-bottom: 4px; }
.footer-text a { color: var(--accent); text-decoration: none; }
.footer-text a:hover { text-decoration: underline; }
.footer-copy {
  border-top: 1px solid var(--border);
  text-align: center; padding: 16px 24px;
  font-size: 0.78rem; color: var(--muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .location-grid { grid-template-columns: 1fr; }
  .artists-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
