/* =========================================
   The Jazzholes – Custom Jazz Theme
   Dark elegant + neon accents
   ========================================= */

/* CSS Variables - Jazz Palette */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-card: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --gold: #d4af37;
  --gold-dark: #b38a2e;
  --neon: #22ff88;
  --neon-dark: #19cc6b;
  --red: #7f1d3a;
  --red-dark: #5c1429;
  --border: #2a2a2a;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  animation: page-enter 0.55s ease-out both;
  position: relative;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--neon-dark));
  border-radius: 999px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold), var(--neon));
}

@supports (scrollbar-color: auto) {
  * {
    scrollbar-color: var(--gold-dark) var(--bg);
    scrollbar-width: thin;
  }
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.85);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

::-moz-selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.85);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@keyframes page-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body {
    animation: none;
  }

  .reveal-on-scroll,
  .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .vinyl-spin,
  .hero-tagline {
    animation: none !important;
  }

  .scroll-progress-bar {
    transition: none;
  }
}

/* Elegant headings - Jazz feel */
h1, h2, .jazz-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Neon & Gold accents */
.neon-green {
  color: var(--neon);
  text-shadow: 0 0 8px rgba(34, 255, 136, 0.6);
}

.gold {
  color: var(--gold);
}

/* Grain / vintage texture (subtle) */
.grain {
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* Navigation */
nav {
  transition: box-shadow 0.3s ease;
}

nav.nav-scrolled {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--neon));
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

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

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
  left: 0;
}

.nav-link.active::after {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(
    to bottom, 
    rgba(10,10,10,0.65) 0%, 
    rgba(10,10,10,0.85) 60%,
    #0a0a0a 100%
  );
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 38%, rgba(212, 175, 55, 0.09), transparent 68%),
    radial-gradient(ellipse 50% 30% at 65% 55%, rgba(34, 255, 136, 0.05), transparent 70%);
  pointer-events: none;
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
}

/* Gig table */
.gig-table th {
  background-color: var(--bg-elevated);
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.gig-table td {
  border-color: var(--border);
}

.gig-table th,
.gig-table td {
  padding-left: 1rem;
  padding-right: 1rem;
}

.gig-link {
  color: var(--neon);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.gig-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.gig-future {
  background-color: rgba(34, 255, 136, 0.06);
}

.gig-past {
  opacity: 0.7;
}

/* Gig filter tabs */
.gig-tabs {
  gap: 0.5rem;
}

.gig-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gig-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gig-tab.active {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(34, 255, 136, 0.08);
  box-shadow: 0 0 12px rgba(34, 255, 136, 0.15);
}

/* Mobile: gig cards – single column, all fields flush left */
@media (max-width: 767px) {
  .gig-table-wrap {
    overflow-x: visible;
  }

  .gig-table {
    display: block;
    width: 100%;
  }

  .gig-table thead {
    display: none;
  }

  .gig-table tbody {
    display: block;
  }

  .gig-table tbody::before,
  .gig-table tbody::after,
  .gig-row::before,
  .gig-row::after {
    display: none;
    content: none;
  }

  .gig-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 0.75rem 0.6rem 0.4rem;
    margin-bottom: 0.65rem;
    transition: border-color 0.2s ease;
  }

  .gig-row:last-child {
    margin-bottom: 0;
  }

  .gig-row:hover {
    border-color: var(--gold);
  }

  .gig-future {
    border-color: rgba(34, 255, 136, 0.25);
  }

  .gig-table .gig-row td {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    margin: 0;
    border: none;
    text-align: left !important;
    grid-column: 1;
  }

  .gig-table .gig-row td::before {
    display: none !important;
    content: none !important;
  }

  .gig-table .gig-row td:nth-child(1) {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .gig-table .gig-row td:nth-child(2) {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
  }

  .gig-table .gig-row td:nth-child(3) {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .gig-table .gig-row td:nth-child(3) span {
    display: inline;
    font-size: 0.72rem;
    font-weight: 400;
    margin-left: 0.35rem;
  }

  .gig-table .gig-row td:nth-child(4) {
    font-size: 0.72rem;
    line-height: 1.3;
  }
}

/* Buttons */
.btn-gold {
  background-color: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background-color: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.28);
}

.btn-neon {
  background-color: transparent;
  border: 1px solid var(--neon);
  color: var(--neon);
  transition: all 0.2s ease;
}

.btn-neon:hover {
  background-color: var(--neon);
  color: #0a0a0a;
  box-shadow: 0 0 15px rgba(34, 255, 136, 0.5);
}

/* YouTube embeds */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 6px;
  border: 1px solid var(--border);
}

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

/* Social icons */
.social-icon {
  transition: all 0.2s ease;
}

.social-icon:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* Logo images - nav (high-res source, avoid crisp-edge scaling) */
nav img[alt="The Jazzholes"] {
  height: 8rem;
  width: auto;
  image-rendering: auto;
}

@media (min-width: 768px) {
  nav img[alt="The Jazzholes"] {
    height: 9.5rem;
  }
}

.hero img[alt="The Jazzholes"] {
  image-rendering: auto;
}

/* Atmospheric band photo treatment */
.atmospheric-band {
  transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.atmospheric-band:hover {
  transform: scale(1.03);
}

/* Mobile nav */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
}

/* Utility */
.section-header {
  position: relative;
  display: inline-block;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--neon));
}

