:root {
  --bg: #0a0a10;
  --bg-2: #12121c;
  --bg-3: #1a1a28;
  --surface: #161622;
  --text: #f2f0f8;
  --muted: #9a96ab;
  --accent: #00e88a;
  --accent-2: #ff2d8a;
  --accent-3: #5cc8ff;
  --gold: #ffc94a;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-pixel: "Press Start 2P", monospace;
  --header-h: 72px;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 232, 138, 0.07), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(92, 200, 255, 0.05), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 16, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
  white-space: nowrap;
  min-width: 0;
  max-width: calc(100% - 3.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  gap: 0.15rem;
  margin-left: 0.5rem;
}

.nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav a.active {
  box-shadow: inset 0 0 0 1px rgba(0, 232, 138, 0.25);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 360px;
}

.header-search input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  outline: none;
}

.header-search input:focus {
  border-color: rgba(0, 232, 138, 0.5);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 16, 0.35) 0%, rgba(10, 10, 16, 0.82) 70%, var(--bg) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(0, 232, 138, 0.2), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 8.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 0 0 1rem;
  max-width: 100%;
  white-space: nowrap;
}

.hero-lead {
  max-width: 36ch;
  color: #d8d4e6;
  font-size: 1.1rem;
  margin: 0 0 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #04150e;
  box-shadow: 0 10px 30px rgba(0, 232, 138, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-pixel {
  font-family: var(--font-pixel);
  font-size: 0.65rem;
  border-radius: 0;
  image-rendering: pixelated;
  box-shadow: 4px 4px 0 #00a85f;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0;
  overflow-wrap: anywhere;
}

.section-sub {
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 232, 138, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Quick search */
.quick-search {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.quick-panel {
  background: linear-gradient(160deg, #171724, #101018);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.quick-panel h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.chip {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.chip:hover,
.chip.active {
  border-color: var(--accent);
  background: rgba(0, 232, 138, 0.1);
}

.quick-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.quick-form input {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  outline: none;
}

/* Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.club-card,
.city-card,
.event-card,
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
  min-width: 0;
  max-width: 100%;
}

.club-card:hover,
.city-card:hover,
.event-card:hover,
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 232, 138, 0.35);
}

.club-card .thumb,
.city-card .thumb,
.event-card .thumb,
.article-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.club-card .thumb img,
.city-card .thumb img,
.event-card .thumb img,
.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.club-card:hover .thumb img,
.city-card:hover .thumb img {
  transform: scale(1.05);
}

.card-body {
  padding: 0.95rem 1rem 1.1rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.rating {
  color: var(--gold);
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.tag {
  font-size: 0.75rem;
  color: #cecae0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.one-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 232, 138, 0.12), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 45, 138, 0.1), transparent 40%),
    var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.25rem;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Events slider */
.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.slider > * {
  scroll-snap-align: start;
}

/* Newsletter / trust */
.newsletter {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(120deg, #151522, #0e0e16);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.newsletter input {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 999px;
  padding: 0.8rem 1rem;
}

.social-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.social-row a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  color: var(--muted);
}

.social-row a:hover {
  color: var(--accent);
  border-color: rgba(0, 232, 138, 0.4);
}

/* Explore layout */
.explore-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 0.75rem 0 2rem;
}

.explore-page .page-hero-compact {
  padding: 1.25rem 0 0.5rem;
}

.explore-page .page-hero-compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin: 0.35rem 0 0.25rem;
}

.explore-page .page-hero-compact .section-sub {
  margin: 0;
  max-width: 52ch;
}

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

.results-grid .club-card .thumb {
  aspect-ratio: 16 / 10;
}

.results-grid .club-card .card-body {
  padding: 0.85rem 0.95rem 1rem;
}

.results-grid .club-card .card-title {
  font-size: 1.05rem;
}

@media (max-width: 1180px) {
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow: auto;
}

.filter-group {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-group h3 {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.filter-options {
  display: grid;
  gap: 0.35rem;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.results-toolbar select {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

/* Club detail */
.club-hero {
  position: relative;
  max-height: 220px;
  min-height: 160px;
  overflow: hidden;
}

.club-hero img {
  width: 100%;
  height: 220px;
  min-height: 0;
  object-fit: cover;
  object-position: center 40%;
}

.club-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--bg) 100%);
}

.club-detail {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 1.5rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.pixel-detail {
  margin-top: 1.25rem;
  padding-bottom: 2rem;
}

.pixel-detail .gallery {
  margin-bottom: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.gallery-featured {
  min-height: 300px;
  max-height: 380px;
}

.gallery-featured > img:first-child {
  min-height: 100%;
  height: 100%;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.gallery-side {
  display: grid;
  gap: 0.6rem;
}

.gallery-featured .gallery-side {
  grid-template-rows: repeat(3, 1fr);
  min-height: 0;
}

.gallery-featured .gallery-side img {
  min-height: 0;
}

.info-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.info-panel h1 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.info-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: #d5d1e3;
  font-size: 0.95rem;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.content-block h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.schedule {
  display: grid;
  gap: 0.5rem;
}

.schedule-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.review {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.review img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.review-form input,
.review-form textarea,
.review-form select,
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

/* Pixel Luck Haven theme — arcade neon bar */
.pixel-page {
  --pixel-green: #39ff14;
  --pixel-pink: #ff2d8a;
  --pixel-cyan: #5ef2ff;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 0, 0, 0.12) 3px,
      rgba(0, 0, 0, 0.12) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(57, 255, 20, 0.03) 3px,
      rgba(57, 255, 20, 0.03) 4px
    ),
    radial-gradient(circle at 85% 8%, rgba(255, 45, 138, 0.22), transparent 32%),
    radial-gradient(circle at 8% 75%, rgba(57, 255, 20, 0.16), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(94, 242, 255, 0.08), transparent 40%),
    #07070c;
}

.pixel-page .site-header {
  background: rgba(7, 7, 12, 0.92);
  border-bottom: 2px solid rgba(57, 255, 20, 0.35);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.12);
}

.pixel-page .logo {
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--pixel-green);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.55);
}

.pixel-hero-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 3px solid var(--pixel-green);
  box-shadow:
    0 0 0 2px #04150e,
    6px 6px 0 rgba(255, 45, 138, 0.55),
    0 0 28px rgba(57, 255, 20, 0.2);
  background:
    linear-gradient(90deg, rgba(57, 255, 20, 0.12), transparent 40%),
    #0c0c16;
}

.pixel-hero-banner strong {
  font-family: var(--font-pixel);
  font-size: clamp(0.7rem, 2.4vw, 0.95rem);
  line-height: 1.45;
  color: var(--pixel-green);
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.45);
}

.pixel-hero-banner span {
  font-family: var(--font-pixel);
  font-size: 0.52rem;
  line-height: 1.5;
  color: var(--pixel-cyan);
  letter-spacing: 0.04em;
}

.pixel-badge {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--pixel-pink);
  color: #fff;
  padding: 0.55rem 0.7rem;
  display: inline-block;
  border-radius: 0;
  margin-bottom: 0.85rem;
  box-shadow: 3px 3px 0 #7a1040;
}

.pixel-title {
  font-family: var(--font-pixel);
  font-size: clamp(0.85rem, 2.8vw, 1.15rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--pixel-green);
  text-shadow:
    0 0 14px rgba(57, 255, 20, 0.5),
    2px 2px 0 #04150e;
  margin: 0 0 0.65rem;
}

.pixel-panel {
  border: 2px solid rgba(57, 255, 20, 0.45);
  border-radius: 0;
  box-shadow:
    5px 5px 0 rgba(255, 45, 138, 0.35),
    0 0 30px rgba(57, 255, 20, 0.08);
  background:
    linear-gradient(180deg, rgba(57, 255, 20, 0.04), transparent 30%),
    linear-gradient(160deg, #12101c, #0a0912);
}

.pixel-panel h2 {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--pixel-cyan);
  text-shadow: 0 0 10px rgba(94, 242, 255, 0.35);
}

.pixel-page .schedule-row {
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.35);
}

.pixel-page .schedule-row strong {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--pixel-pink);
}

