/* ============================================
   COSMOS ARCADE – Brand Color #8D3B8D
   ============================================ */

:root {
  --bg-dark: #0a0a0f;
  --bg-section: #110e14;
  --bg-mid: #0f0c16;
  --bg-card: #1a1520;
  --bg-card-hover: #241d2c;
  --text-primary: #ffffff;
  --text-secondary: #b0a4b8;
  --cosmos: #8D3B8D;
  --cosmos-light: #B56DB5;
  --cosmos-lighter: #D494D4;
  --cosmos-dark: #6B2D6B;
  --cosmos-glow: rgba(141, 59, 141, 0.35);
  --cosmos-bg: rgba(141, 59, 141, 0.1);
  --cosmos-border: rgba(141, 59, 141, 0.25);
  --neon-pink: #e84393;
  --neon-cyan: #22d3ee;
  --neon-green: #34d399;
  --gold: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Local fonts — no external CDN dependencies */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-variable.woff2') format('woff2-variations'),
       url('/fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/fonts/orbitron.woff2') format('woff2');
}
/* Twemoji — consistent emoji rendering across all devices (Win/macOS/Linux/Android) */
@font-face {
  font-family: 'Twemoji';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/twemoji.woff2') format('woff2');
  /* Apply only to emoji codepoints so latin text keeps its own font */
  unicode-range: U+1F000-1FFFF, U+2600-27BF, U+2300-23FF, U+2B00-2BFF, U+2700-27BF, U+FE0F, U+200D, U+1F1E6-1F1FF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Twemoji', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* All headings get the Orbitron sci-fi look by default */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Inter', 'Twemoji', sans-serif;
  letter-spacing: 0.01em;
  font-weight: 800;
}
h1 { letter-spacing: 0.015em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============ LANGUAGE DROPDOWN ============ */
.lang-dropdown {
  position: relative;
  margin-left: 8px;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(141, 59, 141, 0.12);
  border: 1px solid var(--cosmos-border);
  border-radius: 50px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: 0.15s;
}
.lang-trigger:hover { background: rgba(141, 59, 141, 0.22); color: #fff; }
.lang-flag-img {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.lang-trigger .lang-current { text-transform: uppercase; }
.lang-trigger .lang-caret { font-size: 0.75rem; opacity: 0.7; transition: 0.2s; }
.lang-dropdown.open .lang-trigger { background: rgba(141, 59, 141, 0.28); color: #fff; }
.lang-dropdown.open .lang-trigger .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 380px;
  overflow-y: auto;
  background: rgba(15, 10, 24, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(181, 109, 181, 0.3);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.18s ease;
  z-index: 1000;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: 0.1s;
}
.lang-menu-item:hover {
  background: rgba(181,109,181,0.18);
  color: #fff;
}
.lang-menu-item.active {
  background: rgba(181,109,181,0.22);
  color: #fff;
}
.lang-menu-code {
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #D494D4;
  min-width: 28px;
}
.lang-menu-name { flex: 1; }
.lang-menu-check {
  font-size: 0.9rem;
  color: #3acf72;
  font-weight: 800;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s ease, padding 0.3s ease, border-color 0.4s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(141, 59, 141, 0.1);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-img { height: 40px; width: auto; }

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

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav a:hover,
.nav a.active { color: var(--text-primary); }

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--cosmos);
  transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cosmos);
  color: white;
  border-color: var(--cosmos);
}

.btn-primary:hover {
  background: var(--cosmos-light);
  border-color: var(--cosmos-light);
  box-shadow: 0 0 30px var(--cosmos-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--cosmos);
  color: var(--cosmos-light);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    #0a0a0f 0%,
    #1c0e1c 25%,
    #2a1530 45%,
    #1c0e1c 65%,
    #0a0a0f 100%
  );
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(141, 59, 141, 0.2), transparent),
    radial-gradient(ellipse 500px 300px at 80% 30%, rgba(232, 67, 147, 0.12), transparent),
    radial-gradient(ellipse 400px 400px at 60% 80%, rgba(141, 59, 141, 0.1), transparent);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: starDrift linear infinite, starBlink ease-in-out infinite;
}

@keyframes starDrift {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-60px) translateX(20px); }
}

@keyframes starBlink {
  0%, 100% { opacity: 0.2; box-shadow: none; }
  50% { opacity: 1; box-shadow: 0 0 6px 1px rgba(255,255,255,0.6); }
}

