/* ============================================================
   index.css — page-specific styles for index.html
   ============================================================ */

/* index page needs scroll-padding for anchored nav */
html { scroll-padding-top: calc(var(--ticker-h) + 72px); }

/* cursor:none on body for custom cursor */
body { cursor: none; }

/* ─── CURSOR ───────────────────────────────────────── */
#cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--pink);
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s;
  mix-blend-mode: multiply;
}
#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 2px solid rgba(238,80,238,.3);
  border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .16s ease, width .3s, height .3s, border-color .3s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 22px; height: 22px; }
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { border-color: var(--pink); width: 56px; height: 56px; }

/* ─── INDEX NAV (transparent, becomes solid on scroll) ── */
nav {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background .35s, box-shadow .35s, padding .35s;
}
nav.scrolled {
  background: rgba(250,250,245,.95);
  box-shadow: 0 2px 20px rgba(91,43,204,.08);
  backdrop-filter: blur(14px);
  padding: 11px 48px;
}
.nav-cta {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 800;
  color: #fff; background: var(--purple);
  border: none; border-radius: 100px;
  padding: 10px 24px; cursor: none; text-decoration: none;
  box-shadow: 0 4px 16px rgba(91,43,204,.3);
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--pink); transform: translateY(-2px); }

/* ─── TICKER (index has hover pause) ─────────────────── */
.ticker-track:hover { animation-play-state: paused; }

/* ─── HERO ───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #FAFAF5;
  padding-top: calc(var(--ticker-h) + 62px);
}

.blob { position: absolute; pointer-events: none; mix-blend-mode: multiply; }

.blob-1 {
  width: 780px; height: 680px;
  background: radial-gradient(ellipse at 40% 50%, #9fe793 0%, rgba(159,231,147,.5) 45%, transparent 75%);
  top: -120px; left: -160px;
  filter: blur(64px);
  animation: cloudDrift1 18s ease-in-out infinite;
}
.blob-2 {
  width: 620px; height: 580px;
  background: radial-gradient(ellipse at 55% 45%, #a2e048 0%, rgba(162,224,72,.45) 50%, transparent 78%);
  top: 5%; right: -180px;
  filter: blur(72px);
  animation: cloudDrift2 22s ease-in-out infinite;
}
.blob-3 {
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at 50% 60%, #7fd46a 0%, rgba(127,212,106,.4) 48%, transparent 75%);
  bottom: -100px; left: 25%;
  filter: blur(80px);
  animation: cloudDrift3 26s ease-in-out infinite;
}
.blob-4 {
  width: 460px; height: 460px;
  background: radial-gradient(ellipse at 50% 50%, rgba(159,231,147,.8) 0%, transparent 70%);
  top: 30%; left: 40%;
  filter: blur(90px);
  animation: cloudDrift4 14s ease-in-out infinite;
}
.blob-5 {
  width: 500px; height: 400px;
  background: radial-gradient(ellipse at 40% 50%, rgba(200,240,100,.6) 0%, transparent 72%);
  bottom: 0; right: 5%;
  filter: blur(70px);
  animation: cloudDrift2 20s ease-in-out infinite reverse;
}

@keyframes cloudDrift1 {
  0%   { transform: translate(0,0) scale(1); }
  25%  { transform: translate(80px,-60px) scale(1.08); }
  50%  { transform: translate(40px,80px) scale(.94); }
  75%  { transform: translate(-50px,40px) scale(1.05); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes cloudDrift2 {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  30%  { transform: translate(-70px,50px) scale(1.06) rotate(8deg); }
  60%  { transform: translate(50px,-70px) scale(.92) rotate(-5deg); }
  100% { transform: translate(0,0) scale(1) rotate(0deg); }
}
@keyframes cloudDrift3 {
  0%   { transform: translate(0,0) scale(1); }
  40%  { transform: translate(90px,-40px) scale(1.1); }
  70%  { transform: translate(-40px,60px) scale(.96); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes cloudDrift4 {
  0%,100% { transform: translate(0,0) scale(1); opacity: .7; }
  50%      { transform: translate(-60px,-80px) scale(1.15); opacity: 1; }
}

/* Dot grid overlay */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(91,43,204,.1) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at center, black, transparent);
  z-index: 0;
}

