/* WarrantyVault V35.0.22: staged mechanical vault entrance and premium motion */

html.wv-vault-entry-pending,
html.wv-vault-entry-pending body {
  overflow: hidden;
}

.wv-vault-entry {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: none;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  color: #f7fbff;
  background: #06111f;
  perspective: 1200px;
  isolation: isolate;
}

html.wv-vault-entry-pending .wv-vault-entry {
  display: grid;
}

.wv-vault-entry::before,
.wv-vault-entry::after {
  position: absolute;
  inset-block: 0;
  z-index: -2;
  width: 51%;
  content: "";
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 50% 38%, rgba(37,99,235,.2), transparent 38%),
    linear-gradient(145deg, #0b1d31, #040c17 72%);
  background-size: 38px 38px, 38px 38px, auto, auto;
  transition: transform 360ms cubic-bezier(.72,0,.18,1) 470ms;
}

.wv-vault-entry::before {
  left: 0;
  border-right: 1px solid rgba(130,178,230,.12);
}

.wv-vault-entry::after {
  right: 0;
  border-left: 1px solid rgba(130,178,230,.12);
}

.wv-vault-entry.is-opening::before {
  transform: translateX(-102%);
}

.wv-vault-entry.is-opening::after {
  transform: translateX(102%);
}

.wv-vault-entry-ambient {
  position: absolute;
  inset: -30%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(20,184,166,.12), transparent 21%),
    conic-gradient(from 90deg at 50% 50%, transparent, rgba(54,128,255,.08), transparent 24%, rgba(20,184,166,.08), transparent 58%);
  filter: blur(12px);
  animation: wvAmbientTurn 12s linear infinite;
}

.wv-vault-entry-bloom {
  position: absolute;
  z-index: 8;
  width: min(88vmin, 780px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,.96) 0 3%, rgba(74,222,205,.65) 12%, rgba(50,126,255,.2) 32%, transparent 68%);
  filter: blur(9px);
  transform: scale(.12);
}

.wv-vault-entry-inner {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(520px, 100%);
  text-align: center;
}

.wv-vault-entry-inner::before {
  position: absolute;
  inset: -22% -58%;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .34;
  background: linear-gradient(112deg, transparent 36%, rgba(121,191,238,.12) 47%, rgba(255,255,255,.08) 50%, transparent 62%);
  transform: translateX(-38%);
  animation: wvMetalReflection 5.8s ease-in-out infinite;
}

.wv-vault-door {
  position: relative;
  display: grid;
  width: clamp(180px, min(31vw, 46vh), 292px);
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transform-origin: 8% 50%;
  filter: drop-shadow(0 34px 50px rgba(0,0,0,.52));
  transition:
    transform 520ms cubic-bezier(.58,-.05,.27,1.05),
    filter 300ms ease,
    opacity 180ms ease 320ms;
}

.wv-vault-door::before {
  position: absolute;
  inset: 4% -5% 4% 5%;
  z-index: -1;
  border: 2px solid #2d4356;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 35% 30%, #314b61, #0b1a28 62%, #030912);
  box-shadow: inset -14px 0 22px rgba(0,0,0,.62), 12px 14px 24px rgba(0,0,0,.28);
  transform: translateZ(-20px);
}

.wv-vault-door:hover,
.wv-vault-door:focus-visible {
  filter: drop-shadow(0 38px 62px rgba(0,0,0,.6)) drop-shadow(0 0 24px rgba(45,212,191,.2));
  outline: none;
  transform: translateY(-4px) scale(1.015);
}

.wv-vault-door:focus-visible .wv-vault-door-ring {
  box-shadow: 0 0 0 4px rgba(96,165,250,.35), inset 0 0 0 2px rgba(255,255,255,.05);
}