@keyframes heroGlow {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.hero-wave-top, .hero-wave-bottom {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  z-index: 2;
}

.hero-wave-top { top: 0; }
.hero-wave-top svg, .hero-wave-bottom svg { display: block; width: 100%; height: 80px; }
.hero-wave-bottom { bottom: 0; }

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(141, 59, 141, 0.15);
  border: 1px solid var(--cosmos-border);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--cosmos-lighter);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: clamp(2.6rem, 6.8vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero h1 .hero-claim { display: block; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-accent {
  background: linear-gradient(135deg, var(--cosmos-lighter), var(--neon-pink), var(--cosmos-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.03em;
}

.hero-accent em { font-style: normal; }

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ SECTIONS COMMON ============ */
section {
  padding: 100px 0;
  position: relative;
}

/* Angled section dividers */
.section-angle {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.section-angle svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-angle-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.section-angle-top svg {
  display: block;
  width: 100%;
  height: 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

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

/* ============ CARD GRIDS ============ */
.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

/* ============ ONBOARDING ============ */
.onboarding {
  background: var(--bg-section);
  padding: 100px 0;
  margin-top: -2px;
}

.card-highlight {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(141, 59, 141, 0.08);
  transition: var(--transition);
}

.card-highlight:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--cosmos-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(141, 59, 141, 0.08);
}

.card-icon { font-size: 3rem; margin-bottom: 20px; }

.card-highlight h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-highlight p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ============ GAMES ============ */
.games { background: var(--bg-mid); }

.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(141, 59, 141, 0.08);
  transition: var(--transition);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(141, 59, 141, 0.15);
  border-color: var(--cosmos-border);
}

.game-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-card-img img { transform: scale(1.05); }

.game-card-body { padding: 24px; }

.game-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Game location badges */
.game-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.game-loc {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transform: skewX(-6deg);
  color: #fff;
  background: rgba(141, 59, 141, 0.28);
  border: 1px solid rgba(212, 148, 212, 0.35);
}
.game-loc:nth-of-type(2n) {
  background: rgba(34, 211, 238, 0.18);
  border-color: rgba(34, 211, 238, 0.35);
}

.game-loc.flagship {
  background: var(--cosmos);
}

.game-loc.standard {
  background: #1a8a9e;
}

.game-loc.express {
  background: var(--cosmos);
  opacity: 0.8;
}

.game-loc.all-locations {
  background: linear-gradient(135deg, var(--cosmos), var(--cosmos-dark));
  padding: 4px 14px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

.category-tag {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--cosmos-bg);
  border: 1px solid var(--cosmos-border);
  color: var(--cosmos-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.category-tag:hover {
  background: rgba(141, 59, 141, 0.2);
  border-color: var(--cosmos);
}

/* ============ PLAYCARD / PRICING ============ */
.playcard { background: var(--bg-section); overflow: visible; }

.playcard-showcase {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}

.playcard-visual {
  position: relative;
  flex-shrink: 0;
}

.playcard-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(141, 59, 141, 0.35), transparent 70%);
  border-radius: 24px;
  filter: blur(30px);
  animation: playcardPulse 3s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes playcardPulse {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

.playcard-img {
  position: relative;
  z-index: 1;
  width: clamp(160px, 20vw, 240px);
  border-radius: 16px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(141, 59, 141, 0.2);
  transform: perspective(800px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  animation: playcardFloat 4s ease-in-out infinite;
}

@keyframes playcardFloat {
  0%, 100% { transform: perspective(800px) rotateY(-8deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(800px) rotateY(-5deg) rotateX(1deg) translateY(-10px); }
}

.playcard-img:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg) scale(1.05);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(141, 59, 141, 0.35);
  animation: none;
}

.playcard-info {
  flex: 1;
}

.playcard-info h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary), var(--cosmos-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.playcard-info ul {
  list-style: none;
  margin-bottom: 28px;
}

.playcard-info li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.playcard-info li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--cosmos-light);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .playcard-showcase {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .playcard-img {
    transform: none;
    animation: none;
    width: clamp(200px, 60vw, 300px);
  }
  .playcard-info { text-align: left; }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.price-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(141, 59, 141, 0.08);
  transition: var(--transition);
  position: relative;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--cosmos-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.price-card.popular {
  border-color: var(--cosmos);
  background: linear-gradient(180deg, rgba(141, 59, 141, 0.15) 0%, var(--bg-card) 100%);
  transform: scale(1.05);
}

.price-card.popular:hover { transform: scale(1.05) translateY(-4px); }

.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--cosmos);
  color: white;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-primary), var(--cosmos-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-credits {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cosmos-lighter);
  margin-bottom: 8px;
}

.price-per {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ============ RECHARGE TABLE ============ */
.recharge-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(141, 59, 141, 0.12);
}

.recharge-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.recharge-table thead {
  background: rgba(141, 59, 141, 0.12);
}

.recharge-table th {
  padding: 16px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cosmos-lighter);
  border-bottom: 1px solid rgba(141, 59, 141, 0.15);
}

.recharge-table td {
  padding: 14px 24px;
  border-bottom: 1px solid rgba(141, 59, 141, 0.06);
  color: var(--text-secondary);
}

.recharge-table tbody tr {
  transition: var(--transition);
}

.recharge-table tbody tr:hover {
  background: rgba(141, 59, 141, 0.06);
}

.recharge-table tbody tr.highlight {
  background: rgba(141, 59, 141, 0.08);
}

.recharge-table tbody tr.highlight td {
  color: var(--text-primary);
  font-weight: 600;
}

.recharge-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
}

.recharge-table td:last-child {
  color: var(--cosmos-lighter);
  font-weight: 600;
}

/* Clickable cards */
.game-card, .event-card, .location-card {
  cursor: pointer;
}

/* ============ CTA BANNERS ============ */
.cta-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><radialGradient id="a" cx="50%25" cy="50%25" r="50%25"><stop offset="0%25" style="stop-color:%238D3B8D;stop-opacity:0.4"/><stop offset="100%25" style="stop-color:%230a0a0f;stop-opacity:1"/></radialGradient></defs><rect fill="url(%23a)" width="1200" height="600"/><circle cx="200" cy="300" r="150" fill="%238D3B8D" opacity="0.08"/><circle cx="900" cy="200" r="200" fill="%23e84393" opacity="0.06"/><circle cx="600" cy="400" r="180" fill="%238D3B8D" opacity="0.1"/></svg>') center / cover no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

.cta-bg-visit {
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="b" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%231c0e1c"/><stop offset="50%25" style="stop-color:%232a1530"/><stop offset="100%25" style="stop-color:%230a0a0f"/></linearGradient></defs><rect fill="url(%23b)" width="1200" height="600"/><circle cx="150" cy="500" r="250" fill="%238D3B8D" opacity="0.12"/><circle cx="1000" cy="100" r="300" fill="%238D3B8D" opacity="0.08"/><rect x="400" y="200" width="400" height="200" rx="100" fill="%23e84393" opacity="0.05"/></svg>') center / cover no-repeat;
  background-attachment: fixed;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.3) 0%,
    rgba(141, 59, 141, 0.08) 50%,
    rgba(10, 10, 15, 0.3) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 60px rgba(141, 59, 141, 0.4);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Glow button effect */
.btn-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px var(--cosmos-glow);
}

.btn-glow::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
  top: var(--glow-y, 50%);
  left: var(--glow-x, 50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-glow:hover::before {
  opacity: 1;
}

.btn-glow:hover {
  box-shadow: 0 0 40px var(--cosmos-glow), 0 0 80px rgba(141, 59, 141, 0.15);
}

/* ============ REVIEWS ============ */
.reviews { background: var(--bg-mid); }

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid rgba(141, 59, 141, 0.08);
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(251, 191, 36, 0.3);
  transform: translateY(-4px);
}

.review-stars {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============ EVENTS ============ */
.events { background: var(--bg-dark); }

/* Event tabs */
.event-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.event-tab {
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.event-tab:hover {
  border-color: var(--cosmos);
  color: var(--text-primary);
}

.event-tab.active {
  background: var(--cosmos);
  border-color: var(--cosmos);
  color: white;
}

.event-info-bar {
  text-align: center;
  padding: 14px 24px;
  background: rgba(141, 59, 141, 0.08);
  border: 1px solid rgba(141, 59, 141, 0.12);
  border-radius: 50px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: var(--cosmos-lighter);
}

/* Package cards */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.package-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(141, 59, 141, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: var(--cosmos-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.package-card.popular {
  border-color: var(--cosmos);
  background: linear-gradient(180deg, rgba(141, 59, 141, 0.12) 0%, var(--bg-card) 100%);
}

.package-popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--cosmos);
  color: white;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.package-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cosmos-light);
  margin-bottom: 12px;
}

.package-price {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--text-primary), var(--cosmos-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.package-price span {
  font-size: 0.85rem;
  font-weight: 500;
  -webkit-text-fill-color: var(--text-secondary);
}

.package-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.package-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.package-features li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cosmos-light);
  font-weight: 700;
}

.package-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

.event-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(141, 59, 141, 0.08);
  transition: var(--transition);
}

