/* ===========================
   THEME VARIABLES
=========================== */
:root {
  --page-bg:  #FFD600;
  --page-fg:  #111;
  --page-sub: rgba(0, 0, 0, 0.45);
}

body.theme-spb {
  --page-bg:  #7E00FF;
  --page-fg:  #fff;
  --page-sub: rgba(255, 255, 255, 0.5);
}

body.theme-nn {
  --page-bg:  #FF0493;
  --page-fg:  #fff;
  --page-sub: rgba(255, 255, 255, 0.5);
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button, input, select, textarea {
  font-family: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--page-bg);
  font-family: 'TT Commons', sans-serif;
  color: var(--page-fg);
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

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

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--page-bg);
  transition: background-color 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 48px 60px;
  gap: 0;
}

/* ===========================
   TOP BAR (nav + city tabs)
=========================== */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 36px 48px 0;
  z-index: 20;
}

.top-bar-spacer {
  /* mirrors nav width to keep tabs visually centered */
}

/* ===========================
   LEFT NAVIGATION
=========================== */
.left-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.left-nav a {
  font-family: 'TT Commons', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: inherit;
  line-height: 1.5;
  transition: opacity 0.2s;
}

.left-nav a:hover {
  opacity: 0.6;
}

/* ===========================
   CITY TABS
=========================== */
.city-tabs {
  display: flex;
  gap: 8px;
  background: none;
  padding: 0;
}

.city-tab {
  border: 2px solid transparent;
  cursor: pointer;
  font-family: 'TT Commons', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 7px 20px;
  border-radius: 50px;
  transition: opacity 0.2s, background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

/* Each city button keeps its own fixed colour */
.city-tab[data-city="moscow"] { background: #FFD600; color: #111; }
.city-tab[data-city="spb"]    { background: #7E00FF; color: #fff; }
.city-tab[data-city="nn"]     { background: #FF0493; color: #fff; }

.city-tab:hover { opacity: 0.8; }

/* Active: ghost with page-contrast border */
.city-tab.active {
  background: transparent !important;
  border-color: var(--page-fg);
  color: var(--page-fg) !important;
  opacity: 1;
}

/* ===========================
   LOGO SVG (central mark)
=========================== */
.logo-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Extra room so animated pills don't get clipped by parent */
  padding: 32px;
}

.logo-svg {
  width: min(46vw, 380px);
  height: auto;
  display: block;
  overflow: visible; /* pills may move outside viewBox during animation */
}

/* ===========================
   HERO CONTENT (below logo)
=========================== */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-top: 4px;
}

.brand-logo {
  width: min(44vw, 400px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.event-dates {
  font-family: 'TT Commons', sans-serif;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 600;
  color: var(--page-fg);
  letter-spacing: 0.04em;
}

.event-venue {
  font-family: 'TT Commons', sans-serif;
  font-size: clamp(12px, 1.4vw, 18px);
  font-weight: 400;
  color: var(--page-fg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===========================
   ARTISTS SECTION
=========================== */
.artists-section {
  background-color: var(--page-bg);
  transition: background-color 0.35s ease;
  padding: 40px 48px 80px;
}

.city-artists {
  display: none;
}

.city-artists.active {
  display: block;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.artist-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.artist-card:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* ===========================
   COMING SOON
=========================== */
.coming-soon {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-inner {
  text-align: center;
}

.coming-soon-title {
  font-family: 'TT Commons', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 4vw, 48px);
  color: inherit;
  margin-bottom: 16px;
}

.coming-soon-sub {
  font-size: 18px;
  font-weight: 600;
  color: var(--page-sub);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===========================
   INFO SECTIONS (filler)
=========================== */
.info-section {
  background-color: var(--page-bg);
  transition: background-color 0.35s ease;
  padding: 80px 48px;
  border-top: 2px solid rgba(0, 0, 0, 0.10);
}

.info-section.alt {
  background-color: #111;
  color: #FFD600;
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
}

.info-content h2 {
  font-family: 'TT Commons', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 36px);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.info-content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.info-content a {
  border-bottom: 2px solid currentColor;
  transition: opacity 0.2s;
}

.info-content a:hover {
  opacity: 0.7;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

details summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.03em;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  padding: 0 24px 18px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.85;
}

/* ===========================
   ARTIST OVERLAY
=========================== */
.artist-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--page-bg);
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background-color 0.35s ease;
}

.artist-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Background S logo container — centered-right, behind everything */
.artist-bg-logo {
  position: absolute;
  width: min(52vw, 480px);
  top: 50%;
  left: 56%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.artist-bg-logo svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Back button */
.artist-back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'TT Commons', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: inherit;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.artist-back-btn:hover { opacity: 0.6; }

/* Two-column artist layout */
.artist-body {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 48px 60px;
  gap: 48px;
}

.artist-left {
  flex: 1;
  min-width: 0;
}

.artist-right {
  width: min(38vw, 400px);
  flex-shrink: 0;
}

.artist-card-lg {
  width: 100%;
  border-radius: 24px;
  display: block;
}

/* Artist text */
.artist-date {
  font-family: 'TT Commons', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  color: inherit;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.artist-name {
  font-family: 'TT Commons', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 8vw, 96px);
  color: inherit;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.artist-venue {
  font-family: 'TT Commons', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: inherit;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.artist-desc p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: inherit;
  margin-bottom: 12px;
  opacity: 0.85;
}
