/* ==========================================================================
   SANDOKAN - LA TIGRE RUGGISCE ANCORA
   Design System & Styles — Complete Rewrite
   ========================================================================== */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/source-sans-3-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/source-sans-3-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* === SANDOKAN COLOR SYSTEM === */

  /* Primary */
  --color-sandokan-red:      #B91C1C;
  --color-tiger-gold:        #D4A539;
  --color-abyssal-blue:      #0A1628;

  /* Secondary */
  --color-crimson-silk:      #C42B2B;
  --color-mompracem-red:     #8B1A1A;
  --color-amber-flame:       #E8B84B;
  --color-midnight-navy:     #132744;
  --color-ocean-deep:        #1B3A5C;

  /* Nature */
  --color-jungle-emerald:    #1A5C3A;
  --color-tropical-canopy:   #2D7A4F;
  --color-fern-light:        #4A9B6E;

  /* Light Tones */
  --color-parchment:         #FAF6ED;
  --color-colonial-ivory:    #F5ECD7;
  --color-aged-paper:        #EDE5D3;

  /* Neutrals */
  --color-ink-black:         #1A1A1A;
  --color-charcoal:          #2C2C2C;
  --color-driftwood:         #8B7D6B;

  /* Semantic Aliases */
  --bg-dark:                 var(--color-abyssal-blue);
  --bg-light:                var(--color-parchment);
  --text-on-dark:            var(--color-colonial-ivory);
  --text-on-light:           var(--color-ink-black);
  --accent-primary:          var(--color-tiger-gold);
  --accent-secondary:        var(--color-amber-flame);
  --accent-danger:           var(--color-sandokan-red);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 70px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  /* Transitions */
  --transition-fast:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-epic:   1.2s cubic-bezier(0.22, 1, 0.36, 1);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(10, 22, 40, 0.10);
  --shadow-md:   0 4px 20px rgba(10, 22, 40, 0.15);
  --shadow-lg:   0 8px 40px rgba(10, 22, 40, 0.20);
  --shadow-gold: 0 4px 30px rgba(212, 165, 57, 0.30);
  --shadow-red:  0 4px 30px rgba(185, 28, 28, 0.25);
  --shadow-fire: 0 0 40px rgba(232, 184, 75, 0.20), 0 0 80px rgba(212, 165, 57, 0.10);
}

/* --------------------------------------------------------------------------
   2. CUSTOM SCROLLBAR
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-abyssal-blue);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-tiger-gold), var(--color-driftwood));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-amber-flame), var(--color-tiger-gold));
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-tiger-gold) var(--color-abyssal-blue);
}

/* --------------------------------------------------------------------------
   3. SELECTION COLOR
   -------------------------------------------------------------------------- */
::selection {
  background: rgba(212, 165, 57, 0.3);
  color: var(--color-abyssal-blue);
}

.section--dark ::selection,
.section--navy ::selection {
  background: rgba(212, 165, 57, 0.4);
  color: var(--color-parchment);
}

/* --------------------------------------------------------------------------
   4. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-abyssal-blue);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem; /* 18px base for body copy readability */
  line-height: 1.55;
  color: var(--text-on-light);
  background-color: var(--color-abyssal-blue);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-sandokan-red);
  color: var(--color-parchment);
  padding: 0.75em 1.5em;
  border-radius: var(--border-radius-sm);
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   5. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-xl) 0;
  contain: layout style;
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

/* Subtle ocean wave pattern on dark sections */
.section--dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: repeating-linear-gradient(
    170deg,
    transparent,
    transparent 30px,
    rgba(27, 58, 92, 0.08) 30px,
    rgba(27, 58, 92, 0.08) 32px
  );
  pointer-events: none;
  opacity: 0.5;
}

.section--navy {
  background-color: var(--color-midnight-navy);
  color: var(--text-on-dark);
}

.section--light {
  background-color: var(--bg-light);
  color: var(--text-on-light);
  position: relative;
}

/* Parchment noise texture for light sections */
.section--light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(139,125,107,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139,125,107,0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(139,125,107,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section--light > .container {
  position: relative;
  z-index: 1;
}

.section--ivory {
  background-color: var(--color-colonial-ivory);
  color: var(--text-on-light);
  position: relative;
}

.section--ivory::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(139,125,107,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139,125,107,0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 80%, rgba(139,125,107,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section--ivory > .container {
  position: relative;
  z-index: 1;
}

/* Decorated sections with corner flourishes */
.section--decorated {
  position: relative;
}

.section--decorated > .container::before,
.section--decorated > .container::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border-style: solid;
  border-color: var(--accent-primary);
  opacity: 0.12;
  pointer-events: none;
}

.section--decorated > .container::before {
  top: 0;
  left: var(--space-md);
  border-width: 2px 0 0 2px;
}

.section--decorated > .container::after {
  bottom: 0;
  right: var(--space-md);
  border-width: 0 2px 2px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
  .two-col--reverse .two-col__media {
    order: 2;
  }
  .two-col--reverse .two-col__text {
    order: 1;
  }
}

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   6. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5em;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.4em;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* Overline */
.overline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.3em;
  position: relative;
}

.section--light .overline,
.section--ivory .overline {
  color: var(--color-sandokan-red);
}

.section--dark .overline,
.section--navy .overline {
  text-shadow: 0 0 15px rgba(212, 165, 57, 0.3);
}

.overline + h2 {
  margin-top: 0;
}

/* Gradient text for dark section headings */
.section--dark h2,
.section--navy h2 {
  background: linear-gradient(
    135deg,
    var(--color-parchment) 0%,
    var(--color-aged-paper) 50%,
    var(--color-tiger-gold) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Enhanced text shadows on dark headings -- via filter since background-clip removes text-shadow */
.section--dark h2,
.section--navy h2 {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.section--dark .subsection-title,
.section--navy .subsection-title {
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(212, 165, 57, 0.08);
}

/* Drop caps on first paragraph */
.two-col__text > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.5em;
  float: left;
  line-height: 0.85;
  margin-right: 0.08em;
  margin-top: 0.05em;
  color: var(--accent-primary);
}

.section--light .two-col__text > p:first-of-type::first-letter,
.section--ivory .two-col__text > p:first-of-type::first-letter {
  color: var(--color-sandokan-red);
}

/* Pull quotes */
.pull-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.55;
  margin: var(--space-md) 0;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  position: relative;
  color: var(--color-ocean-deep);
  border-left: none;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.15em;
  left: 0;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-style: normal;
  font-weight: 900;
  color: var(--color-sandokan-red);
  opacity: 0.25;
  line-height: 1;
}

.section--dark .pull-quote,
.section--navy .pull-quote {
  color: var(--color-aged-paper);
}

.section--dark .pull-quote::before,
.section--navy .pull-quote::before {
  color: var(--accent-primary);
  opacity: 0.4;
}

/* Better text rhythm */
.two-col__text p {
  margin-bottom: 1.15em;
}

.two-col__text p:last-of-type {
  margin-bottom: 1.5em;
}

.subsection-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  margin-top: var(--space-lg);
  margin-bottom: 1.1rem;
  color: var(--accent-primary);
}

.subsection-title:first-of-type {
  margin-top: var(--space-sm);
}

.section--light .subsection-title,
.section--ivory .subsection-title {
  color: var(--color-sandokan-red);
}

.subsection-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--color-ocean-deep);
}