.wv-vault-door-ring {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 3px solid #536b82;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255,255,255,.07) 0 2deg, transparent 2deg 16deg),
    radial-gradient(circle at 38% 28%, #3b536a, #162b3f 46%, #071522 74%);
  box-shadow:
    inset 0 0 0 8px #071421,
    inset 0 0 0 11px #31485e,
    inset 0 -20px 36px rgba(0,0,0,.38),
    0 0 0 7px #030a12,
    0 0 0 9px #24384b;
}

.wv-vault-door-ring::before,
.wv-vault-door-ring::after {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(148,190,225,.35);
  border-radius: 50%;
  content: "";
}

.wv-vault-door-ring::after {
  inset: 18%;
  border-color: rgba(20,184,166,.28);
  box-shadow: 0 0 24px rgba(20,184,166,.1);
}

.wv-vault-lock-wheel {
  position: absolute;
  inset: 10.5%;
  z-index: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(145,177,201,.6) 0 2deg, transparent 2deg 15deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
  filter: drop-shadow(0 0 5px rgba(74,222,205,.1));
  animation: wvLockIdle 22s linear infinite;
}

.wv-vault-bolt {
  position: absolute;
  z-index: 3;
  width: 13px;
  height: 13px;
  border: 2px solid #647d94;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #d1dde7, #5b7185 34%, #162737 68%);
  box-shadow: 0 2px 6px rgba(0,0,0,.5);
  transition: opacity 170ms ease, transform 220ms cubic-bezier(.2,.75,.2,1), box-shadow 220ms ease;
}

.wv-vault-bolt.one { top: 8%; left: 50%; transform: translateX(-50%); }
.wv-vault-bolt.two { top: 50%; right: 8%; transform: translateY(-50%); }
.wv-vault-bolt.three { bottom: 8%; left: 50%; transform: translateX(-50%); }
.wv-vault-bolt.four { top: 50%; left: 8%; transform: translateY(-50%); }

.wv-vault-logo-shell {
  position: relative;
  z-index: 2;
  display: grid;
  width: 64%;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(153,203,235,.3);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 30%, rgba(68,104,130,.5), transparent 34%),
    #071725;
  box-shadow:
    inset 0 0 32px rgba(0,0,0,.72),
    0 0 0 7px #0d2234,
    0 0 0 9px rgba(116,150,177,.4),
    0 0 30px rgba(20,184,166,.08);
  transition: box-shadow 280ms ease, transform 280ms ease;
}

.wv-vault-logo-shell img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,.45));
  transform: translateZ(18px);
  transition: transform 300ms ease;
}

.wv-vault-door:hover .wv-vault-logo-shell img,
.wv-vault-door:focus-visible .wv-vault-logo-shell img {
  transform: translateZ(24px) scale(1.035);
}

.wv-vault-logo-shell::after {
  position: absolute;
  inset: -30% auto -30% -52%;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  transform: rotate(17deg);
  animation: wvLogoSweep 2.8s ease-in-out infinite;
}

.wv-vault-click-ripple {
  position: absolute;
  inset: 28%;
  z-index: 5;
  border: 2px solid rgba(109,234,216,.8);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: scale(.35);
}

.wv-vault-entry-copy {
  position: relative;
  display: grid;
  justify-items: center;
  margin-top: 24px;
  transition: opacity 240ms ease, transform 240ms ease;
}

.wv-vault-entry-copy small {
  margin-bottom: 8px;
  color: #55e2cd;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.wv-vault-entry-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -.045em;
}

.wv-vault-entry-copy span {
  margin-top: 7px;
  color: #c8d6e2;
  font-size: 12px;
  font-weight: 750;
}

.wv-vault-entry-copy em {
  margin-top: 5px;
  color: #55e2cd;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wv-vault-entry-copy b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 9px 13px;
  border: 1px solid rgba(86,164,229,.18);
  border-radius: 999px;
  color: #cfe0ed;
  background: rgba(10,29,47,.7);
  font-size: 10px;
  letter-spacing: .06em;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}

.wv-vault-entry-copy b::after {
  color: #55e2cd;
  content: "→";
  animation: wvEnterArrow 1.3s ease-in-out infinite;
}

.wv-vault-opening-status {
  position: absolute;
  bottom: -3px;
  color: #6eeee0;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(7px);
}

.wv-vault-entry.is-opening .wv-vault-lock-wheel {
  animation: wvLockRelease 300ms cubic-bezier(.2,.75,.2,1) forwards;
}

.wv-vault-entry.is-opening .wv-vault-bolt {
  opacity: .15;
  box-shadow: 0 0 18px rgba(74,222,205,.7);
}

.wv-vault-entry.is-opening .wv-vault-bolt.one { transform: translate(-50%, 18px) scale(.24); }
.wv-vault-entry.is-opening .wv-vault-bolt.two { transform: translate(-18px, -50%) scale(.24); }
.wv-vault-entry.is-opening .wv-vault-bolt.three { transform: translate(-50%, -18px) scale(.24); }
.wv-vault-entry.is-opening .wv-vault-bolt.four { transform: translate(18px, -50%) scale(.24); }

