/* =============================================
   DJ MERKI — DESIGN SYSTEM
   Dark luxury / neon club aesthetic
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@300;400;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ─── RESET & BASE ─────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --dark: #080808;
  --dark-card: #0d0d0d;
  --gold: #e01a2e;
  --gold-light: #ff3347;
  --gold-dim: #8a0f1c;
  --purple: #a30018;
  --purple-glow: #e01a2e;
  --white: #ffffff;
  --grey: #b0b0b0;
  --grey-dim: #555555;
  --border: rgba(224, 26, 46, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-heading: 'Rajdhani', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --nav-h: 76px;
  --section-pad: 100px 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── SCROLLBAR ────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 2px;
}

/* ─── UTILITIES ────────────────────────────── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.gold-text {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 0 30px rgba(224, 26, 46, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(224, 26, 46, 0.08);
  box-shadow: 0 0 20px rgba(224, 26, 46, 0.2);
  transform: translateY(-1px);
}

.btn-ripple {
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
  z-index: 1;
}

.btn-ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(224, 26, 46, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: btnRippleAnim 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes btnRippleAnim {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }

  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

.btn-sm {
  padding: 10px 22px;
  font-size: 11px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* ─── NAVIGATION ───────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

#navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: color 0.3s;
}

.nav-logo span {
  color: var(--gold);
}

.nav-logo:hover {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-vip {
  background: var(--gold);
  color: var(--black) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 700 !important;
  transition: background 0.3s, box-shadow 0.3s !important;
  animation: vip-pulse 2.2s ease-in-out infinite;
}

@keyframes vip-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 26, 46, 0.7);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(224, 26, 46, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(224, 26, 46, 0);
  }
}

.nav-vip:hover {
  background: var(--gold-light) !important;
  box-shadow: 0 0 20px rgba(224, 26, 46, 0.5) !important;
  animation: none;
}

.nav-vip::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav a {
  font-size: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ─── HERO ─────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero_bg_merki.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.55) 50%,
      rgba(0, 0, 0, 0.9) 90%,
      #000 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(224, 26, 46, 0.12);
  border: 1px solid rgba(224, 26, 46, 0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 2px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 160px);
  letter-spacing: 0.08em;
  line-height: 0.9;
  background: linear-gradient(135deg, #fff 0%, #e01a2e 40%, #fff 70%, #8a0f1c 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ─── DIVIDER ──────────────────────────────── */
.gold-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 16px 0;
}

.gold-divider.centered {
  margin: 16px auto;
}

/* ─── EVENTS + VIP SPLIT SECTION ───────────── */
#events-vip-split {
  padding: var(--section-pad);
  background: var(--dark);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Events column */
.split-col {
  display: flex;
  flex-direction: column;
}

.split-col .gold-divider {
  margin: 16px 0 32px;
}

.split-events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.split-event-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s;
}

.split-event-row:first-child {
  border-top: 1px solid var(--glass-border);
}

.split-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  text-align: center;
}

.split-event-day {
  font-family: var(--font-mono);
  font-size: 36px;
  line-height: 1;
  color: var(--gold);
  font-weight: 700;
}

.split-event-month {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-top: 2px;
  line-height: 1.4;
}

.split-event-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.split-event-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}

.split-event-meta {
  font-size: 12px;
  color: var(--grey-dim);
  letter-spacing: 0.05em;
}

/* VIP column */
.split-vip {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.split-vip-inner {
  background: var(--gold);
  border-radius: 4px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}

.split-vip-inner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.split-vip-inner::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.split-vip-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
  margin: 10px 0 0;
  position: relative;
  z-index: 1;
}

.split-vip-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.split-vip-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}

.split-vip-perks li svg {
  flex-shrink: 0;
  color: var(--white);
  opacity: 0.85;
}

.split-vip-price {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.split-vip-price span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
}

.split-vip-btn {
  background: var(--white);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 2px;
  display: inline-block;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
}

.split-vip-btn:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
}

.split-vip-legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-vip {
    position: static;
  }
}

/* ─── EVENTS SECTION ───────────────────────── */
#events {
  padding: var(--section-pad);
  background: var(--dark);
}


.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.event-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(8px);
}