/* Placeholder image styling */
.img-placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  letter-spacing: 1px;
  border: 1px solid var(--border);
}

/* =========================================
   Bio – member cards (stacked, wide)
   Gallery thumbs on media ≈ 4-col square in max-w-6xl (~250px);
   bio photos sit just below that.
   ========================================= */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .bio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .bio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.bio-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

@media (min-width: 640px) {
  .bio-card {
    padding: 1rem;
  }
}

.bio-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.7);
}

.bio-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-body {
  padding-top: 0.75rem;
}

.bio-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.5px;
}

@media (min-width: 640px) {
  .bio-name {
    font-size: 1.25rem;
  }
}

/* =========================================
   HotRod Productions logo
   ========================================= */
.hrp-logo {
  object-fit: contain;
  display: block;
}

.hrp-logo-feature {
  max-height: 4.5rem;
  width: auto;
  border-radius: 6px;
  background: #ececec;
  padding: 0.5rem 0.85rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* HRP-placeholder: sama 16:9-kehy kuin YouTube-embed */
.video-container--placeholder {
  padding-bottom: 56.25%;
}

.video-container--placeholder .hrp-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.video-container--placeholder .hrp-placeholder-inner > a:first-child {
  margin-bottom: 1rem;
}

.video-container--placeholder .hrp-placeholder-title {
  font-size: 0.875rem;
  line-height: 1.25;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.video-container--placeholder .hrp-placeholder-text {
  font-size: 0.875rem;
  line-height: 1.35;
  max-width: 240px;
  margin-bottom: 1.25rem;
}

.video-container--placeholder .hrp-placeholder-btn {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .hrp-logo-feature {
    max-height: clamp(2.5rem, 8vw, 4.5rem);
    max-width: min(88%, 220px);
    height: auto;
    padding: clamp(0.3rem, 1.5vw, 0.5rem) clamp(0.5rem, 2.5vw, 0.85rem);
  }

  .video-container--placeholder {
    padding-bottom: 68%;
  }

  .video-container--placeholder .hrp-placeholder-inner {
    padding: clamp(0.5rem, 3vw, 1.5rem);
    gap: clamp(0.25rem, 1.5vw, 0.75rem);
  }

  .video-container--placeholder .hrp-placeholder-inner > a:first-child,
  .video-container--placeholder .hrp-placeholder-title,
  .video-container--placeholder .hrp-placeholder-text {
    margin-bottom: 0;
  }

  .video-container--placeholder .hrp-placeholder-title {
    font-size: clamp(0.65rem, 2.8vw, 0.875rem);
    letter-spacing: 0.04em;
  }

  .video-container--placeholder .hrp-placeholder-text {
    font-size: clamp(0.65rem, 2.5vw, 0.875rem);
    max-width: min(92%, 240px);
  }

  .video-container--placeholder .hrp-placeholder-btn {
    font-size: clamp(0.65rem, 2.5vw, 0.875rem);
    padding: clamp(0.35rem, 2vw, 0.5rem) clamp(0.65rem, 3vw, 1.25rem);
  }
}

@media (max-width: 380px) {
  .video-container--placeholder {
    padding-bottom: 75%;
  }

  .video-container--placeholder .hrp-placeholder-btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

a:hover .hrp-logo-feature {
  opacity: 1;
  transform: scale(1.03);
}

.hrp-logo-card {
  max-height: 2.25rem;
  width: auto;
  background: #ececec;
  border-radius: 4px;
  padding: 0.3rem 0.45rem;
}

.hrp-logo-footer {
  height: 1.125rem;
  width: auto;
  border-radius: 3px;
  background: #ececec;
  padding: 1px 4px;
  display: block;
}

/* Etusivu – verkkomestarin päivitykset */
.webmaster-updates {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.hero-webmaster-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: calc(8rem + 0.75cm);
}

@media (min-width: 640px) {
  .hero-webmaster-wrap {
    margin-top: calc(3rem + 0.75cm);
  }
}

.webmaster-updates--hero {
  width: 100%;
  max-width: min(92vw, 680px);
  box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.85);
}

@media (min-width: 768px) {
  .hero-webmaster-wrap {
    margin-top: calc(2.5rem + 0.75cm);
    justify-content: center;
  }
}

.webmaster-updates-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.85rem;
  letter-spacing: 0.3px;
}

.webmaster-update + .webmaster-update {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.webmaster-update time {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin-bottom: 0.35rem;
}

.webmaster-update-media {
  width: 75%;
  margin: 0 0 0.75rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.webmaster-update-media img {
  display: block;
  width: 100%;
  height: auto;
}

.webmaster-update p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.webmaster-update a {
  color: var(--neon);
  transition: color 0.2s ease;
}

.webmaster-update a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Footer: "Sivut:" + HRP logo + text on same line */
footer p:has(.hrp-logo-footer) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

footer p:has(.hrp-logo-footer) a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* =========================================
   Vieraskirja
   ========================================= */
.guestbook-form .guestbook-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.guestbook-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}

.guestbook-input:focus {
  outline: none;
  border-color: var(--gold);
}

.guestbook-textarea {
  resize: vertical;
  min-height: 6rem;
}

#contact-message::placeholder {
  white-space: normal;
}

@media (min-width: 768px) {
  #contact-message::placeholder {
    white-space: pre-line;
  }
}