.event-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--cosmos-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.event-icon { font-size: 3rem; margin-bottom: 20px; }

.event-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.event-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ============ LOCATIONS ============ */
.locations { background: var(--bg-mid); }

.location-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--cosmos);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--cosmos);
  border-color: var(--cosmos);
  color: white;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.location-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 0;
  border: 1px solid rgba(141, 59, 141, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.location-card-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--bg-card-hover);
  position: relative;
}

.location-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.location-card:hover .location-card-img img {
  transform: scale(1.05);
}

.location-card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-card:hover {
  transform: translateY(-4px);
  border-color: var(--cosmos-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.location-card.coming-soon { opacity: 0.7; border-style: dashed; }
.location-card.coming-soon:hover { opacity: 1; }

.location-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-type {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: skewX(-6deg);
  color: white;
}

.location-type.flagship {
  background: linear-gradient(135deg, var(--cosmos), var(--cosmos-dark));
  box-shadow: 0 2px 10px rgba(141, 59, 141, 0.4);
}

.location-type.standard {
  background: linear-gradient(135deg, #1a8a9e, #147a8c);
  box-shadow: 0 2px 10px rgba(34, 211, 238, 0.25);
}

.location-type.express {
  background: var(--cosmos);
  box-shadow: 0 2px 10px rgba(141, 59, 141, 0.4);
}

.location-type.soon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  box-shadow: none;
}

.location-status { font-size: 0.75rem; font-weight: 600; }
.location-status.open { color: var(--neon-green); }
.location-status.soon { color: var(--text-secondary); }
.location-card h3 { font-size: 1.15rem; font-weight: 700; }
.location-address { color: var(--text-secondary); font-size: 0.9rem; }

.location-features { display: flex; flex-wrap: wrap; gap: 6px; }

.location-features span {
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(141, 59, 141, 0.06);
  border: 1px solid rgba(141, 59, 141, 0.12);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.location-hours { font-size: 0.85rem; color: var(--text-secondary); }
.location-actions { display: flex; gap: 8px; margin-top: 4px; }

.loc-pulse-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.loc-pulse-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  animation: locPulseDot 2s ease-in-out infinite;
}
.loc-pulse-pill.is-open { background: rgba(58,207,114,0.15); color: #3acf72; }
.loc-pulse-pill.is-open .dot { background: #3acf72; box-shadow: 0 0 8px #3acf72; }
.loc-pulse-pill.is-closed { background: rgba(232,67,147,0.12); color: #e84393; }
.loc-pulse-pill.is-closed .dot { background: #e84393; }
.loc-pulse-pill.coming_soon { background: rgba(255,255,255,0.08); color: var(--text-secondary); }
.loc-pulse-pill.coming_soon .dot { background: var(--text-secondary); }
@keyframes locPulseDot { 0%,100%{opacity:1} 50%{opacity:0.4} }

.location-hours-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(141,59,141,0.06);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.loc-hours-icon { font-size: 1rem; flex-shrink: 0; }
.loc-hours-text strong { color: #fff; font-weight: 700; }
.loc-special-label { color: #ffc107; font-weight: 600; }

.loc-week-mini {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: grid;
  gap: 2px;
}
.loc-week-mini li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 8px;
  border-radius: 6px;
}
.loc-week-mini li .day { font-weight: 600; min-width: 56px; }
.loc-week-mini li .time { font-variant-numeric: tabular-nums; }
.loc-week-mini li.today { background: rgba(181,109,181,0.14); color: #fff; }
.loc-week-mini li.today .day, .loc-week-mini li.today .time { color: #D494D4; font-weight: 700; }
.loc-week-mini li.is-closed .time { opacity: 0.55; font-style: italic; }
.loc-week-mini-fallback { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }

/* ===== HOME VOUCHER BANNER ===== */
.home-voucher-banner { padding: 60px 0; }
.hvb-card {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,193,7,0.15) 0%, rgba(232,67,147,0.12) 50%, rgba(141,59,141,0.15) 100%);
  border: 1px solid rgba(255,193,7,0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.hvb-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(255,193,7,0.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 50%, rgba(232,67,147,0.18), transparent 60%);
  pointer-events: none;
}
.hvb-content {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 720px) { .hvb-content { grid-template-columns: 1fr; text-align: center; } }
.hvb-icon {
  font-size: 6rem;
  line-height: 1;
  filter: drop-shadow(0 12px 30px rgba(255,193,7,0.45));
  animation: hvbBounce 4s ease-in-out infinite;
}
@keyframes hvbBounce {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(6deg); }
}
.hvb-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffd54f;
  font-weight: 700;
  margin-bottom: 8px;
}
.hvb-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff 0%, #ffd54f 60%, #e84393 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hvb-text p {
  color: rgba(255,255,255,0.86);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 560px;
}
@media (max-width: 720px) { .hvb-text p { margin-left: auto; margin-right: auto; } }
.hvb-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
@media (max-width: 720px) { .hvb-actions { justify-content: center; } }
.hvb-prices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
@media (max-width: 720px) { .hvb-prices { justify-content: center; } }
.hvb-prices span {
  padding: 4px 12px;
  background: rgba(255,193,7,0.12);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 999px;
  color: #ffd54f;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hvb-prices span:last-child { color: var(--text-secondary); border-color: rgba(141,59,141,0.25); background: rgba(141,59,141,0.1); }

.loc-next-list {
  margin-top: 10px;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(255,193,7,0.1), rgba(232,67,147,0.04));
  border: 1px solid rgba(255,193,7,0.22);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.loc-next-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.86);
  line-height: 1.4;
}
.loc-next-row + .loc-next-row { padding-top: 4px; border-top: 1px dashed rgba(255,193,7,0.15); }
.loc-next-icon { font-size: 0.95rem; flex-shrink: 0; }
.loc-next-date {
  font-weight: 800;
  color: #ffd54f;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 76px;
}
.loc-next-label { flex: 1; }
.loc-next-label strong { color: #fff; font-weight: 700; }
.loc-next-label small { color: var(--text-secondary); font-weight: 600; }

.location-types-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(141, 59, 141, 0.08);
}

.type-info { text-align: center; }
.type-info .location-type { margin-bottom: 12px; }

.type-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 12px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ FAQ ============ */
.faq { background: var(--bg-dark); }

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid rgba(141, 59, 141, 0.1); }

.faq-item summary {
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-item summary:hover { color: var(--cosmos-light); }

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--cosmos-light);
  transition: var(--transition);
}

.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-bottom: 24px;
  max-width: 90%;
}

/* ============ STATS COUNTER ============ */
.stats {
  background: var(--bg-section);
  padding: 80px 0;
  border-top: 1px solid rgba(141, 59, 141, 0.08);
  border-bottom: 1px solid rgba(141, 59, 141, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--cosmos-lighter), var(--cosmos));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============ DETAIL OVERLAY / MODAL ============ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}