.event-card:hover {
  border-color: rgba(224, 26, 46, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(224, 26, 46, 0.1);
}

.event-date {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.event-day {
  font-family: var(--font-mono);
  font-size: 52px;
  line-height: 1;
  color: var(--gold);
}

.event-month-year {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

.event-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--grey);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.event-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid;
}

.event-tag.sold-out {
  color: var(--grey-dim);
  border-color: var(--grey-dim);
}

.event-tag.available {
  color: var(--gold);
  border-color: rgba(224, 26, 46, 0.4);
}

.events-cta {
  text-align: center;
  margin-top: 48px;
}

/* 
========================================
   DJ NAME GENERATOR STYLES
========================================
*/
.generator-wrap {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.generator-display-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
  z-index: 1;
}

.generator-label {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: 100%;
}

.djname-slots-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 15px;
  width: 100%;
  min-height: 145px;
  margin-bottom: 10px;
}

.djname-slot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.djname-output-slot {
  font-family: var(--font-display);
  font-size: 65px;
  color: #e01a2e;
  text-shadow: 0 0 30px rgba(224, 26, 46, 0.4);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  transition: filter 0.1s ease;
}

.name-lock-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.3s ease;
}

.name-lock-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.name-lock-btn.locked {
  background: rgba(224, 26, 46, 0.3);
  border-color: #e01a2e;
  color: #e01a2e;
  box-shadow: 0 0 10px rgba(224, 26, 46, 0.5);
}

.blur-text {
  filter: blur(4px);
  opacity: 0.7;
}

.djname-genre-info {
  margin-top: 15px;
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
}

.generator-controls {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

#djname-category-select {
  width: 100%;
  max-width: 300px;
}

@media (max-width: 768px) {
  .generator-wrap {
    padding: 40px 20px;
  }

  .djname-output-slot {
    font-size: 35px;
  }

  .djname-slots-container {
    flex-wrap: wrap;
    min-height: auto;
  }
}

/* ─── LATEST TRACK ─────────────────────────── */
#latest-track {
  padding: var(--section-pad);
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#latest-track::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 26, 46, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.track-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.track-info h3 {
  font-family: var(--font-display);
  font-size: 40px;
  letter-spacing: 0.04em;
  margin: 12px 0 8px;
  color: var(--white);
}

.track-info .track-released {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.track-info p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 28px;
}

.track-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.track-tag {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--grey);
}

.player-wrap {
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 32px;
  position: relative;
}

.player-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(163, 0, 24, 0.06), rgba(224, 26, 46, 0.04));
}

.player-embed {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
}

.player-embed iframe {
  width: 100%;
  border: none;
  display: block;
}

/* ─── TRACK LIST ────────────────────────────── */
.track-list {
  margin-top: 40px;
  border-top: 1px solid var(--glass-border);
}

.track-row {
  display: grid;
  grid-template-columns: 48px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--glass-border);
  text-decoration: none;
  color: var(--white);
  transition: background 0.25s;
  border-radius: 2px;
}

.track-row:hover {
  background: rgba(224, 26, 46, 0.05);
}

.track-row:hover .track-play-icon {
  opacity: 1;
  color: var(--gold);
}

.track-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--grey-dim);
  letter-spacing: 0.1em;
  text-align: center;
}

.track-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.track-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-meta {
  font-size: 12px;
  color: var(--grey-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(224, 26, 46, 0.35);
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.track-play-icon {
  width: 28px;
  height: 28px;
  color: var(--grey-dim);
  opacity: 0.4;
  transition: opacity 0.25s, color 0.25s;
  flex-shrink: 0;
}

.active-track {
  background: rgba(224, 26, 46, 0.08) !important;
  border-left: 3px solid var(--gold);
}

.active-track .track-num {
  color: var(--gold);
}

.active-track .track-play-icon {
  opacity: 1;
  color: var(--gold);
}


@media (max-width: 600px) {
  .track-row {
    grid-template-columns: 36px 1fr auto;
  }

  .track-tag {
    display: none;
  }
}


.player-embed .no-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 180px;
  gap: 12px;
  color: var(--grey-dim);
}

.player-embed .no-track svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.player-embed .no-track span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ───────────────────────────────────────────────
 VIDEO-STYLE CUSTOM PLAYER
─────────────────────────────────────────────── */
@keyframes redRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 26, 46, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(224, 26, 46, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(224, 26, 46, 0);
  }
}

.vs-progress-fill {
  height: 100%;
  width: 0%;
  background: #e01a2e;
  box-shadow: 0 0 10px rgba(224, 26, 46, 0.8);
  position: relative;
  transition: width 0.1s linear;
}

.vs-progress-fill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #e01a2e;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5), 0 0 10px rgba(224, 26, 46, 0.5);
  transition: transform 0.2s;
}

.vs-progress:hover .vs-progress-fill::after {
  transform: translateY(-50%) scale(1.3);
}

