/* Fonts are self-hosted from /assets/fonts/ — no request ever leaves our origin,
   so visitors' IP addresses are never exposed to a font CDN. Both families are
   variable fonts, so one file per subset covers every weight we use (Syne 700-800,
   Plus Jakarta Sans 300-700). The latin-ext subset carries the Croatian
   diacritics (č ć ž š đ); the browser fetches it only when a page needs them. */

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/syne-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/syne-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Neon Palette */
  --color-bg-dark: #080112;
  --color-bg-card: rgba(14, 5, 27, 0.55);
  --color-glass-border: rgba(255, 255, 255, 0.08);
  --color-text-primary: #f8f7fa;
  --color-text-secondary: rgba(248, 247, 250, 0.7);
  --color-text-muted: rgba(248, 247, 250, 0.45);
  
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff007f;
  --neon-purple: #9a33ff;
  --neon-lime: #c1ff00;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  --grad-glow: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(255, 0, 127, 0.15));
  --grad-button: linear-gradient(90deg, var(--neon-magenta), var(--neon-purple));
  --grad-cyan-purple: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  
  /* Fonts */
  --font-header: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.pointer-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
  z-index: -1;
}

/* Grain Filter Overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

/* Ambient Radial Lights */
.bg-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.bg-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(154, 51, 255, 0.25) 0%, transparent 60%);
  filter: blur(100px);
  animation: float-glow-1 25s infinite alternate ease-in-out;
}

.bg-glow-2 {
  position: absolute;
  top: 40%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, transparent 70%);
  filter: blur(100px);
  animation: float-glow-2 20s infinite alternate ease-in-out;
}

.bg-glow-3 {
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 0, 127, 0.15) 0%, transparent 60%);
  filter: blur(80px);
}

@keyframes float-glow-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8%, 10%) scale(1.15); }
}

@keyframes float-glow-2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(10%, -10%) scale(0.9); }
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY & ACCENTS
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.accent-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.accent-text-magenta {
  color: var(--neon-magenta);
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.accent-text-lime {
  color: var(--neon-lime);
  text-shadow: 0 0 8px rgba(193, 255, 0, 0.4);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(154, 51, 255, 0.3);
  border-radius: 5px;
  border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-purple);
}

/* --------------------------------------------------------------------------
   NAVBAR & HEADER
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 1, 18, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-glass-border);
  transition: background var(--transition-fast);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-header);
  font-weight: 800;
  /* Fluid size so the logo never overflows on narrow phones */
  font-size: clamp(1.05rem, 4.5vw, 1.6rem);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  min-width: 0;
}

.brand-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 0.5rem;
  background-color: var(--neon-magenta);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-magenta);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.7vw, 2rem);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link[aria-current="page"] {
  color: var(--neon-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.3vw, 1.5rem);
}

.lang-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-glass-border);
  padding: 0.25rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition-fast);
  color: var(--color-text-primary);
}

.lang-btn:hover {
  opacity: 0.85;
}

.lang-btn.active {
  background: var(--grad-button);
  color: #fff;
  opacity: 1;
  box-shadow: 0 4px 10px rgba(255, 0, 127, 0.25);
}

