/* --- VARIABLES & RESET --- */
:root {
  --bg-color: #000000;
  --bg-gradient: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #000000 70%);
  --gold-primary: #d2b48c;
  --gold-hover: #e6cfa8;
  --gold-dim: rgba(210, 180, 140, 0.15);
  --text-main: #f0f0f0;
  --text-muted: #aaaaaa; /* Improved contrast for accessibility */
  --border-color: rgba(210, 180, 140, 0.4);

  --font-title: "Orbitron", sans-serif;
  --font-body: "Outfit", sans-serif;

  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-color);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
ul {
  list-style: none;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}

/* --- UTILITIES --- */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gold {
  color: var(--gold-primary);
}
.text-center {
  text-align: center;
}

/* --- ANIMATIONS --- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cinematic-reveal {
  0% {
    opacity: 0;
    letter-spacing: 1em;
    filter: blur(12px);
    transform: scale(1.1);
  }
  50% {
    opacity: 0.5;
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    letter-spacing: 0.15em;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes shimmer-text {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-150%) skewX(-45deg);
  }
  100% {
    transform: translateX(150%) skewX(-45deg);
  }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--space-lg) + 60px) 1.5rem var(--space-lg);
  position: relative;
  text-align: center;
}

/* --- HERO VIDEO BACKGROUND --- */
.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.18;
}

.hero-logo-container {
  width: 220px;
  height: 220px;
  margin-bottom: var(--space-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0a;
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(210, 180, 140, 0.15),
    0 0 80px rgba(0, 0, 0, 0.8),
    inset 0 0 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  padding: 0;
}

/* Light reflection — stays fixed while vinyl spins */
.hero-logo-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at 30% 20%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(210, 180, 140, 0.05) 0%,
      transparent 40%
    );
  z-index: 3;
  pointer-events: none;
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  transform-origin: 50% 50%;
  animation: spin-slow 20s linear infinite;
  z-index: 1;
  position: relative;
}

/* Center spindle */
.vinyl-spindle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #333 0%,
    #1a1a1a 30%,
    #0d0d0d 60%,
    #111 100%
  );
  border: 1.5px solid rgba(210, 180, 140, 0.25);
  box-shadow:
    0 0 6px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(0, 0, 0, 0.6),
    inset 0 0 4px rgba(255, 255, 255, 0.06);
  z-index: 4;
}

.hero-title {
  font-family: var(--font-title);
  line-height: 1.2;
  font-size: clamp(2rem, 8vw, 4rem); /* Reduced min size for 320px screens */
  font-weight: 600;
  letter-spacing: 0.15em;
  margin: 0;
  text-transform: uppercase;
  color: var(--gold-primary);
  /* Cinematic Glow */
  text-shadow: 
    0 0 10px rgba(210, 180, 140, 0.4),
    0 0 30px rgba(210, 180, 140, 0.2);
  
  animation: cinematic-reveal 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0; /* Ensures invisible before animation starts */
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
}

.hero-subtitle {
  font-size: clamp(0.75rem, 2.5vw, 1.1rem);
  /* Gradient Shimmer Text */
  background: linear-gradient(
    90deg,
    var(--text-muted) 0%,
    #ffffff 50%,
    var(--text-muted) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* Needed for clip */

  max-width: 500px;
  padding: 0 1rem;
  margin-top: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  
  /* Initial Fade Up + Continuous Shimmer */
  animation: 
    fade-in-up 1s ease-out 0.8s backwards,
    shimmer-text 8s linear infinite 1s;
}

/* --- HERO SOCIALS --- */
.hero-socials {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.5rem;
  animation: fade-in-up 1s ease-out 0.6s backwards;
}

.hero-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.hero-social-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(210, 180, 140, 0.2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-social-icon {
  fill: var(--text-muted);
  transition: fill 0.3s ease, transform 0.3s ease;
}

.hero-social-link:hover .hero-social-icon-wrap {
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(210, 180, 140, 0.2), inset 0 0 8px rgba(210, 180, 140, 0.08);
  transform: translateY(-3px);
}

.hero-social-link:hover .hero-social-icon {
  fill: var(--gold-primary);
  filter: drop-shadow(0 0 6px rgba(210, 180, 140, 0.5));
}

.hero-social-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.3s ease;
}

.hero-social-link:hover .hero-social-label {
  color: var(--gold-primary);
}

/* --- BUTTONS --- */
.btn-group {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
  animation: fade-in-up 1s ease-out 0.6s backwards;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem; /* Larger padding */
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  
  /* Glass Base */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0; /* Modern Sharp Edges or slight radius? Let's go minimal radius */
  border-radius: 4px;
  color: #fff;
  z-index: 1;
}

/* Sweep Effect Layer */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(210, 180, 140, 0.4) 50%,
    transparent 100%
  );
  transform: translateX(-150%) skewX(-45deg);
  z-index: -1;
  transition: transform 0.6s;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  box-shadow: 
    0 0 20px rgba(210, 180, 140, 0.2),
    inset 0 0 10px rgba(210, 180, 140, 0.1);
  color: var(--gold-primary);
}

