:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --muted: #a8a8a8;
  --accent: #d4af37;
}

* { 
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { 
  color-scheme: dark;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
  font-weight: 400;
}

a { 
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { 
  color: #e4c155;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Container */
.container { 
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { 
  padding: 5rem 0;
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.center { 
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--fg);
  background: transparent;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--fg);
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--muted);
  transition: all 0.2s;
}

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

/* Hero */
.hero {
  position: relative;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  z-index: 0;
  will-change: opacity;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  will-change: transform, opacity;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  margin: 0.5rem 0 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  will-change: transform, opacity;
}

.hero h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 2rem;
  will-change: transform, opacity;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
      grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  will-change: transform, opacity;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

/* About */
.about {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .about {
      grid-template-columns: 1fr 1.2fr;
  }
}

.about img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  will-change: transform, opacity;
}

.about > div {
  will-change: transform, opacity;
}

/* Video */
.video {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  will-change: transform, opacity;
}

.video::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Forms */
.form {
  max-width: 680px;
  margin: 0 auto;
  will-change: transform, opacity;
}

.field {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fg);
}

input, textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.small {
  color: var(--muted);
  font-size: 0.875rem;
}

.hidden-field {
  position: absolute !important;
  left: -10000px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 3rem 0;
}

/* Shows Section */
#shows {
  padding: 5rem 0;
  background: var(--bg);
}

.shows-table {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.show-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
  will-change: transform, opacity;
}

.show-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.show-date {
  text-align: center;
  font-family: system-ui, sans-serif;
}

.show-date .day {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.show-date .month {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.show-info {
  text-align: left;
}

.show-info .show-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.show-info .show-sub {
  font-size: 0.9375rem;
  color: var(--muted);
}

.show-notes {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
  font-style: italic;
}

.btn-tickets {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.2s ease;
  background: transparent;
}

.btn-tickets:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .show-row {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 1rem;
  }
  
  .show-info {
      text-align: center;
  }
  
  .btn-tickets {
      margin-top: 0.5rem;
  }
}

/* Smooth Scrolling Performance */
.section, section {
  will-change: transform, opacity;
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    background-position: center center !important;
    min-height: 70vh;
  }
  
  .hero-content {
    padding: 4rem 1.5rem;
  }
  
  .hero-content,
  .hero h1,
  .hero h2,
  .about img,
  .about > div,
  .card,
  .show-row,
  .video,
  .form {
    will-change: auto;
  }
}

/* Plyr Video Player Custom Styling */
:root {
  --plyr-color-main: var(--accent);
  --plyr-video-background: #000;
  --plyr-menu-background: rgba(10, 10, 10, 0.95);
  --plyr-menu-color: var(--fg);
  --plyr-video-control-color: var(--fg);
  --plyr-video-control-color-hover: var(--accent);
  --plyr-video-control-background-hover: rgba(212, 175, 55, 0.1);
}

.plyr {
  border-radius: 12px;
  overflow: hidden;
}

.plyr--video {
  background: #000;
}

.plyr__control--overlaid {
  background: rgba(212, 175, 55, 0.9);
}

.plyr__control--overlaid:hover,
.plyr__control--overlaid:focus {
  background: var(--accent);
}

.plyr__control.plyr__tab-focus,
.plyr__control:hover,
.plyr__control[aria-expanded="true"] {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent);
}

.plyr__menu__container .plyr__control[role="menuitemradio"][aria-checked="true"]::before {
  background: var(--accent);
}

.plyr--full-ui input[type="range"] {
  color: var(--accent);
}

.plyr__progress__buffer {
  color: rgba(212, 175, 55, 0.25);
}

/* Responsive Typography */
@media (max-width: 768px) {
  body {
      font-size: 15px;
  }
  
  .container {
      padding: 0 1.5rem !important;
      max-width: 100%;
  }
  
  .section {
      padding: 4rem 0;
  }

  .section-title {
      padding: 0 1rem;
      margin-bottom: 2.5rem;
  }

  /* Ensure all content has proper spacing */
  #contact .contact-form,
  #media .video-gallery,
  #about .about {
      padding-left: 0;
      padding-right: 0;
  }

  /* Shows section mobile spacing */
  #shows .shows-table {
      padding: 0 0.5rem;
  }
}