.btn-submit-nav {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-submit-nav:hover {
  background: var(--grad-button);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-content {
  max-width: 850px;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(154, 51, 255, 0.12);
  border: 1px solid rgba(154, 51, 255, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 2rem;
  box-shadow: 0 0 15px rgba(154, 51, 255, 0.1);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: pulse-cyan 2s infinite;
}

@keyframes pulse-cyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.hero-title span.glow-title {
  background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title span.gradient-title {
  display: block;
  background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-magenta) 50%, var(--neon-lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.1em;
}

.hero-description {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--color-text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   TEMPORARY ECLIPSE HERO — 12 AUGUST 2026
   -------------------------------------------------------------------------- */
.eclipse-standard-hero {
  display: none;
}

html.eclipse-retired .eclipse-hero {
  display: none;
}

html.eclipse-retired .eclipse-standard-hero {
  display: flex;
}

.eclipse-hero {
  min-height: min(850px, calc(100svh - 78px));
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: clamp(2rem, 5vh, 4.5rem) 1.5rem 3rem;
  isolation: isolate;
  background: #080112;
}

.eclipse-hero-media,
.eclipse-hero-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eclipse-hero-media {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.eclipse-hero-vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 4, 16, 0.58) 0%, rgba(3, 4, 16, 0.12) 50%, rgba(3, 4, 16, 0.03) 78%),
    linear-gradient(180deg, rgba(3, 4, 16, 0.35) 0%, transparent 34%, rgba(3, 4, 16, 0.24) 100%);
  pointer-events: none;
}

.eclipse-hero-content {
  position: relative;
  width: min(100%, var(--container-width));
  max-width: var(--container-width);
  min-height: min(700px, calc(100svh - 165px));
  margin: 0 auto;
  z-index: 1;
}

.eclipse-hero-content > * {
  max-width: 760px;
}

.eclipse-copy {
  width: min(100%, 760px);
}

.eclipse-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  color: #fff0df;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.eclipse-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9b45;
  box-shadow: 0 0 12px rgba(255, 155, 69, 0.95);
}

.eclipse-title {
  max-width: 760px;
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 5px 35px rgba(0, 0, 0, 0.65);
}

.eclipse-title span {
  display: block;
  padding-bottom: 0.08em;
  background: linear-gradient(90deg, #00f0ff 0%, #9a33ff 42%, #ff7a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eclipse-lead {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.55;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}

.eclipse-countdown-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 590px);
  max-width: 590px;
  padding: 0.8rem;
  background: rgba(5, 5, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.eclipse-countdown {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.65rem;
  background: rgba(5, 5, 20, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.eclipse-countdown-unit {
  min-width: 0;
  padding: 0.7rem 0.4rem 0.6rem;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.eclipse-countdown-unit strong {
  display: block;
  font-family: var(--font-header);
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.eclipse-countdown-unit span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eclipse-status-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 700;
}

.eclipse-status::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 9px var(--neon-cyan);
  animation: pulse-dot 1.5s infinite;
}

.eclipse-coverage {
  color: #ffd7b0;
  white-space: nowrap;
}

.eclipse-after {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.eclipse-after-intro strong,
.eclipse-after-intro span {
  display: block;
}

.eclipse-after-intro strong {
  color: #fff;
  font-family: var(--font-header);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.eclipse-after-intro span {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  line-height: 1.3;
}

.eclipse-after-events {
  display: grid;
  gap: 0.3rem;
}

.eclipse-after-events a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  line-height: 1.25;
}

.eclipse-after-events a:hover {
  color: #fff;
}

.eclipse-after-events time {
  color: var(--neon-cyan);
  font-family: var(--font-header);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.eclipse-after-events span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eclipse-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}

.eclipse-actions .btn-primary {
  padding: 0.8rem 1.4rem;
  font-size: 0.88rem;
}

.eclipse-actions .btn-secondary {
  padding: 0.72rem 1.15rem;
  font-size: 0.84rem;
}

.eclipse-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-color: rgba(255, 0, 127, 0.5);
  background: rgba(255, 0, 127, 0.1);
}

.eclipse-instagram-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.eclipse-instagram-link:hover {
  border-color: var(--neon-magenta);
  background: rgba(255, 0, 127, 0.18);
}

.eclipse-details-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.84rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 0.18rem;
}

.eclipse-details-link:hover {
  color: #fff;
  border-color: #ff9b45;
}

.eclipse-safety {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.eclipse-safety span {
  color: #ff9b45;
}

.eclipse-countdown.is-finished {
  opacity: 0.62;
}

/* Keep the eclipse unobstructed on wide screens and treat the copy, timer and
   actions as one deliberate information column instead of two floating blocks. */
@media (min-width: 769px) {
  .eclipse-hero-media {
    transform: translateY(34px);
  }

  .eclipse-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .eclipse-countdown-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1.35rem;
  }
}

.btn-primary {
  background: var(--grad-button);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  box-shadow: 0 5px 25px rgba(255, 0, 127, 0.4);
  transition: all var(--transition-medium);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.6);
  background: linear-gradient(90deg, #ff007f, var(--neon-purple));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border: 1px solid var(--color-glass-border);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  transition: all var(--transition-medium);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   TICKER (MARQUEE)
   -------------------------------------------------------------------------- */
.ticker-section {
  width: 100%;
  background: linear-gradient(90deg, #0e051c 0%, #17042c 100%);
  border-top: 1px solid rgba(154, 51, 255, 0.2);
  border-bottom: 1px solid rgba(154, 51, 255, 0.2);
  overflow: hidden;
  padding: 1rem 0;
  display: flex;
}

.ticker-wrap {
  display: flex;
  white-space: nowrap;
  flex-shrink: 0;
  will-change: transform;
  animation: ticker-move 45s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-header);
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background-color: var(--neon-cyan);
  border-radius: 50%;
  margin-right: 2rem;
  box-shadow: 0 0 8px var(--neon-cyan);
}

.ticker-item:nth-child(even) .ticker-dot {
  background-color: var(--neon-magenta);
  box-shadow: 0 0 8px var(--neon-magenta);
}

@keyframes ticker-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   MAIN CONTAINER & SECTIONS
   -------------------------------------------------------------------------- */
.main-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-title-wrap {
  max-width: 600px;
}

.section-subtitle {
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  overflow-wrap: break-word;
}

/* Filter Controls */
.filter-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-glass-border);
  padding: 0.35rem;
  border-radius: 35px;
  gap: 0.25rem;
}

.filter-btn {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--color-text-primary);
}

.filter-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

/* --------------------------------------------------------------------------
   EVENTS CARDS
   -------------------------------------------------------------------------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.35rem;
}

/* Curated summer venues sit inside the event flow. app.js moves this full-width
   row after the grid's actual first row: 3, 2 or 1 visible event cards. */
.popular-locations {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid rgba(154, 51, 255, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 0, 127, 0.12), transparent 35%),
    linear-gradient(120deg, rgba(0, 240, 255, 0.055), rgba(154, 51, 255, 0.07)),
    var(--color-bg-card);
}

.popular-locations-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.popular-locations-heading h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.popular-locations-kicker {
  flex: 0 0 auto;
  color: var(--neon-cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.popular-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.popular-location-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--color-glass-border);
  border-radius: 14px;
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.035);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.popular-location-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--neon-cyan);
}