.section--dark .subsection-subtitle,
.section--navy .subsection-subtitle {
  color: var(--color-amber-flame);
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 2em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition:
    all var(--transition-medium),
    box-shadow var(--transition-medium);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Sandokan Red primary CTA */
.btn--primary {
  background: linear-gradient(
    135deg,
    var(--color-mompracem-red) 0%,
    var(--color-sandokan-red) 30%,
    var(--color-crimson-silk) 50%,
    var(--color-sandokan-red) 70%,
    var(--color-mompracem-red) 100%
  );
  color: var(--color-parchment);
  border-color: var(--color-sandokan-red);
  z-index: 0;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: -1;
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 6px 25px rgba(185, 28, 28, 0.4),
    0 2px 10px rgba(185, 28, 28, 0.3);
  color: var(--color-parchment);
}

.btn--primary:hover::after {
  opacity: 1;
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(185, 28, 28, 0.3);
  transition-duration: 0.1s;
}

/* Gold outline button */
.btn--outline {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  position: relative;
}

.btn--outline:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
  box-shadow:
    0 0 20px rgba(212, 165, 57, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Gold button variant for secondary */
.btn--gold {
  background: linear-gradient(135deg, var(--color-tiger-gold), var(--color-amber-flame));
  color: var(--bg-dark);
  border-color: var(--color-tiger-gold);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--color-amber-flame), var(--color-tiger-gold));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Golden particles floating around primary buttons */
.btn--primary {
  overflow: visible;
}

.btn--primary::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--color-tiger-gold);
  z-index: -1;
  pointer-events: none;
  animation: btnParticles 6s linear infinite;
  box-shadow:
    -20px -15px 0 0 rgba(212, 165, 57, 0.5),
    30px -25px 0 1px rgba(212, 165, 57, 0.3),
    60px -10px 0 0 rgba(212, 165, 57, 0.4),
    -40px -30px 0 1px rgba(212, 165, 57, 0.2),
    80px -20px 0 0 rgba(212, 165, 57, 0.35),
    -60px -5px 0 1px rgba(212, 165, 57, 0.25),
    110px -15px 0 0 rgba(212, 165, 57, 0.3),
    -10px -35px 0 1px rgba(212, 165, 57, 0.4),
    50px -8px 0 0 rgba(212, 165, 57, 0.2),
    -30px -22px 0 0 rgba(212, 165, 57, 0.35);
}

@keyframes btnParticles {
  0% {
    transform: translateY(10px);
    opacity: 0;
  }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% {
    transform: translateY(-30px);
    opacity: 0;
  }
}

/* Faster particles on hover */
.btn--primary:hover::before {
  animation-duration: 2s;
}

/* Brighter particles on light backgrounds */
.section--light .btn--primary::before,
.section--ivory .btn--primary::before {
  box-shadow:
    -20px -15px 0 1px rgba(185, 28, 28, 0.5),
    30px -25px 0 1px rgba(212, 165, 57, 0.6),
    60px -10px 0 1px rgba(185, 28, 28, 0.4),
    -40px -30px 0 1px rgba(212, 165, 57, 0.5),
    80px -20px 0 1px rgba(185, 28, 28, 0.45),
    -60px -5px 0 1px rgba(212, 165, 57, 0.55),
    110px -15px 0 1px rgba(185, 28, 28, 0.35),
    -10px -35px 0 1px rgba(212, 165, 57, 0.6),
    50px -8px 0 1px rgba(185, 28, 28, 0.4),
    -30px -22px 0 1px rgba(212, 165, 57, 0.5);
}

.section--light .btn--primary:hover::before,
.section--ivory .btn--primary:hover::before {
  animation-duration: 2s;
}

.btn--large {
  padding: 1.1em 2.5em;
  font-size: 1.1rem;
}

.btn--pulse {
  animation: pulse 2.5s ease-in-out infinite;
}

.btn .icon-ticket {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   8. NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--space-md);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(10, 22, 40, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar__brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.navbar__brand:hover {
  color: var(--accent-secondary);
}

.navbar__links {
  display: none;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 1024px) {
  .navbar__links {
    display: flex;
  }
}

.navbar__links a {
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3em 0;
  position: relative;
}

/* Enhanced link underline animation -- expanding from center */
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  transition: width var(--transition-medium), left var(--transition-medium);
}

.navbar__links a:hover::after {
  width: 100%;
  left: 0%;
}

.navbar__cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar__cta {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger__line {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text-on-dark);
  transition: all var(--transition-medium);
  margin: 3px 0;
  border-radius: 2px;
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(
    180deg,
    var(--color-abyssal-blue) 0%,
    var(--color-midnight-navy) 50%,
    var(--color-ocean-deep) 100%
  );
  z-index: 999;
  padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-md);
  transition: right var(--transition-medium);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.mobile-menu__overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  display: block;
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 1.1rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateX(30px);
}

.mobile-menu a:hover {
  color: var(--accent-primary);
}

/* Staggered animation for mobile menu items */
.mobile-menu.open a {
  animation: mobileMenuSlide 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mobile-menu.open a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { animation-delay: 0.10s; }
.mobile-menu.open a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { animation-delay: 0.20s; }
.mobile-menu.open a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu.open a:nth-child(6) { animation-delay: 0.30s; }
.mobile-menu.open a:nth-child(7) { animation-delay: 0.35s; }

@keyframes mobileMenuSlide {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu .btn {
  margin-top: var(--space-md);
  width: calc(100% - var(--space-md));
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  text-align: center;
  display: flex;
}

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  /* Animated shifting gradient background */
  background:
    linear-gradient(
      160deg,
      var(--color-abyssal-blue) 0%,
      var(--color-midnight-navy) 30%,
      var(--color-ocean-deep) 60%,
      var(--color-abyssal-blue) 100%
    );
  background-size: 200% 200%;
  animation: heroGradientShift 12s ease-in-out infinite;
  overflow: hidden;
}

@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 0%; }
  25% { background-position: 50% 100%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 0%; }
}

/* Hero background image */
.hero__bg-image {
  position: absolute;
  inset: -20px;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.12) saturate(1.2) contrast(1.08) brightness(0.45);
  opacity: 0.6;
  transform: scale(1.05);
}

/* Radial overlays on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(212, 165, 57, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(27, 58, 92, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(185, 28, 28, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Diagonal line pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-30deg,
    transparent, transparent 60px,
    rgba(212, 165, 57, 0.015) 60px,
    rgba(212, 165, 57, 0.015) 62px
  );
  pointer-events: none;
  z-index: 1;
}

/* Golden particles (CSS-only) */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero__particles::before,
.hero__particles::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-tiger-gold);
  animation: particleFloat 20s linear infinite;
  box-shadow:
    120px 80vh 0 0 rgba(212, 165, 57, 0.4),
    350px 30vh 0 1px rgba(212, 165, 57, 0.3),
    580px 60vh 0 0 rgba(212, 165, 57, 0.5),
    800px 20vh 0 1px rgba(212, 165, 57, 0.2),
    1000px 75vh 0 0 rgba(212, 165, 57, 0.4),
    200px 45vh 0 1px rgba(212, 165, 57, 0.3),
    650px 85vh 0 0 rgba(212, 165, 57, 0.2),
    900px 55vh 0 1px rgba(212, 165, 57, 0.5),
    50px 10vh 0 0 rgba(212, 165, 57, 0.3),
    1100px 40vh 0 1px rgba(212, 165, 57, 0.4),
    450px 15vh 0 0 rgba(212, 165, 57, 0.2),
    750px 90vh 0 1px rgba(212, 165, 57, 0.3);
}

.hero__particles::after {
  animation-delay: -10s;
  animation-duration: 25s;
  box-shadow:
    80px 50vh 0 1px rgba(212, 165, 57, 0.3),
    300px 70vh 0 0 rgba(212, 165, 57, 0.2),
    520px 25vh 0 1px rgba(212, 165, 57, 0.4),
    700px 80vh 0 0 rgba(212, 165, 57, 0.3),
    950px 35vh 0 1px rgba(212, 165, 57, 0.2),
    150px 60vh 0 0 rgba(212, 165, 57, 0.5),
    400px 90vh 0 1px rgba(212, 165, 57, 0.3),
    1050px 15vh 0 0 rgba(212, 165, 57, 0.4),
    250px 5vh 0 1px rgba(212, 165, 57, 0.2),
    850px 65vh 0 0 rgba(212, 165, 57, 0.3);
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-20vh) translateX(80px);
    opacity: 0;
  }
}

/* Cinematic vignette */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    transparent 30%,
    rgba(10, 22, 40, 0.4) 70%,
    rgba(10, 22, 40, 0.85) 100%
  );
}

