:root {
  --black: #040403;
  --panel: #0d0c0a;
  --line: rgba(201, 163, 82, 0.26);
  --gold: #c9a352;
  --gold-strong: #d3b36c;
  --text: #fffaf0;
  --muted: rgba(255, 250, 240, 0.68);
  --field: rgba(255, 250, 240, 0.055);
  --focus: rgba(211, 179, 108, 0.4);
  --font: "Anek Latin", "Avenir Next", Avenir, "Helvetica Neue", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background:
    linear-gradient(rgba(201, 163, 82, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 163, 82, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #050505 0%, #12100c 48%, #050505 100%);
  background-size:
    72px 72px,
    72px 72px,
    auto;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.entry-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 56px);
}

.entry-shell {
  width: min(100%, 460px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 12, 10, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: clamp(28px, 5vw, 44px);
}

.brand-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.6vw, 18px);
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo-victto {
  height: auto;
  width: clamp(126px, 32vw, 162px);
}

.brand-logo-studio {
  height: auto;
  width: clamp(62px, 14vw, 84px);
  margin: -12px 0;
  transform: scale(1.55);
  transform-origin: center;
}

.brand-divider {
  width: 1px;
  height: clamp(34px, 7vw, 46px);
  background: rgba(212, 175, 55, 0.28);
}

.brand-wordmark {
  color: var(--gold);
  font-size: clamp(2rem, 7vw, 3.8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.brand-lockup span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.entry-copy {
  text-align: center;
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 2.75rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.entry-copy p:last-child {
  margin: 18px auto 0;
  max-width: 31ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--text);
  background: var(--field);
  outline: none;
}

.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--focus);
}

.password-control {
  position: relative;
  display: block;
}

.password-control input {
  padding-right: 76px;
}

.password-control button {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 56px;
  height: 40px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.submit-button {
  min-height: 58px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  color: #090806;
  background: var(--gold-strong);
  font-weight: 850;
  cursor: pointer;
}

.submit-button:hover {
  background: #e0c17a;
}

.form-links {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-links a {
  text-decoration: none;
}

.form-links a:hover {
  color: var(--gold-strong);
}

@media (max-width: 520px) {
  .entry-page {
    align-items: start;
    padding: 18px;
  }

  .entry-shell {
    min-height: calc(100vh - 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .form-links {
    flex-direction: column;
    align-items: center;
  }
}

/* VICTTO premium login refresh */
:root {
  --bg: #050505;
  --surface: #0b0b0b;
  --surface-2: #111111;
  --line: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --gold: #d4af37;
  --gold-strong: #f6d365;
  --font: "Satoshi", "Inter", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

@keyframes entryReveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loginPulse {
  0% {
    transform: scale(1);
  }

  28% {
    transform: scale(0.975);
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }

  62% {
    transform: scale(1.025);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 72px rgba(212, 175, 55, 0.2);
  }
}

@keyframes buttonIgnition {
  0% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }

  45% {
    transform: translateY(-2px) scale(1.018);
    filter: brightness(1.18);
  }

  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1.04);
  }
}

@keyframes dissolveOut {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(8px) scale(0.985);
  }
}

@keyframes loadingIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes phraseIn {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes phraseOut {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  to {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-10px);
  }
}

@keyframes loadingLine {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes particleReact {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0) scaleY(0.35);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-112px) scaleY(var(--scale));
  }
}

body {
  color: #ffffff;
  font-family: var(--font);
  background:
    radial-gradient(circle at 76% 10%, rgba(212, 175, 55, 0.16), transparent 34rem),
    radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.05), transparent 28rem),
    #050505;
}

.entry-page {
  padding: clamp(20px, 4vw, 56px);
}

.entry-shell {
  width: min(100%, 460px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(11, 11, 11, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 24px 70px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(6px);
  animation: entryReveal 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-lockup {
  gap: 10px;
}

.brand-lockup img {
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.12));
}

.brand-lockup .brand-logo-victto {
  height: auto;
  width: clamp(104px, 28vw, 132px);
}

.brand-lockup .brand-logo-studio {
  height: auto;
  width: clamp(48px, 12vw, 64px);
  margin: -8px 0;
  transform: scale(1.48);
  transform-origin: center;
}

.brand-lockup span,
.eyebrow,
.field span {
  color: rgba(212, 175, 55, 0.82);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.64rem;
}

h1 {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.entry-copy p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.45;
}

.field input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.field input:focus {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
}

.password-control button {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  transition: color 180ms ease, background 180ms ease;
}

.password-control button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.submit-button {
  min-height: 48px;
  border-radius: 8px;
  color: #050505;
  background: linear-gradient(135deg, #d4af37 0%, #f6d365 100%);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 18px 48px rgba(212, 175, 55, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.submit-button:hover {
  background: linear-gradient(135deg, #d4af37 0%, #f6d365 100%);
  filter: brightness(1.04) saturate(1.08);
  transform: translateY(-2px);
  box-shadow: 0 24px 62px rgba(212, 175, 55, 0.24);
}

.submit-button.is-igniting {
  animation: buttonIgnition 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.form-links {
  color: rgba(255, 255, 255, 0.48);
}

.form-links a:hover {
  color: #f6d365;
}

.dotted-surface {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.58;
  mix-blend-mode: screen;
  overflow: hidden;
}

.dotted-surface::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 44%, transparent 0 24%, rgba(5, 5, 5, 0.42) 62%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.88));
}

.dotted-surface canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.entry-page {
  position: relative;
  z-index: 1;
}

/* Applied reference login design for the static VICTTO page */
.video-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050505;
}

