/* =========================================================
   ARCANA VISIONE - STYLESHEET
   Gothic luxury, dark theme, one purple accent.
   Palette: obsidian (#07080b) / purple (#8b2fd6) / ivory (#f3efe6)
   Fonts: Cinzel (titles, labels) + Montserrat (body)
   Elevation: shadows only on layers that open above the page
   (top bar, video modal, lightbox). Everything else is flat.
   ========================================================= */

@font-face {
  font-family: "Cinzel";
  src: url("src/fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("src/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Backgrounds */
  --bg-deep: #07080b;
  --bg-surface: #0e1117;
  --bg-card: rgba(18, 22, 31, 0.72);
  --bg-glass: rgba(14, 17, 23, 0.88);

  /* Accent (purple) */
  --accent: #8b2fd6;
  --accent-light: #c084f5;
  --accent-dark: #4f1a80;
  --accent-soft: rgba(139, 47, 214, 0.14);

  /* Text */
  --text-pure: #ffffff;
  --text-ivory: #f3efe6;
  --text-silver: #c5c9d2;
  --text-muted: #8b8f9a;
  --text-dim: #5c606b;

  /* Borders */
  --border-subtle: rgba(243, 239, 230, 0.08);
  --border-accent: rgba(139, 47, 214, 0.28);

  /* Fonts */
  --font-serif: "Cinzel", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --max-width: 1220px;
  --nav-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: 0.3s cubic-bezier(0.25, 0.9, 0.25, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color-scheme: dark;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.wrap {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-pure);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.25;
}

h4 {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-silver);
  font-weight: 300;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #7a26bd 0%, var(--accent) 50%, var(--accent-dark) 100%);
  color: #fff;
  border: 1px solid var(--accent-light);
  font-weight: 700;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, #a04ee8 50%, var(--accent) 100%);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary:hover::before {
  left: 100%;
  transition: left 0.6s ease;
}

/* Box with corner brackets */
.gothic-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  position: relative;
  backdrop-filter: blur(14px);
  transition: all var(--transition);
}

.gothic-box:hover {
  border-color: var(--border-accent);
}

.gothic-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.gothic-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  opacity: 0.6;
  transition: opacity var(--transition);
}

.gothic-box:hover::before,
.gothic-box:hover::after {
  opacity: 1;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.navin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-crest {
  height: 38px;
  width: auto;
}

.nav-brand-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-pure);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-silver);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--text-pure);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  color: var(--text-pure);
  font-size: 1.5rem;
  padding: 8px;
}

/* =========================================================
   HERO SECTION (Clean Dark Atmosphere - No Photo Backdrop)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.3) 0%, rgba(6, 7, 10, 0.75) 65%, var(--bg-deep) 100%),
    radial-gradient(circle 800px at 50% 30%, rgba(110, 9, 36, 0.3) 0%, transparent 70%),
    url("src/hero.webp") center 25% / cover no-repeat;
  filter: contrast(1.1) brightness(0.85);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(18, 22, 31, 0.7);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-logo-wrap {
  margin-bottom: 24px;
}

.hero-wordmark {
  width: min(680px, 92vw);
  margin: 0 auto;
}

.hero-tagline-main {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 400;
  color: var(--text-pure);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-tagline-sub {
  font-size: 1.05rem;
  color: var(--text-silver);
  max-width: 640px;
  margin: 0 auto 34px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero Sound Bar / Ambient Preview */
.hero-soundbar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 22px;
  background: rgba(14, 17, 23, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  color: var(--text-silver);
}

.hero-soundbar .bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.hero-soundbar .bar {
  width: 3px;
  background-color: var(--accent);
  border-radius: 2px;
  animation: equalize 1.4s ease-in-out infinite alternate;
}

.hero-soundbar .bar:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.hero-soundbar .bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.hero-soundbar .bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.hero-soundbar .bar:nth-child(4) { height: 85%; animation-delay: 0.4s; }
.hero-soundbar .bar:nth-child(5) { height: 50%; animation-delay: 0.15s; }

@keyframes equalize {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

/* =========================================================
   SECTION SHARED STYLES
   ========================================================= */
section {
  position: relative;
  padding: 100px 0;
  z-index: 2;
}

.section-dark {
  background-color: var(--bg-deep);
}

.section-surface {
  background-color: #0a0d13;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 54px;
}

.section-header.center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

/* =========================================================
   SECTION 1: ABOUT US
   ========================================================= */
.split-about {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.facts-box {
  padding: 32px 40px;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
}

.facts-table th,
.facts-table td {
  padding: 14px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-accent);
}

.facts-table tr:last-child th,
.facts-table tr:last-child td {
  border-bottom: 0;
}

.facts-table th {
  width: 40%;
  padding-right: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.facts-table td {
  color: var(--text-pure);
}

.about-intro {
  margin-bottom: 20px;
}

.about-body {
  color: var(--text-muted);
}

.about-body + .about-body {
  margin-top: 16px;
}

/* =========================================================
   SECTION 2: RELEASE (THE TALE OF THE DEATHLESS MAN)
   ========================================================= */
.release-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.release-cover-wrapper {
  position: relative;
}

.release-cover-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-accent);
}