.wv-vault-entry.is-opening .wv-vault-logo-shell {
  box-shadow:
    inset 0 0 32px rgba(0,0,0,.58),
    0 0 0 7px #0d2234,
    0 0 0 10px rgba(66,235,211,.86),
    0 0 45px rgba(45,212,191,.8),
    0 0 90px rgba(37,99,235,.34);
  transform: translateZ(20px) scale(1.025);
}

.wv-vault-entry.is-opening .wv-vault-click-ripple {
  animation: wvVaultRipple 380ms ease-out both;
}

.wv-vault-entry.is-opening .wv-vault-entry-copy b {
  opacity: 0;
  transform: translateY(-5px);
}

.wv-vault-entry.is-opening .wv-vault-opening-status {
  opacity: 1;
  transform: none;
  transition: opacity 160ms ease 80ms, transform 200ms ease 80ms;
}

.wv-vault-entry.is-opening .wv-vault-entry-bloom {
  animation: wvVaultBloom 560ms ease-in 300ms both;
}

.wv-vault-entry.is-opening .wv-vault-door {
  opacity: 0;
  transform: translateX(-10%) rotateY(-108deg) scale(.94);
  filter: drop-shadow(38px 30px 42px rgba(0,0,0,.58));
  transition:
    transform 430ms cubic-bezier(.58,-.05,.27,1.05) 250ms,
    filter 300ms ease 250ms,
    opacity 150ms ease 570ms;
}

.wv-vault-entry.is-opening .wv-vault-entry-copy {
  animation: wvCopyRelease 760ms ease both;
}

.wv-vault-entry.is-opening .wv-vault-entry-ambient {
  opacity: 0;
  transition: opacity 380ms ease;
}

html.wv-vault-entry-complete #authGate,
html.wv-vault-entry-complete #appShell {
  animation: wvSiteReveal 520ms cubic-bezier(.2,.75,.2,1) both;
}

.view.active {
  animation: wvViewIn 340ms cubic-bezier(.2,.75,.2,1);
}

.modal-backdrop.show {
  animation: wvBackdropIn 180ms ease both;
}

.modal-backdrop.show > .modal {
  animation: wvModalIn 280ms cubic-bezier(.2,.78,.2,1) both;
  transform-origin: 50% 42%;
}

.show-section-tabs button,
.card-detail-tabs button,
.auth-tab,
[role="tab"] {
  position: relative;
}

.show-section-tabs button::after,
.card-detail-tabs button::after,
.auth-tab::after,
[role="tab"]::after {
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 2px;
  border-radius: 99px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  opacity: 0;
  transform: scaleX(.18);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(.2,.75,.2,1);
}

.show-section-tabs button.active::after,
.card-detail-tabs button.active::after,
.auth-tab.active::after,
[role="tab"].active::after,
[role="tab"][aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.dashboard-action-card,
.vault-overview-metric,
.collect-card,
.performance-show-card,
.show-sale-card,
.repack-card,
.repack-checklist-series-card,
.public-showcase-card,
.v35-highlight-grid > button {
  transition:
    transform 240ms cubic-bezier(.2,.75,.2,1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .dashboard-action-card:hover,
  .vault-overview-metric:hover,
  .collect-card:hover,
  .performance-show-card:hover,
  .show-sale-card:hover,
  .repack-card:hover,
  .repack-checklist-series-card:hover,
  .public-showcase-card:hover,
  .v35-highlight-grid > button:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
    box-shadow: 0 20px 40px rgba(8,24,44,.16);
  }
}

.btn.is-busy {
  position: relative;
  overflow: hidden;
}

.btn.is-busy::after,
.recovery-loading::after,
[aria-busy="true"]::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(105deg, transparent 24%, rgba(255,255,255,.18) 45%, transparent 66%);
  transform: translateX(-115%);
  animation: wvShimmer 1.15s ease-in-out infinite;
}

.toast.wv-toast-success {
  border-color: rgba(45,212,191,.34);
  box-shadow: 0 18px 44px rgba(0,0,0,.35), 0 0 28px rgba(20,184,166,.1);
}

.toast.wv-toast-success .toast-dot {
  background: #2dd4bf;
  box-shadow: 0 0 16px #2dd4bf;
  animation: wvSuccessPulse 720ms ease both;
}