.video-style-player {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #111;
  border: 1px solid rgba(224, 26, 46, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(224, 26, 46, 0.15);
  margin-bottom: 20px;
  animation: redRipple 2s infinite;
  display: flex;
  flex-direction: column;
}

.vs-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.vs-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.8;
}

.vs-poster .watermark {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(224, 26, 46, 0.85);
  color: #fff;
  padding: 4px 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.vs-big-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.vs-big-play-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, background 0.2s;
}

.vs-poster:hover .vs-big-play-circle {
  transform: scale(1.05);
  background: rgba(224, 26, 46, 0.6);
  border-color: rgba(224, 26, 46, 1);
}

.vs-big-play-circle svg {
  width: 36px;
  height: 36px;
  margin-left: 6px;
  fill: #e01a2e;
}

.vs-big-play-circle svg polygon {
  fill: #e01a2e;
}

.vs-controls {
  display: flex;
  align-items: center;
  background: #111;
  padding: 10px 15px;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vs-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: opacity 0.2s;
}

.vs-btn:hover {
  opacity: 0.7;
}

.vs-btn svg {
  width: 24px;
  height: 24px;
  fill: #e01a2e;
}

.vs-btn svg polygon,
.vs-btn svg rect,
.vs-btn svg path {
  fill: #e01a2e;
}

.vs-progress {
  flex-grow: 1;
  text-transform: uppercase;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.waveform span {
  display: block;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.7;
  animation: wave 1.4s ease-in-out infinite;
}

.waveform span:nth-child(1) {
  height: 16px;
  animation-delay: 0s;
}

.waveform span:nth-child(2) {
  height: 28px;
  animation-delay: 0.1s;
}

.waveform span:nth-child(3) {
  height: 36px;
  animation-delay: 0.2s;
}

.waveform span:nth-child(4) {
  height: 22px;
  animation-delay: 0.3s;
}

.waveform span:nth-child(5) {
  height: 30px;
  animation-delay: 0.05s;
}

.waveform span:nth-child(6) {
  height: 40px;
  animation-delay: 0.15s;
}

.waveform span:nth-child(7) {
  height: 20px;
  animation-delay: 0.25s;
}

.waveform span:nth-child(8) {
  height: 34px;
  animation-delay: 0.35s;
}

.waveform span:nth-child(9) {
  height: 18px;
  animation-delay: 0.1s;
}

.waveform span:nth-child(10) {
  height: 26px;
  animation-delay: 0.45s;
}

.waveform span:nth-child(11) {
  height: 38px;
  animation-delay: 0.2s;
}

.waveform span:nth-child(12) {
  height: 24px;
  animation-delay: 0.3s;
}

@keyframes wave {

  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.4;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ─── GALLERY ──────────────────────────────── */
#gallery {
  padding: var(--section-pad);
  background: var(--dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
  margin-top: 40px;
}

.gallery-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 0;
  color: var(--grey-dim);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-spinner {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(224, 26, 46, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--grey-dim);
  font-size: 13px;
  letter-spacing: 0.1em;
}


.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.gallery-item:nth-child(4) {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.gallery-view-more-container {
  display: none;
}

/* ─── SOCIALS ──────────────────────────────── */
#socials {
  padding: var(--section-pad);
  background: var(--black);
  text-align: center;
}

.socials-subtitle {
  color: var(--grey);
  font-size: 15px;
  margin: 8px 0 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.socials-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 32px 28px;
  min-width: 140px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--white);
}

.social-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 26, 46, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 15px rgba(224, 26, 46, 0.5);
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--gold);
  transition: all 0.3s;
}

.social-card:hover .social-icon {
  background: rgba(224, 26, 46, 0.1);
  box-shadow: 0 0 15px rgba(224, 26, 46, 0.5);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.social-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.social-card:hover .social-name {
  color: var(--gold);
}

/* ─── PAGE HERO (inner pages) ──────────────── */
.page-hero {
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(224, 26, 46, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(163, 0, 24, 0.05) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 100px);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--white);
}

/* ─── PAGE HEADER SOUNDWAVE (full-width canvas) ─ */
.page-hero-title {
  display: block;
}

.soundwave-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 80px;
  overflow: hidden;
  background: transparent;
  margin-top: 18px;
}

.soundwave-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ─── ABOUT PAGE ───────────────────────────── */
#about-content {
  padding: var(--section-pad);
  background: var(--dark);
}


.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  pointer-events: none;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.04em;
  margin: 12px 0 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 16px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat h3 {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
}