.btn:hover::before {
  animation: sheen 0.6s forwards;
}

/* Primary: Stronger Gold Accent */
.btn-primary {
  border-color: rgba(210, 180, 140, 0.4);
}
.btn-primary:hover {
  background: rgba(210, 180, 140, 0.1);
}

/* Secondary & Outline share the same glass base now, differentiation is subtle */
.btn-secondary {
  /* No special override, relies on base glass */
}

.btn-outline {
  /* No special override */
}

/* --- SOCIAL ICONS --- */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Slightly reduced gap to accommodate larger touch targets */
  margin-top: 2rem;
  animation: fade-in-up 1s ease-out 0.8s backwards;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px; /* Touch target expansion */
  border-radius: 50%; /* Optional: for hover effects visualization if needed */
  transition: background 0.3s ease;
}

.social-icon {
  width: 32px;
  height: 32px;
  fill: var(--text-muted);
  transition:
    transform 0.2s,
    fill 0.2s;
}

.social-icon:hover {
  fill: var(--gold-primary);
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(210, 180, 140, 0.6));
}

/* --- SECTIONS --- */
.section {
  padding: 3.5rem 0; /* Reduced padding for mobile */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.section-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
}

.bio-highlight {
  color: var(--gold-primary);
  font-weight: 400;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

/* --- NAVIGATION --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(210, 180, 140, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(210, 180, 140, 0.2);
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--gold-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(210, 180, 140, 0.3);
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- EVENTS SECTION --- */
.events-group {
  margin-bottom: 3rem;
}

.events-group:last-child {
  margin-bottom: 0;
}

.events-group-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 1.5rem;
}

.events-group-title--past {
  color: var(--text-muted);
}

.events-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.5rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
}

.events-toggle:hover {
  color: var(--gold-primary);
  border-color: rgba(210, 180, 140, 0.3);
}

.events-toggle-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.events-past-wrap {
  margin-top: 0.5rem;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Event badges */
.event-card.event-upcoming {
  position: relative;
}

.event-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 0 4px 0 4px;
  line-height: 1;
}

.event-badge--private {
  background: rgba(210, 180, 140, 0.15);
  color: var(--gold-primary);
  border-bottom: 1px solid rgba(210, 180, 140, 0.3);
  border-left: 1px solid rgba(210, 180, 140, 0.3);
}

.event-badge--public {
  background: rgba(192, 192, 210, 0.1);
  color: #b0b0c0;
  border-bottom: 1px solid rgba(192, 192, 210, 0.25);
  border-left: 1px solid rgba(192, 192, 210, 0.25);
}

/* Upcoming event cards */
.event-card.event-upcoming {
  background: rgba(210, 180, 140, 0.06);
  border: 1px solid rgba(210, 180, 140, 0.25);
  border-radius: 4px;
  padding: 1.2rem 1.8rem;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
}

.event-card.event-upcoming:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(210, 180, 140, 0.12);
}

.event-upcoming .event-date {
  font-family: var(--font-title);
  font-size: 0.7rem;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.event-upcoming .event-name {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--text-main);
  letter-spacing: 0.05em;
  margin: 0;
}

