:root {
  --p: #6d64ff;
  --y: #fcc339;
  --void: #0a0c12;
}

body {
  background-color: var(--void);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

/* Background */
.master-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--void);
  overflow: hidden;
}

.master-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.ambient-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(109, 100, 255, 0.15), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(252, 195, 57, 0.05), transparent 40%);
  filter: blur(60px);
}

/* Elements */
.glass-panel {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.ambient-glow-p {
  box-shadow: inset 0 0 40px rgba(109, 100, 255, 0.05), 0 0 60px rgba(109, 100, 255, 0.1);
  transition: box-shadow 0.5s ease;
}
.ambient-glow-p:hover {
  box-shadow: inset 0 0 50px rgba(109, 100, 255, 0.08), 0 0 80px rgba(109, 100, 255, 0.15);
}

/* Buttons */
.btn-skew {
  position: relative;
  display: inline-flex;
  padding: 0.75rem 2rem;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: transparent;
}

.btn-skew .bg-skew {
  position: absolute;
  inset: 0;
  background: var(--p);
  transform: skewX(-12deg) scale(1.1);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 0;
}

.btn-skew:hover .bg-skew {
  transform: skewX(-12deg) scale(1.15);
  background: #7a72ff;
}

.btn-skew span.relative {
  position: relative;
  z-index: 10;
}

.btn-skew-ghost {
  position: relative;
  display: inline-flex;
  padding: 0.75rem 2rem;
  color: white;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
}

.btn-skew-ghost:before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  transform: skewX(-12deg) scale(1.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-skew-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-skew-ghost:hover:before {
  opacity: 1;
}

/* Inputs */
.acq-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.acq-input:focus {
  border-color: var(--p);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(109, 100, 255, 0.2);
}

/* Animations */
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(10px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.reveal-fade.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-host .reveal-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.reveal-host .reveal-mask-inner {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-host.in .reveal-mask-inner {
  transform: translateY(0);
}

.gradient-shimmer {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.ds-nav-link {
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.ds-nav-link:hover,
.ds-nav-link.active {
  opacity: 1;
  color: white;
}

.ds-nav-link.active {
  color: var(--y);
}

/* Layout utils */
#app-shell {
  display: none;
}

#login-screen {
  display: flex;
}