.wv-success-burst {
  position: fixed;
  right: 72px;
  bottom: 72px;
  z-index: 2147483646;
  width: 10px;
  height: 10px;
  pointer-events: none;
}

.wv-success-burst i {
  position: absolute;
  inset: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, #2dd4bf);
  box-shadow: 0 0 10px var(--c, #2dd4bf);
  animation: wvBurst 760ms cubic-bezier(.16,.78,.22,1) both;
}

.landing-hero,
.repack-storefront-page-hero {
  position: relative;
  isolation: isolate;
}

.landing-hero::after,
.repack-storefront-page-hero::before {
  position: absolute;
  z-index: -1;
  width: min(560px, 58vw);
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(37,99,235,.13), rgba(20,184,166,.06) 36%, transparent 70%);
  filter: blur(12px);
  animation: wvHeroDrift 9s ease-in-out infinite alternate;
}

.landing-hero::after {
  top: -18%;
  right: -10%;
}

.repack-storefront-page-hero::before {
  top: -42%;
  left: -13%;
}

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

@keyframes wvMetalReflection {
  0%, 18% { opacity: .12; transform: translateX(-38%); }
  52% { opacity: .42; }
  82%, 100% { opacity: .12; transform: translateX(38%); }
}

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

@keyframes wvLockRelease {
  from { transform: rotate(0deg); }
  to { transform: rotate(24deg); }
}

@keyframes wvVaultRipple {
  0% { opacity: .95; transform: scale(.35); }
  100% { opacity: 0; transform: scale(2.35); }
}

@keyframes wvVaultBloom {
  0% { opacity: 0; transform: scale(.12); }
  42% { opacity: .85; }
  100% { opacity: 0; transform: scale(2.15); }
}

@keyframes wvCopyRelease {
  0%, 45% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes wvLogoSweep {
  0%, 34% { transform: translateX(-90%) rotate(17deg); }
  67%, 100% { transform: translateX(520%) rotate(17deg); }
}

@keyframes wvEnterArrow {
  50% { transform: translateX(4px); }
}

@keyframes wvSiteReveal {
  from { opacity: 0; transform: scale(1.018); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: none; }
}

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

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

@keyframes wvModalIn {
  from { opacity: 0; transform: translateY(14px) scale(.972); }
  to { opacity: 1; transform: none; }
}

@keyframes wvShimmer {
  to { transform: translateX(115%); }
}

@keyframes wvSuccessPulse {
  0% { transform: scale(.55); }
  48% { transform: scale(1.7); }
  100% { transform: scale(1); }
}

@keyframes wvBurst {
  0% { opacity: 1; transform: translate(0, 0) scale(.6); }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(0); }
}

@keyframes wvHeroDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(.96); }
  to { transform: translate3d(5%, 4%, 0) scale(1.08); }
}

@media (max-width: 600px) {
  .wv-vault-entry { padding: 16px; }
  .wv-vault-door { width: min(62vw, 48vh, 220px); }
  .wv-vault-entry-copy { margin-top: 19px; }
  .wv-vault-entry-copy strong { font-size: clamp(27px, 8vw, 37px); }
  .wv-vault-entry-copy span { font-size: 10px; }
  .wv-vault-entry-copy em { font-size: 8px; }
  .wv-vault-entry-copy b { margin-top: 12px; padding: 8px 11px; font-size: 9px; }
  .wv-success-burst { right: 50%; bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .wv-vault-entry *,
  .wv-vault-entry::before,
  .wv-vault-entry::after,
  .view.active,
  .modal-backdrop.show,
  .modal-backdrop.show > .modal,
  .toast.wv-toast-success .toast-dot,
  .wv-success-burst i,
  .landing-hero::after,
  .repack-storefront-page-hero::before,
  .btn.is-busy::after,
  .recovery-loading::after,
  [aria-busy="true"]::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .wv-vault-entry.is-opening {
    opacity: 0;
  }

  .wv-vault-entry.is-opening .wv-vault-door {
    opacity: 0;
    transform: none;
  }

  .dashboard-action-card,
  .vault-overview-metric,
  .collect-card,
  .performance-show-card,
  .show-sale-card,
  .repack-card,
  .repack-checklist-series-card,
  .public-showcase-card,
  .v35-highlight-grid > button {
    transform: none !important;
  }
}