.overlay-content {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--cosmos-border);
  border-radius: 24px;
  max-width: 680px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 0;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 100px rgba(141, 59, 141, 0.2), 0 0 120px rgba(141, 59, 141, 0.08);
}

.overlay.active .overlay-content {
  transform: translateY(0) scale(1);
}

.overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  line-height: 1;
}

.overlay-close:hover {
  background: var(--cosmos);
  color: white;
  border-color: var(--cosmos);
}

.overlay-hero {
  width: 100%;
  height: 240px;
  background: var(--bg-card-hover);
  position: relative;
  overflow: hidden;
}

.overlay-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.overlay-body {
  padding: 32px;
}

.overlay-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.overlay-body .overlay-subtitle {
  color: var(--cosmos-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.overlay-body p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.overlay-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
  padding: 24px;
  background: rgba(141, 59, 141, 0.05);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(141, 59, 141, 0.1);
}

.overlay-meta-item h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cosmos-light);
  margin-bottom: 6px;
}

.overlay-meta-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.overlay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.overlay-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

/* Overlay Gallery */
.overlay-gallery {
  margin: 24px 0;
}

.overlay-gallery h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cosmos-light);
  margin-bottom: 12px;
}

.overlay-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.overlay-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
  background: var(--bg-card-hover);
}

.overlay-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.overlay-gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 80px rgba(141, 59, 141, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--cosmos);
  border-color: var(--cosmos);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--cosmos);
  border-color: var(--cosmos);
}

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

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

/* Scrollbar for overlay */
.overlay-content::-webkit-scrollbar {
  width: 6px;
}

