/* ============================================================
   Autumn – Kickoff Tour 2026
   style.css
   ============================================================ */

/* ── Variables ── */
:root {
  --red:        #cc1a1a;
  --red-bright: #ff2222;
  --red-dark:   #7a0000;
  --white:      #e8e0d8;
  --bg:         #080808;
  --card-bg:    rgba(255, 255, 255, 0.025);
  --touch-min:  52px;
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image: url("../1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ── Grain overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9998;
  animation: grain 0.18s steps(1) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2px, 2px); }
  50%  { transform: translate(2px, -1px); }
  75%  { transform: translate(-1px, -2px); }
  100% { transform: translate(1px, 1px); }
}

/* ── Snow particles ── */
.snow-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.flake {
  position: absolute;
  top: -8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  animation: fall linear infinite;
}

@keyframes fall {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.4; }
  100% { transform: translateY(100vh) translateX(var(--dx)); opacity: 0; }
}

/* ── Scan line ── */
.scan {
  position: fixed;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(204, 26, 26, 0.5) 50%, transparent);
  pointer-events: none;
  z-index: 9997;
  animation: scan 7s linear infinite;
}

@keyframes scan {
  0%   { top: -2px; }
  100% { top: 100vh; }
}

/* ── Top drip bar ── */
.drip-bar {
  position: relative;
  height: 5px;
  z-index: 2;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright), var(--red-dark));
  box-shadow: 0 0 18px var(--red), 0 0 36px rgba(204, 26, 26, 0.35);
  animation: barPulse 2.5s ease-in-out infinite;
}

@keyframes barPulse {
  0%, 100% { box-shadow: 0 0 18px var(--red), 0 0 36px rgba(204, 26, 26, 0.35); }
  50%       { box-shadow: 0 0 36px var(--red-bright), 0 0 70px rgba(255, 34, 34, 0.55); }
}

.drip {
  position: absolute;
  bottom: -18px;
  width: 3px;
  background: var(--red);
  border-radius: 0 0 3px 3px;
  animation: drip ease-in-out infinite;
}

@keyframes drip {
  0%   { height: 0;    opacity: 1; }
  80%  { height: 18px; opacity: 1; }
  100% { height: 20px; opacity: 0; }
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(36px, 8vw, 70px) 16px clamp(16px, 4vw, 36px);
}

.artist-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(76px, 22vw, 160px);
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
  text-shadow:
    0 0 28px rgba(204, 26, 26, 0.9),
    0 0 55px rgba(204, 26, 26, 0.4),
    3px 3px 0 var(--red-dark);
  animation: glow 3s ease-in-out infinite;
  position: relative;
  display: inline-block;
}

.artist-name::after {
  content: 'AUTUMN';
  position: absolute;
  left: 2px;
  top: 4px;
  color: var(--red);
  z-index: -1;
  opacity: 0.45;
  clip-path: polygon(0 58%, 100% 58%, 100% 100%, 0 100%);
  animation: glitch 5s infinite;
}

@keyframes glow {
  0%, 100% {
    text-shadow:
      0 0 28px rgba(204, 26, 26, 0.9),
      0 0 55px rgba(204, 26, 26, 0.4),
      3px 3px 0 var(--red-dark);
  }
  50% {
    text-shadow:
      0 0 50px rgba(255, 34, 34, 1),
      0 0 90px rgba(204, 26, 26, 0.6),
      3px 3px 0 var(--red-dark);
  }
}

@keyframes glitch {
  0%, 88%, 100% { transform: translate(0, 0); }
  90%            { transform: translate(-4px, 0); }
  93%            { transform: translate(4px, 2px); }
  96%            { transform: translate(-2px, -1px); }
}

.tour-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(18px, 6vw, 44px);
  letter-spacing: clamp(0.15em, 2vw, 0.35em);
  color: var(--red);
  margin-top: -4px;
  animation: flicker 6s infinite;
}

@keyframes flicker {
  0%, 96%, 100% { opacity: 1; }
  97%  { opacity: 0.35; }
  98%  { opacity: 1; }
  99%  { opacity: 0.15; }
  99.5%{ opacity: 1; }
}

/* ── Divider ── */
.divider {
  width: 85%;
  max-width: 680px;
  height: 1px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--red), var(--red-bright), var(--red), transparent);
  position: relative;
}

.divider::after {
  content: none;
}

/* ── Tour wrapper ── */
.tour-wrap {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 16px 12px 110px;
}

.month-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.45em;
  color: var(--red);
  opacity: 0.65;
  text-transform: uppercase;
  margin: 28px 4px 8px;
}

/* ── Date grid ── */
.date-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