/* Hero layout: text left, poster right on desktop */
.hero__layout {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  max-width: 1200px;
  width: 100%;
}

/* Hero content */
.hero__content {
  max-width: 600px;
  text-align: center;
}

/* Poster / locandina */
.hero__poster {
  display: none;
}

@media (min-width: 1024px) {
  .hero__layout {
    text-align: left;
  }

  .hero__content {
    text-align: left;
    flex: 1;
    min-width: 0;
    max-width: none;
  }

  .hero__title {
    font-size: clamp(3.5rem, 8vw, 7rem);
  }

  .hero__poster {
    display: block;
    flex: 0 0 300px;
    max-width: 300px;
    animation: subtitleReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
  }

  .hero__poster img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow:
      0 10px 50px rgba(0, 0, 0, 0.5),
      0 0 30px rgba(212, 165, 57, 0.15);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  }

  .hero__poster img:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow:
      0 15px 60px rgba(0, 0, 0, 0.6),
      0 0 40px rgba(212, 165, 57, 0.25);
  }
}

@media (min-width: 1280px) {
  .hero__title {
    font-size: clamp(4rem, 9vw, 8rem);
  }

  .hero__poster {
    flex: 0 0 360px;
    max-width: 360px;
  }
}

/* Metallic gold gradient title with shimmer */
.hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 1;
  margin-bottom: 0.1em;
  letter-spacing: 0.05em;
  position: relative;
  overflow: visible;
  /* Gradient text fill */
  background: linear-gradient(
    180deg,
    #f5d780 0%,
    #d4a539 25%,
    #b8860b 50%,
    #d4a539 75%,
    #f5d780 100%
  );
  background-size: 100% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Animated shimmer */
  animation: goldShimmer 4s ease-in-out infinite;
  /* Glow via filter */
  filter: drop-shadow(0 0 20px rgba(212, 165, 57, 0.4))
          drop-shadow(0 4px 40px rgba(212, 165, 57, 0.25));
}

/* Hero claw: saturated, stays blended on background */
.claw-img--hero {
  position: absolute;
  top: 50%;
  left: 55%;
  width: clamp(400px, 65vw, 1000px);
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  filter:
    saturate(3)
    brightness(1.5)
    hue-rotate(-10deg);
  animation:
    clawHeroSlash 0.5s cubic-bezier(0, 0, 0.15, 1) 0.8s forwards,
    clawHeroSettle 1s ease 1.3s forwards;
}

/* Phase 1: slash in */
@keyframes clawHeroSlash {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(40px, -40px) scale(0.5) rotate(-10deg);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.9) rotate(0deg);
  }
}

/* Phase 2: settle into blended state */
@keyframes clawHeroSettle {
  0% {
    opacity: 1;
    filter: saturate(3) brightness(1.5) hue-rotate(-10deg);
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 0.6;
    filter: saturate(2) brightness(1.2) hue-rotate(-5deg);
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes goldShimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

/* Staggered hero entrance animations */
.hero__subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  color: var(--color-parchment);
  margin-bottom: var(--space-md);
  opacity: 0.9;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.7),
    0 0 12px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(0, 0, 0, 0.3);
  animation: subtitleReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero__info {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--color-aged-paper);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  animation: subtitleReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.hero__content .btn {
  animation: subtitleReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.0s both;
}

@keyframes subtitleReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero__info span { display: block; }

.hero__info .date {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-size: 1.1em;
}

/* Compass Rose */
.compass-rose {
  position: absolute;
  z-index: 4;
  opacity: 0.06;
  pointer-events: none;
}

.compass-rose--hero {
  bottom: 5%;
  right: 5%;
  width: clamp(200px, 30vw, 400px);
}

.compass-rose--hero svg {
  width: 100%;
  height: auto;
  fill: var(--accent-primary);
  animation: compassSpin 120s linear infinite;
}

@keyframes compassSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity var(--transition-slow);
}

.scroll-indicator.faded { opacity: 0; }

.scroll-indicator__arrow {
  width: 24px;
  height: 24px;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator__arrow svg {
  fill: var(--accent-primary);
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   10. CREDITS
   -------------------------------------------------------------------------- */
.credits {
  padding: var(--space-sm) 0;
  text-align: center;
}

.credits.section {
  padding: var(--space-lg) 0;
}

.credits__wrap {
  position: relative;
  overflow: visible;
  padding: var(--space-sm) 0;
}

/* Override animate-on-scroll: wrapper appears instantly, children animate */
.credits__wrap.animate-on-scroll {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.credits {
  overflow: visible;
  contain: none;
}

.credits__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}

/* --- Tiger Claw PNG animation --- */
/* Each credits item is a container for its own claw */
.credits__item {
  position: relative;
  z-index: 2;
  overflow: visible;
  min-height: 80px;
  padding: var(--space-sm) var(--space-md);
}


/* Claw image on top of cover */
.claw-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
}

/* === FIRST ITEM: claw at 0.2s, text at 0.6s === */

.credits__wrap.visible .credits__item:nth-child(1) .claw-img {
  animation:
    clawSlashDiag 0.4s cubic-bezier(0, 0, 0.15, 1) 0.2s forwards,
    clawFadeOut 0.6s ease 1.0s forwards;
}


/* === SECOND ITEM: claw at 1.2s, text at 1.55s === */

.credits__wrap.visible .credits__item:nth-child(2) .claw-img {
  animation:
    clawSlashDiag 0.4s cubic-bezier(0, 0, 0.15, 1) 1.2s forwards,
    clawFadeOut 0.6s ease 2.0s forwards;
}


/* --- Keyframes --- */

/* Claw: slashes in from top-right → bottom-left */
@keyframes clawSlashDiag {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(30px, -30px) scale(0.6) rotate(-8deg);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
  }
}

/* Claw fades out */
@keyframes clawFadeOut {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
}


.credits__item h2 {
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--color-driftwood);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

.credits__wrap.visible .credits__item:nth-child(1) h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

.credits__wrap.visible .credits__item:nth-child(2) h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.55s;
}

.credits__item h2 strong,
.credits__item h2 a {
  display: block;
  font-weight: 700;
  color: var(--color-sandokan-red);
  font-size: 2rem;
}

.credits__item h2 a:hover {
  color: var(--color-crimson-silk);
}

/* --------------------------------------------------------------------------
   11. TAGLINE
   -------------------------------------------------------------------------- */
.tagline {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  background: var(--color-midnight-navy);
}

.tagline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
    transparent, transparent 40px,
    rgba(212, 165, 57, 0.04) 40px,
    rgba(212, 165, 57, 0.04) 42px
  );
  pointer-events: none;
}

.tagline h2 {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-accent);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--color-parchment);
  line-height: 1.5;
  /* Override the gradient text for tagline */
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  filter: none;
}

/* --------------------------------------------------------------------------
   12. WAVE DIVIDERS
   -------------------------------------------------------------------------- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider--dark-to-light svg { fill: var(--bg-light); }
.wave-divider--light-to-dark svg { fill: var(--bg-dark); }
.wave-divider--navy-to-light svg { fill: var(--bg-light); }
.wave-divider--light-to-navy svg { fill: var(--color-midnight-navy); }
.wave-divider--dark-to-navy svg  { fill: var(--color-midnight-navy); }
.wave-divider--navy-to-dark svg  { fill: var(--bg-dark); }
.wave-divider--dark-to-ivory svg { fill: var(--color-colonial-ivory); }
.wave-divider--ivory-to-dark svg { fill: var(--bg-dark); }

/* --------------------------------------------------------------------------
   13. CONTENT SECTIONS
   -------------------------------------------------------------------------- */
.section__header {
  margin-bottom: var(--space-lg);
}

/* Section heading accent stripes */
.section__header h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 0.6em;
  border-radius: 2px;
}

.section--dark .section__header h2::after,
.section--navy .section__header h2::after {
  background: linear-gradient(
    90deg,
    var(--color-tiger-gold),
    var(--color-amber-flame),
    transparent
  );
}