.pixel-page .info-panel .rating {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--gold);
  line-height: 1.5;
}

.pixel-page .info-list li {
  border-bottom-color: rgba(57, 255, 20, 0.18);
}

.pixel-page .info-list a {
  color: var(--pixel-cyan);
}

.pixel-page .btn-ghost {
  border-radius: 0;
  border-color: rgba(57, 255, 20, 0.45);
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 0.9rem;
}

.pixel-page .pill {
  border-radius: 0;
  font-family: var(--font-pixel);
  font-size: 0.48rem;
  line-height: 1.55;
  border-color: rgba(255, 45, 138, 0.45);
  color: var(--pixel-pink);
}

.pixel-page .gallery img {
  border-radius: 0;
  border: 2px solid rgba(57, 255, 20, 0.35);
  box-shadow: 4px 4px 0 rgba(255, 45, 138, 0.25);
}

.pixel-page .content-block:not(.pixel-panel) {
  border-radius: 0;
  border: 2px solid rgba(94, 242, 255, 0.25);
  background: #0d0c14;
}

.pixel-page .content-block:not(.pixel-panel) h2 {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--pixel-cyan);
  line-height: 1.5;
}

.pixel-page .review-form input,
.pixel-page .review-form textarea,
.pixel-page .review-form select {
  border-radius: 0;
  border-color: rgba(57, 255, 20, 0.35);
  background: #08080f;
}

