:root {
  --bg: #050816;
  --panel: rgba(8, 18, 38, 0.72);
  --panel-strong: rgba(10, 22, 46, 0.9);
  --line: rgba(130, 255, 229, 0.24);
  --text: #f6fbff;
  --muted: #b8c6d8;
  --cyan: #43f7ff;
  --green: #70ff95;
  --yellow: #ffe45c;
  --pink: #ff63d8;
  --purple: #8d6bff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, #10264d 0%, transparent 38%),
    linear-gradient(180deg, #02040b 0%, #07111f 55%, #03050d 100%);
  font-family: "Space Grotesk", system-ui, sans-serif;
}

body.no-scroll {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: -5;
  width: 100%;
  height: 100%;
}

.nebula {
  position: fixed;
  z-index: -4;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}

.nebula-one {
  top: -18vw;
  left: -14vw;
  background: var(--cyan);
  animation: driftOne 18s ease-in-out infinite alternate;
}

.nebula-two {
  right: -18vw;
  bottom: -22vw;
  background: var(--pink);
  animation: driftTwo 22s ease-in-out infinite alternate;
}

@keyframes driftOne {
  to { transform: translate(12vw, 10vh) scale(1.2); }
}

@keyframes driftTwo {
  to { transform: translate(-10vw, -8vh) scale(0.86); }
}

.screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(51, 110, 161, 0.16), transparent 35%),
    rgba(1, 3, 9, 0.96);
}

.screen-active {
  display: grid;
}

.terminal-card,
.babel-wrap {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(10, 22, 45, 0.92), rgba(5, 9, 20, 0.92));
  box-shadow: var(--shadow), inset 0 0 70px rgba(67, 247, 255, 0.04);
  text-align: center;
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.terminal-card h1,
.babel-wrap h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 1.03;
}

.terminal-output {
  min-height: 180px;
  margin: 32px 0 24px;
  color: #8affb4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.98rem;
  line-height: 1.75;
  text-align: left;
}

.progress-track {
  height: 13px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--yellow), var(--pink));
  box-shadow: 0 0 24px rgba(67, 247, 255, 0.65);
  transition: width 260ms ease;
}

.text-button {
  margin-top: 22px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.answer-42 {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--yellow);
  cursor: pointer;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(9rem, 35vw, 24rem);
  font-weight: 900;
  line-height: 0.85;
  text-shadow:
    0 0 22px rgba(255, 228, 92, 0.9),
    0 0 90px rgba(255, 92, 138, 0.46);
  animation: answerPulse 1.9s ease-in-out infinite alternate;
}

.answer-subtitle {
  margin-top: 36px;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.5rem);
}

@keyframes answerPulse {
  to {
    transform: scale(1.045);
    filter: hue-rotate(16deg);
  }
}

.babel-wrap h2 {
  font-size: clamp(1.8rem, 5vw, 3.4rem);
}

.babel-fish {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 24px rgba(67, 247, 255, 0.55));
  animation: swim 3.2s ease-in-out infinite;
}

.fish-body {
  display: block;
  font-size: clamp(5rem, 14vw, 8rem);
  transform: scaleX(-1);
}

.fish-bubble {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: bubble 2.4s ease-out infinite;
}

.bubble-one {
  top: 14%;
  left: 0;
}

.bubble-two {
  top: 28%;
  left: -20%;
  animation-delay: 0.8s;
}

@keyframes swim {
  50% { transform: translateX(24px) rotate(4deg); }
}

@keyframes bubble {
  0% { opacity: 0; transform: translateY(10px) scale(0.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-60px) scale(1.5); }
}

.language-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.pill-button,
.primary-button,
.secondary-button,
.mini-rsvp {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.pill-button {
  padding: 16px 26px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  font-weight: 700;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-3px);
  background: rgba(67,247,255,0.13);
  box-shadow: 0 12px 34px rgba(0,0,0,0.3);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(3, 8, 20, 0.66);
  backdrop-filter: blur(16px);
}

.panic-badge {
  padding: 10px 16px;
  border: 2px solid var(--green);
  border-radius: 8px;
  background: #0d2b16;
  color: #cbffd7;
  cursor: pointer;
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 0 26px rgba(112,255,149,0.16);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}

