@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
  --mtbh-brand: #6366f1;
  --mtbh-brand-dark: #4f46e5;
  --mtbh-accent: #818cf8;
}

body,
html {
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: 'Outfit', sans-serif !important;
}

.mtbh-login-body {
  background-color: #1a1005;
}

.mtbh-login-wrapper {
  position: relative;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mtbh-fullscreen-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/social_bg.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) contrast(1.1);
  animation: slowZoomRotate 40s infinite alternate ease-in-out;
  z-index: -2;
}

@keyframes slowZoomRotate {
  from {
    transform: scale(1) rotate(0deg);
  }

  to {
    transform: scale(1.15) rotate(1deg);
  }
}

.mtbh-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.7), rgba(30, 27, 75, 0.9));
  z-index: -1;
  pointer-events: none;
}

.login-card-glass {
  background: #ffffff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.login-card-glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.form-control-glass {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  color: #1e293b !important;
  padding: 14px 14px 14px 50px !important;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  width: 100%;
}

.form-control-glass:focus {
  background: #ffffff !important;
  border-color: var(--mtbh-brand) !important;
  box-shadow: 0 0 0 4px rgba(244, 165, 28, 0.15) !important;
}

.input-group-custom {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 20px;
  height: 20px;
  z-index: 5;
}

.login-card-glass .form-label {
  color: #1e293b !important;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.muted-subtext {
  color: #64748b !important;
  font-size: 0.95rem;
}

.btn-premium {
  background: linear-gradient(135deg, var(--mtbh-brand) 0%, var(--mtbh-brand-dark) 100%) !important;
  border: none !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 16px !important;
  border-radius: 12px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(26, 102, 243, 0.4);
  filter: brightness(1.1);
}

.hero-text-content {
  max-width: 675px;
}

.main-title {
  font-size: 6rem;
  font-weight: 800;
  color: #fff;
  line-height: 0.95;
  margin-bottom: 30px;
  text-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  letter-spacing: -3px;
}

.main-title .highlight {
  color: var(--mtbh-brand);
  background: linear-gradient(to right, var(--mtbh-accent), var(--mtbh-brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
}

/* Animations */
.custom-fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  animation: fadeInLeft 1.2s forwards cubic-bezier(0.23, 1, 0.32, 1);
}

.custom-fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  animation: fadeInRight 1.2s forwards 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Floating Blobs */
.floating-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: var(--mtbh-brand-dark);
  top: -300px;
  right: -100px;
  animation: float 20s infinite alternate;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--mtbh-brand);
  bottom: -150px;
  left: -150px;
  animation: float 25s infinite alternate-reverse;
}

@keyframes float {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(120px, 60px) scale(1.1);
  }
}

.form-check-input-glass:checked {
  background-color: var(--mtbh-brand) !important;
  border-color: var(--mtbh-brand) !important;
}

.brand-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid var(--mtbh-brand);
  border-radius: 50px;
  color: var(--mtbh-accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

/* Floating Social Logos */
.floating-social-logos .social-blob {
  position: absolute;
  color: rgba(255, 255, 255, 0.25);
  z-index: 0;
  pointer-events: none;
  animation: floatSocial 15s infinite alternate ease-in-out;
}
@keyframes floatSocial {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-40px) rotate(15deg) scale(1.1); }
  100% { transform: translateY(20px) rotate(-10deg) scale(0.9); }
}
.floating-social-logos img.social-blob {
  opacity: 0.25;
}
.sb-1 { top: 10%; left: 8%; width: 70px; height: 70px; animation-duration: 18s; }
.sb-2 { top: 30%; left: 25%; width: 90px; height: 90px; animation-duration: 22s; animation-delay: -5s; }
.sb-3 { top: 15%; left: 40%; width: 80px; height: 80px; animation-duration: 20s; animation-delay: -10s; }
.sb-4 { top: 50%; left: 10%; width: 60px; height: 60px; animation-duration: 25s; animation-delay: -2s; }
.sb-5 { top: 60%; left: 35%; width: 65px; height: 65px; animation-duration: 21s; animation-delay: -3s; }
.sb-6 { top: 85%; left: 20%; width: 75px; height: 75px; animation-duration: 19s; animation-delay: -7s; }
.sb-7 { top: 75%; left: 45%; width: 85px; height: 85px; animation-duration: 26s; animation-delay: -1s; }
.sb-8 { top: 40%; left: 5%; width: 55px; height: 55px; animation-duration: 24s; animation-delay: -4s; }
.sb-9 { top: 80%; left: 5%; width: 70px; height: 70px; animation-duration: 23s; animation-delay: -8s; }
.sb-10 { top: 25%; left: 15%; width: 65px; height: 65px; animation-duration: 27s; animation-delay: -6s; }