.section--light .section__header h2::after,
.section--ivory .section__header h2::after {
  background: linear-gradient(
    90deg,
    var(--color-sandokan-red),
    var(--color-crimson-silk),
    transparent
  );
}

/* Image Placeholders */
.image-placeholder {
  width: 100%;
}


/* --------------------------------------------------------------------------
   14. TEXT DIVIDERS
   -------------------------------------------------------------------------- */
.text-divider {
  padding: var(--space-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.text-divider__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
  overflow: visible;
}

/* Divider claw: saturated highlight, stays blended */
.claw-img--divider {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(100px, 18vw, 180px);
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  filter:
    saturate(3)
    brightness(2)
    invert(1)
    hue-rotate(180deg);
}

/* On light background: different filter */
.claw-img--divider-light {
  filter:
    saturate(2.5)
    brightness(1.3)
    hue-rotate(-10deg);
  mix-blend-mode: multiply;
}

/* Slash in on scroll, then settle */
.text-divider__inner.visible .claw-img--divider {
  animation:
    clawSlashDiag 0.5s cubic-bezier(0, 0, 0.15, 1) 0.1s forwards,
    clawDividerSettle 1s ease 0.6s forwards;
}

@keyframes clawDividerSettle {
  0% {
    opacity: 1;
    filter: saturate(3) brightness(2) invert(1) hue-rotate(180deg);
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0.06;
    filter: saturate(2) brightness(1.6) invert(1) hue-rotate(180deg);
    transform: translate(-50%, -50%) scale(0.85);
  }
}

.text-divider__inner.visible .claw-img--divider-light {
  animation:
    clawSlashDiag 0.5s cubic-bezier(0, 0, 0.15, 1) 0.1s forwards,
    clawDividerSettleLight 1s ease 0.6s forwards;
}

@keyframes clawDividerSettleLight {
  0% {
    opacity: 1;
    filter: saturate(2.5) brightness(1.3) hue-rotate(-10deg);
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0.08;
    filter: saturate(1.5) brightness(1.1) hue-rotate(-5deg);
    transform: translate(-50%, -50%) scale(0.85);
  }
}

.text-divider__line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  animation: lineShimmer 3s ease-in-out infinite;
}

@keyframes lineShimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.text-divider__text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  opacity: 0.15;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(
    180deg,
    var(--accent-primary),
    rgba(212, 165, 57, 0.3)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   15. TICKETS
   -------------------------------------------------------------------------- */
.tickets-section {
  position: relative;
}

.tickets-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(10, 22, 40, 0.97), rgba(10, 22, 40, 0.97)),
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(212, 165, 57, 0.05) 49px, rgba(212, 165, 57, 0.05) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(212, 165, 57, 0.05) 49px, rgba(212, 165, 57, 0.05) 50px);
  pointer-events: none;
}

.tickets-section .container { position: relative; z-index: 1; }

.tickets-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.tickets-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.1em;
  /* Gold glow for ticket header */
  text-shadow:
    0 0 30px rgba(212, 165, 57, 0.3),
    0 0 60px rgba(212, 165, 57, 0.1);
}

.tickets-header p {
  font-size: 1.15rem;
  color: var(--color-aged-paper);
  margin-top: var(--space-sm);
}

.tickets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

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