.popular-location-mulino::before {
  background: var(--neon-lime);
}

.popular-location-gradina::before {
  background: var(--neon-magenta);
}

.popular-location-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(255, 255, 255, 0.065);
}

.popular-location-type {
  margin-bottom: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.popular-location-card strong {
  font-family: var(--font-header);
  font-size: 1.05rem;
  line-height: 1.2;
}

.popular-location-copy {
  margin: 0.35rem 0 0.7rem;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  line-height: 1.4;
}

.popular-location-link {
  margin-top: auto;
  color: var(--neon-cyan);
  font-size: 0.72rem;
  font-weight: 750;
}

/* Individual Card */
.event-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-glass-border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-medium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 35px rgba(10, 2, 23, 0.8), 
              0 0 30px rgba(154, 51, 255, 0.1);
}

.event-card:hover::before {
  opacity: 1;
}

.event-card-header {
  position: relative;
  padding: 1.15rem 1.15rem 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-width: 54px;
  padding: 0.5rem 0.35rem;
  font-family: var(--font-header);
}

.date-day {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--neon-cyan);
  line-height: 1;
}

.date-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  margin-top: 0.2rem;
}

.event-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  border: 1px solid;
}

.free-entry-badge {
  position: absolute;
  top: 3.75rem;
  right: 1.15rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(193, 255, 0, 0.65);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: #101600;
  background: var(--neon-lime);
  box-shadow: 0 0 18px rgba(193, 255, 0, 0.22);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

/* Category specific tags */
.tag-electronic {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--neon-cyan);
}

.tag-concert {
  background: rgba(255, 0, 127, 0.1);
  border-color: rgba(255, 0, 127, 0.3);
  color: var(--neon-magenta);
}

.tag-alternative {
  background: rgba(193, 255, 0, 0.1);
  border-color: rgba(193, 255, 0, 0.3);
  color: var(--neon-lime);
}

.tag-comedy, .tag-culture {
  background: rgba(154, 51, 255, 0.1);
  border-color: rgba(154, 51, 255, 0.3);
  color: var(--neon-purple);
}

.tag-cancelled {
  background: rgba(255, 61, 61, 0.12);
  border-color: rgba(255, 61, 61, 0.4);
  color: #ff5c5c;
}

