/* Shared atmosphere and controls; never intercept clicks or text selection. */
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--gold); }
.social-icon svg,.footer-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.social-icon:hover { color: #fff0d9; }
.footer-social { max-width: 1240px; margin: 20px auto 0; display: flex; justify-content: flex-end; }
.footer-social a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--gold); font-size: 12px; }
.footer-social a:hover svg { transform: rotate(-8deg) scale(1.1); }
.footer-social svg { transition: transform .25s; }
.site-footer { padding-bottom: 100px; }
.ambience-control { display: none; }
.js .ambience-control {
  position: fixed; z-index: 25; left: 22px; bottom: max(20px,env(safe-area-inset-bottom));
  display: flex; align-items: center; max-width: calc(100vw - 100px);
  background: #0b1020ed; border: 1px solid #d3b18355; border-radius: 28px;
  color: #edd4ac; box-shadow: 0 6px 32px #0005; backdrop-filter: blur(12px);
}
.ambience-toggle { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 17px; background: transparent; border-radius: 28px; color: inherit; font: 500 11px var(--sans); white-space: nowrap; }
.ambience-toggle:hover { background: #ebcfa411; }
.sound-bars { display: flex; align-items: center; gap: 3px; width: 22px; height: 20px; }
.sound-bars i { width: 2px; height: 4px; border-radius: 2px; background: currentColor; transform-origin: center; }
.ambience-control[data-playing=true] .sound-bars i { height: 15px; animation: sound-wave .9s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2) { animation-delay: -.65s!important; }
.sound-bars i:nth-child(3) { animation-delay: -.3s!important; }
.sound-bars i:nth-child(4) { animation-delay: -.85s!important; }
.ambience-toggle[aria-pressed=true] { color: #fff1d2; }
.ambience-volume { display: none; width: 66px; margin: 0 16px 0 0; accent-color: #e4c38f; height: 44px; }
.ambience-control[data-enabled=true] .ambience-volume { display: block; }
.experience-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#cursor-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; }
.hero-aurora { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; mix-blend-mode: screen; opacity: .4; }
.hero-aurora:before,.hero-aurora:after { content: ''; position: absolute; width: 110%; height: 28%; left: -10%; top: 10%; border-radius: 50%; background: radial-gradient(ellipse at 50% 100%,#73419f55,transparent 68%); transform: rotate(-17deg); animation: aurora-drift 16s ease-in-out infinite alternate; }
.hero-aurora:after { top: 65%; left: 12%; background: radial-gradient(ellipse at 50% 0%,#4f86ae55,transparent 68%); animation-delay: -8s; transform: rotate(14deg); }
.scene-idle .hero-aurora:before,.scene-idle .hero-aurora:after { animation-play-state: paused; }
.hero .motion-button,.experience-motion { position: fixed; z-index: 25; width: 44px; height: 44px; right: 22px; bottom: max(20px,env(safe-area-inset-bottom)); background: #0b1020ed; backdrop-filter: blur(12px); }
.js .game-copy.is-visible .game-steps li { animation: step-arrive .75s cubic-bezier(.18,.7,.18,1) both; }
.js .game-copy.is-visible .game-steps li:nth-child(2) { animation-delay: .12s; }
.js .game-copy.is-visible .game-steps li:nth-child(3) { animation-delay: .24s; }
.world-stages { transition: box-shadow .6s; }
.world-stages:hover { box-shadow: 0 0 48px #ba8cce14; }
.world-stage.entering .world-caption { animation: step-arrive .7s .08s cubic-bezier(.18,.7,.18,1) both; }
.world-stage.entering:after { content: ''; position: absolute; inset: -30%; pointer-events: none; background: linear-gradient(110deg,transparent 38%,#fff5d414 50%,transparent 62%); animation: world-sweep 1.1s ease-out both; }
.collection-art .art-window,.collection-art .collection-phone { transition: transform .7s cubic-bezier(.18,.7,.18,1); }
.collection-art:hover .art-window { transform: rotate(-2deg) translateY(-8px); }
.collection-art:hover .collection-phone { transform: rotate(5deg) translateY(5px); }
.final-halo:before { animation: sigil-orbit 90s linear infinite; }
.final-section:not(.in-view) .final-halo:before { animation-play-state: paused; }
.button-gold:focus-visible { box-shadow: 0 0 30px #e8bd8260; }
@keyframes sound-wave { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
@keyframes aurora-drift { to { transform: translate3d(4%,18%,0) rotate(5deg) scale(1.12); opacity: .55; } }
@keyframes step-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes world-sweep { from { transform: translateX(-70%); } to { transform: translateX(70%); } }
@media (pointer: fine) and (hover: hover) {
  html { cursor: url('assets/cursor-crystal.svg') 3 2, auto; }
  a,button,summary,[role=tab],.contact-reveal { cursor: url('assets/cursor-spark.svg') 16 16, pointer; }
  input[type=range] { cursor: ew-resize; }
  input[type=text],textarea,[contenteditable=true],.contact-address { cursor: text; }
}
@media (max-width:900px) { .header-actions .social-icon { display: none; } }
@media (max-width:700px) {
  .js .ambience-control { left: 15px; bottom: max(15px,env(safe-area-inset-bottom)); }
  .ambience-toggle { font-size: 10px; padding-inline: 13px; gap: 9px; }
  .ambience-volume { width: 44px; margin-right: 12px; }
  .ambience-toggle span:last-child { overflow: hidden; text-overflow: ellipsis; max-width: 105px; }
  .hero .scroll-cue { display: none; }
  .hero .motion-button,.experience-motion { right: 15px; bottom: max(15px,env(safe-area-inset-bottom)); }
  .footer-social { justify-content: flex-start; margin-top: 4px; }
  .hero-aurora { opacity: .3; }
}
@media (forced-colors:active) { html,a,button,summary { cursor: auto; } #cursor-trail,.hero-aurora { display: none; } }
@media (prefers-reduced-motion:reduce) { #cursor-trail,.hero-aurora { display: none; } }
.motion-paused #cursor-trail,.motion-paused .hero-aurora { display: none; }
