* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: #eef7f8;
  color: #111827;
  overflow-x: hidden;
}

.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f7fa 0%, #fff8dc 45%, #eef2ff 100%);
}

.blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.55;
  animation: floatBlob 8s ease-in-out infinite alternate;
}

.blob-1 {
  top: -80px;
  left: -60px;
  background: #60a5fa;
}

.blob-2 {
  right: -90px;
  top: 120px;
  background: #facc15;
  animation-delay: 1.5s;
}

.blob-3 {
  bottom: -100px;
  left: 35%;
  background: #34d399;
  animation-delay: 2.5s;
}

@keyframes floatBlob {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(35px) scale(1.08);
  }
}

.login-page {
  min-height: 100vh;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 1180px;
  min-height: 690px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.login-left {
  padding: 48px 44px;
  background: linear-gradient(180deg, rgba(255, 250, 220, 0.95), rgba(250, 232, 154, 0.92));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.brand-block h2 {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
}

.brand-block p {
  margin-top: 4px;
  font-size: 14px;
  color: #4b5563;
}

.login-content {
  max-width: 460px;
  padding-top: 42px;
}

.small-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  margin-bottom: 20px;
}

.login-content h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.6px;
  color: #0f172a;
  margin-bottom: 18px;
}

.subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 30px;
}

.google-login-btn {
  width: 100%;
  min-height: 60px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 18px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.28s ease;
  box-shadow: 0 16px 34px rgba(245, 158, 11, 0.28);
}

.google-login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(245, 158, 11, 0.36);
}

.google-login-btn:active {
  transform: scale(0.98);
}

.google-login-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.google-login-btn img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
}

.status-text {
  min-height: 24px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
}

.status-text.success {
  color: #15803d;
}

.status-text.error {
  color: #b91c1c;
}

.status-text.loading {
  color: #1d4ed8;
}

.trust-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  font-size: 13px;
  color: #334155;
  background: rgba(255, 255, 255, 0.68);
  padding: 9px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.login-right {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: #f8fafc;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  animation: imageFloat 7s ease-in-out infinite alternate;
}

@keyframes imageFloat {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.06) translateY(-8px);
  }
}

.info-card,
.score-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  animation: cardFloat 4s ease-in-out infinite alternate;
}

.info-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #0f172a;
}

.info-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.card-one {
  top: 26px;
  left: 26px;
  max-width: 260px;
}

.card-two {
  bottom: 30px;
  left: 30px;
  max-width: 260px;
  animation-delay: 1s;
}

.score-card {
  right: 28px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 130px;
  text-align: center;
  animation-delay: 1.8s;
}

.score-card span {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.score-card strong {
  font-size: 34px;
  color: #0f172a;
}

@keyframes cardFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

.animate-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.75s ease forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

.delay-4 {
  animation-delay: 0.48s;
}

.delay-5 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 980px) {
  .login-card {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .login-left {
    padding: 42px 34px;
  }

  .login-content {
    padding-top: 38px;
    max-width: 100%;
  }

  .login-content h1 {
    font-size: 42px;
  }

  .login-right {
    min-height: 430px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .login-page {
    padding: 14px;
    align-items: flex-start;
  }

  .login-card {
    border-radius: 24px;
    min-height: auto;
  }

  .login-left {
    padding: 28px 20px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .brand-block h2 {
    font-size: 19px;
  }

  .brand-block p {
    font-size: 12px;
  }

  .login-content {
    padding-top: 32px;
  }

  .login-content h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .google-login-btn {
    min-height: 56px;
    font-size: 15px;
    border-radius: 14px;
  }

  .trust-row {
    gap: 8px;
  }

  .trust-row span {
    font-size: 12px;
    padding: 8px 10px;
  }

  .login-right {
    min-height: 310px;
  }

  .hero-image {
    height: 310px;
  }

  .info-card {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .card-one {
    top: 14px;
    left: 14px;
    max-width: 210px;
  }

  .card-two {
    left: 14px;
    bottom: 14px;
    max-width: 210px;
  }

  .score-card {
    right: 14px;
    bottom: 14px;
    min-width: 96px;
    padding: 12px;
  }

  .score-card strong {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  .brand-block {
    align-items: flex-start;
  }

  .login-content h1 {
    font-size: 30px;
  }

  .login-right {
    min-height: 280px;
  }

  .hero-image {
    height: 280px;
  }

  .card-two {
    display: none;
  }
}