/* Variabile CSS */
:root {
  --brand: #FFEE00;
  --brand-dark: #FFEE00;
  --bg-dark: #0A0A0A;
  --bg-soft: #121212;
  --text: #ffffff;
  --text-muted: #B3B3B3;
  --border: rgba(255, 238, 0, 0.3);
}

/* Fundal negru cu efect lichid neon galben */
body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: #2B2B2B;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Masă lichidă neon galben - Blob 1 */
body::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 238, 0, 0.15) 0%, rgba(255, 238, 0, 0.05) 50%, transparent 70%);
  border-radius: 50% 40% 60% 30%;
  filter: blur(60px);
  animation: liquidMove1 20s ease-in-out infinite;
  top: -200px;
  left: -200px;
  pointer-events: none;
  z-index: 0;
}

/* Masă lichidă neon galben - Blob 2 */
body::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 238, 0, 0.12) 0%, rgba(255, 238, 0, 0.04) 50%, transparent 70%);
  border-radius: 40% 60% 50% 35%;
  filter: blur(70px);
  animation: liquidMove2 25s ease-in-out infinite;
  bottom: -250px;
  right: -250px;
  pointer-events: none;
  z-index: 0;
}

@keyframes liquidMove1 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 50% 40% 60% 30%;
  }
  25% {
    transform: translate(100px, 150px) scale(1.2) rotate(90deg);
    border-radius: 40% 60% 50% 35%;
  }
  50% {
    transform: translate(200px, 50px) scale(0.9) rotate(180deg);
    border-radius: 60% 30% 50% 40%;
  }
  75% {
    transform: translate(50px, 200px) scale(1.1) rotate(270deg);
    border-radius: 35% 50% 40% 60%;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(360deg);
    border-radius: 50% 40% 60% 30%;
  }
}

@keyframes liquidMove2 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 40% 60% 50% 35%;
  }
  25% {
    transform: translate(-150px, -100px) scale(0.8) rotate(-90deg);
    border-radius: 60% 30% 50% 40%;
  }
  50% {
    transform: translate(-200px, -50px) scale(1.3) rotate(-180deg);
    border-radius: 35% 50% 40% 60%;
  }
  75% {
    transform: translate(-50px, -200px) scale(0.95) rotate(-270deg);
    border-radius: 50% 40% 60% 30%;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(-360deg);
    border-radius: 40% 60% 50% 35%;
  }
}

/* Blob suplimentar pentru efect mai complex */
.login-container::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 238, 0, 0.1) 0%, rgba(255, 238, 0, 0.03) 50%, transparent 70%);
  border-radius: 55% 45% 50% 40%;
  filter: blur(50px);
  animation: liquidMove3 18s ease-in-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

@keyframes liquidMove3 {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    border-radius: 55% 45% 50% 40%;
  }
  33% {
    transform: translate(-30%, -70%) scale(1.15) rotate(120deg);
    border-radius: 45% 55% 40% 50%;
  }
  66% {
    transform: translate(-70%, -30%) scale(0.85) rotate(240deg);
    border-radius: 50% 40% 55% 45%;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
    border-radius: 55% 45% 50% 40%;
  }
}

/* Container login */
.login-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
  position: relative;
  z-index: 10;
}

/* Caseta login modernă */
.login-box {
  background: linear-gradient(135deg, rgba(43, 43, 43, 0.85) 0%, rgba(43, 43, 43, 0.9) 100%);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(255, 238, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
  border: 2px solid rgba(255, 238, 0, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  z-index: 11;
}

.login-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 238, 0, 0.05), transparent);
  animation: rotate 10s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Logo VOLTA */
.login-logo {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.logo-mark {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
  filter: none;
  position: relative;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}


.login-logo h1 {
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 0 8px rgba(255, 238, 0, 0.2);
  margin: 0;
}

.login-logo p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

/* Titlu */
.login-box h2 {
  color: var(--text);
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Inputuri moderne */
.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(255, 238, 0, 0.2);
  border-radius: 12px;
  background: rgba(43, 43, 43, 0.5);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.input-group input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.input-group input:focus {
  border-color: #FFEE00;
  background: rgba(43, 43, 43, 0.7);
  box-shadow: 
    0 0 10px rgba(255, 238, 0, 0.12),
    inset 0 0 10px rgba(255, 238, 0, 0.05);
  transform: translateY(-2px);
}

.input-group input:hover {
  border-color: rgba(255, 238, 0, 0.2);
}

/* Buton modern cu efecte */
.btn-login {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: unset;
  background-color: var(--text-muted);
  background-image: none;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 4px 15px rgba(255, 238, 0, 0.4),
    0 0 25px rgba(255, 238, 0, 0.2);
  margin-top: 10px;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(43, 43, 43, 0.2), transparent);
  transition: left 0.5s;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  background: linear-gradient(135deg, #FFEE00 0%, #FFEE00 100%);
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(255, 238, 0, 0.2),
    0 0 20px rgba(255, 238, 0, 0.15);
  border-color: #FFEE00;
}

.btn-login:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 15px rgba(255, 238, 0, 0.4),
    0 0 25px rgba(255, 238, 0, 0.2);
}

/* Mesaje de eroare */
.login-box .error {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