/* Banner on detail pages of cancelled events */
.cancelled-notice {
  border: 1px solid rgba(255, 61, 61, 0.4);
  background: rgba(255, 61, 61, 0.08);
  color: #ff5c5c;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}

/* Sold out is not cancelled — the event still happens, so it reads amber, not red */
.soldout-notice {
  border: 1px solid rgba(255, 176, 32, 0.45);
  background: rgba(255, 176, 32, 0.09);
  color: #ffc14d;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}

.soldout-notice a {
  color: inherit;
  text-decoration: underline;
}

.free-entry-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0.85rem 0 0.3rem;
  border: 1px solid rgba(193, 255, 0, 0.5);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: var(--neon-lime);
  background: rgba(193, 255, 0, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.free-entry-callout span {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  color: #101600;
  background: var(--neon-lime);
  font-size: 0.72rem;
}

.event-card-body {
  padding: 0.75rem 1.15rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.event-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.83rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

.event-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  font-size: 0.78rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
}

.meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--neon-purple);
}

.event-card-footer {
  padding: 0 1.15rem 1.15rem;
}

.btn-ticket {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-glass-border);
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem;
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.btn-ticket:hover {
  background: var(--grad-cyan-purple);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 15px rgba(154, 51, 255, 0.3);
}

.event-card.featured-today {
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

.event-card.featured-today::before {
  opacity: 1;
  background: var(--neon-cyan);
}

/* "Happening today" — full negative (inverted) card: light card on the dark
   page, so today's events are unmissable. Applied by app.js from data-date. */
.event-card.happening-today {
  background: #f8f7fa;
  border-color: rgba(8, 1, 18, 0.25);
  box-shadow: 0 15px 45px rgba(0, 240, 255, 0.28),
              0 5px 20px rgba(255, 0, 127, 0.18);
}

.event-card.happening-today::before {
  opacity: 1;
  background: var(--grad-primary);
}

.event-card.happening-today:hover {
  border-color: rgba(8, 1, 18, 0.4);
  box-shadow: 0 18px 55px rgba(0, 240, 255, 0.38),
              0 8px 25px rgba(255, 0, 127, 0.25);
}

.event-card.happening-today .event-title,
.event-card.happening-today .event-title a {
  color: #080112;
}

.event-card.happening-today .event-title a:hover {
  color: var(--neon-magenta);
}

.event-card.happening-today .event-description {
  color: rgba(8, 1, 18, 0.72);
}

.event-card.happening-today .event-meta {
  border-top-color: rgba(8, 1, 18, 0.12);
}

.event-card.happening-today .meta-item {
  color: rgba(8, 1, 18, 0.68);
}

.event-card.happening-today .meta-item svg {
  color: var(--neon-magenta);
}

/* Today's date badge: magenta beacon with a pulse — says "this is now" */
.event-card.happening-today .event-date-badge {
  background: var(--neon-magenta);
  border-color: var(--neon-magenta);
  animation: pulse-today 2s infinite;
}

.event-card.happening-today .date-day,
.event-card.happening-today .date-month {
  color: #fff;
}

@keyframes pulse-today {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 0, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
}

.event-card.happening-today .event-tag {
  background: rgba(8, 1, 18, 0.06);
  border-color: rgba(8, 1, 18, 0.3);
  color: #080112;
}

/* --------------------------------------------------------------------------
   RIJEKA DJ PLAYLIST (/playlist/, /en/playlist/)
   -------------------------------------------------------------------------- */
.playlist-page {
  padding-top: 3rem;
}

.playlist-hero {
  position: relative;
  padding: 0;
}

.playlist-hero::after {
  content: none;
}

.playlist-hero > * {
  position: relative;
  z-index: 1;
}

.playlist-hero .club-lead {
  max-width: 780px;
  margin-bottom: 1.25rem;
}

.playlist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.playlist-meta span,
.playlist-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--color-glass-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.72rem;
  font-weight: 700;
}

.playlist-meta a {
  color: var(--neon-cyan);
}

.playlist-featured-set {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: 2rem;
  padding: clamp(0.8rem, 2vw, 1.25rem);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 240, 255, 0.1), transparent 45%),
    rgba(255, 255, 255, 0.025);
}

.playlist-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #000;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.playlist-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.playlist-featured-copy {
  padding: 0.4rem 0.7rem 0.4rem 0;
}

.playlist-featured-kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--neon-cyan);
  font-family: var(--font-header);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.playlist-featured-copy h2 {
  color: var(--color-text-primary);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.08;
}

.playlist-featured-copy p {
  margin-top: 0.8rem;
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  line-height: 1.65;
}

.playlist-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.playlist-featured-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--color-glass-border);
  border-radius: 999px;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.65rem;
  font-weight: 750;
}

.playlist-chart-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.5rem 0 1rem;
}

.playlist-chart-head h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  text-transform: uppercase;
}

.playlist-chart-head p {
  max-width: 440px;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: right;
}

.playlist-chart {
  display: grid;
  gap: 0.65rem;
  counter-reset: playlist-rank;
}