.mini-rsvp {
  padding: 10px 16px;
  background: var(--yellow);
  color: #111522;
  font-weight: 800;
}

.section-shell {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  min-height: calc(100vh - 78px);
  padding: 80px 0 90px;
}

.hero h1,
.section-heading h2,
.info-panel h2,
.countdown-section h2,
.rsvp-card h2,
.spectacle-card h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  line-height: 1.05;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.hero-lead {
  max-width: 730px;
  margin: 28px 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.75;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.hero-meta > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.meta-label {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  font-weight: 800;
}

.primary-button {
  background: linear-gradient(90deg, var(--yellow), #ffb347);
  color: #10131d;
  box-shadow: 0 12px 36px rgba(255, 201, 72, 0.2);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 46px rgba(255, 201, 72, 0.33);
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(67,247,255,0.08);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.image-orbit {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.image-orbit img {
  position: relative;
  z-index: 2;
  width: 84%;
  max-height: 78vh;
  object-fit: contain;
  filter:
    drop-shadow(0 0 26px rgba(112,255,149,0.26))
    drop-shadow(0 22px 36px rgba(0,0,0,0.42));
  animation: heroFloat 5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(67,247,255,0.2);
  border-radius: 50%;
}

.orbit-one {
  inset: 8%;
  animation: orbitSpin 18s linear infinite;
}

.orbit-two {
  inset: 18%;
  border-color: rgba(255,99,216,0.22);
  animation: orbitSpin 12s linear infinite reverse;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

@keyframes heroFloat {
  50% { transform: translateY(-16px) rotate(1deg); }
}

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

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.countdown-section h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  padding-bottom: 110px;
}

.feature-card {
  grid-column: span 2;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(16, 34, 66, 0.78), rgba(7, 15, 32, 0.8));
  box-shadow: 0 18px 50px rgba(0,0,0,0.24);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:nth-child(4),
.feature-card:nth-child(5) {
  grid-column: span 3;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-8px) rotate(-0.4deg);
  border-color: rgba(67,247,255,0.35);
  box-shadow: 0 26px 66px rgba(0,0,0,0.36);
}

.feature-icon,
.panel-icon,
.spectacle-icon {
  font-size: 2.6rem;
}

.feature-card h3 {
  margin: 26px 0 12px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.35rem;
}

.feature-card p,
.info-panel p,
.spectacle-card p,
.rsvp-card p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 110px;
}

.info-panel {
  min-height: 320px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.info-panel h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.countdown-section {
  padding: 70px 0 110px;
  text-align: center;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.countdown > div {
  padding: 28px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background: rgba(255,255,255,0.045);
}

.countdown strong {
  display: block;
  color: var(--yellow);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 6vw, 4.8rem);
}

.countdown span {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rsvp-section {
  padding-bottom: 110px;
}

.rsvp-card {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 34px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255,228,92,0.25);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 50%, rgba(255,228,92,0.13), transparent 30%),
    linear-gradient(145deg, rgba(20, 32, 60, 0.95), rgba(7, 13, 27, 0.93));
  box-shadow: var(--shadow);
}

.rsvp-card h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
}

.rsvp-button {
  margin-top: 12px;
}

.rsvp-orb {
  display: grid;
  place-items: center;
  width: min(240px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border: 2px solid rgba(255,228,92,0.4);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,228,92,0.26), rgba(255,99,216,0.08) 58%, transparent 60%);
  box-shadow: 0 0 80px rgba(255,228,92,0.18);
  animation: orbPulse 2.8s ease-in-out infinite alternate;
}

.rsvp-orb span {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
}

@keyframes orbPulse {
  to { transform: scale(1.05); filter: hue-rotate(24deg); }
}

.spectacle-section {
  padding-bottom: 110px;
}

.spectacle-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.spectacle-card h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.spectacle-card a {
  color: var(--cyan);
  font-weight: 700;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 80px;
  text-align: center;
}

.towel-button {
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 4rem;
  animation: towelFloat 4s ease-in-out infinite;
}

@keyframes towelFloat {
  50% { transform: translateY(-12px) rotate(8deg); }
}