.stat p {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 6px;
}

/* ─── MUSIC PAGE ───────────────────────────── */
#music-content {
  padding: var(--section-pad);
  background: var(--dark);
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.release-card {
  background: var(--dark-card);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.release-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.release-art {
  aspect-ratio: 1;
  overflow: hidden;
}

.release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.release-card:hover .release-art img {
  transform: scale(1.04);
}

.release-info {
  padding: 20px;
}

.release-info h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
}

.release-info .release-type {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.release-info .release-date {
  font-size: 12px;
  color: var(--grey-dim);
  margin: 8px 0 16px;
}

/* ─── EVENTS PAGE ──────────────────────────── */
#events-page {
  padding: var(--section-pad);
  background: var(--dark);
}

.events-page-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}

.event-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
}

.event-row:hover {
  border-color: var(--border);
  background: rgba(201, 168, 76, 0.02);
}

.event-row-date {
  text-align: center;
}

.event-row-date .day {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
}

.event-row-date .mon {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

.event-row-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
}

.event-row-venue {
  color: var(--grey);
  font-size: 14px;
}

/* ─── VIP PAGE ─────────────────────────────── */
#vip-content {
  padding: var(--section-pad);
  background: var(--dark);
}

.vip-header {
  text-align: center;
  margin-bottom: 60px;
}

.vip-header p {
  color: var(--grey);
  max-width: 540px;
  margin: 16px auto 0;
}

.vip-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.vip-perk {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.vip-perk:hover {
  border-color: rgba(224, 26, 46, 0.35);
  transform: translateY(-4px);
}

.vip-perk-icon {
  width: 52px;
  height: 52px;
  background: var(--black);
  border: 1px solid var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(224, 26, 46, 0.5);
  transition: box-shadow 0.3s ease;
}

.vip-perk:hover .vip-perk-icon {
  box-shadow: 0 0 25px rgba(224, 26, 46, 0.8);
}

.vip-perk-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
  color: var(--gold);
}

.vip-perk h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.vip-perk p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
}

.vip-cta-box {
  background: linear-gradient(135deg, rgba(224, 26, 46, 0.08), rgba(163, 0, 24, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  padding: 60px;
  text-align: center;
}

.vip-cta-box h2 {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.04em;
}

.vip-cta-box p {
  color: var(--grey);
  margin: 16px auto 32px;
  max-width: 440px;
}

.vip-price {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 28px;
}

.vip-price span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
}

/* ─── CONTACT PAGE ─────────────────────────── */
#contact-content {
  padding: var(--section-pad);
  background: var(--dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-top: 48px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail div {
  font-size: 14px;
}

.contact-detail div strong {
  display: block;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-detail div span {
  color: var(--grey);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201, 168, 76, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select option {
  background: #111;
}

/* ─── FOOTER ───────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.12em;
}

.footer-brand .logo span {
  color: var(--gold);
}

.footer-brand p {
  color: var(--grey);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--grey);
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--grey-dim);
}

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
  .track-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .event-row {
    grid-template-columns: 80px 1fr 1fr auto;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item.mobile-hidden {
    display: none;
  }

  .gallery-view-more-container.show {
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .vip-cta-box {
    padding: 36px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .event-row {
    grid-template-columns: 70px 1fr;
    gap: 16px;
  }

  .event-row-venue,
  .event-row>.btn {
    display: none;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 56px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    aspect-ratio: 4/3;
  }

  .gallery-item img {
    height: 100%;
  }

  .socials-grid {
    gap: 12px;
  }

  .social-card {
    min-width: 110px;
    padding: 24px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── NEWSLETTER ───────────────────────────── */
#newsletter {
  background: var(--gold);
  position: relative;
  overflow: hidden;
}

#newsletter::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

#newsletter::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.newsletter-text .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
  margin: 10px 0 14px;
}

.newsletter-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 380px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-field {
  display: flex;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.newsletter-field input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.05em;
  outline: none;
  transition: background 0.3s;
}

.newsletter-field input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-field input[type="email"]:focus {
  background: rgba(0, 0, 0, 0.45);
}

.btn-newsletter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--white);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn-newsletter:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.newsletter-legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}

.newsletter-success {
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.05em;
  min-height: 20px;
}

@media (max-width: 768px) {
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }

  .newsletter-sub {
    max-width: 100%;
  }

  .newsletter-field {
    flex-direction: column;
    border-radius: 3px;
    overflow: visible;
    box-shadow: none;
    gap: 10px;
  }

  .newsletter-field input[type="email"] {
    border-radius: 3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }

  .btn-newsletter {
    padding: 18px;
    border-radius: 3px;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }
}