.event-upcoming .event-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
  white-space: nowrap;
  margin: 0;
}

/* Past event cards */
.event-card.event-past {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 1rem 1.8rem;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.event-card.event-past:hover {
  opacity: 0.7;
}

.event-past .event-date {
  font-family: var(--font-title);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.event-past .event-name {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0;
}

.event-past .event-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
  white-space: nowrap;
  margin: 0;
}

/* --- TRACKS --- */
.tracks-ep-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  margin: -2rem 0 2.5rem;
}

.tracks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.track-card {
  background: rgba(210, 180, 140, 0.04);
  border: 1px solid rgba(210, 180, 140, 0.18);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.track-card:hover {
  border-color: rgba(210, 180, 140, 0.45);
  box-shadow: 0 0 25px rgba(210, 180, 140, 0.1);
}

.track-name {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--text-main);
  letter-spacing: 0.05em;
  margin: 0 0 0.9rem;
}

.track-mix {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.track-player {
  border-radius: 4px;
  overflow: hidden;
}

.track-player iframe {
  display: block;
}

/* --- CONTACT FORM --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.form-input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(210, 180, 140, 0.15);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: rgba(170, 170, 170, 0.5);
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(210, 180, 140, 0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23aaaaaa'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: #111;
  color: var(--text-main);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-success {
  border-color: var(--gold-primary) !important;
  color: var(--gold-primary) !important;
  box-shadow: 0 0 20px rgba(210, 180, 140, 0.25);
  animation: success-glow 1.5s ease-in-out;
}

@keyframes success-glow {
  0% { box-shadow: 0 0 5px rgba(210, 180, 140, 0.1); }
  50% { box-shadow: 0 0 30px rgba(210, 180, 140, 0.35); }
  100% { box-shadow: 0 0 20px rgba(210, 180, 140, 0.25); }
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 480px) {
  .hero-logo-container {
    width: 160px;
    height: 160px;
  }
  
  .hero-title {
    font-size: 2.5rem; /* Ensure it doesn't get too small or huge */
  }

  .section {
    padding: 2.5rem 0;
  }
  
  .btn {
    width: 100%;
    max-width: 100%;
  }

  .btn-group {
    max-width: 100%;
    padding: 0 1rem;
  }

  .hero-socials {
    gap: 1.8rem;
  }

  .hero-social-icon-wrap {
    width: 48px;
    height: 48px;
  }

  .hero-social-icon {
    width: 24px;
    height: 24px;
  }

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

  .event-card.event-upcoming,
  .event-card.event-past {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    text-align: center;
    padding: 1.4rem 1rem 1.2rem;
  }

  .event-upcoming .event-location,
  .event-past .event-location {
    text-align: center;
  }
}

/* Mobile nav (<=768px) */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease;
    border-bottom: 1px solid rgba(210, 180, 140, 0.1);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1rem;
  }
}

/* --- CARDS (Sets) --- */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(210, 180, 140, 0.15);
  padding: 2rem;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  backdrop-filter: blur(5px);
}

.card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(210, 180, 140, 0.3); /* Gold glow instead of dark shadow */
}

