/* ===========================================================
   assets/css/style.css
   Shared styling on top of Bootstrap 5.3
   =========================================================== */

:root {
  --brand-primary: #1a73e8;
  --brand-primary-dark: #0d47a1;
  --brand-accent: #ff6f3c;
  --brand-bg-start: #0f2027;
  --brand-bg-mid: #203a43;
  --brand-bg-end: #2c5364;
}

body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--brand-bg-start), var(--brand-bg-mid), var(--brand-bg-end));
  min-height: 100vh;
}

.glass-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border: none;
}

.brand-title {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  color: #6c757d;
}

/* Google Sign-In button */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
  border-radius: 0.6rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.btn-google:hover,
.btn-google:focus {
  box-shadow: 0 4px 14px rgba(60, 64, 67, 0.25);
  transform: translateY(-1px);
  color: #3c4043;
}

.btn-google svg {
  width: 22px;
  height: 22px;
}

.btn-brand {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  font-weight: 600;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}

.avatar-lg {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--brand-primary);
}

.avatar-sm {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.movement-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #000;
}

.movement-video-wrapper iframe,
.movement-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.banner-img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  max-height: 420px;
}

.confetti-badge {
  font-size: 3rem;
}

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.2);
}

.text-brand {
  color: var(--brand-primary) !important;
}

@media (max-width: 576px) {
  .glass-card {
    border-radius: 0.9rem;
  }
}