/* ===== REALISTIC TICKET CARDS ===== */
.ticket-card {
  display: flex;
  flex-direction: row;
  position: relative;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  /* Parchment/aged paper look */
  background:
    linear-gradient(135deg,
      #F5ECD7 0%, #EDE5D3 30%, #FAF6ED 60%, #EDE5D3 100%
    );
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 0 60px rgba(139, 125, 107, 0.1);
  min-height: 200px;
  border: 2px solid rgba(139, 125, 107, 0.25);
  transition:
    transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.7s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.6s ease,
    background 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Subtle paper texture via noise */
.ticket-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(139, 125, 107, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(139, 125, 107, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

/* Golden shimmer sweep overlay */
.ticket-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(245, 215, 128, 0.25) 45%,
    rgba(212, 165, 57, 0.35) 50%,
    rgba(245, 215, 128, 0.25) 55%,
    transparent 70%
  );
  background-size: 300% 100%;
  background-position: 200% 0;
  opacity: 0;
  transition: opacity 0.5s ease, background-position 0s;
}

.ticket-card:hover::after {
  opacity: 1;
  background-position: 80% 0;
  transition: opacity 0.5s ease, background-position 1.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ticket-card:hover {
  transform: translateY(-10px) rotate(-1deg) perspective(800px) rotateY(-1.5deg);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(212, 165, 57, 0.15),
    0 0 80px rgba(212, 165, 57, 0.08);
  background:
    linear-gradient(135deg,
      #FDF6E3 0%, #F5E6C8 25%, #FFFDF5 45%, #F5E6C8 65%, #FDF6E3 100%
    );
  border-color: var(--color-tiger-gold);
  animation: ticketBorderGlow 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes ticketBorderGlow {
  0%, 100% {
    border-color: rgba(212, 165, 57, 0.6);
    box-shadow:
      0 25px 60px rgba(0, 0, 0, 0.35),
      0 0 15px rgba(212, 165, 57, 0.1);
  }
  50% {
    border-color: rgba(232, 184, 75, 0.8);
    box-shadow:
      0 25px 60px rgba(0, 0, 0, 0.35),
      0 0 25px rgba(212, 165, 57, 0.2);
  }
}

/* --- LEFT STUB (tear-off) --- */
.ticket-card__stub {
  flex: 0 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.8rem 0.4rem;
  position: relative;
  background: linear-gradient(180deg,
    var(--color-mompracem-red),
    var(--color-sandokan-red),
    var(--color-mompracem-red)
  );
  z-index: 2;
  transition: background 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Perforated edge between stub and body */
.ticket-card__stub::after {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: -1px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 4px,
    rgba(0, 0, 0, 0.25) 4px,
    rgba(0, 0, 0, 0.25) 8px
  );
  z-index: 3;
}

/* Semicircle notches at top and bottom of perforation */
.ticket-card__stub::before {
  content: '';
  position: absolute;
  right: -8px;
  top: -1px;
  width: 16px;
  height: 16px;
  background: var(--color-abyssal-blue);
  border-radius: 50%;
  z-index: 4;
  box-shadow: 0 calc(100% + 200px - 14px) 0 0 var(--color-abyssal-blue);
}

.ticket-card__stub-code {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  transition: color 0.6s ease;
}

.ticket-card__stub-event {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.55rem;
  color: var(--color-tiger-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  transition: color 0.6s ease;
}

/* --- MAIN BODY --- */
.ticket-card__body {
  flex: 1;
  padding: 1.2rem 1rem 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.ticket-card__venue {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-driftwood);
  margin-bottom: 0.4rem;
  transition: color 0.6s ease, letter-spacing 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.ticket-card:hover .ticket-card__venue {
  color: var(--color-tiger-gold);
  letter-spacing: 0.18em;
}

.ticket-card__type {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--color-ink-black);
  line-height: 1.2;
  margin-bottom: 0.2rem;
  transition: color 0.6s ease;
}

.ticket-card:hover .ticket-card__type {
  color: var(--color-ocean-deep);
}

.ticket-card__price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--color-sandokan-red);
  margin-bottom: 0.5rem;
  line-height: 1;
  transition: color 0.6s ease, text-shadow 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.ticket-card__desc {
  font-size: 0.82rem;
  color: var(--color-charcoal);
  line-height: 1.45;
  flex-grow: 1;
  margin-bottom: 0.6rem;
  opacity: 0.8;
}

.ticket-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(139, 125, 107, 0.3);
  padding-top: 0.5rem;
  margin-top: auto;
  transition: border-color 0.6s ease;
}

.ticket-card:hover .ticket-card__footer {
  border-color: rgba(212, 165, 57, 0.4);
}

.ticket-card__date {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: var(--color-driftwood);
  letter-spacing: 0.03em;
}

.ticket-card__cta {
  font-weight: 700;
  color: var(--color-sandokan-red);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.6s ease, letter-spacing 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.ticket-card:hover .ticket-card__cta {
  color: var(--color-tiger-gold);
  letter-spacing: 0.12em;
}

/* Golden ticket hover: stub turns gold */
.ticket-card:hover .ticket-card__stub {
  background: linear-gradient(180deg,
    #B8860B,
    var(--color-tiger-gold),
    #F5D780,
    var(--color-tiger-gold),
    #B8860B
  );
}

.ticket-card:hover .ticket-card__stub-event {
  color: var(--color-abyssal-blue);
}

.ticket-card:hover .ticket-card__stub-code {
  color: rgba(10, 22, 40, 0.7);
}

/* Price glows gold on hover */
.ticket-card:hover .ticket-card__price {
  color: var(--color-tiger-gold);
  text-shadow: 0 0 15px rgba(212, 165, 57, 0.4);
}

/* Barcode becomes more visible */
.ticket-card:hover .ticket-card__barcode {
  opacity: 0.3;
}

/* --- BARCODE STRIP (right edge) --- */
.ticket-card__barcode {
  flex: 0 0 28px;
  position: relative;
  z-index: 2;
  background: repeating-linear-gradient(
    90deg,
    var(--color-ink-black) 0px,
    var(--color-ink-black) 2px,
    transparent 2px,
    transparent 3px,
    var(--color-ink-black) 3px,
    var(--color-ink-black) 4px,
    transparent 4px,
    transparent 6px,
    var(--color-ink-black) 6px,
    var(--color-ink-black) 7px,
    transparent 7px,
    transparent 9px,
    var(--color-ink-black) 9px,
    var(--color-ink-black) 11px,
    transparent 11px,
    transparent 12px,
    var(--color-ink-black) 12px,
    var(--color-ink-black) 13px,
    transparent 13px,
    transparent 15px,
    var(--color-ink-black) 15px,
    var(--color-ink-black) 17px,
    transparent 17px,
    transparent 18px,
    var(--color-ink-black) 18px,
    var(--color-ink-black) 19px,
    transparent 19px,
    transparent 21px,
    var(--color-ink-black) 21px,
    var(--color-ink-black) 22px,
    transparent 22px,
    transparent 24px,
    var(--color-ink-black) 24px,
    var(--color-ink-black) 26px,
    transparent 26px,
    transparent 28px
  );
  opacity: 0.15;
  border-left: 1px solid rgba(139, 125, 107, 0.2);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Ticket entrance animation: deal from deck */
@keyframes ticketDeal {
  0% {
    opacity: 0;
    transform: translateY(-40px) rotate(8deg) scale(0.9);
    filter: blur(4px);
  }
  50% {
    opacity: 1;
    transform: translateY(8px) rotate(-2deg) scale(1.02);
    filter: blur(0);
  }
  70% {
    transform: translateY(-3px) rotate(0.5deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
    filter: blur(0);
  }
}

.tickets-grid .ticket-card.visible {
  animation: ticketDeal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tickets-grid .ticket-card.visible:nth-child(1) { animation-delay: 0.05s; }
.tickets-grid .ticket-card.visible:nth-child(2) { animation-delay: 0.12s; }
.tickets-grid .ticket-card.visible:nth-child(3) { animation-delay: 0.19s; }
.tickets-grid .ticket-card.visible:nth-child(4) { animation-delay: 0.26s; }
.tickets-grid .ticket-card.visible:nth-child(5) { animation-delay: 0.33s; }
.tickets-grid .ticket-card.visible:nth-child(6) { animation-delay: 0.40s; }
.tickets-grid .ticket-card.visible:nth-child(7) { animation-delay: 0.47s; }
.tickets-grid .ticket-card.visible:nth-child(8) { animation-delay: 0.54s; }
.tickets-grid .ticket-card.visible:nth-child(9) { animation-delay: 0.61s; }
.tickets-grid .ticket-card.visible:nth-child(10) { animation-delay: 0.68s; }

/* --- FREE TICKET VARIANT --- */
.ticket-card--free .ticket-card__stub {
  background: linear-gradient(180deg,
    var(--color-jungle-emerald),
    var(--color-tropical-canopy),
    var(--color-jungle-emerald)
  );
}

.ticket-card--free .ticket-card__price {
  color: var(--color-jungle-emerald);
}

.ticket-card--free .ticket-card__cta {
  color: var(--color-jungle-emerald);
}

.ticket-card--free:hover .ticket-card__cta {
  color: var(--color-tropical-canopy);
}

/* --------------------------------------------------------------------------
   16. INFORMATION
   -------------------------------------------------------------------------- */
/* --- Info Cards (Sede, Date, Orari) --- */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

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

.info-card {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  background: linear-gradient(135deg, rgba(250,246,237,0.95) 0%, rgba(245,236,215,0.8) 100%);
  border: 1px solid rgba(212,165,57,0.15);
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.5s cubic-bezier(0.23,1,0.32,1);
  /* Entrance: hidden until parent .visible triggers */
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}

/* Staggered reveal when parent gets .visible from scroll observer */
.info-cards.visible .info-card {
  animation: infoCardReveal 0.8s cubic-bezier(0.23,1,0.32,1) forwards;
}

.info-cards.visible .info-card:nth-child(1) { animation-delay: 0.1s; }
.info-cards.visible .info-card:nth-child(2) { animation-delay: 0.3s; }
.info-cards.visible .info-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes infoCardReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.info-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(212,165,57,0.25);
}

/* Gold shimmer sweep on hover */
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(212,165,57,0.08) 40%, rgba(212,165,57,0.15) 50%, rgba(212,165,57,0.08) 60%, transparent 100%);
  transition: left 0.7s cubic-bezier(0.23,1,0.32,1);
  pointer-events: none;
  z-index: 1;
}

.info-card:hover::before {
  left: 100%;
}

/* Gold accent bar - animates wider on hover */
.info-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-tiger-gold);
  border-radius: 3px 3px 0 0;
  transition: width 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.5s ease;
}

.info-card:hover::after {
  width: 80%;
  box-shadow: 0 0 12px rgba(212,165,57,0.4);
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sandokan-red) 0%, var(--color-mompracem-red) 100%);
  color: var(--color-colonial-ivory);
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 16px rgba(185,28,28,0.25);
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.5s ease;
  position: relative;
}

/* Icon pulse ring */
.info-card__icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(185,28,28,0.3);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23,1,0.32,1);
}

.info-card:hover .info-card__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 6px 24px rgba(185,28,28,0.35);
}

.info-card:hover .info-card__icon::after {
  opacity: 1;
  transform: scale(1);
}

.info-card__label {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--color-driftwood);
  margin-bottom: 0.4em;
  transition: letter-spacing 0.5s cubic-bezier(0.23,1,0.32,1), color 0.4s ease;
}

.info-card:hover .info-card__label {
  letter-spacing: 0.18em;
  color: var(--color-tiger-gold);
}

.info-card__value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-ink-black);
  line-height: 1.5;
  margin-bottom: 0.3em;
  transition: color 0.4s ease;
}

.info-card:hover .info-card__value {
  color: var(--color-ocean-deep);
}

.info-card__detail {
  font-size: 0.85rem;
  color: var(--color-driftwood);
  font-style: italic;
}

/* --- Info Grid (Aperture + Mappa) --- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

/* Info blocks */
.info-block {
  background: linear-gradient(135deg, rgba(250,246,237,0.95) 0%, rgba(245,236,215,0.8) 100%);
  border: 1px solid rgba(212,165,57,0.12);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.info-block__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(212,165,57,0.2);
}

.info-block__header svg {
  color: var(--color-sandokan-red);
  flex-shrink: 0;
}

.info-block h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-sandokan-red);
  margin-bottom: 0;
  font-size: 1.3rem;
}

.info-block p {
  margin-bottom: 0.75em;
  line-height: 1.7;
}

/* --- Special Openings List (redesigned) --- */
.special-openings {
  list-style: none;
  padding: 0;
  margin: 0;
}