.video-background::before,
.video-background::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}

.video-background::before {
  background:
    radial-gradient(circle at 50% 16%, rgba(212, 175, 55, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.84));
}

.video-background::after {
  background: rgba(0, 0, 0, 0.22);
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: translateZ(0);
  will-change: transform;
}

.entry-page {
  position: relative;
  isolation: isolate;
}

.entry-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 336px);
  padding: 26px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 64px rgba(0, 0, 0, 0.48),
    0 0 46px rgba(212, 175, 55, 0.08);
}

.entry-shell.login-reacting {
  animation: loginPulse 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.entry-shell.is-dissolving {
  pointer-events: none;
  animation: dissolveOut 640ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.entry-shell::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.24), rgba(255, 255, 255, 0.06), rgba(212, 175, 55, 0.08));
  content: "";
}

.entry-copy h1 {
  font-size: clamp(1.45rem, 4.2vw, 1.9rem);
  line-height: 1;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.14);
}

.entry-copy {
  margin-bottom: 22px;
}

.entry-copy p:last-child {
  margin-top: 12px;
  max-width: 28ch;
  font-size: 0.78rem;
  line-height: 1.42;
}

.login-form {
  gap: 13px;
}

.secure-access-panel {
  gap: 16px;
}

.secure-access-copy {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.secure-access-copy strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.secure-access-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.48;
}

.input-control,
.password-control {
  position: relative;
  display: block;
}

.input-control input,
.password-control input {
  padding-left: 44px;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 700;
  transform: translateY(-50%);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.login-form {
  position: relative;
}

.particle-burst {
  position: absolute;
  left: 50%;
  bottom: 64px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.particle-burst span {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d365, rgba(212, 175, 55, 0));
  box-shadow: 0 0 18px rgba(246, 211, 101, 0.55);
  opacity: 0;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.particle-burst.is-active span {
  animation: particleReact 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loading-page {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(212, 175, 55, 0.12), transparent 28rem),
    #050505;
  opacity: 0;
  pointer-events: none;
}

.loading-page.is-visible {
  animation: loadingIn 520ms ease forwards;
  pointer-events: auto;
}

.loading-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.loading-page::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.08) 0 8%, transparent 24%, rgba(5, 5, 5, 0.32) 58%, rgba(5, 5, 5, 0.94) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.82));
}

.loading-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 760px);
  text-align: center;
}

.loading-content img {
  width: min(34vw, 132px);
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.14));
}

.loading-kicker {
  margin: 0 0 12px;
  color: rgba(212, 175, 55, 0.82);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loading-content h2 {
  min-height: 1.2em;
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.86rem, 2.2vw, 1.22rem);
  font-weight: 500;
  line-height: 1.12;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loading-content h2.is-entering {
  animation: phraseIn 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loading-content h2.is-leaving {
  animation: phraseOut 620ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.loading-line {
  position: relative;
  width: min(100%, 240px);
  height: 1px;
  margin: 26px auto 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.loading-line span {
  display: block;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #f6d365, transparent);
  animation: loadingLine 1400ms ease-in-out infinite;
}

.form-options a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 180ms ease;
}

.form-options a:hover {
  color: #f6d365;
}

.remember-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.remember-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.remember-control span {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 180ms ease, border-color 180ms ease;
}

.remember-control span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ffffff;
  content: "";
  transition: transform 180ms ease;
}

.remember-control input:checked + span {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.8);
}

.remember-control input:checked + span::after {
  transform: translateX(18px);
}

@media (max-width: 520px) {
  .brand-pair {
    gap: 12px;
  }

  .brand-lockup .brand-logo-victto {
    width: 126px;
  }

  .brand-lockup .brand-logo-studio {
    width: 62px;
    margin: -10px 0;
    transform: scale(1.45);
  }

  .brand-divider {
    height: 36px;
  }

  .entry-shell {
    min-height: auto;
  }

  .form-options {
    align-items: flex-start;
    flex-direction: column;
  }
}