/* Kontakti – robottitarkistus */
.contact-captcha {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-captcha-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--text);
  font-size: 0.9rem;
  user-select: none;
}

.contact-captcha-label input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.contact-captcha-error {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #f87171;
}

.contact-captcha.is-invalid {
  border-color: rgba(248, 113, 113, 0.55);
}

.guestbook-entry {
  transition: border-color 0.2s ease;
}

.guestbook-meta {
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.guestbook-author {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.guestbook-comment {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.guestbook-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.guestbook-error {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #f87171;
  text-align: center;
}

.guestbook-error.hidden {
  display: none;
}

/* =========================================
   Shop – logo sticker
   ========================================= */
.shop-product-card {
  display: flex;
  flex-direction: column;
}

.shop-product-visual {
  margin: 0;
}

.shop-sticker-preview {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 2.25rem;
  border-radius: 0.85rem;
  background: #050505;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.45);
}

.shop-sticker-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 18%, rgba(212, 175, 55, 0.08) 0%, transparent 55%);
}

.shop-sticker-img {
  display: block;
  width: 90%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  transform: scale(0.88);
  transition: transform 0.35s ease;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
}

.shop-product-card:hover .shop-sticker-img {
  transform: scale(0.94);
}

.shop-photo-caption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #737373;
}

.shop-product-title {
  margin-top: 1.35rem;
  text-align: center;
}

.shop-qty-row {
  margin-bottom: 1.25rem;
}

.shop-qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 0.5rem;
  max-width: 11rem;
}

.shop-qty-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.shop-qty-btn:hover {
  background: #333;
  border-color: var(--gold);
}

.shop-qty-btn:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.shop-qty-btn:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.shop-qty-input {
  width: 3.5rem;
  height: 2.75rem;
  text-align: center;
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-left: none;
  border-right: none;
  color: var(--text);
  font-size: 1rem;
  -moz-appearance: textfield;
}

.shop-qty-input::-webkit-outer-spin-button,
.shop-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shop-total {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
}

.shop-total span {
  color: var(--gold);
}

.shop-mobilepay {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(145deg, #12182a 0%, #0f1419 100%);
  border: 1px solid rgba(91, 141, 255, 0.35);
  border-radius: 0.75rem;
}

.shop-mobilepay-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7eb8ff;
  margin-bottom: 0.85rem;
}

.shop-mobilepay-steps {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted, #a3a3a3);
  line-height: 1.55;
}

.shop-mobilepay-steps li + li {
  margin-top: 0.45rem;
}

.shop-mobilepay-code {
  color: #7eb8ff;
  letter-spacing: 0.08em;
}

.shop-pay-message-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.shop-pay-message {
  flex: 1 1 12rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
}

.shop-copy-btn {
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #2a2a2a;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.shop-copy-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.shop-mobilepay-hint {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: #737373;
}

/* =========================================
   Band Photo Gallery + Lightbox (jazz style)
   ========================================= */
.band-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  grid-auto-flow: dense;
}