.playlist-track {
  counter-increment: playlist-rank;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.playlist-track:hover {
  transform: translateX(4px);
  border-color: rgba(0, 240, 255, 0.28);
  background: rgba(255, 255, 255, 0.055);
}

.playlist-track:nth-child(-n + 3) {
  border-color: rgba(255, 0, 127, 0.24);
  background: linear-gradient(90deg, rgba(255, 0, 127, 0.075), rgba(154, 51, 255, 0.025));
}

.playlist-rank::before {
  content: counter(playlist-rank, decimal-leading-zero);
  color: var(--neon-cyan);
  font-family: var(--font-header);
  font-size: 1.25rem;
  font-weight: 800;
}

.playlist-track:nth-child(-n + 3) .playlist-rank::before {
  color: var(--neon-magenta);
  text-shadow: 0 0 18px rgba(255, 0, 127, 0.38);
}

.playlist-track-info {
  min-width: 0;
}

.playlist-track-title {
  display: block;
  overflow: hidden;
  color: var(--color-text-primary);
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-track-artist {
  display: block;
  margin-top: 0.25rem;
  overflow: hidden;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-genre {
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(154, 51, 255, 0.25);
  border-radius: 999px;
  color: #c99cff;
  background: rgba(154, 51, 255, 0.07);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.playlist-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 0, 127, 0.3);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 0, 127, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.playlist-youtube::before {
  content: '▶';
  color: var(--neon-magenta);
  font-size: 0.68rem;
}

.playlist-youtube:hover {
  border-color: var(--neon-magenta);
  background: rgba(255, 0, 127, 0.16);
}

.playlist-method {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--neon-cyan);
  color: var(--color-text-muted);
  background: rgba(0, 240, 255, 0.035);
  font-size: 0.76rem;
  line-height: 1.6;
}

.playlist-method a {
  color: var(--neon-cyan);
}

@media (max-width: 680px) {
  .playlist-page {
    padding-top: 2rem;
  }

  .playlist-chart-head {
    display: block;
    margin-top: 2rem;
  }

  .playlist-chart-head p {
    margin-top: 0.5rem;
    text-align: left;
  }

  .playlist-featured-set {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0.7rem;
    border-radius: 18px;
  }

  .playlist-video {
    border-radius: 13px;
  }

  .playlist-featured-copy {
    padding: 0.15rem 0.45rem 0.55rem;
  }

  .playlist-track {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 0.7rem;
    min-height: 76px;
    padding: 0.75rem;
  }

  .playlist-genre {
    display: none;
  }

  .playlist-youtube {
    width: 40px;
    padding: 0;
    font-size: 0;
  }

  .playlist-youtube::before {
    font-size: 0.78rem;
  }

  .playlist-rank::before {
    font-size: 1rem;
  }

  .playlist-track-title {
    font-size: 0.9rem;
  }
}

/* Relative-day chip inside the date badge (added by app.js):
   when-0 = today, when-1 = tomorrow, when-2 = in two days */
.when-chip {
  margin-top: 0.35rem;
  padding-top: 0.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
  align-self: stretch;
  text-align: center;
}

.when-chip.when-0 {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   EVENT ARCHIVE PAGE (/arhiva/, /en/archive/) — grid is filled by app.js
   from the homepage's past event cards
   -------------------------------------------------------------------------- */
.archive-grid {
  margin-top: 2rem;
}

/* Past cards: desaturated with the secondary text dimmed per element (not
   card-level opacity, which would gray out the title too — titles stay white),
   waking up on hover */
.event-card.past-event {
  filter: saturate(0.3);
}

.event-card.past-event .event-description,
.event-card.past-event .meta-item {
  color: var(--color-text-muted);
}

.event-card.past-event .event-date-badge,
.event-card.past-event .event-tag,
.event-card.past-event .event-card-footer {
  opacity: 0.6;
}

.event-card.past-event:hover {
  filter: saturate(0.75);
}

.event-card.past-event:hover .event-description,
.event-card.past-event:hover .meta-item {
  color: var(--color-text-secondary);
}

.event-card.past-event:hover .event-date-badge,
.event-card.past-event:hover .event-tag,
.event-card.past-event:hover .event-card-footer {
  opacity: 1;
}

.event-card.past-event .date-day {
  color: var(--color-text-secondary);
}

.when-chip.when-1 {
  color: var(--neon-lime);
  text-shadow: 0 0 6px rgba(193, 255, 0, 0.35);
}

.when-chip.when-2 {
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.3);
}

.event-card.happening-today .btn-ticket {
  background: #080112;
  border-color: #080112;
  color: #fff;
}

.event-card.happening-today .btn-ticket:hover {
  background: var(--grad-button);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(255, 0, 127, 0.45);
}

/* --------------------------------------------------------------------------
   CLUBS SECTION
   -------------------------------------------------------------------------- */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.club-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-medium);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.club-card:hover {
  border-color: rgba(154, 51, 255, 0.3);
  box-shadow: 0 10px 25px rgba(10, 2, 23, 0.6);
  transform: translateY(-3px);
}

.club-card .club-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.club-card:hover .club-link {
  text-decoration: underline;
}

.club-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.club-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.club-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 30px;
}

.status-active {
  background: rgba(193, 255, 0, 0.1);
  color: var(--neon-lime);
  border: 1px solid rgba(193, 255, 0, 0.25);
}

.status-active .status-dot {
  background-color: var(--neon-lime);
  box-shadow: 0 0 6px var(--neon-lime);
}

.status-break {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid var(--color-glass-border);
}