.release-cover-img {
  width: 100%;
  height: auto;
}

.release-details {
  padding-left: 10px;
}

.tracklist-container {
  margin: 20px 0 24px;
}

.tracklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px;
  background: rgba(18, 22, 31, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.track-item:hover {
  background: rgba(30, 36, 50, 0.85);
  border-color: var(--border-accent);
}

.track-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.track-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
  min-width: 24px;
}

.track-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-pure);
  letter-spacing: 0.04em;
}

.release-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* =========================================================
   SECTION 3: OFFICIAL VIDEO "THE HAND"
   ========================================================= */
.video-theater {
  max-width: 980px;
  margin: 0 auto;
}

.video-screen-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  background: #000;
}

.video-screen-card:hover {
  border-color: var(--accent);
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.4s ease;
}

.video-screen-card:hover .video-thumb {
  filter: brightness(0.95);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  background: rgba(139, 47, 214, 0.85);
  border: 2px solid var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  transition: all var(--transition);
  cursor: pointer;
  z-index: 10;
}

.video-play-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-left: 4px;
}

.video-screen-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--accent-light);
}

/* =========================================================
   SECTION 4: BAND & LINEUP (No Avatar Boxes - Clean & Elegant)
   ========================================================= */
.band-hero-frame {
  margin-bottom: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  position: relative;
}

.band-hero-frame img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.9);
}

.band-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 8, 11, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px 40px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.member-card {
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all var(--transition);
}

.member-card h4 {
  font-size: 1.12rem;
  color: var(--text-pure);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.member-role {
  font-size: 0.8rem;
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  font-weight: 700;
}

/* =========================================================
   SECTION 5: LIVE RITUALS & GALLERY
   ========================================================= */
.tour-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 50px;
}

.tour-row {
  display: grid;
  grid-template-columns: 130px 1.3fr 1.3fr 1.2fr;
  align-items: center;
  padding: 11px 22px;
  gap: 20px;
}

.tour-date {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
}

.tour-event-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-pure);
}

.tour-venue {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tour-city {
  color: var(--text-silver);
  font-weight: 500;
}

/* Live Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: #000;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.3s ease;
}

.gallery-card:hover img {
  filter: brightness(1);
}

/* Photo album: 2 x 2 grid under the posters */
.gallery-grid.photo-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 18px auto 0;
}

.photo-grid .gallery-card {
  aspect-ratio: 1 / 1;
}

.photo-grid .gallery-card img {
  object-position: center 30%;
}

/* =========================================================
   SECTION 6: EPK & CONTACTS
   ========================================================= */
.split-epk {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.epk-info-panel {
  padding: 36px;
}

.epk-contact {
  margin-top: 18px;
  color: var(--text-silver);
}

.epk-contact a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.epk-contact a:hover {
  color: var(--text-pure);
}

.epk-download-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.epk-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(14, 17, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.epk-card:hover {
  border-color: var(--accent);
  background: rgba(26, 32, 45, 0.8);
}

.epk-card-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-pure);
}

.epk-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.channel-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(139, 47, 214, 0.15);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
}

.channel-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-pure);
}

.channel-handle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.channel-arrow {
  color: var(--accent-light);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background-color: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-pure);
}

.footer-brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.back-to-top-btn:hover {
  color: var(--accent-light);
}

/* =========================================================
   MODALS (VIDEO & LIGHTBOX)
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.94);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: min(960px, 94vw);
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 40px var(--accent-soft);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 22, 31, 0.8);
  border: 1px solid var(--border-accent);
  color: var(--text-pure);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}

.modal-close-btn:hover {
  background: var(--accent);
  border-color: var(--accent-light);
  color: #fff;
  transform: rotate(90deg);
}

.modal-iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

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

/* Lightbox */
.lightbox-container {
  max-width: 90vw;
  max-height: 88vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-container .modal-close-btn {
  top: -50px;
  right: 0;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
}

.lightbox-caption-text {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-pure);
  letter-spacing: 0.08em;
  text-align: center;
}

/* =========================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================= */
@media (max-width: 1024px) {
  .split-about,
  .release-showcase,
  .split-epk {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .tour-row {
    grid-template-columns: 120px 1fr;
    gap: 2px 20px;
  }

  .tour-date {
    grid-row: span 3;
    align-self: start;
  }

  .tour-event-name,
  .tour-venue,
  .tour-city {
    grid-column: 2;
  }
}

/* A column left alone (its sibling switched off) spans the full width */
.split-about > :only-child,
.release-showcase > :only-child,
.split-epk > :only-child {
  grid-column: 1 / -1;
}

/* Dropdown menu below 960px (keeps nav items from wrapping) */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 8, 11, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border-bottom: 1px solid var(--border-accent);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .epk-download-cards {
    grid-template-columns: 1fr;
  }

  .tour-row {
    grid-template-columns: 1fr;
    gap: 2px;
    text-align: left;
  }

  .tour-date {
    grid-row: auto;
  }

  .tour-event-name,
  .tour-venue,
  .tour-city {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* Respect the visitor's motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Text for screen readers and search engines only */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