.pixel-page .club-card {
  border-radius: 0;
  border-color: rgba(57, 255, 20, 0.3);
}

/* Cities / blog / community */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  background:
    linear-gradient(180deg, rgba(0, 232, 138, 0.08), transparent),
    var(--bg);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
  margin: 0.4rem 0;
}

.local-tips blockquote {
  margin: 0 0 0.75rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
  color: #d8d4e8;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.category-list a {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.2s;
}

.category-list a:hover {
  border-color: var(--accent);
}

.feed-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 0.75rem;
}

.feed-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: #08080e;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.footer-grid a,
.footer-grid p {
  color: var(--muted);
  font-size: 0.92rem;
  display: block;
  margin: 0.35rem 0;
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  color: var(--accent);
}

.pay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8e4f4;
}

.pay-badge svg {
  width: 28px;
  height: 18px;
  flex-shrink: 0;
}

.pay-visa {
  border-color: rgba(26, 82, 255, 0.35);
}

.pay-mc {
  border-color: rgba(255, 95, 46, 0.35);
}

.pay-paypal {
  border-color: rgba(0, 156, 222, 0.35);
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

.map-embed {
  border: 0;
  width: 100%;
  max-width: 100%;
  height: 280px;
  border-radius: 14px;
  filter: grayscale(0.3) contrast(1.05);
}

/* Cookie */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: min(520px, calc(100% - 2rem));
  width: auto;
  margin-inline: auto;
  background: #151522;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  display: none;
  box-sizing: border-box;
}

.cookie-banner.show {
  display: block;
  animation: rise 0.35s ease;
  bottom: 5.5rem;
}

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

.form-success {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(0, 232, 138, 0.12);
  color: var(--accent);
  margin-top: 0.75rem;
  font-weight: 700;
}

.form-success.show {
  display: block;
}

.prose {
  color: #d4d0e2;
  font-size: 1.02rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Motion */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    min-height: min(52vh, 440px);
  }

  .hero-content {
    padding: 2.5rem 0 1.75rem;
  }

  .brand-hero {
    font-size: clamp(1.5rem, 7.4vw, 3.4rem);
  }

  .grid-4,
  .stats,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .explore-layout,
  .club-detail,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
    max-height: none;
  }

  .nav {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-search {
    order: 3;
    max-width: none;
    width: 100%;
    margin-left: 0;
    flex: 1 1 100%;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: #0e0e16;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .results-grid,
  .stats,
  .footer-grid,
  .gallery,
  .gallery-featured {
    grid-template-columns: 1fr;
  }

  .quick-form,
  .newsletter form {
    grid-template-columns: 1fr;
  }

  .brand-hero {
    font-size: min(1.9rem, calc((100vw - 1.75rem) / 7.8));
    letter-spacing: -0.055em;
  }

  .hero {
    min-height: 240px;
    height: auto;
    max-height: none;
  }

  .hero-media img {
    object-position: center 35%;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 0.95rem;
    margin: 0 0 0.9rem;
  }

  .hero-content {
    padding: 1.5rem 0 1.15rem;
  }

  .cta-row .btn {
    width: 100%;
  }

  .page-hero h1,
  .explore-page .page-hero-compact h1 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
    overflow-wrap: anywhere;
  }

  .schedule-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.92rem;
  }

  .info-panel,
  .content-block,
  .filters,
  .quick-panel {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .city-chips {
    gap: 0.4rem;
  }

  .ai-panel {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-width: none;
  }

  .event-detail-panel {
    margin: 0.25rem;
    max-height: calc(100vh - 0.5rem);
  }

  .event-detail-media img {
    height: 180px;
  }

  .gallery-featured {
    max-height: none;
  }

  .gallery-featured .gallery-side {
    grid-template-rows: none;
    grid-template-columns: 1fr;
  }

  .gallery-featured .gallery-side img,
  .gallery-featured > img:first-child {
    min-height: 160px;
    height: 180px;
  }
}

/* Footer map */
.footer-map-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-map-wrap h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.footer-map-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.85rem;
}