.status-break .status-dot {
  background-color: var(--color-text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.club-info {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex: 1;
}

.club-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.8rem;
  color: var(--color-text-muted);
}

.club-address {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.club-link {
  color: var(--neon-cyan);
  font-weight: 600;
}

.club-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-banner {
  background: radial-gradient(ellipse at center, rgba(154, 51, 255, 0.15) 0%, transparent 70%), var(--color-bg-card);
  border: 1px solid rgba(154, 51, 255, 0.2);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   DIALOGS / MODALS (GDPR and Event submission)
   -------------------------------------------------------------------------- */
dialog.glass-modal {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(14, 5, 27, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--color-text-primary);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 550px;
  width: calc(100% - 2rem);
  margin: auto;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 
              0 0 50px rgba(154, 51, 255, 0.15);
  z-index: 1000;
}

dialog.glass-modal::backdrop {
  background: rgba(5, 1, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.modal-title {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-glass-border);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-close-modal:hover {
  background: rgba(255, 0, 127, 0.2);
  border-color: rgba(255, 0, 127, 0.5);
  color: var(--neon-magenta);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-glass-border);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-cyan);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit-btn {
  margin-top: 1.5rem;
  background: var(--grad-button);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-medium);
  width: 100%;
}

.form-submit-btn:hover {
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.5);
  filter: brightness(1.1);
}

/* Success State inside modal */
.submission-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(193, 255, 0, 0.1);
  border: 2px solid var(--neon-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-lime);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  animation: pulse-success 1.5s infinite;
}

@keyframes pulse-success {
  0% { box-shadow: 0 0 0 0 rgba(193, 255, 0, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(193, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(193, 255, 0, 0); }
}

/* --------------------------------------------------------------------------
   GDPR COMPLIANT FOOTER
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--color-glass-border);
  padding: 4rem 1.5rem 2rem;
  background-color: #05010b;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand-wrap {
  max-width: 320px;
}

.footer-brand {
  font-family: var(--font-header);
  /* Fluid size so the logo never overflows on narrow phones */
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.footer-links-wrap {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-group-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--neon-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link-item a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.footer-link-item a:hover {
  color: var(--neon-magenta);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   EVENT CONTROLS (genre / price / sort dropdowns)
   -------------------------------------------------------------------------- */
.event-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1 1 170px;
  min-width: 0;
}

.control-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
}

.control-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.04);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  border: 1px solid var(--color-glass-border);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 2.4rem 0.75rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.control-select:hover {
  border-color: rgba(0, 240, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.07);
}

.control-select:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.control-select option {
  background: #0e051b;
  color: var(--color-text-primary);
}

/* The calendar is the densest homepage section; keep its discovery controls
   useful without letting them dominate the first screenful. */
#events {
  padding-top: 2.5rem;
}

#events .section-header {
  margin-bottom: 1.5rem;
}

#events .section-title {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

#events .event-controls {
  margin-bottom: 1.5rem;
}

/* Empty state when filters exclude everything */
.no-events {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--color-glass-border);
  border-radius: 16px;
  margin-top: 1rem;
}

.no-events[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   WEEKEND HIGHLIGHT STRIP (populated by app.js from event card dates)
   -------------------------------------------------------------------------- */
.weekend-banner {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.06), rgba(255, 0, 127, 0.06)), var(--color-bg-card);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.weekend-banner[hidden] {
  display: none;
}

.weekend-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.weekend-pulse {
  width: 8px;
  height: 8px;
  background: var(--neon-lime);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-lime);
  animation: pulse-dot 1.5s infinite;
}

.weekend-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.weekend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.weekend-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-glass-border);
  border-radius: 30px;
  padding: 0.38rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

.weekend-pill:hover {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.08);
  transform: translateY(-1px);
}

.weekend-pill .pill-day {
  color: var(--neon-cyan);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   FAQ SECTION (visible content backing the FAQPage structured data)
   -------------------------------------------------------------------------- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(0, 240, 255, 0.25);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-header);
  font-size: 1.4rem;
  color: var(--neon-cyan);
  line-height: 1;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--neon-magenta);
}

.faq-answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--color-text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

.faq-answer a {
  color: var(--neon-cyan);
  font-weight: 600;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   SUBPAGES (club/venue detail pages)
   -------------------------------------------------------------------------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-text-secondary);
}

.breadcrumbs a:hover {
  color: var(--neon-cyan);
}

.breadcrumbs .crumb-sep {
  color: var(--color-text-muted);
}

.club-lead {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 750px;
  margin: 1.5rem 0 2.5rem;
}

.club-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.fact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-glass-border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  margin-bottom: 0.4rem;
}

.fact-value {
  font-size: 0.92rem;
  color: var(--color-text-primary);
  line-height: 1.45;
}

.fact-value a {
  color: var(--neon-cyan);
  font-weight: 600;
}