.card-title {
  font-family: var(--font-title);
  color: var(--text-main);
  margin: 0 0 0.8rem 0;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

/* --- EVENT (legacy base removed — styles now in .event-upcoming / .event-past) --- */

/* --- FOOTER --- */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-text {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-icon {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
  transition: fill 0.2s ease;
  display: block;
}

.footer-icons a:hover .footer-icon {
  fill: var(--gold-primary);
}

.neptune-link {
  color: #00ffaa; /* Green variant */
  text-shadow: 0 0 8px rgba(0, 255, 170, 0.6);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.neptune-link:hover {
  text-shadow: 0 0 15px rgba(0, 255, 170, 0.9);
  color: #ccffee;
}

/* --- MEDIA QUERIES --- */
@media (min-width: 768px) {
  .btn-group {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

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

  .hero-title {
    font-size: 4.5rem;
  }

  .section {
    padding: 6rem 0; /* Restore larger padding for desktop */
  }
}
/* --- STARS BACKGROUND --- */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.stars,
.stars2,
.stars3 {
  background: transparent;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  position: absolute;
}

/* Small Stars */
.stars {
  box-shadow:
    1744px 122px #fff,
    134px 1321px #fff,
    92px 859px #fff,
    1948px 1199px #fff,
    107px 1974px #fff,
    1782px 792px #fff,
    881px 1667px #fff,
    1713px 446px #fff,
    290px 839px #fff,
    1904px 929px #fff,
    764px 1324px #fff,
    1546px 1292px #fff,
    727px 1162px #fff,
    1971px 182px #fff,
    621px 406px #fff,
    1907px 1133px #fff,
    1334px 621px #fff,
    1318px 1746px #fff,
    874px 1296px #fff,
    197px 1779px #fff,
    1032px 1475px #fff,
    1335px 1292px #fff,
    1374px 1982px #fff,
    1729px 1279px #fff,
    135px 1419px #fff,
    1690px 1749px #fff,
    1530px 1563px #fff,
    1930px 45px #fff,
    345px 505px #fff,
    1500px 38px #fff,
    331px 635px #fff,
    246px 93px #fff,
    1243px 1863px #fff,
    1301px 850px #fff,
    1861px 1642px #fff,
    1960px 147px #fff,
    1269px 767px #fff,
    545px 199px #fff,
    1730px 304px #fff,
    156px 1581px #fff,
    42px 727px #fff,
    613px 1493px #fff,
    1878px 179px #fff,
    1709px 403px #fff,
    1109px 871px #fff,
    154px 1234px #fff,
    163px 182px #fff,
    1504px 1459px #fff,
    1008px 233px #fff,
    674px 1837px #fff;
  animation: animStar 150s linear infinite;
}

/* Medium Stars */
.stars2 {
  width: 2px;
  height: 2px;
  box-shadow:
    1957px 1658px #fff,
    1653px 401px #fff,
    1891px 260px #fff,
    49px 1137px #fff,
    1644px 1711px #fff,
    1380px 1251px #fff,
    305px 1199px #fff,
    794px 1806px #fff,
    1686px 876px #fff,
    1148px 973px #fff,
    688px 1011px #fff,
    1832px 356px #fff,
    725px 234px #fff,
    1321px 632px #fff,
    1819px 1279px #fff,
    104px 1723px #fff,
    129px 1245px #fff,
    650px 1528px #fff,
    201px 311px #fff,
    1721px 1883px #fff;
  animation: animStar 100s linear infinite;
}

/* Large Stars (subtle) */
.stars3 {
  width: 3px;
  height: 3px;
  box-shadow:
    195px 1205px #fff,
    894px 1782px #fff,
    1718px 490px #fff,
    1215px 1560px #fff,
    403px 209px #fff,
    1680px 1736px #fff,
    1882px 138px #fff,
    310px 1928px #fff,
    584px 1102px #fff,
    915px 1118px #fff;
  animation: animStar 50s linear infinite;
}

@keyframes animStar {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-2000px);
  }
}

/* --- FREQUENCIES INTRO SECTION --- */
.frequencies-intro {
  position: relative;
}

.frequency-wave-container {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2rem 0;
}

.frequency-wave {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(210, 180, 140, 0.3));
}

.wave-path {
  animation: wave-flow 4s ease-in-out infinite;
}

.wave-path-2 {
  animation: wave-flow 4s ease-in-out infinite 0.5s;
}

@keyframes wave-flow {
  0%,
  100% {
    d: path("M0,100 Q150,50 300,100 T600,100 T900,100 T1200,100");
  }
  50% {
    d: path("M0,100 Q150,130 300,100 T600,100 T900,100 T1200,100");
  }
}

.frequency-intro-text {
  max-width: 800px;
  margin: 0 auto;
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0.7;
}
.scroll-indicator span {
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
  transform: rotate(45deg);
  animation: scroll-bounce 1.5s infinite;
}
.scroll-indicator span:nth-child(2) {
  animation-delay: 0.1s;
}
.scroll-indicator span:nth-child(3) {
  animation-delay: 0.2s;
}
@keyframes scroll-bounce {
  0% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(45deg) translate(10px, 10px);
    opacity: 0;
  }
}