.footer-map {
  height: 220px;
}

/* Event detail popup */
.event-card-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  color: inherit;
  font: inherit;
}

.event-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.event-detail-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.event-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.78);
  backdrop-filter: blur(6px);
}

.event-detail-panel {
  position: relative;
  width: min(100%, 640px);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: linear-gradient(180deg, #161622 0%, #0e0e16 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: rise 0.3s ease;
}

.club-detail-panel {
  width: min(100%, 980px);
  max-height: min(92vh, 900px);
}

.club-modal {
  padding-bottom: 0.5rem;
}

.club-modal-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.45rem;
  padding: 0.75rem 0.75rem 0;
}

.club-modal-gallery-main {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.club-modal-gallery-side {
  display: grid;
  gap: 0.45rem;
}

.club-modal-gallery-side img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.club-modal-media-flags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.club-modal-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1rem;
  padding: 1rem 1.1rem 1.25rem;
  align-items: start;
}

.club-modal-main {
  order: 1;
}

.club-modal-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.club-modal-block h3,
.club-modal-block h4 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.club-modal-block h4 {
  font-size: 0.95rem;
  margin-top: 0.85rem;
}

.club-modal-aside {
  order: 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  position: sticky;
  top: 0.5rem;
}

.club-modal-aside h2 {
  font-family: var(--font-display);
  margin: 0.35rem 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.club-modal-similar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.club-card-mini {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.club-card-mini .thumb {
  aspect-ratio: 4 / 3;
}

.club-card-mini .card-body {
  padding: 0.55rem 0.65rem 0.7rem;
}

.club-card-mini .card-title {
  font-size: 0.92rem;
}

@media (max-width: 780px) {
  .club-modal-gallery,
  .club-modal-layout,
  .club-modal-similar {
    grid-template-columns: 1fr;
  }

  .club-modal-aside {
    order: 1;
    position: static;
  }

  .club-modal-main {
    order: 2;
  }

  .club-modal-gallery-main {
    height: 180px;
  }

  .club-modal-gallery-side {
    grid-template-columns: repeat(3, 1fr);
  }

  .club-modal-gallery-side img {
    height: 64px;
  }
}

.event-detail-close,
.events-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #fff;
}

.event-detail-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.event-detail-content {
  padding: 1.25rem 1.35rem 1.5rem;
}

.event-detail-content h2 {
  font-family: var(--font-display);
  margin: 0.35rem 0 0.5rem;
  letter-spacing: -0.02em;
  font-size: 1.55rem;
}

.event-detail-date {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.event-detail-content .tags {
  margin: 1rem 0 1.25rem;
}

.club-modal-meta {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.club-modal-meta li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: #d5d1e3;
}

.club-modal-actions {
  margin-top: 0.5rem;
}

.club-modal-pixel h2 {
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  line-height: 1.45;
  color: #39ff14;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.4);
}

.club-modal-pixel .pill {
  border-radius: 0;
  font-family: var(--font-pixel);
  font-size: 0.48rem;
}

.events-empty {
  color: var(--muted);
  padding: 2rem 1rem;
  text-align: center;
}

/* AI assistant */
.ai-assistant {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
}

.ai-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #04120c;
  background: linear-gradient(135deg, var(--accent), #3dffb0);
  box-shadow: 0 8px 28px rgba(0, 232, 138, 0.45);
  display: grid;
  place-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ai-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 232, 138, 0.55);
}

.ai-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(360px, calc(100% - 2rem));
  background: #12121c;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: min(70vh, 520px);
}

.ai-panel.open {
  display: flex;
  animation: rise 0.25s ease;
}

.ai-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.ai-head strong {
  display: block;
  font-family: var(--font-display);
}

.ai-head span {
  font-size: 0.78rem;
  color: var(--muted);
}

.ai-close {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

.ai-messages {
  flex: 1;
  overflow: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ai-msg {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.ai-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.ai-msg--user {
  align-self: flex-end;
  background: rgba(0, 232, 138, 0.14);
  border: 1px solid rgba(0, 232, 138, 0.25);
}

.ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
}

.ai-form input {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  outline: none;
}

.ai-form input:focus {
  border-color: rgba(0, 232, 138, 0.45);
}

.ai-form .btn {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .cookie-banner.show {
    bottom: 5rem;
  }

  .ai-assistant {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

/* Card polish */
.club-card,
.event-card,
.city-card {
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.club-card:hover,
.event-card:hover,
.city-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 232, 138, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: #d4d0e2;
}

.prose li {
  margin-bottom: 0.4rem;
}