@media (min-width: 768px) {
  .band-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.band-photo {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  transition: border-color 0.2s ease;
  aspect-ratio: 1 / 1;
}

.band-gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

/* Mobiili: sama iso/pieni-logiikka, 2-sarakkeinen ruudukko */
@media (max-width: 767px) {
  .band-photo--feature-b {
    grid-column: 1 / span 2;
  }

  .band-photo--guitar {
    grid-column: 1;
  }

  .band-photo--cartoon {
    grid-column: 2;
  }
}

/* Desktop: pakota alarivin keskus + oikea alakulma */
@media (min-width: 768px) {
  .band-photo--feature-b {
    grid-column: 1 / span 2;
    grid-row: 3 / span 2;
  }

  .band-photo--guitar {
    grid-column: 3;
    grid-row: 4;
  }

  .band-photo--cartoon {
    grid-column: 4;
    grid-row: 4;
  }
}

.band-photo:hover {
  border-color: var(--gold);
}

.band-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.band-photo-pos-top img {
  object-position: center 18%;
}

.band-photo-pos-center img {
  object-position: center center;
}

.band-photo:hover img {
  transform: scale(1.06);
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#lightbox.open {
  display: flex;
}
#lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 25px 80px -15px rgb(0 0 0 / 0.8);
  border: 1px solid #2a2a2a;
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--gold);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.9;
  transition: color 0.15s ease, transform 0.15s ease;
  z-index: 10000;
}
#lightbox-close:hover {
  color: #fff;
  transform: scale(1.1);
}
#lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  background: rgba(10,10,10,0.85);
  padding: 6px 18px;
  border-radius: 9999px;
  border: 1px solid #2a2a2a;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================
   Överi polish – scroll, hero, UI
   ========================================= */

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: rgba(42, 42, 42, 0.4);
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--neon), var(--gold));
  background-size: 200% 100%;
  animation: progress-shimmer 4s linear infinite;
  box-shadow: 0 0 12px rgba(34, 255, 136, 0.35);
  transition: width 0.08s linear;
}

@keyframes progress-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Hero tagline shimmer */
.hero-tagline {
  background: linear-gradient(
    105deg,
    #d4af37 0%,
    #f5e6a8 22%,
    #d4af37 44%,
    #22ff88 55%,
    #d4af37 78%,
    #b38a2e 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: tagline-shimmer 9s ease-in-out infinite;
}

@keyframes tagline-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9990;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(10, 10, 10, 0.88);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 20px rgba(34, 255, 136, 0.25);
}

.back-to-top svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Toast (easter eggs) – viewport bottom, follows scroll */
.jazz-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1.25rem);
  z-index: 10050;
  padding: 1rem 1.75rem;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.65), 0 0 24px rgba(212, 175, 55, 0.12);
  pointer-events: none;
  max-width: min(90vw, 28rem);
  text-align: center;
  backdrop-filter: blur(10px);
}

.jazz-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Staggered reveal */
.reveal-stagger {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax band strip */
.parallax-band img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Footer vinyl */
.footer-vinyl {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0a0a0a 18%, transparent 19%),
    repeating-radial-gradient(circle at center, #1a1a1a 0 2px, #111 2px 4px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  vertical-align: middle;
  margin-right: 0.35rem;
}

.vinyl-spin {
  animation: vinyl-rotate 6s linear infinite;
}

@keyframes vinyl-rotate {
  to { transform: rotate(360deg); }
}

/* Future gig highlight – no ::before on <tr> (breaks table columns on desktop) */

/* Lightbox navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease, color 0.15s ease, transform 0.15s ease;
  z-index: 10001;
  user-select: none;
  padding: 0.5rem 1rem;
}

.lightbox-nav:hover {
  opacity: 1;
  color: #fff;
}

.lightbox-nav--prev { left: 12px; }
.lightbox-nav--next { right: 12px; }

.lightbox-nav:hover.lightbox-nav--prev { transform: translateY(-50%) translateX(-3px); }
.lightbox-nav:hover.lightbox-nav--next { transform: translateY(-50%) translateX(3px); }

/* Enhanced buttons – subtle shine sweep */
.btn-gold,
.btn-neon {
  position: relative;
  overflow: hidden;
}

.btn-gold::after,
.btn-neon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.btn-gold:hover::after,
.btn-neon:hover::after {
  left: 140%;
}

/* Bio name font sync */
.bio-name,
.guestbook-author {
  font-family: "Playfair Display", Georgia, serif;
}

/* Image load fade (content only – not nav logo) */
.bio-photo img,
.band-photo img,
.atmospheric-band,
.parallax-band img,
section img {
  animation: img-fade-in 0.6s ease both;
}

@keyframes img-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Safety net: never leave revealed sections permanently hidden */
.reveal-on-scroll.reveal-fallback,
.reveal-stagger.reveal-fallback {
  opacity: 1 !important;
  transform: none !important;
}