/* ───────────────────────────────────────────────
   TOOLS DIRECTORY & CARDS
─────────────────────────────────────────────── */
.tools-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}

.tool-card {
  width: 280px;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(224, 26, 46, 0.2);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.tool-card:hover {
  transform: translateY(-10px);
  border-color: rgba(224, 26, 46, 0.8);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(224, 26, 46, 0.2);
}

.tool-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  background: rgba(224, 26, 46, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e01a2e;
  border: 1px solid rgba(224, 26, 46, 0.3);
  transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
  background: #e01a2e;
  color: var(--white);
}

.tool-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.tool-card h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.tool-card p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
}

.back-to-tools-btn {
  margin-bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.tool-view {
  animation: fadeIn 0.4s ease forwards;
}

/* ───────────────────────────────────────────────
   BPM SETTINGS & HISTORY
─────────────────────────────────────────────── */
.bpm-settings-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
  flex-wrap: wrap;
}

.bpm-setting {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.bpm-setting label {
  font-size: 11px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bpm-select {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(224, 26, 46, 0.4);
  color: var(--white);
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  cursor: pointer;
  border-radius: 4px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--grey);
  transition: 0.3s;
  border-radius: 50%;
}

input:checked+.toggle-slider {
  background-color: rgba(224, 26, 46, 0.6);
  border-color: #e01a2e;
}

input:checked+.toggle-slider:before {
  transform: translateX(20px);
  background-color: var(--white);
  box-shadow: 0 0 10px rgba(224, 26, 46, 0.8);
}

/* History */
.bpm-history-section {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.bpm-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bpm-history-item {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  padding: 10px 15px;
  gap: 15px;
  animation: fadeIn 0.3s ease;
}

.bpm-history-number {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  min-width: 70px;
  text-align: left;
}

.bpm-history-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.bpm-history-input:focus {
  border-bottom-color: var(--white);
}

.bpm-history-delete {
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  font-size: 16px;
  padding: 0 5px;
}

.bpm-history-delete:hover {
  color: #e01a2e;
}

/* Flashing overlay for Metronome */
#metronome-flash {
  position: fixed;
  inset: 0;
  background: rgba(224, 26, 46, 0.15);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
}

/* ───────────────────────────────────────────────
   BPM CALCULATOR
─────────────────────────────────────────────── */
.bpm-calculator-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(224, 26, 46, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  padding: 60px 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.bpm-display-container {
  margin-bottom: 40px;
}

.bpm-number {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 0 20px rgba(224, 26, 46, 0.8), 0 0 40px rgba(224, 26, 46, 0.4);
  letter-spacing: -0.02em;
  transition: transform 0.1s ease;
}

.bpm-number.bpm-pulse {
  transform: scale(1.05);
  color: #fff;
  text-shadow: 0 0 30px rgba(224, 26, 46, 1), 0 0 60px rgba(224, 26, 46, 0.8);
}

.bpm-label {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: -10px;
}

.bpm-tap-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 30px;
  border-radius: 50%;
  position: relative;
  transition: transform 0.1s ease;
  margin-bottom: 30px;
}

.bpm-tap-btn:active,
.bpm-tap-btn.tapping {
  transform: scale(0.95);
}

.tap-inner-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #e01a2e 0%, #aa0f20 100%);
  border: 8px solid #111;
  box-shadow: 0 0 0 2px rgba(224, 26, 46, 0.5), 0 0 30px rgba(224, 26, 46, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease;
}

.bpm-tap-btn:hover .tap-inner-circle {
  box-shadow: 0 0 0 2px rgba(224, 26, 46, 0.8), 0 0 40px rgba(224, 26, 46, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.bpm-tap-btn.tapping .tap-inner-circle {
  background: radial-gradient(circle at center, #ff3344 0%, #e01a2e 100%);
  box-shadow: 0 0 0 4px rgba(224, 26, 46, 1), 0 0 60px rgba(224, 26, 46, 1), inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.tap-inner-circle span {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bpm-tap-btn.tapping .tap-inner-circle span {
  font-size: 20px;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .bpm-number {
    font-size: 80px;
  }

  .tap-inner-circle {
    width: 150px;
    height: 150px;
  }

  .tap-inner-circle span {
    font-size: 24px;
  }

  .bpm-tap-btn.tapping .tap-inner-circle span {
    font-size: 16px;
  }
}