.footer-line {
  margin: 12px 0 26px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.8rem);
}

.mostly-harmless {
  border: 0;
  background: none;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: min(90vw, 560px);
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(3, 10, 24, 0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 180ms ease, transform 180ms ease;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.developer-dialog {
  width: min(560px, calc(100% - 30px));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #07111f;
  color: var(--text);
  box-shadow: var(--shadow);
}

.developer-dialog::backdrop {
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(7px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 2rem;
}

.developer-dialog dl {
  margin: 26px 0 0;
}

.developer-dialog dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.developer-dialog dt {
  color: var(--muted);
}

.developer-dialog dd {
  margin: 0;
  color: var(--green);
  font-family: ui-monospace, monospace;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.glitch {
  animation: glitch 420ms steps(2, end);
}

@keyframes glitch {
  0% { filter: hue-rotate(0); transform: translateX(0); }
  20% { filter: hue-rotate(70deg); transform: translateX(-5px); }
  40% { transform: translateX(6px); }
  60% { filter: hue-rotate(-40deg); transform: translateX(-2px); }
  100% { filter: none; transform: none; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .image-orbit {
    width: min(100%, 430px);
  }

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

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
  }

  .split-section,
  .rsvp-card {
    grid-template-columns: 1fr;
  }

  .rsvp-orb {
    width: 180px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding-inline: 14px;
  }

  .panic-badge {
    font-size: 0.66rem;
  }

  .hero-meta,
  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .spectacle-card {
    grid-template-columns: 1fr;
  }

  .terminal-output {
    min-height: 210px;
    font-size: 0.88rem;
  }
}

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


/* =========================
   VERSION 2 ENHANCEMENTS
   ========================= */

.warp-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(67,247,255,.12), rgba(2,4,11,.98) 58%);
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.warp-overlay.active {
  opacity: 1;
  animation: warpFade 1200ms ease forwards;
}

.warp-core {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 26px #fff,
    0 0 70px #43f7ff,
    0 0 140px #ff63d8;
  animation: corePulse 700ms ease-in-out infinite alternate;
}

.warp-lines {
  position: absolute;
  inset: -20%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(67,247,255,.95) 0deg 0.18deg,
      transparent 0.18deg 2.8deg
    );
  mask-image: radial-gradient(circle at center, transparent 0 8%, #000 18%, transparent 74%);
  transform: scale(.2);
}

.warp-overlay.active .warp-lines {
  animation: warpRush 1200ms cubic-bezier(.1,.8,.2,1) forwards;
}

@keyframes warpRush {
  0% { transform: scale(.18) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(3.8) rotate(16deg); opacity: 0; }
}

@keyframes warpFade {
  0% { opacity: 0; }
  18% { opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes corePulse {
  to { transform: scale(1.4); }
}

.passing-ship {
  position: fixed;
  top: 18vh;
  left: -240px;
  z-index: -1;
  width: 180px;
  opacity: .82;
  filter: drop-shadow(0 0 20px rgba(67,247,255,.35));
  animation: shipPass 28s linear infinite;
  pointer-events: none;
}

.passing-ship svg {
  width: 100%;
  display: block;
}

@keyframes shipPass {
  0%, 72% { transform: translateX(0) translateY(0) scale(.8); opacity: 0; }
  74% { opacity: .8; }
  88% { transform: translateX(calc(100vw + 420px)) translateY(10vh) scale(1.08); opacity: .8; }
  90%, 100% { transform: translateX(calc(100vw + 420px)) translateY(10vh) scale(1.08); opacity: 0; }
}

.terminal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent, rgba(67,247,255,.65), transparent, rgba(255,99,216,.5), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: terminalSweep 4s linear infinite;
}

.terminal-card {
  position: relative;
  overflow: hidden;
}

.terminal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(255,255,255,.025) 3px 4px
  );
  pointer-events: none;
}

@keyframes terminalSweep {
  to { filter: hue-rotate(360deg); }
}

.terminal-output > div:last-child::after {
  content: "▋";
  margin-left: 6px;
  color: var(--green);
  animation: cursorBlink 700ms steps(1,end) infinite;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

.babel-svg {
  display: block;
  width: min(320px, 78vw);
  height: auto;
}

.fish-body {
  display: none;
}

.fish-tail {
  transform-origin: 72px 92px;
  animation: tailSwish 900ms ease-in-out infinite alternate;
}

.ear-fin {
  transform-origin: 110px 90px;
  animation: finFlutter 1.2s ease-in-out infinite alternate;
}

.bubble-three {
  top: 40%;
  left: -32%;
  animation-delay: 1.4s;
}

@keyframes tailSwish {
  to { transform: rotate(-12deg) scaleX(.92); }
}

@keyframes finFlutter {
  to { transform: rotate(8deg) scale(.95); }
}

.babel-fish.is-leaving {
  animation: babelExit 850ms cubic-bezier(.55,.02,.42,1) forwards;
}

@keyframes babelExit {
  0% { transform: translateX(0) rotate(0) scale(1); opacity: 1; }
  55% { transform: translateX(28vw) rotate(-8deg) scale(.9); opacity: 1; }
  100% { transform: translateX(65vw) rotate(-18deg) scale(.2); opacity: 0; }
}

.feature-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  background:
    linear-gradient(145deg, rgba(24, 48, 88, .76), rgba(7, 15, 32, .78));
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(67,247,255,.18), transparent 36%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.feature-card:hover::before,
.feature-card:focus-visible::before {
  opacity: 1;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  background:
    linear-gradient(120deg, rgba(255,255,255,.11), transparent 22%, transparent 78%, rgba(255,255,255,.05));
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.guide-note {
  display: inline-block;
  margin-top: 18px;
  color: rgba(255,255,255,.42);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature-card.is-consulted {
  border-color: rgba(255,228,92,.5);
  box-shadow:
    0 28px 80px rgba(0,0,0,.44),
    0 0 36px rgba(255,228,92,.09);
}

.feature-card.is-consulted .guide-note {
  color: var(--yellow);
}

.image-orbit img {
  transition: transform 220ms ease, filter 220ms ease;
}

.image-orbit:hover img {
  transform: translateY(-8px) scale(1.025) rotate(-.5deg);
  filter:
    drop-shadow(0 0 34px rgba(112,255,149,.36))
    drop-shadow(0 26px 46px rgba(0,0,0,.48));
}

@media (hover: none) {
  .guide-note {
    display: none;
  }

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


/* ===== VERSION 3 ===== */
.dont-press{
margin-top:24px;
background:#3b0000;
color:#ffb3b3;
border:1px solid #ff6363;
padding:12px 22px;
border-radius:999px;
cursor:pointer;
transition:.2s;
}
.dont-press:hover{
transform:scale(1.05);
box-shadow:0 0 24px rgba(255,99,99,.5);
}
.shooting-star{
position:fixed;
width:2px;
height:2px;
background:white;
box-shadow:0 0 10px white;
pointer-events:none;
z-index:-2;
}


.marvin{
position:fixed;
right:-420px;
bottom:24px;
display:flex;
gap:14px;
align-items:flex-end;
z-index:500;
transition:right .9s cubic-bezier(.2,.8,.2,1);
max-width:min(420px,90vw);
}
.marvin.show{right:20px;}
.marvin-head{
font-size:54px;
filter:drop-shadow(0 0 10px #8d6bff);
}
.marvin-box{
background:rgba(7,17,31,.95);
border:1px solid rgba(141,107,255,.4);
border-radius:18px;
padding:16px;
backdrop-filter:blur(10px);
box-shadow:0 15px 40px rgba(0,0,0,.45);
}
.marvin-box p{
margin:.4rem 0 0;
color:#d8dbe8;
line-height:1.5;
}


/* Accommodation section */
.accommodation-section {
  padding-bottom: 110px;
}

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

.accommodation-button {
  display: inline-flex;
  margin-top: 18px;
}


/* Accommodation language display — deliberately controlled by the document
   language so the English version cannot fall back to Swedish text. */
.accommodation-en {
  display: none;
}

html[lang="en"] .accommodation-sv {
  display: none;
}

html[lang="en"] .accommodation-en {
  display: inline;
}

html[lang="sv"] .accommodation-sv {
  display: inline;
}

html[lang="sv"] .accommodation-en {
  display: none;
}