.overlay-content::-webkit-scrollbar-track {
  background: transparent;
}

.overlay-content::-webkit-scrollbar-thumb {
  background: var(--cosmos-border);
  border-radius: 3px;
}

/* ============ ANIMATED GRADIENT BORDER ============ */
.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, var(--cosmos), var(--neon-pink), var(--cosmos-light), var(--cosmos));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderGlow 4s ease infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.gradient-border:hover::before {
  opacity: 1;
}

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

/* ============ MASCOTS ============ */
.mascot {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
  transition: transform 0.6s ease;
}

.mascot:hover {
  transform: scale(1.05) rotate(-2deg);
}

.mascot-ufo-hero {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(140px, 18vw, 280px);
  z-index: 4;
  animation: mascotFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 40px rgba(141, 59, 141, 0.4));
  pointer-events: none;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 20px)); }
}

.mascot-games {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(140px, 16vw, 240px);
}

.mascot-events {
  position: absolute;
  right: -50px;
  top: 30px;
  width: clamp(140px, 16vw, 230px);
}

.mascot-cta {
  position: absolute;
  left: 5%;
  bottom: -40px;
  width: clamp(150px, 16vw, 250px);
  z-index: 3;
}

.mascot-faq {
  position: absolute;
  right: 2%;
  top: 40px;
  width: clamp(140px, 16vw, 230px);
}

.mascot-playcard {
  position: absolute;
  right: -40px;
  bottom: 30px;
  width: clamp(140px, 16vw, 240px);
}

.mascot-table {
  display: block;
  width: clamp(140px, 16vw, 220px);
  margin-top: 30px;
  position: absolute;
  left: 10px;
  bottom: 20px;
}

@media (max-width: 768px) {
  .mascot-games,
  .mascot-events,
  .mascot-playcard,
  .mascot-table,
  .mascot-ufo-hero {
    /* Auf Mobile komplett ausblenden — die Maskottchen frassen Platz und
       überlappen den Content auf schmalen Viewports. */
    display: none;
  }
  .mascot-cta { width: 80px; left: 5%; }
  .mascot-faq { width: 80px; }
}

/* ============ CONTACT FORM ============ */
.form-field {
  margin-bottom: 4px;
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cosmos-light);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-dark);
  border: 1px solid rgba(141, 59, 141, 0.2);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cosmos);
  box-shadow: 0 0 20px rgba(141, 59, 141, 0.15);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B56DB5' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-field select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-field textarea {
  resize: vertical;
  min-height: 70px;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  background: var(--bg-dark);
  padding-top: 0;
}

.footer-wave { width: 100%; margin-bottom: -2px; }
.footer-wave svg { display: block; width: 100%; height: 80px; }

.footer-inner {
  background: var(--bg-dark);
  padding: 60px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-more {
  color: var(--cosmos-light) !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  margin-top: 4px;
}

.footer-logo { height: 36px; margin-bottom: 16px; }

.footer-col p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col .footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--text-primary);
  margin-top: 0;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--cosmos-light); }

.footer-social { display: flex; gap: 16px; margin-top: 20px; }

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(141, 59, 141, 0.1);
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 0;
}