/* ── Date card ── */
.date-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--touch-min);
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid rgba(204, 26, 26, 0.14);
  border-left: 3px solid var(--red-dark);
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s, transform 0.16s;
  animation: fadeUp 0.42s ease both;
}

.date-card:active {
  background: rgba(204, 26, 26, 0.18);
  border-left-color: var(--red-bright);
  border-color: rgba(204, 26, 26, 0.5);
  transform: scale(0.982);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Date card inner elements */
.date-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  line-height: 1;
  color: var(--red);
  min-width: 40px;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(204, 26, 26, 0.5);
}

.date-info {
  flex: 1;
  min-width: 0;
}

.date-city {
  font-weight: 700;
  font-size: clamp(15px, 4vw, 17px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-state {
  font-size: 12px;
  color: rgba(232, 224, 216, 0.46);
  letter-spacing: 0.07em;
  display: block;
  margin-top: 1px;
}

/* Arrow (desktop) */
.arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--red);
  margin-left: 4px;
  opacity: 1;
  transition: transform 0.18s, opacity 0.18s;
}

/* Ticket badge (mobile) */
.ticket-badge { display: none; }

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  border-top: 1px solid rgba(204, 26, 26, 0.2);
  padding: 28px 20px 40px;
}

.footer-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(13px, 3.5vw, 18px);
  letter-spacing: 0.28em;
  color: rgba(232, 224, 216, 0.5);
  margin-bottom: 6px;
}

.footer-contact {
  font-size: clamp(11px, 3vw, 13px);
  color: var(--red);
  letter-spacing: 0.08em;
}

/* ── Sticky CTA ── */
.sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(8, 8, 8, 0.96);
  border-top: 1px solid rgba(204, 26, 26, 0.4);
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Mobile: up to 599px */
@media (max-width: 599px) {
  body {
    background-size: contain;
    background-position: top center;
    background-repeat: repeat-y;
    background-attachment: scroll;
  }

  .tour-wrap {
    padding-bottom: 32px;
  }

  .footer {
    padding-bottom: 16px;
  }

  body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 8, 8, 0) 0%,
      rgba(8, 8, 8, 0.2) 35%,
      rgba(8, 8, 8, 0.65) 70%,
      rgba(8, 8, 8, 1) 100%
    );
    pointer-events: none;
    z-index: 0;
  }

  .date-card {
    background: rgba(8, 8, 8, 0.78);
    border-color: rgba(204, 26, 26, 0.35);
  }

  .date-num {
    text-shadow:
      0 0 10px rgba(255, 34, 34, 0.9),
      0 0 22px rgba(255, 34, 34, 0.55);
  }

  .date-city {
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
  }

  .date-state {
    color: rgba(232, 224, 216, 0.7);
  }

  .ticket-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--red);
    border: 1px solid rgba(204, 26, 26, 0.4);
    border-radius: 2px;
    padding: 3px 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .arrow { display: none; }

  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(8, 8, 8, 0.96);
    border-top: 1px solid rgba(204, 26, 26, 0.4);
    padding: 10px 16px env(safe-area-inset-bottom, 14px);
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .sticky-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: rgba(232, 224, 216, 0.55);
    flex: 1;
    line-height: 1.4;
  }

  .sticky-label span {
    display: block;
    font-size: 10px;
    color: rgba(232, 224, 216, 0.3);
    letter-spacing: 0.12em;
  }

  .sticky-btn {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15px;
    letter-spacing: 0.16em;
    color: #fff;
    background: var(--red);
    border: none;
    border-radius: 2px;
    padding: 13px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 16px rgba(204, 26, 26, 0.6);
    white-space: nowrap;
    min-height: 48px;
    transition: background 0.15s, box-shadow 0.15s;
  }

  .sticky-btn:active {
    background: var(--red-bright);
    box-shadow: 0 0 24px rgba(255, 34, 34, 0.85);
  }
}

/* Tablet: 600px+ — 2 column grid */
@media (min-width: 600px) {
  .date-list  { grid-template-columns: 1fr 1fr; gap: 6px; }
  .tour-wrap  { padding: 16px 20px 90px; }
}

/* Desktop hover effects */
@media (hover: hover) {
  .date-card:hover {
    background: rgba(204, 26, 26, 0.12);
    border-left-color: var(--red-bright);
    border-color: rgba(204, 26, 26, 0.45);
    transform: translateX(4px);
  }

  .date-card:hover .arrow {
    opacity: 1;
    transform: translateX(0);
  }

  .date-card::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 26, 26, 0.07), transparent);
    transition: left 0.36s;
  }

  .date-card:hover::before { left: 100%; }

  .arrow {
    opacity: 0;
    transform: translateX(-6px);
  }
}

/* Large desktop */
@media (min-width: 900px) {
  .tour-wrap { padding: 16px 24px 80px; }
}