.fact-value a:hover {
  text-decoration: underline;
}

.club-body {
  max-width: 750px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.club-body p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 0.97rem;
}

.club-page-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.clubs-grid + .club-page-actions {
  margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 60px;
    padding: 0;
  }

  .nav-container {
    height: 100%;
    padding: 0 1rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 60px);
    background: rgba(8, 1, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--color-glass-border);
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    gap: 2rem;
    overflow-y: auto;
    transform: translateY(-120%);
    transition: transform var(--transition-medium);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }
  
  .lang-switch {
    width: fit-content;
  }
  
  .btn-submit-nav {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }
  
  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }
  
  /* Menu open icon states */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 5rem 1rem 3rem;
  }

  .eclipse-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: #080112;
  }

  .eclipse-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    z-index: 0;
  }

  .eclipse-hero-vignette {
    display: none;
  }

  .eclipse-hero-content {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: auto;
    padding: 1.4rem 1rem 2rem;
    background:
      radial-gradient(circle at 0 0, rgba(0, 240, 255, 0.12), transparent 46%),
      linear-gradient(180deg, #0b0618, #080112);
  }

  .eclipse-hero-content > * {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .eclipse-kicker {
    display: flex;
    width: 100%;
  }

  .eclipse-countdown-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1.25rem;
  }

  .eclipse-title {
    font-size: clamp(1.75rem, 7.3vw, 2.6rem);
    letter-spacing: -0.05em;
  }

  .eclipse-status-row {
    align-items: flex-start;
  }

  .eclipse-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }

  .clubs-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Category filter chips: wrap instead of forcing the row past the screen */
  .section-header {
    width: 100%;
  }

  /* Let long section headings wrap instead of sizing to their content */
  .section-title-wrap {
    width: 100%;
    max-width: 100%;
  }

  .filter-tabs {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .footer-links-wrap {
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .eclipse-hero-media {
    aspect-ratio: 3 / 2;
    object-position: right center;
  }

  .eclipse-hero-vignette {
    display: block;
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(3, 4, 16, 0.78) 0%, rgba(3, 4, 16, 0.5) 54%, rgba(3, 4, 16, 0.06) 100%),
      linear-gradient(180deg, transparent 42%, rgba(8, 1, 18, 0.88) 100%);
  }

  .eclipse-copy {
    position: relative;
    z-index: 2;
    margin-top: -10.75rem;
  }

  .eclipse-after {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .eclipse-after-intro strong {
    font-size: 0.9rem;
  }

  .eclipse-after-intro span {
    font-size: 0.76rem;
  }

  .eclipse-after-events a {
    grid-template-columns: 48px minmax(0, 1fr);
    font-size: 0.84rem;
  }

  .eclipse-after-events time {
    font-size: 0.78rem;
  }
}

/* Very tight devices (small/older phones, foldable cover screens) */
@media (max-width: 420px) {
  .main-content {
    padding: 3rem 1rem;
  }

  .hero {
    padding: 4.5rem 1rem 2.5rem;
  }

  .eclipse-hero {
    padding: 0;
  }

  .eclipse-countdown {
    gap: 0.35rem;
    padding: 0.45rem;
    border-radius: 14px;
  }

  .eclipse-countdown-unit {
    padding: 0.6rem 0.15rem 0.5rem;
    border-radius: 10px;
  }

  .eclipse-countdown-unit strong {
    font-size: 1.55rem;
  }

  .eclipse-countdown-unit span {
    font-size: 0.52rem;
    letter-spacing: 0.05em;
  }

  .eclipse-status-row {
    flex-direction: column;
    gap: 0.3rem;
  }

  .eclipse-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 2.8rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  /* Smaller so long HR words (e.g. "Nadolazeća događanja") wrap at spaces,
     not mid-word (Syne is a very wide display face) */
  .section-title {
    font-size: 1.4rem;
    letter-spacing: -0.03em;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-banner {
    padding: 3rem 1.25rem;
  }

  /* Long titles/tags must break rather than push the layout wide */
  .event-title,
  .club-name,
  .cta-title,
  .club-lead {
    overflow-wrap: break-word;
  }

  .event-tag {
    white-space: normal;
  }

  .club-facts {
    grid-template-columns: 1fr;
  }

  /* Stack the genre/price/sort dropdowns one per row */
  .control-group {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .pointer-glow {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   PER-EVENT PAGES & EVENT LINKS */
/* Per-event pages & event links */
.event-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.event-title a:hover {
  color: var(--neon-cyan);
}

.event-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.event-list li {
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------------------------------
   SCENE DIRECTORY (DJs, VJs, promoters, production crews)
   -------------------------------------------------------------------------- */
/* Directory cards lead with the role badge on its own row, photo and name below:
   badges here ("VJ & mapping", "Organizator") are far longer than a club's
   "Otvoreno" and would squeeze the name into a two-line wrap beside it */
.scene-card .club-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.club-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

/* Logos are square artwork, often already on black — the dark tile and border
   keep them from bleeding into the page background */
.scene-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--color-glass-border);
  flex-shrink: 0;
}

/* Text-only band directory. The names stay compact and scannable; the larger
   LP Rock archives are collapsed until requested so the Scene page does not
   become an endless wall of cards on mobile. */
.bands-directory {
  margin-top: 3rem;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 0, 170, 0.12), transparent 35%),
    linear-gradient(145deg, rgba(14, 9, 30, 0.96), rgba(8, 3, 20, 0.96));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
}

.bands-directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.bands-title {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.bands-total,
.band-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 229, 255, 0.32);
  border-radius: 999px;
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.07);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.bands-total {
  min-height: 38px;
  padding: 0.45rem 0.85rem;
}

.bands-intro,
.band-group-note,
.bands-source {
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.bands-intro {
  max-width: 850px;
  margin: 0 0 1.4rem;
}

.band-group {
  margin-top: 0.75rem;
  border: 1px solid var(--color-glass-border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  overflow: clip;
}

.band-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
}

.band-group summary::-webkit-details-marker {
  display: none;
}

.band-group summary::after {
  content: "+";
  order: 2;
  color: var(--neon-magenta);
  font-size: 1.4rem;
  line-height: 1;
}

.band-group[open] summary::after {
  content: "−";
}

.band-count {
  order: 1;
  min-width: 32px;
  padding: 0.25rem 0.55rem;
  margin-left: auto;
}

.band-group-note {
  margin: 0;
  padding: 0 1.1rem 0.9rem;
  font-size: 0.88rem;
}

.band-name-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0 1.1rem 1.15rem;
  list-style: none;
}

.band-name-grid li {
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-left: 2px solid rgba(255, 0, 170, 0.65);
  border-radius: 4px 10px 10px 4px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--color-text-primary);
  font-size: 0.86rem;
  line-height: 1.35;
}

