/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  color: #5D5D75;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff;
}

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

h1, h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  line-height: 1.27;
}

h2 { font-size: 1.625rem; }

/* === PAGE WRAPPER (desktop background) === */
.page-wrapper { min-height: 100vh; }

@media (min-width: 600px) {
  .page-wrapper {
    background-color: #717A97;
    background-position: center;
    background-size: cover;
    padding: 1rem;
  }
}

/* === CARD CONTAINER === */
.card-container {
  width: 100%;
  margin: auto;
}

@media (min-width: 600px) {
  .card-container { width: 375px; }
}

/* === CARD === */
.card {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-image: linear-gradient(transparent 40px, white 40px);
}

@media (min-width: 600px) {
  .card {
    box-shadow: 0px 3px 18px #2428334a;
    border-radius: 10px;
  }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  padding: 40px;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  color: #ffffff;
  background-color: var(--overlay-color, #717A97);
  background-position: center;
  background-size: cover;
}

.hero a { color: #ffffff; }

@media (min-width: 600px) {
  .hero {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background-color: var(--overlay-color, #717A97);
  opacity: var(--overlay-opacity, 0);
}

@media (min-width: 600px) {
  .hero::before {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
}

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

.hero > article h2 {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

.hero > article p {
  opacity: 0.8;
  text-align: center;
}

.hero > article *:last-child {
  margin-bottom: 0;
}

/* === ARTWORK === */
.artwork {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.artwork img {
  width: 240px;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0px 3px 30px rgba(36, 40, 51, 0.26);
}

/* === YOUTUBE EMBED (responsive 16:9) === */
.video-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  margin-bottom: 1.5rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === HERO TEXT === */
.hero-text { text-align: center; }

.hero-text .shows-header {
  text-align: center;
}

.hero-text .show-entry {
  text-align: left;
  opacity: 1;
}

/* === DIAGONAL SEPARATOR === */
.diagonal-separator {
  position: absolute;
  left: 0;
  transform: translateY(-45px);
  width: 100%;
  z-index: 2;
}

.diagonal-separator svg {
  display: block;
  width: 100%;
  height: auto;
}

/* === LINKS SECTION === */
.links-section {
  position: relative;
  padding: 40px;
  padding-top: 0;
  padding-right: 1.5rem;
}

.link-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 1.6rem 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.link-row:hover { text-decoration: none; }

.link-row-inner {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  margin-bottom: 0.3rem;
}

/* Logo area (left side) */
.link-logo {
  height: 100%;
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.link-logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left;
}

.link-name-fallback {
  font-weight: 600;
  font-size: 0.95rem;
  color: #5D5D75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Button area (right side) */
.link-button-wrapper {
  max-width: 70%;
  min-width: 40%;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.75;
  padding: 5px 15px;
  border-radius: 28px;
  border: 1px solid #C9C9DE;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
  text-align: center;
  transition: background-color 250ms ease;
  color: inherit;
  background: transparent;
}

.link-row:hover .link-button {
  background-color: rgba(93, 93, 117, 0.04);
}

/* Subtitle (e.g., next show info) */
.link-subtitle {
  font-size: 13px;
  font-style: italic;
  background: rgba(255, 255, 255, 0.5);
}

/* === FOOTER === */
.footer {
  font-size: 0.875rem;
  text-align: center;
  padding: 40px;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.footer .footer-divider {
  margin-bottom: 0.5rem;
}

.footer ul {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer ul li::after {
  content: '\2022';
  margin: 0 1rem;
}

.footer ul li:last-child::after {
  display: none;
}

.footer a {
  color: #5D5D75;
  text-decoration: underline;
  text-decoration-color: rgba(93, 93, 117, 0.4);
}

.footer a:hover {
  text-decoration-color: inherit;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  font-family: "Open Sans", sans-serif;
  max-height: 90vh;
  overflow-y: auto;
}

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

.cookie-banner-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cookie-banner h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}

.cookie-banner-inner > p {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 1rem;
}

.cookie-category {
  margin: 0.75rem 0;
  padding: 0.75rem;
  border: 1px solid #eee;
  border-radius: 8px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-category-desc {
  font-size: 0.8rem;
  color: #888;
  margin: 0.25rem 0 0;
}

.cookie-toggle.always-on {
  font-size: 0.8rem;
  color: #1db954;
  font-weight: 600;
}

/* Toggle switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: 0.3s;
}

.cookie-slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: #1db954;
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(20px);
}

/* Cookie action buttons */
.cookie-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  flex: 1;
  min-width: 120px;
  padding: 0.6rem 1rem;
  border: 1px solid #C9C9DE;
  border-radius: 28px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #5D5D75;
  transition: background-color 0.2s;
}

.cookie-btn:hover { background-color: #f5f5f5; }

.cookie-btn-primary {
  background: #5D5D75;
  color: #fff;
  border-color: #5D5D75;
}

.cookie-btn-primary:hover { background: #4a4a5e; }

.cookie-more-info {
  font-size: 0.8rem;
  margin: 0.75rem 0 0;
}

.cookie-more-info a { color: #0077FF; }