.special-openings li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7em 0;
  border-bottom: 1px solid rgba(139,125,107,0.12);
  transition: background var(--transition-fast), padding var(--transition-fast);
}

.special-openings li:last-child { border-bottom: none; }

.special-openings li:hover {
  background: rgba(212,165,57,0.05);
  border-radius: 6px;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

/* Date badge */
.opening-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 52px;
  background: var(--color-abyssal-blue);
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

.opening-date__day {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-colonial-ivory);
  line-height: 1.1;
}

.opening-date__month {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-tiger-gold);
  line-height: 1;
}

/* Opening info text */
.opening-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.opening-info__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink-black);
}

.opening-info__hours {
  font-size: 0.8rem;
  color: var(--color-driftwood);
}

/* Calendar button */
.btn-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--color-tiger-gold);
  border-radius: 8px;
  background: transparent;
  color: var(--color-tiger-gold);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
}

.btn-calendar:hover {
  background: var(--color-tiger-gold);
  color: var(--color-abyssal-blue);
  transform: scale(1.1);
  box-shadow: 0 2px 12px rgba(212,165,57,0.35);
}

.btn-calendar:active {
  transform: scale(0.95);
}

/* Tooltip */
.btn-calendar::before {
  content: 'Aggiungi al calendario';
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--color-abyssal-blue);
  color: var(--color-parchment);
  padding: 0.35em 0.7em;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 10;
}

.btn-calendar:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Confirmation state */
.btn-calendar.added {
  background: var(--color-jungle-emerald);
  border-color: var(--color-jungle-emerald);
  color: white;
}

.btn-calendar.added::before {
  content: 'Aggiunto!';
  background: var(--color-jungle-emerald);
}

/* --- Map block --- */
.info-block--map {
  display: flex;
  flex-direction: column;
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.12),
    inset 0 0 0 2px rgba(212,165,57,0.12);
  position: relative;
  flex: 1;
}

.map-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(212,165,57,0.08);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

@media (min-width: 768px) {
  .map-container iframe { min-height: 350px; }
}

/* Directions button */
.map-directions {
  margin-top: var(--space-sm);
  text-align: center;
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6em 1.4em;
  border: 1.5px solid var(--color-tiger-gold);
  border-radius: var(--border-radius-sm);
  background: transparent;
  color: var(--color-tiger-gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn--outline:hover {
  background: var(--color-tiger-gold);
  color: var(--color-abyssal-blue);
  box-shadow: 0 2px 12px rgba(212,165,57,0.3);
}

.btn--sm {
  padding: 0.5em 1.2em;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   17. ROPE BORDER DECORATION
   -------------------------------------------------------------------------- */
.rope-border {
  height: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--color-tiger-gold) 0px,
      var(--color-tiger-gold) 4px,
      var(--color-driftwood) 4px,
      var(--color-driftwood) 8px,
      transparent 8px,
      transparent 10px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 3px,
      rgba(212, 165, 57, 0.4) 3px,
      rgba(212, 165, 57, 0.4) 6px
    );
  border-radius: 3px;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   17b. SECTION PARTICLES (reusable golden dust)
   -------------------------------------------------------------------------- */
.section-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.section-particles::before,
.section-particles::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--color-tiger-gold);
  animation: sectionParticleFloat 18s linear infinite;
}

.section-particles::before {
  box-shadow:
    80px 20% 0 0 rgba(212, 165, 57, 0.3),
    250px 60% 0 1px rgba(212, 165, 57, 0.2),
    450px 30% 0 0 rgba(212, 165, 57, 0.4),
    650px 70% 0 1px rgba(212, 165, 57, 0.2),
    850px 40% 0 0 rgba(212, 165, 57, 0.3),
    1050px 80% 0 1px rgba(212, 165, 57, 0.25),
    180px 90% 0 0 rgba(212, 165, 57, 0.15),
    550px 15% 0 1px rgba(212, 165, 57, 0.3);
}

.section-particles::after {
  animation-delay: -9s;
  animation-duration: 22s;
  box-shadow:
    120px 50% 0 1px rgba(212, 165, 57, 0.2),
    320px 80% 0 0 rgba(212, 165, 57, 0.35),
    520px 20% 0 1px rgba(212, 165, 57, 0.2),
    720px 65% 0 0 rgba(212, 165, 57, 0.3),
    920px 35% 0 1px rgba(212, 165, 57, 0.15),
    350px 10% 0 0 rgba(212, 165, 57, 0.25),
    750px 90% 0 1px rgba(212, 165, 57, 0.3);
}

/* Dense variant for tickets section */
.section-particles--dense::before {
  box-shadow:
    60px 15% 0 0 rgba(212, 165, 57, 0.35),
    180px 55% 0 1px rgba(212, 165, 57, 0.25),
    300px 25% 0 0 rgba(212, 165, 57, 0.4),
    420px 75% 0 1px rgba(212, 165, 57, 0.2),
    540px 35% 0 0 rgba(212, 165, 57, 0.35),
    660px 85% 0 1px rgba(212, 165, 57, 0.3),
    780px 10% 0 0 rgba(212, 165, 57, 0.2),
    900px 60% 0 1px rgba(212, 165, 57, 0.4),
    1020px 45% 0 0 rgba(212, 165, 57, 0.25),
    150px 90% 0 1px rgba(212, 165, 57, 0.3),
    500px 5% 0 0 rgba(212, 165, 57, 0.35),
    820px 50% 0 1px rgba(212, 165, 57, 0.2);
}

.section-particles--dense::after {
  box-shadow:
    100px 40% 0 1px rgba(212, 165, 57, 0.3),
    220px 70% 0 0 rgba(212, 165, 57, 0.2),
    340px 20% 0 1px rgba(212, 165, 57, 0.4),
    460px 80% 0 0 rgba(212, 165, 57, 0.25),
    580px 50% 0 1px rgba(212, 165, 57, 0.35),
    700px 10% 0 0 rgba(212, 165, 57, 0.2),
    830px 65% 0 1px rgba(212, 165, 57, 0.3),
    960px 30% 0 0 rgba(212, 165, 57, 0.4),
    1100px 75% 0 1px rgba(212, 165, 57, 0.15),
    280px 95% 0 0 rgba(212, 165, 57, 0.3);
}

@keyframes sectionParticleFloat {
  0% {
    transform: translateY(100%) translateX(0);
    opacity: 0;
  }
  8% { opacity: 0.7; }
  92% { opacity: 0.7; }
  100% {
    transform: translateY(-20%) translateX(60px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-particles { display: none; }
}

@media (max-width: 768px) {
  .section-particles::before,
  .section-particles::after {
    animation-duration: 28s;
  }
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-abyssal-blue);
  color: var(--text-on-dark);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

/* Gold line at top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-tiger-gold),
    transparent
  );
}

/* Subtle compass watermark in footer */
.footer::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(212, 165, 57, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

.footer__col h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

.footer__col p,
.footer__col a {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-aged-paper);
}

.footer__col a:hover { color: var(--accent-primary); }

.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.social-links a:hover {
  background: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(212, 165, 57, 0.3);
}

.social-links a svg {
  width: 20px;
  height: 20px;
  fill: var(--color-parchment);
  transition: fill var(--transition-fast);
}

.social-links a:hover svg { fill: var(--bg-dark); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  text-align: center;
}

.footer__copyright {
  font-size: 0.85rem;
  color: var(--color-driftwood);
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}

.footer__legal-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__legal-links a {
  font-size: 0.85rem;
  color: var(--color-driftwood);
}

.footer__legal-links a:hover { color: var(--accent-primary); }

/* --------------------------------------------------------------------------
   18c. MAGIC EFFECTS
   -------------------------------------------------------------------------- */

/* === 1. 3D TILT on content images === */
.image-placeholder img {
  border-radius: var(--border-radius-md);
  box-shadow:
    0 18px 50px rgba(10, 20, 42, 0.18),
    0 6px 18px rgba(10, 20, 42, 0.12);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.image-placeholder:hover img {
  transform: scale(1.02) rotate(-0.5deg);
  box-shadow:
    0 24px 70px rgba(10, 20, 42, 0.28),
    0 10px 24px rgba(10, 20, 42, 0.18);
}

/* === 2. Animated gold gradient on pull-quote === */
.pull-quote {
  border-left: 3px solid transparent;
  border-image: linear-gradient(
    180deg,
    var(--color-tiger-gold),
    var(--color-sandokan-red),
    var(--color-tiger-gold)
  ) 1;
  animation: pullQuoteBorder 6s ease-in-out infinite;
}

@keyframes pullQuoteBorder {
  0%, 100% {
    border-image: linear-gradient(180deg,
      var(--color-tiger-gold),
      var(--color-sandokan-red),
      var(--color-tiger-gold)
    ) 1;
  }
  50% {
    border-image: linear-gradient(180deg,
      var(--color-sandokan-red),
      var(--color-tiger-gold),
      var(--color-sandokan-red)
    ) 1;
  }
}

/* === 4. Glowing overline with shimmer === */
.overline {
  position: relative;
  overflow: hidden;
}

.overline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 165, 57, 0.3),
    transparent
  );
  animation: overlineShimmer 5s ease-in-out infinite;
}