.hero-meta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
  padding: 14px 48px 20px;
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
}
.hero-meta-item {
  font-family: var(--font-mono);
  font-size: 12px; color: var(--text-dim);
  letter-spacing: .1em; text-transform: uppercase;
}
.hero-meta-item.hl {
  color: var(--purple); font-weight: 500;
  background: rgba(91,43,204,.07);
  padding: 4px 14px; border-radius: 100px;
}
.hero-meta-sep { color: var(--border); font-size: 16px; }

.hero-center {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 0 48px;
  position: relative; z-index: 2;
  text-align: center;
  overflow: hidden;
}

.hero-kv {
  width: auto;
  max-height: calc(100vh - var(--ticker-h) - 62px - 64px);
  margin-bottom: -1px;
  pointer-events: none;
  display: flex; align-items: flex-end;
}
.hero-kv img {
  height: 100%;
  max-height: calc(100vh - var(--ticker-h) - 62px - 64px);
  width: auto;
  max-width: 80vw;
  object-fit: contain;
  object-position: bottom;
  filter: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.2vw, 14px);
  color: var(--text-muted); letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 8.5vw, 130px);
  font-weight: 700;
  letter-spacing: -.02em; line-height: 1;
  white-space: nowrap;
  position: relative; z-index: 2;
  display: inline-block;
}
.hero-name-inner {
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-name-stripe {
  display: block;
  height: 6px; border-radius: 3px;
  background: var(--lime);
  margin-top: 6px;
  animation: stripeGrow .8s ease .3s both;
}
@keyframes stripeGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px;
  position: relative; z-index: 2;
  gap: 20px; flex-wrap: wrap;
  margin-top: 32px;
}
.hero-tagline-txt {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim);
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 800;
  color: #fff; background: var(--purple);
  border: none; border-radius: 100px;
  padding: 14px 32px; cursor: none; text-decoration: none;
  box-shadow: 0 4px 20px rgba(91,43,204,.28);
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--pink); transform: translateY(-2px); }
.btn-secondary {
  font-family: var(--font-body);
  font-size: 15px; font-weight: 800;
  color: var(--purple);
  background: rgba(91,43,204,.08);
  border: none; border-radius: 100px;
  padding: 14px 32px; cursor: none; text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn-secondary:hover { background: rgba(91,43,204,.15); transform: translateY(-2px); }

/* ─── SECTION BASE ───────────────────────────────────── */
section { padding: 96px 64px; position: relative; }
.section-label {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--purple);
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--lime);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 80px);
  font-weight: 700;
  line-height: .92; letter-spacing: -.02em;
  margin-bottom: 56px; color: var(--text);
  white-space: nowrap;
}
.section-title .hl-pink   { color: var(--pink); }
.section-title .hl-purple { color: var(--purple); }
.section-title .hl-lime   { color: var(--lime-dark); }
.section-title .outline   { color: transparent; -webkit-text-stroke: 2px var(--border); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.rev-d1 { transition-delay: .1s; }
.rev-d2 { transition-delay: .2s; }
.rev-d3 { transition-delay: .3s; }

/* ─── COUNTDOWN ──────────────────────────────────────── */
#countdown { background: var(--purple); padding: 80px 64px; overflow: hidden; }
#countdown .section-label { color: rgba(255,255,255,.5); }
#countdown .section-label::before { background: var(--lime); }
.countdown-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.countdown-event-tag { font-family: var(--font-display); font-size: clamp(28px,4vw,52px); font-weight: 700; color: #fff; letter-spacing: -.01em; }
.countdown-event-date { font-family: var(--font-mono); font-size: 13px; color: var(--lime); letter-spacing: .1em; }
.countdown-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,.12); }
.countdown-cell { padding: 40px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.countdown-cell:last-child { border-right: none; }
.countdown-num { font-family: var(--font-display); font-size: clamp(60px,8vw,100px); font-weight: 700; color: var(--lime); line-height: 1; display: block; letter-spacing: -.02em; }
.countdown-unit { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .2em; text-transform: uppercase; display: block; margin-top: 6px; }
.countdown-cell:hover .countdown-num { color: var(--yellow); }

/* ─── LINEUP ─────────────────────────────────────────── */
#lineup { background: var(--bg); }
.lineup-meta { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; }
.lineup-count-badge { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .08em; background: var(--surface2); padding: 6px 14px; border-radius: 100px; }
.lineup-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.lineup-col-head { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .2em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--lime); margin-bottom: 0; }
.lineup-table { width: 100%; border-collapse: collapse; }
.lineup-table tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.lineup-table tr:hover { background: rgba(162,224,72,.08); }
.lineup-table td { padding: 14px 0; vertical-align: middle; }
.lt-num { width: 44px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.lt-name { font-family: var(--font-display); font-size: clamp(16px,2vw,26px); font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.lt-name.headliner { color: var(--purple); font-size: clamp(20px,2.6vw,34px); }
.lt-stage-pill { display: inline-block; margin-left: 10px; font-family: var(--font-mono); font-size: 9px; font-style: normal; padding: 2px 8px; border-radius: 100px; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.sp-twierdza { background: rgba(238,80,238,.12); color: var(--pink); }
.sp-raj      { background: rgba(252,200,95,.18); color: #B08020; }
.sp-szaniec  { background: rgba(91,43,204,.1); color: var(--purple); }
.sp-bastion  { background: rgba(127,212,106,.15); color: #3A8020; }
.lt-arrow { width: 32px; text-align: right; color: var(--border); font-size: 13px; transition: color .2s, transform .2s; }
.lineup-table tr:hover .lt-arrow { color: var(--purple); transform: translateX(3px); }

/* ─── AFTERMOVIE ─────────────────────────────────────── */
#aftermovie { position: relative; padding: 0; height: 68vh; min-height: 480px; overflow: hidden; }
.aftermovie-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aftermovie-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,22,40,.6) 0%, rgba(26,22,40,.25) 40%, rgba(26,22,40,.75) 100%); }
.aftermovie-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; gap: 20px; }
.aftermovie-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--lime); letter-spacing: .25em; text-transform: uppercase; }
.aftermovie-title { font-family: var(--font-display); font-size: clamp(48px,9vw,130px); font-weight: 700; color: #fff; text-align: center; line-height: .88; letter-spacing: -.02em; }
.aftermovie-play { width: 72px; height: 72px; background: var(--lime); border: none; border-radius: 50%; cursor: none; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.aftermovie-play:hover { background: #fff; transform: scale(1.08); }
.aftermovie-play svg { width: 26px; height: 26px; fill: var(--text); margin-left: 3px; }
.aftermovie-controls { position: absolute; bottom: 20px; right: 32px; z-index: 3; display: flex; gap: 8px; }
.aftermovie-btn { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.6); background: rgba(26,22,40,.5); border: 1px solid rgba(255,255,255,.15); padding: 8px 16px; border-radius: 100px; cursor: none; transition: color .2s, border-color .2s; }
.aftermovie-btn:hover { color: var(--lime); border-color: var(--lime); }

/* ─── SCHEDULE ───────────────────────────────────────── */
#schedule { background: var(--surface); }
.day-tabs { display: flex; gap: 8px; margin-bottom: 40px; }
.day-btn { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--text-dim); background: transparent; border: 2px solid var(--border); border-radius: 100px; padding: 10px 28px; cursor: none; transition: background .2s, color .2s, border-color .2s; }
.day-btn.active { background: var(--purple); color: #fff; border-color: var(--purple); }
.day-btn:not(.active):hover { border-color: var(--lime-dark); color: var(--text); }
.stages { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stage { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.stage-header { padding: 14px 18px; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid transparent; }
.stage-twierdza .stage-header { border-bottom-color: var(--pink); background: rgba(238,80,238,.05); }
.stage-raj      .stage-header { border-bottom-color: var(--yellow); background: rgba(252,200,95,.06); }
.stage-szaniec  .stage-header { border-bottom-color: var(--purple); background: rgba(91,43,204,.06); }
.stage-bastion  .stage-header { border-bottom-color: var(--green); background: rgba(127,212,106,.06); }
.stage-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.stage-twierdza .stage-dot { background: var(--pink); }
.stage-raj      .stage-dot { background: var(--yellow); }
.stage-szaniec  .stage-dot { background: var(--purple); }
.stage-bastion  .stage-dot { background: var(--green); }
.stage-name { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--text); }
.slot { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--border); transition: background .15s; }
.slot:last-of-type { border-bottom: none; }
.slot:hover { background: rgba(162,224,72,.08); }
.slot.headliner { background: rgba(91,43,204,.05); }
.slot-time { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); min-width: 38px; }
.slot-artist { font-family: var(--font-body); font-size: 13px; color: var(--text); font-weight: 600; }
.slot.headliner .slot-artist { color: var(--purple); }
.stage-end { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; text-align: right; padding: 8px 18px; }

/* ─── TICKETS ────────────────────────────────────────── */
#tickets { background: var(--bg); }
.tickets-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.ticket-pula { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .1em; background: var(--surface2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 5px; vertical-align: middle; margin-left: 4px; color: var(--text-muted); }
.ticket-fee { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .04em; margin-top: -18px; margin-bottom: 20px; }
.ticket-card {
  position: relative;
  border: 2px solid var(--border); border-radius: 24px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.ticket-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(91,43,204,.12); }
.ticket-featured-badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 10px;
  color: #fff; background: var(--purple);
  border-radius: 100px; padding: 4px 12px;
  letter-spacing: .1em; text-transform: uppercase;
  z-index: 2;
}
.ticket-stripe { height: 6px; width: 100%; }
.ticket-card.basic    .ticket-stripe { background: var(--lime); }
.ticket-card.featured .ticket-stripe { background: var(--purple); }
.ticket-card.vip      .ticket-stripe { background: linear-gradient(90deg, var(--pink), var(--purple)); }
.ticket-inner { padding: 32px; }
.ticket-tier { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.ticket-price { font-family: var(--font-display); font-size: clamp(52px,6vw,76px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.ticket-card.basic    .ticket-price { color: var(--lime-dark); }
.ticket-card.featured .ticket-price { color: var(--purple); }
.ticket-card.vip      .ticket-price { color: var(--pink); }
.ticket-price sup { font-family: var(--font-body); font-size: 16px; font-style: normal; color: var(--text-muted); font-weight: 600; }
.ticket-currency { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .08em; margin-bottom: 24px; margin-top: 4px; }
.ticket-tear { height: 1px; margin: 0 -32px 24px; background: repeating-linear-gradient(90deg,var(--border) 0,var(--border) 6px,transparent 6px,transparent 12px); position: relative; }
.ticket-tear::before,.ticket-tear::after { content:''; position: absolute; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; background: var(--bg); border: 2px solid var(--border); border-radius: 50%; }
.ticket-tear::before { left: -9px; }
.ticket-tear::after  { right: -9px; }
.ticket-features { list-style: none; margin-bottom: 28px; }
.ticket-features li { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.ticket-features li.ok { color: var(--text); }
.ticket-features li::before { content: '–'; color: var(--text-muted); flex-shrink: 0; }
.ticket-features li.ok::before { content: '✓'; color: var(--lime-dark); }
.btn-ticket { display: block; text-align: center; text-decoration: none; font-family: var(--font-body); font-size: 14px; font-weight: 800; color: #fff; border: none; border-radius: 100px; padding: 14px 24px; cursor: none; transition: background .2s; }
.ticket-card.basic    .btn-ticket { background: var(--lime-dark); }
.ticket-card.basic    .btn-ticket:hover { background: var(--text); }
.ticket-card.featured .btn-ticket { background: var(--purple); }
.ticket-card.featured .btn-ticket:hover { background: var(--pink); }
.ticket-card.vip      .btn-ticket { background: linear-gradient(135deg, var(--pink), var(--purple)); }
.ticket-card.vip      .btn-ticket:hover { background: var(--purple); }

/* ─── ABOUT ──────────────────────────────────────────── */
#about { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.about-content { padding: 96px 64px; }
.about-logo-img { width: min(380px, 100%); height: auto; display: block; margin: 0 auto 40px; }
.about-body { color: var(--text-dim); line-height: 1.8; margin-bottom: 48px; }
.about-body p { margin-bottom: 16px; }
.about-body strong { color: var(--text); font-weight: 800; }
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat { background: var(--surface2); border-radius: 18px; padding: 22px 20px; text-align: center; border: 1px solid var(--border); }
.stat-value { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--purple); line-height: 1; display: block; letter-spacing: -.02em; }
.stat-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .15em; text-transform: uppercase; margin-top: 4px; }
.about-visual { position: relative; background: var(--surface2); border-left: 1px solid var(--border); min-height: 500px; }
#fortress-canvas { width: 100%; height: 100%; display: block; }
.model-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .1em; }
.model-loading-spinner { width: 28px; height: 28px; border: 2px solid var(--border); border-top-color: var(--purple); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── GALLERY ────────────────────────────────────────── */
#gallery { background: var(--surface); padding: 64px 0 48px; }
.gallery-head { padding: 0 64px 28px; }
.gallery-controls { display: none; }
.gallery-count { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .1em; }
.gallery-arrows { display: flex; gap: 8px; }
.gallery-arrow {
  width: 44px; height: 44px;
  background: var(--bg); border: 2px solid var(--border);
  border-radius: 50%; font-size: 16px; color: var(--text-dim);
  cursor: none; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.gallery-arrow:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.gallery-rows { display: flex; flex-direction: column; gap: 8px; overflow: hidden; padding: 4px 0; }
.gallery-row { display: flex; align-items: stretch; height: 230px; }
.gallery-row-inner { display: flex; gap: 8px; width: max-content; will-change: transform; align-items: stretch; }
.row-left  .gallery-row-inner { animation: galleryLeft  120s linear infinite; }
.row-right .gallery-row-inner { animation: galleryRight 140s linear infinite; }
.row-left:nth-child(3) .gallery-row-inner { animation-duration: 130s; }
.gallery-rows:hover .gallery-row-inner { animation-play-state: paused; }
@keyframes galleryLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes galleryRight { from { transform: translateX(-50%); } to { transform: translateX(0); }    }
.gallery-slide {
  flex-shrink: 0;
  height: 230px;
  width: auto;
  border-radius: 12px; overflow: hidden;
  position: relative; cursor: zoom-in;
  border: 2px solid var(--border);
  transition: border-color .25s, transform .3s;
  background: var(--surface2);
}
.gallery-slide:hover { border-color: var(--lime-dark); transform: scale(1.04); }
.gallery-slide img {
  height: 100%;
  width: auto;
  max-width: 440px;
  min-width: 120px;
  display: block;
  transition: transform .4s ease;
}
.gallery-slide:hover img { transform: scale(1.04); }
.gallery-slide-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.gallery-slide-ph.c1 { background: linear-gradient(135deg,#2a0050,#7B4BE8); }
.gallery-slide-ph.c2 { background: linear-gradient(135deg,#1a0028,#EE50EE55); }
.gallery-slide-ph.c3 { background: linear-gradient(135deg,#002200,#7AB830); }
.gallery-slide-ph.c4 { background: linear-gradient(135deg,#002028,#1E6080); }
.gallery-slide-ph.c5 { background: linear-gradient(135deg,#280040,#5B2BCC); }
.gallery-slide-ph.c6 { background: linear-gradient(135deg,#281800,#C87020); }
.gallery-slide-ph.c7 { background: linear-gradient(135deg,#001828,#1E4060); }
.gallery-slide-ph.c8 { background: linear-gradient(135deg,#002010,#40A060); }
.gallery-slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px; background: linear-gradient(transparent, rgba(26,22,40,.92)); font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.75); letter-spacing: .05em; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 9000; background: rgba(26,22,40,.94); backdrop-filter: blur(12px); opacity: 0; pointer-events: none; transition: opacity .3s; display: flex; align-items: center; justify-content: center; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); width: 44px; height: 44px; border-radius: 50%; font-size: 18px; cursor: none; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox-close:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.lightbox-prev,.lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); width: 52px; height: 52px; border-radius: 50%; font-size: 20px; cursor: none; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover,.lightbox-next:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .15em; }
.lightbox-inner { max-width: 90vw; max-height: 80vh; display: flex; align-items: center; justify-content: center; }
.lightbox-inner img { max-width: 100%; max-height: 80vh; border-radius: 12px; }
.lightbox-placeholder { width: 80vw; height: 70vh; max-width: 960px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-radius: 20px; }
.lightbox-cap { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .1em; margin-top: 10px; }

/* ─── APP ────────────────────────────────────────────── */
#app { background: var(--purple); padding: 160px 64px 80px; overflow: hidden; position: relative; }
#app::before { content: ''; position: absolute; top: -100px; right: -80px; width: 400px; height: 400px; background: rgba(162,224,72,.18); border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; filter: blur(2px); }
#app::after { content: ''; position: absolute; left: 0; top: 0; width: 50%; height: 100%; background: radial-gradient(ellipse 60% 80% at 40% 60%, rgba(123,75,232,.35) 0%, transparent 70%); pointer-events: none; }
.app-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.14); border-radius: 32px; overflow: visible; max-width: 1100px; margin: 0 auto; background: rgba(255,255,255,.06); backdrop-filter: blur(14px); position: relative; z-index: 2; }
.app-card-phone { display: flex; align-items: center; justify-content: center; padding: 0 16px; border-right: 1px solid rgba(255,255,255,.1); overflow: visible; min-height: 520px; position: relative; }
.phone-img {
  width: clamp(220px, 24vw, 320px);
  height: auto;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)) drop-shadow(0 6px 24px rgba(91,43,204,.5));
  animation: phoneLevitate 4s ease-in-out infinite;
}
@keyframes phoneLevitate {
  0%, 100% {
    transform: translateY(-50px);
    filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)) drop-shadow(0 6px 24px rgba(91,43,204,.5));
  }
  50% {
    transform: translateY(-68px);
    filter: drop-shadow(0 56px 72px rgba(0,0,0,.5)) drop-shadow(0 8px 32px rgba(91,43,204,.6));
  }
}
.phone-inner { padding: 0; }
.phone-island { width: 60px; height: 12px; background: #000; border-radius: 0 0 10px 10px; margin: 0 auto 8px; }
.phone-screen { padding: 0 12px 12px; }
.phone-screen-header { font-family: var(--font-mono); font-size: 9px; color: var(--lime); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.phone-hero-bar { background: rgba(162,224,72,.15); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.phone-hero-bar-title { font-family: var(--font-display); font-size: 12px; font-weight: 800; color: var(--lime); }
.phone-hero-bar-date  { font-family: var(--font-mono); font-size: 9px; color: rgba(255,255,255,.4); }
.phone-cards { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.phone-card { background: rgba(255,255,255,.06); border-radius: 6px; padding: 6px 8px; display: flex; align-items: center; gap: 6px; }
.phone-card-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.phone-card.c1 .phone-card-dot { background: var(--pink); }
.phone-card.c2 .phone-card-dot { background: var(--lime); }
.phone-card.c3 .phone-card-dot { background: var(--yellow); }
.phone-card-info { flex: 1; }
.phone-card-name { font-family: var(--font-body); font-size: 9px; color: rgba(255,255,255,.85); font-weight: 700; }
.phone-card-sub  { font-family: var(--font-mono); font-size: 8px; color: rgba(255,255,255,.35); }
.phone-card-time { font-family: var(--font-mono); font-size: 9px; color: rgba(255,255,255,.5); }
.phone-navbar { display: flex; justify-content: space-around; border-top: 1px solid rgba(255,255,255,.08); padding: 6px 0; }
.phone-nav-item { font-family: var(--font-mono); font-size: 7px; color: rgba(255,255,255,.3); text-align: center; letter-spacing: .04em; }
.phone-nav-item.active { color: var(--lime); }
.phone-nav-icon { display: block; font-size: 11px; }
.app-card-text { display: flex; flex-direction: column; justify-content: center; padding: 52px 48px; }
.app-card-label { font-family: var(--font-mono); font-size: 11px; color: var(--lime); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.app-card-title { font-family: var(--font-display); font-size: clamp(24px,2.8vw,38px); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 18px; }
.app-card-title strong { color: var(--lime); }
.app-card-desc { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 32px; }
.app-card-dl { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.4); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn img { height: 44px; display: block; }

/* ─── RESPONSIVE — index only ────────────────────────── */

/* Custom cursor only on precise pointer devices (not touch) */
@media (pointer: coarse) {
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
  .nav-cta, .btn-primary, .btn-secondary, .btn-ticket,
  .day-btn, .aftermovie-play, .aftermovie-btn,
  .gallery-arrow, .lightbox-close, .lightbox-prev, .lightbox-next { cursor: pointer; }
}

@media (max-width: 1024px) {
  nav.scrolled { padding: 10px 24px; }
  section { padding: 72px 24px; }
  .section-title { white-space: normal; word-break: break-word; margin-bottom: 40px; }
  #hero { padding-left: 0; padding-right: 0; }
  .hero-meta-row { padding: 0 24px 16px; }
  .hero-center { padding: 0 24px; }
  .hero-bottom { padding: 16px 24px; }
  .gallery-head, .gallery-controls, .gallery-track { padding-left: 24px; padding-right: 24px; }
  #countdown { padding: 60px 24px; }
  .countdown-grid { grid-template-columns: repeat(2,1fr); }
  .countdown-cell:nth-child(2) { border-right: none; }
  .countdown-cell:nth-child(3) { border-top: 1px solid rgba(255,255,255,.12); }
  .lineup-cols { grid-template-columns: 1fr; gap: 32px; }
  .stages { grid-template-columns: 1fr 1fr; }
  #about { grid-template-columns: 1fr; }
  .about-content { padding: 72px 24px; }
  .about-visual { min-height: 300px; border-left: none; border-top: 1px solid var(--border); }
  .about-stats { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .tickets-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  #app { padding: 80px 24px 60px; }
  .app-card { grid-template-columns: 1fr; }
  .app-card-phone { display: none; }
  .app-card-text { padding: 40px 32px; }
  #gallery { padding: 72px 0 48px; }
  .gallery-head { padding: 0 24px 32px; }
}

@media (max-width: 480px) {
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  section { padding: 56px 20px; }
  .section-title { white-space: normal; word-break: break-word; }
  .hero-name { font-size: clamp(26px, 9vw, 72px); white-space: normal; word-break: break-word; }

  /* Hero: not fullscreen, image on top, meta info below */
  #hero { min-height: unset; padding-bottom: 32px; }
  .hero-center { order: 1; flex: none; padding: 0; align-items: center; }
  .hero-kv { order: 1; width: 100%; max-height: none; margin-bottom: 0; justify-content: center; }
  .hero-kv img { max-width: 100%; max-height: 52vw; display: block; margin: 0 auto; }
  .hero-meta-row {
    order: 2;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 20px 20px 0;
    margin-top: 0;
  }
  .hero-meta-sep { display: none; }
  .hero-meta-item { font-size: 11px; letter-spacing: .08em; }

  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 16px; order: 3; }
  .hero-cta-row { width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  #countdown { padding: 48px 20px; }
  .countdown-header-row { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .countdown-event-tag { font-size: clamp(22px, 6vw, 36px); }
  .countdown-cell { padding: 24px 16px; }
  .countdown-num { font-size: clamp(48px, 11vw, 80px); }
  .stages { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px 14px; }
  .stat-value { font-size: 36px; }
  .tickets-grid { grid-template-columns: 1fr; }
  .ticket-inner { padding: 24px; }
  .ticket-price { font-size: clamp(44px, 12vw, 68px); }
  #app { padding: 56px 20px 48px; }
  .app-card-text { padding: 32px 20px; }
  .app-card-title { font-size: clamp(22px, 5.5vw, 34px); }
  #gallery { padding: 56px 0 36px; }
  .gallery-head { padding: 0 20px 24px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
}