.footer-social a:hover {
  background: var(--cosmos);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(141, 59, 141, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* SEO-Landingpages: dezenter Themen-Block direkt überm Copyright */
.footer-landings {
  border-top: 1px solid rgba(141, 59, 141, 0.08);
  padding: 18px 0 14px;
  font-size: 0.83rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.footer-landings strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-right: 6px;
}
.footer-landings a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(181, 109, 181, 0.4);
  padding: 0 1px;
  transition: color 0.15s, border-bottom-color 0.15s;
}
.footer-landings a:hover {
  color: var(--cosmos-light);
  border-bottom-color: var(--cosmos-light);
}
.footer-landings .dot {
  margin: 0 6px;
  opacity: 0.4;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.popular { transform: scale(1); }
  .price-card.popular:hover { transform: translateY(-4px); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .location-types-info { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile menu CTA group — only visible inside the mobile drawer */
.nav-mobile-cta { display: none; }

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 88px 28px 32px;
    gap: 22px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(141, 59, 141, 0.18);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 1001;
  }
  .nav a {
    font-size: 1.05rem;
    padding: 6px 0;
  }
  .nav a::after { display: none; }

  .nav.open { right: 0; }
  .mobile-toggle { display: flex; position: relative; z-index: 1002; }
  .header .header-right > .btn-sm { display: none; }
  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid rgba(141, 59, 141, 0.18);
  }
  .nav-mobile-cta .btn { width: 100%; padding: 12px 18px; }

  /* Body scroll lock when menu open */
  body.menu-open { overflow: hidden; }
}

@media (max-width: 768px) {
  .card-grid.three { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .overlay-meta { grid-template-columns: 1fr; }
  .overlay-hero { height: 180px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-sub { font-size: 1rem; }
  section { padding: 60px 0; }
  .cta-banner { padding: 80px 0; }
  .cta-content h2 { font-size: 1.8rem; }
  .cta-content p { font-size: 1rem; }
  .lang-switch { order: -1; }
  .container { padding: 0 18px; }
  h1 { font-size: clamp(2rem, 7vw, 3rem); }
  h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  h3 { font-size: clamp(1.2rem, 4vw, 1.6rem); }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .btn-lg { padding: 14px 26px; font-size: 1rem; }
  section { padding: 48px 0; }
  .cta-banner { padding: 60px 0; }
  .header-inner { gap: 8px; }
  .logo-img { height: 32px; }
  .lang-dropdown .lang-current { display: none; }
  .lang-trigger { padding: 6px 8px; }
  .footer-grid { gap: 28px; }
  .footer-col .footer-heading { font-size: 1rem; }
  /* Larger touch targets for footer & nav links */
  .footer-col a, .nav a { min-height: 40px; display: flex; align-items: center; }
}

/* Prevent iOS zoom on form focus — inputs need >= 16px on mobile */
@media (max-width: 768px) {
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
    padding: 12px 14px;
  }
  /* Avoid horizontal overflow from wide content like long URLs or tables */
  body { overflow-x: hidden; }
  img, video, canvas { max-width: 100%; height: auto; }
  table { display: block; overflow-x: auto; }
}

/* Nav-Booking — highlighted shortcut */
.nav a.nav-booking,
.sub-nav-links a.nav-booking {
  background: linear-gradient(135deg, rgba(232,67,147,0.18), rgba(141,59,141,0.18));
  border: 1px solid rgba(212,148,212,0.45);
  border-radius: 999px;
  padding: 6px 16px;
  color: #fff !important;
  transition: all 0.2s;
}
.nav a.nav-booking:hover,
.sub-nav-links a.nav-booking:hover {
  background: linear-gradient(135deg, #e84393, #8d3b8d);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232,67,147,0.35);
}

/* ============ AUSLASTUNGS-AMPEL ============ */
.util-light {
  --util-color: #3acf72;
  --util-glow: rgba(58, 207, 114, 0.45);
  --util-bg:   rgba(58, 207, 114, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--util-bg);
  border: 1px solid color-mix(in srgb, var(--util-color) 45%, transparent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.util-light[data-state="loading"] { opacity: 0.55; }
.util-light[data-state="error"]   { display: none; }
.util-light[data-level="medium"] {
  --util-color: #ffb347;
  --util-glow: rgba(255, 179, 71, 0.5);
  --util-bg:   rgba(255, 179, 71, 0.12);
}
.util-light[data-level="high"] {
  --util-color: #ff5b6b;
  --util-glow: rgba(255, 91, 107, 0.55);
  --util-bg:   rgba(255, 91, 107, 0.14);
}
.util-light-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--util-color);
  box-shadow: 0 0 0 0 var(--util-glow);
  animation: utilPulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes utilPulse {
  0%   { box-shadow: 0 0 0 0    var(--util-glow); }
  60%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0    transparent; }
}
.util-light-label { font-weight: 700; letter-spacing: 0.01em; }
.util-light-sub {
  opacity: 0.8;
  font-weight: 500;
  font-size: 0.72rem;
}

/* Small variant — sub-text after a thin separator */
.util-light-sm .util-light-sep {
  opacity: 0.4;
  font-weight: 400;
}
.util-light-sm .util-light-sub {
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0;
}
.util-light-no-forecast .util-light-sep,
.util-light-no-forecast .util-light-sub,
.util-light-no-forecast .util-light-col-future,
.util-light-no-forecast .util-light-arrow,
.util-light-no-forecast .util-light-forecast-text { display: none !important; }
.util-light-no-forecast .util-light-cols { grid-template-columns: 1fr !important; }

/* Big variant — for location detail page */
.util-light-lg {
  --util-color-future: var(--util-color);
  display: block;
  padding: 22px 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, var(--util-bg), rgba(20,16,28,0.55)),
    linear-gradient(135deg, rgba(141,59,141,0.06), transparent);
  border: 1px solid color-mix(in srgb, var(--util-color) 35%, rgba(255,255,255,0.08));
  width: 100%;
  max-width: 480px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  white-space: normal;
}
.util-light-lg .util-light-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 18px;
}
.util-light-lg .util-light-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.util-light-lg .util-light-arrow {
  align-self: center;
  font-size: 1.4rem;
  color: var(--text-secondary);
  opacity: 0.55;
}
.util-light-lg .util-light-head {
  display: flex; align-items: center; gap: 10px;
}
.util-light-lg .util-light-dot { width: 12px; height: 12px; }
.util-light-lg .util-light-dot-future {
  background: var(--util-color-future);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--util-color-future) 60%, transparent);
  animation: none;
  opacity: 0.85;
}
.util-light-lg[data-forecast="medium"] { --util-color-future: #ffb347; }
.util-light-lg[data-forecast="high"]   { --util-color-future: #ff5b6b; }
.util-light-lg .util-light-label {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.util-light-lg .util-light-headline {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 2px;
}
.util-light-lg .util-light-forecast-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 4px 0 0;
  line-height: 1.4;
}
@media (max-width: 540px) {
  .util-light-lg .util-light-cols {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .util-light-lg .util-light-arrow {
    transform: rotate(90deg);
    margin: -2px 0;
  }
}
.util-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}
.util-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--util-color), color-mix(in srgb, var(--util-color) 70%, white));
  border-radius: inherit;
  transform-origin: left center;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.util-light-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  width: 100%;
}
.util-light-meta strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.util-light-updated {
  font-size: 0.7rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* In-card placement for both home and locations grid — sits top-right of the
   image so it doesn't collide with the type badge in the top-left. */
.locs-card-img > .util-light,
.location-card-img > .util-light {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(10px);
  border-color: color-mix(in srgb, var(--util-color) 60%, rgba(255,255,255,0.2));
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}


/* ============ LOCATION DETAIL UTIL BANNER ============ */
.loc-util-section {
  padding: 36px 0 0;
  position: relative;
  z-index: 2;
}
.loc-util-banner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.4fr);
  align-items: center;
  gap: 28px;
  padding: 26px 30px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 100% at 0% 50%, rgba(141,59,141,0.22), transparent 70%),
    linear-gradient(180deg, rgba(20,16,28,0.85), rgba(15,12,22,0.7));
  border: 1px solid rgba(141, 59, 141, 0.28);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}