.section--light .overline::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(185, 28, 28, 0.2),
    transparent
  );
}

@keyframes overlineShimmer {
  0%, 100% { left: -100%; }
  50% { left: 140%; }
}

/* === 5. Animated text divider glow pulse === */
.text-divider__text {
  animation: dividerGlow 4s ease-in-out infinite;
}

@keyframes dividerGlow {
  0%, 100% { opacity: 0.12; filter: blur(0); }
  50% { opacity: 0.22; filter: blur(0.5px); }
}

/* === 6. Torch flicker on dark section headings === */
.section--dark h2,
.section--navy h2 {
  animation: headingFlicker 8s ease-in-out infinite;
}

@keyframes headingFlicker {
  0%, 100% { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); }
  25% { filter: drop-shadow(0 2px 6px rgba(212, 165, 57, 0.15)); }
  50% { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); }
  75% { filter: drop-shadow(0 2px 8px rgba(212, 165, 57, 0.2)); }
}

/* === 7. Floating decorative dots on light sections === */
.section--light::after,
.section--ivory::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(212, 165, 57, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: dotFloat 30s linear infinite;
}

@keyframes dotFloat {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* === 8. Subtle glow on subsection titles === */
.section--dark .subsection-title,
.section--navy .subsection-title {
  transition: text-shadow 0.5s ease;
}

.section--dark .subsection-title:hover,
.section--navy .subsection-title:hover {
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(212, 165, 57, 0.25),
    0 0 60px rgba(212, 165, 57, 0.1);
}

/* === 9. Wave divider subtle animation === */
.wave-divider svg {
  animation: waveSway 8s ease-in-out infinite;
}

@keyframes waveSway {
  0%, 100% { transform: scaleX(1); }
  50% { transform: scaleX(1.02); }
}

/* === 10. Footer compass glow === */
.footer::after {
  animation: compassGlow 6s ease-in-out infinite;
}

@keyframes compassGlow {
  0%, 100% { border-color: rgba(212, 165, 57, 0.04); }
  50% { border-color: rgba(212, 165, 57, 0.1); }
}

/* --------------------------------------------------------------------------
   19. KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(185, 28, 28, 0.6), 0 0 60px rgba(185, 28, 28, 0.2); }
}

/* Torch flicker effect */
@keyframes torchFlicker {
  0%, 100% { opacity: 1; filter: brightness(1); }
  25%      { opacity: 0.95; filter: brightness(1.05); }
  50%      { opacity: 0.98; filter: brightness(0.98); }
  75%      { opacity: 0.96; filter: brightness(1.02); }
}

/* Ocean sway */
@keyframes oceanSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-4px) rotate(0.5deg); }
  75%      { transform: translateY(4px) rotate(-0.5deg); }
}

/* --------------------------------------------------------------------------
   20. SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
/* Enhanced cinematic emerge animations */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* JS-absent fallback: make everything visible so content is never hidden */
.no-js .animate-on-scroll,
.no-js .credits__item h2 {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
}

/* Only apply will-change during transitions */
.animate-on-scroll:not(.visible) {
  will-change: opacity, transform, filter;
}

.animate-on-scroll.visible {
  will-change: auto;
}

/* Blur-to-clear "cinematic emerge" effect */
.animate-on-scroll.fade-in-up {
  transform: translateY(60px) scale(0.97);
  filter: blur(4px);
}

.animate-on-scroll.fade-in-left {
  transform: translateX(-60px) scale(0.97);
  filter: blur(4px);
}

.animate-on-scroll.fade-in-right {
  transform: translateX(60px) scale(0.97);
  filter: blur(4px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0);
}

/* Clip-reveal animation (wipes in from left) */
.animate-on-scroll.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transform: none;
  filter: none;
}

.animate-on-scroll.clip-reveal.visible {
  clip-path: inset(0 0% 0 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scale-in (for images and media) */
.animate-on-scroll.scale-in {
  transform: scale(0.85);
  filter: blur(6px);
}

.animate-on-scroll.scale-in.visible {
  transform: scale(1);
  filter: blur(0);
}

/* Stagger children delays */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }
.stagger-children .animate-on-scroll:nth-child(7) { transition-delay: 0.7s; }
.stagger-children .animate-on-scroll:nth-child(8) { transition-delay: 0.8s; }
.stagger-children .animate-on-scroll:nth-child(9) { transition-delay: 0.9s; }
.stagger-children .animate-on-scroll:nth-child(10) { transition-delay: 1.0s; }

/* --------------------------------------------------------------------------
   21. RESPONSIVE
   -------------------------------------------------------------------------- */

/* Large screens */
@media (min-width: 1024px) {
  .section { padding: var(--space-2xl) 0; }
  .hero { padding: var(--space-2xl) var(--space-lg); }
}

/* Tablet */
@media (max-width: 768px) {
  .container { padding: 0 7.5%; }
  .two-col { gap: var(--space-md); }

  .hero {
    min-height: 100svh;
    padding-bottom: 5rem;
  }

  .hero__title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .claw-img--hero {
    top: 5%;
  }

  .hero__vignette {
    background: radial-gradient(
      ellipse 80% 70% at 50% 50%,
      transparent 20%,
      rgba(10, 22, 40, 0.5) 80%,
      rgba(10, 22, 40, 0.9) 100%
    );
  }

  /* Slower particles on mobile for performance */
  .hero__particles::before,
  .hero__particles::after {
    animation-duration: 30s;
  }

  /* Compass rose too small on mobile */
  .compass-rose--hero {
    display: none;
  }

  .image-placeholder {
    min-height: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
  }

  .image-placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius-lg) !important;
  }


  /* Body text minimum 18px on mobile */
  p, .ticket-card__desc, .info-block p, .special-openings li, .info-card__value {
    font-size: 1.125rem;
  }

  .info-card__icon {
    width: 48px;
    height: 48px;
  }

  .info-card__icon svg {
    width: 22px;
    height: 22px;
  }

  .opening-info__name {
    font-size: 1rem;
  }

  /* Reduce drop cap size on mobile */
  .two-col__text > p:first-of-type::first-letter {
    font-size: 2.8em;
  }

  /* Compact vertical ticket stack on mobile */
  .tickets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .ticket-card {
    min-height: 0;
  }

  .ticket-card__body {
    padding: 0.9rem 1rem 0.9rem 1.1rem;
  }

  .ticket-card__type { font-size: 1.1rem; margin-bottom: 0.1rem; }
  .ticket-card__price { font-size: 1.45rem; margin-bottom: 0.35rem; }
  .ticket-card__desc { font-size: 0.78rem; margin-bottom: 0.45rem; }
  .ticket-card__venue { font-size: 0.6rem; margin-bottom: 0.2rem; }

  .ticket-card__footer { padding-top: 0.4rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }
  .section { padding: var(--space-lg) 0; }
  .container { padding: 0 10%; }
  .ticket-card__price { font-size: 1.6rem; }


  .hero__title {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .hero__subtitle {
    font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .btn {
    padding: 1em 2em;
    font-size: 1rem;
    min-height: 48px;
  }

  .btn--primary:active {
    transform: scale(0.96);
    box-shadow: 0 2px 15px rgba(185, 28, 28, 0.5);
    transition-duration: 0.1s;
  }

  .ticket-card:active {
    transform: scale(0.97);
    transition-duration: 0.15s;
  }

  .ticket-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background:
      linear-gradient(135deg,
        #F5ECD7 0%, #EDE5D3 30%, #FAF6ED 60%, #EDE5D3 100%
      );
  }

  .ticket-card:hover .ticket-card__stub {
    background: linear-gradient(180deg,
      var(--color-mompracem-red),
      var(--color-sandokan-red),
      var(--color-mompracem-red)
    );
  }

  .image-placeholder:hover {
    transform: none;
  }

  .image-placeholder:hover::after {
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   22. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero__title {
    animation: none;
    background: var(--accent-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: none;
  }

  .hero__particles,
  .hero__vignette {
    display: none;
  }

  .btn--primary::before {
    display: none;
  }

  .overline::after,
  .section--light::after,
  .section--ivory::after {
    animation: none;
  }


  .wave-divider svg {
    animation: none;
  }

  .hero {
    animation: none;
    background-size: 100% 100%;
  }

  .hero__subtitle,
  .hero__info,
  .hero__content .btn {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .text-divider__line {
    animation: none;
    opacity: 0.6;
  }

  .mobile-menu.open a {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .ticket-card:hover {
    transform: none;
  }

  .btn--primary:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   23. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .navbar, .scroll-indicator, .wave-divider, .compass-rose,
  .hamburger, .mobile-menu, .mobile-menu__overlay,
  .hero__particles, .hero__vignette { display: none !important; }
  body { background: white; color: black; }
  .section--dark, .section--navy { background: white !important; color: black !important; }
  .hero { min-height: auto; background: white !important; }
  .hero__title {
    background: none;
    -webkit-text-fill-color: var(--color-ink-black);
    color: var(--color-ink-black);
  }
}

/* ============================================================
   EVENTI COLLATERALI
   ============================================================ */
.events-section {
  position: relative;
  padding: var(--space-xl) 0;
}

.events-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-xl);
}

.events-header .overline { display: inline-block; margin-bottom: var(--space-xs); }
.events-header h2 { margin-bottom: var(--space-md); }
.events-intro {
  color: var(--color-aged-paper);
  line-height: 1.55;
}
.events-intro a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 165, 57, 0.15);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 165, 57, 0.45);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.22);
}

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-ocean-deep), var(--color-midnight-navy));
}