.bands-source {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
}

.bands-source a {
  color: var(--neon-cyan);
}

@media (max-width: 560px) {
  .bands-directory-head {
    align-items: flex-start;
  }

  .band-group summary {
    padding: 0.9rem;
    font-size: 0.9rem;
  }

  .band-group-note {
    padding: 0 0.9rem 0.8rem;
  }

  .band-name-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 0.9rem 0.95rem;
  }

  .band-name-grid li {
    padding: 0.55rem 0.6rem;
    font-size: 0.78rem;
  }
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.profile-logo {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  object-fit: cover;
  background: #000;
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 10px 30px rgba(10, 2, 23, 0.6);
  flex-shrink: 0;
}

.profile-head-text {
  min-width: 0;
}

@media (max-width: 420px) {
  .profile-logo {
    width: 88px;
    height: 88px;
    border-radius: 14px;
  }
}

/* Compact calendar layout for phones. These late overrides intentionally win
   over the older one-control-per-row mobile rules above. */
@media (max-width: 768px) {
  #events {
    padding-top: 1.75rem;
  }

  #events .section-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  #events .section-title {
    font-size: 1.4rem;
  }

  #events .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.25rem;
    scrollbar-width: none;
  }

  #events .filter-tabs::-webkit-scrollbar,
  .weekend-list::-webkit-scrollbar,
  .popular-locations-grid::-webkit-scrollbar {
    display: none;
  }

  #events .filter-btn {
    flex: 0 0 auto;
    padding: 0.45rem 0.8rem;
    font-size: 0.74rem;
  }

  #events .event-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  #events .control-group {
    min-width: 0;
  }

  #events .control-group:last-child {
    grid-column: 1 / -1;
  }

  #events .control-group label {
    font-size: 0.62rem;
  }

  #events .control-select {
    padding: 0.6rem 2rem 0.6rem 0.7rem;
    background-position: right 0.65rem center;
    font-size: 0.76rem;
  }

  .weekend-banner {
    padding: 0.75rem;
    margin-bottom: 1rem;
    gap: 0.55rem;
  }

  .weekend-title {
    font-size: 0.78rem;
  }

  .weekend-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }

  .weekend-pill {
    flex: 0 0 auto;
    max-width: 85vw;
    white-space: nowrap;
  }

  .popular-locations {
    padding: 1rem;
  }

  .popular-locations-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
  }

  .popular-locations-heading h3 {
    font-size: 1.1rem;
  }

  .popular-locations-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(225px, 86%);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .popular-location-card {
    scroll-snap-align: start;
  }
}