.loc-util-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,148,212,0.6), transparent);
}
.loc-util-banner-head {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.loc-util-pulse {
  position: relative;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #3acf72;
  box-shadow: 0 0 0 0 rgba(58, 207, 114, 0.55);
  animation: utilPulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
.loc-util-eyebrow {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cosmos-light);
  margin-bottom: 6px;
  font-weight: 700;
}
.loc-util-title {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.loc-util-banner .util-light-lg {
  max-width: none;
  width: 100%;
  margin: 0;
}
@media (max-width: 900px) {
  .loc-util-section { padding-top: 24px; }
  .loc-util-banner {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  .loc-util-banner-head { gap: 12px; }
  .loc-util-title { font-size: 1rem; }
}

/* ============ AUSLASTUNGS-TREND (Sparkline) ============ */
.util-trend-caption {
  margin: 10px 0 2px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  opacity: 0.7;
  font-weight: 600;
}
.util-light-col-now .util-light-trend {
  margin: 2px 0 0;
  width: 100%;
}
.util-trend-svg {
  display: block;
  width: 100%;
  height: 16px;
  overflow: visible;
}
.util-light-meta-compact {
  display: flex;
  gap: 18px;
  margin-top: 4px;
  font-size: 0.78rem;
}
.util-light-meta-compact strong {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 0.95rem;
}

/* Reassurance hint — only when current OR forecast is "high" */
.util-light-busy-hint { display: none; }
.util-light-lg[data-level="high"] .util-light-busy-hint,
.util-light-lg[data-forecast="high"] .util-light-busy-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(58, 207, 114, 0.08);
  border: 1px solid rgba(58, 207, 114, 0.25);
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
}
.util-light-busy-hint span[aria-hidden] {
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}

/* ============ LANGUAGE HINT BANNER ============ */
.lang-hint-banner {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 24px);
  padding: 10px 14px 10px 16px;
  background: rgba(15, 12, 22, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 148, 212, 0.35);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  animation: langHintIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
  font-size: 0.88rem;
}
@keyframes langHintIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.lang-hint-banner.lang-hint-closing {
  animation: langHintOut 0.22s cubic-bezier(0.4, 0, 1, 1) both;
}
@keyframes langHintOut {
  to { opacity: 0; transform: translate(-50%, -8px); }
}
.lang-hint-flag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-hint-flag img {
  width: 24px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.lang-hint-flag strong {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(141, 59, 141, 0.4);
  padding: 3px 7px;
  border-radius: 6px;
}
.lang-hint-text {
  color: var(--text-primary);
  font-weight: 500;
}
.lang-hint-switch {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e84393, #8d3b8d);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.lang-hint-switch:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(232, 67, 147, 0.4);
}
.lang-hint-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.lang-hint-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
@media (max-width: 640px) {
  .lang-hint-banner {
    top: auto;
    bottom: 16px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.82rem;
  }
  .lang-hint-text { flex-basis: 100%; text-align: center; }
}

/* ============ IMAGE LIGHTBOX ============ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: zoom-out;
  padding: 24px;
}
.lightbox-overlay.open { opacity: 1; }
.lightbox-overlay.closing { opacity: 0; }
.lightbox-img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  object-fit: contain;
}
.lightbox-overlay.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* =====================================================================
   Barrierefreiheit / Accessibility
   ===================================================================== */

/* Skip-to-Content Link: für Tastatur/Screenreader, sichtbar nur bei Focus */
.skip-to-content {
  position: absolute;
  top: 0;
  left: 0;
  background: #0a0a0f;
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #D494D4;
  border-radius: 0 0 12px 0;
  z-index: 100000;
  transform: translateY(-110%);
  transition: transform 0.2s ease;
}
.skip-to-content:focus,
.skip-to-content:focus-visible {
  transform: translateY(0);
  outline: 3px solid #ffd54f;
  outline-offset: 2px;
}

/* Globale sichtbare Focus-Ringe (nur bei Tastatur-Navigation) */
:focus-visible {
  outline: 2px solid #D494D4;
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #D494D4;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(212,148,212,0.25);
}
main:focus { outline: none; }

/* Reduced-Motion: ehrgeizige Animationen abschalten wenn vom System gewünscht */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visually-hidden: Inhalt nur für Screenreader, optisch unsichtbar */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================================
   Barrierefreiheits-Widget (UI)
   ===================================================================== */
:root { --a11y-font-scale: 1; }

/* Schriftgröße global hochskalieren: am Root-Element setzen, damit ALLE
   rem-basierten Größen proportional mitwachsen (Standard 1rem = 16px). */
html { font-size: calc(16px * var(--a11y-font-scale, 1)); }

/* Hoher Kontrast: schwarz/weiß/gelb, keine Gradienten, klare Outlines.
   Die Regel hammert über alle Container-Elemente — Bilder & SVGs ausgenommen,
   damit Logos/Fotos sichtbar bleiben. */
html.a11y-contrast {
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --cosmos-light: #ffd54f;
}
html.a11y-contrast,
html.a11y-contrast body,
html.a11y-contrast *:not(img):not(svg):not(svg *):not(picture):not(video):not(canvas) {
  background-color: #000 !important;
  background-image: none !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-color: #fff !important;
}
/* Links + Buttons + Akzente: kräftiges Gelb auf Schwarz (WCAG-konform > 14:1) */
html.a11y-contrast a,
html.a11y-contrast a *,
html.a11y-contrast .btn,
html.a11y-contrast .btn *,
html.a11y-contrast button,
html.a11y-contrast button * {
  color: #ffd54f !important;
}
html.a11y-contrast a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-contrast .btn,
html.a11y-contrast button:not(.a11y-toggle):not(.a11y-panel-close):not(.a11y-segmented button) {
  border: 2px solid #ffd54f !important;
}
/* Form-Felder mit deutlichen Rahmen */
html.a11y-contrast input,
html.a11y-contrast select,
html.a11y-contrast textarea {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}
/* Focus deutlicher hervorheben */
html.a11y-contrast :focus-visible {
  outline: 3px solid #ffd54f !important;
  outline-offset: 3px !important;
  background: #1a1500 !important;
}
/* Widget selbst bleibt funktional sichtbar (eigenes Schema) */
html.a11y-contrast .a11y-toggle { border: 2px solid #ffd54f !important; }
html.a11y-contrast .a11y-toggle,
html.a11y-contrast .a11y-toggle * { color: #ffd54f !important; }

/* Cosmos-Logo (lila SVG) im Kontrastmodus komplett weiß rendern,
   damit es nicht auf schwarzem BG verschwindet. */
html.a11y-contrast .logo-img,
html.a11y-contrast .sub-nav-logo,
html.a11y-contrast img[src*="logo"] {
  filter: brightness(0) invert(1) !important;
}

/* Hamburger-Toggle: die 3 Balken nutzen background-color (=schwarz im
   Kontrastmodus) → unsichtbar. Manuell auf Weiß zwingen. */
html.a11y-contrast .mobile-toggle span {
  background-color: #fff !important;
}

/* Gradient-Texte (z.B. „Enter the Cosmos", „Cosmos Arcade in der Nähe")
   nutzen `background-clip: text` + `text-fill-color: transparent`. Im
   Kontrastmodus killt das universelle `background: #000` den Gradient
   → Schriftzug wird unsichtbar. Wir neutralisieren das pauschal: clip + fill
   überall zurücksetzen, dann erbt der Text die normale `color`-Farbe (weiß). */
html.a11y-contrast *:not(img):not(svg):not(svg *):not(picture):not(video):not(canvas) {
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Animationen abschalten wenn User es will (zusätzlich zur OS-Einstellung) */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

/* Links überall unterstreichen wenn User es will */
html.a11y-underline-links a:not(.btn) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ===== Widget Container ===== */
.a11y-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99000;
  font-family: inherit;
}
.a11y-toggle {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid #D494D4;
  background: linear-gradient(135deg, #2a1f3a, #1a0f2a);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(141,59,141,0.45);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.a11y-toggle:hover  { transform: scale(1.06); box-shadow: 0 8px 22px rgba(212,148,212,0.6); }
.a11y-widget.is-open .a11y-toggle { background: #D494D4; color: #1a0f2a; }

/* ===== Panel ===== */
.a11y-panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 300px;
  background: #1a0f2a;
  color: #fff;
  border: 1px solid rgba(212,148,212,0.35);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.a11y-panel[hidden] { display: none; }

.a11y-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -2px 0 4px;
  font-size: 1.05rem;
}
.a11y-panel-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.a11y-panel-close:hover { background: rgba(255,255,255,0.08); }

.a11y-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.a11y-label { font-size: 0.92rem; }

/* Segmented control für Schriftgröße */
.a11y-segmented {
  display: inline-flex;
  border: 1px solid rgba(212,148,212,0.3);
  border-radius: 8px;
  overflow: hidden;
}
.a11y-segmented button {
  background: transparent;
  border: none;
  color: #fff;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border-left: 1px solid rgba(212,148,212,0.18);
}
.a11y-segmented button:first-child { border-left: none; }
.a11y-segmented button:hover { background: rgba(212,148,212,0.12); }
.a11y-segmented button.is-active { background: #D494D4; color: #1a0f2a; }

/* Switches */
.a11y-switch { cursor: pointer; }
.a11y-switch input { position: absolute; opacity: 0; pointer-events: none; }
.a11y-switch-slider {
  position: relative;
  width: 40px; height: 22px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  transition: background 0.2s;
  flex: 0 0 auto;
}
.a11y-switch-slider::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.a11y-switch input:checked + .a11y-switch-slider { background: #D494D4; }
.a11y-switch input:checked + .a11y-switch-slider::after { transform: translateX(18px); }
.a11y-switch input:focus-visible + .a11y-switch-slider {
  outline: 2px solid #ffd54f;
  outline-offset: 2px;
}

.a11y-reset {
  margin-top: 4px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.18s;
}
.a11y-reset:hover { background: rgba(255,255,255,0.12); border-color: rgba(212,148,212,0.4); }

.a11y-panel-foot {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
  text-align: center;
}
.a11y-panel-foot a {
  font-size: 0.82rem;
  color: rgba(212,148,212,0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.a11y-panel-foot a:hover { color: #fff; }

/* Auf Mobile: Panel etwas schmaler & Button kleiner — Daumen-Reach */
@media (max-width: 480px) {
  .a11y-widget { bottom: 14px; right: 14px; }
  .a11y-toggle { width: 46px; height: 46px; font-size: 1.5rem; }
  .a11y-panel { width: calc(100vw - 28px); max-width: 300px; right: 0; }
}