.event-card__media picture,
.event-card__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.event-card__media img {
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card:hover .event-card__media img {
  transform: scale(1.06);
}

.event-card__media--placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 165, 57, 0.25), transparent 60%),
    linear-gradient(135deg, var(--color-mompracem-red), var(--color-ocean-deep));
}

.event-card__date {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: linear-gradient(180deg, var(--color-mompracem-red), #5C1010);
  border-radius: var(--border-radius-sm);
  color: var(--color-parchment);
  text-align: center;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(212, 165, 57, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 64px;
}

.event-card__day {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
}

.event-card__month {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 3px;
  color: var(--color-tiger-gold);
}

.event-card__time {
  font-size: 0.68rem;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.event-card__body {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  flex: 1;
}

.event-card__type {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 165, 57, 0.18);
  color: var(--color-tiger-gold);
  margin-bottom: var(--space-xs);
}

.event-card__type--lab {
  background: rgba(45, 114, 77, 0.25);
  color: #8fd7a5;
}

.event-card__type--guided {
  background: rgba(74, 118, 168, 0.25);
  color: #9cc6f0;
}

.event-card__type--special {
  background: rgba(204, 36, 36, 0.22);
  color: #ff9a9a;
}

.event-card__type--contest {
  background: rgba(150, 90, 190, 0.25);
  color: #d0a9e8;
}

.event-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--color-parchment);
  margin: 0 0 6px;
}

.event-card__speaker {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-tiger-gold);
  margin: 0 0 var(--space-xs);
}

.event-card__desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

@media (max-width: 520px) {
  .event-card__day { font-size: 1.6rem; }
  .event-card__body { padding: var(--space-sm); }
}

/* ============================================================
   PROSE CENTERED + INLINE FIGURE (single-column sections)
   ============================================================ */
.prose-centered {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.inline-figure {
  margin: var(--space-lg) 0;
  padding: 0;
}

.inline-figure picture,
.inline-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.inline-figure img {
  border-radius: var(--border-radius-md);
  box-shadow:
    0 18px 50px rgba(10, 20, 42, 0.18),
    0 6px 18px rgba(10, 20, 42, 0.12);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.inline-figure:hover img {
  transform: scale(1.02) rotate(-0.5deg);
  box-shadow:
    0 24px 70px rgba(10, 20, 42, 0.28),
    0 10px 24px rgba(10, 20, 42, 0.18);
}

@media (min-width: 900px) {
  /* Let the figure breathe beyond the prose width */
  .inline-figure {
    margin-left: -8%;
    margin-right: -8%;
  }
}

/* ============================================================
   VIDEO EMBED (trailer inside tagline)
   ============================================================ */
.tagline--with-video {
  padding-bottom: var(--space-xl);
}

.tagline--with-video h2 {
  margin-bottom: var(--space-lg);
}

.video-embed {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 2px rgba(212, 165, 57, 0.25);
  background: var(--color-ink-black);
}

.video-embed::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(212, 165, 57, 0.18);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

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

/* Facade button: thumbnail + play overlay until click */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--color-ink-black);
  cursor: pointer;
  overflow: hidden;
  display: block;
}

.video-facade picture,
.video-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.video-facade img {
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
  filter: brightness(0.88) saturate(1.05);
}

.video-facade:hover img,
.video-facade:focus-visible img {
  transform: scale(1.03);
  filter: brightness(1) saturate(1.1);
}

.video-facade__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(56px, 10vw, 88px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-facade__play svg {
  width: 100%;
  height: auto;
  display: block;
}

.video-facade__play-bg {
  fill: #cc0000;
  transition: fill 0.2s ease;
}

.video-facade__play-icon {
  fill: #ffffff;
}

.video-facade:hover .video-facade__play,
.video-facade:focus-visible .video-facade__play {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-facade:hover .video-facade__play-bg {
  fill: #ff0000;
}

.video-facade:focus-visible {
  outline: 3px solid var(--color-gold, #d4a539);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .video-embed {
    border-radius: var(--border-radius-sm);
  }
}

/* ============================================================
   MOBILE: disable decorative animations (performance)
   ============================================================ */
@media (max-width: 768px) {
  /* Scroll reveal animations: show content instantly */
  .animate-on-scroll,
  .animate-on-scroll.fade-in-up,
  .animate-on-scroll.fade-in-left,
  .animate-on-scroll.fade-in-right,
  .animate-on-scroll.scale-in,
  .animate-on-scroll.clip-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }

  /* Hero entrance & decorative animations */
  .hero__title,
  .hero__subtitle,
  .hero__info,
  .hero__content .btn,
  .hero__particles,
  .hero__vignette,
  .claw-img,
  .claw-img--hero,
  .claw-img--divider,
  .compass-rose,
  .scroll-indicator,
  .scroll-indicator__arrow,
  .wave-divider,
  .section__particles,
  .credits__item h2,
  .credits__wrap.visible .credits__item:nth-child(1) h2,
  .credits__wrap.visible .credits__item:nth-child(2) h2,
  .credits__wrap.visible .credits__item:nth-child(1) .claw-img,
  .credits__wrap.visible .credits__item:nth-child(2) .claw-img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  /* Keep hover transitions light (buttons, links) but snappy */
  .btn,
  .video-facade__play {
    transition: background-color 0.15s ease, color 0.15s ease !important;
  }
}
