*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --fire-red: #e22026;
  --fire-orange: #ff6a00;
  --fire-gold: #ffb800;
  --ember: #ff3d00;
  --dark-bg: #111111;
  --card-bg: #1a1a1a;
  --card-border: rgba(226, 32, 38, 0.3);
  --input-bg: #242424;
  --text-primary: #f5f5f5;
  --text-muted: #888;
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--dark-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* === BACKGROUND === */
.container-fluid {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(
      ellipse 80% 60% at 15% 50%,
      rgba(226, 32, 38, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 80% at 85% 20%,
      rgba(255, 106, 0, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 50% at 50% 100%,
      rgba(255, 61, 0, 0.1) 0%,
      transparent 50%
    ),
    #0d0d0d;
}

/* Animated ember particles */
.container-fluid::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(
      1px 1px at 10% 20%,
      rgba(255, 184, 0, 0.6) 0%,
      transparent 100%
    ),
    radial-gradient(
      1px 1px at 25% 75%,
      rgba(226, 32, 38, 0.5) 0%,
      transparent 100%
    ),
    radial-gradient(
      1.5px 1.5px at 60% 15%,
      rgba(255, 106, 0, 0.4) 0%,
      transparent 100%
    ),
    radial-gradient(
      1px 1px at 80% 60%,
      rgba(255, 184, 0, 0.5) 0%,
      transparent 100%
    ),
    radial-gradient(
      1px 1px at 40% 90%,
      rgba(226, 32, 38, 0.4) 0%,
      transparent 100%
    ),
    radial-gradient(
      2px 2px at 90% 35%,
      rgba(255, 61, 0, 0.3) 0%,
      transparent 100%
    ),
    radial-gradient(
      1px 1px at 70% 85%,
      rgba(255, 184, 0, 0.4) 0%,
      transparent 100%
    ),
    radial-gradient(
      1.5px 1.5px at 5% 55%,
      rgba(255, 106, 0, 0.3) 0%,
      transparent 100%
    ),
    radial-gradient(
      1px 1px at 50% 45%,
      rgba(226, 32, 38, 0.3) 0%,
      transparent 100%
    ),
    radial-gradient(
      1px 1px at 35% 30%,
      rgba(255, 184, 0, 0.5) 0%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 0;
  animation: emberFloat 8s ease-in-out infinite alternate;
}

.container-fluid::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 80px,
    rgba(226, 32, 38, 0.03) 80px,
    rgba(226, 32, 38, 0.03) 81px
  );
  pointer-events: none;
  z-index: 0;
}

@keyframes emberFloat {
  0% {
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translateY(-15px) scale(1.02);
    opacity: 1;
  }
}

.row {
  height: 100%;
}

/* === CONTAINER === */
.container-login100 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.col-lg-6 {
  width: 100%;
  max-width: 460px;
}

/* === CARD === */
.wrap-login100 {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 50px 45px 40px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(226, 32, 38, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(226, 32, 38, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: cardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Card top glow line */
.wrap-login100::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--fire-red),
    var(--fire-orange),
    transparent
  );
}

/* Corner accent */
.wrap-login100::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(226, 32, 38, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* === HEADER === */
.login100-pic {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.login100-pic h3 {
  font-family: "Cinzel", serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(
    135deg,
    #fff 30%,
    var(--fire-gold) 70%,
    var(--fire-orange) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.login100-pic p {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 20px;
}

.login100-pic img {
  width: 233px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 106, 0, 0.5))
    drop-shadow(0 0 32px rgba(226, 32, 38, 0.3));
  animation: phoenixGlow 3s ease-in-out infinite alternate;
}

@keyframes phoenixGlow {
  0% {
    filter: drop-shadow(0 0 12px rgba(255, 106, 0, 0.4))
      drop-shadow(0 0 24px rgba(226, 32, 38, 0.2));
    transform: translateY(0);
  }

  100% {
    filter: drop-shadow(0 0 20px rgba(255, 184, 0, 0.6))
      drop-shadow(0 0 40px rgba(226, 32, 38, 0.4));
    transform: translateY(-4px);
  }
}

/* === FORM === */
.login100-form {
  width: 100%;
}

/* === INPUT WRAPPER === */
.wrap-input100 {
  display: flex;
  align-items: stretch;
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--input-bg);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
}

.wrap-input100:focus-within {
  border-color: var(--fire-red);
  box-shadow:
    0 0 0 3px rgba(226, 32, 38, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

/* === ICON === */
.symbol-input100 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--fire-red), #c41c21);
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.wrap-input100:focus-within .symbol-input100 {
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
}

/* === INPUT === */
.input100 {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.input100::placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 300;
}

.input100:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px var(--input-bg) inset;
  -webkit-text-fill-color: var(--text-primary);
}

/* === BUTTON CONTAINER === */
.container-login100-form-btn {
  margin-top: 24px;
  margin-bottom: 0;
}

/* === LOGIN BUTTON === */
.login100-form-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #e22026 0%, #c41c21 50%, #a51719 100%);
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow:
    0 4px 20px rgba(226, 32, 38, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

.login100-form-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transition: left 0.5s ease;
}

.login100-form-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 30px rgba(226, 32, 38, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.4);
}

.login100-form-btn:hover::before {
  left: 100%;
}

.login100-form-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(226, 32, 38, 0.3);
}

/* === PRIVACY LINK === */
a[href*="privacy"] {
  display: block;
  text-align: center;
  color: rgba(226, 32, 38, 0.6) !important;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s ease;
}

a[href*="privacy"]:hover {
  color: var(--fire-red) !important;
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .wrap-login100 {
    padding: 36px 24px 32px;
  }

  .login100-pic h3 {
    font-size: 17px;
  }
}
