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

:root {
  --primary: #ba7881; /* Ponds Mauve/Pink */
  --primary-light: #d69fa7;
  --primary-dark: #9e5b64;
  --bg-color: #fceced; /* Very pale pink background */
  --bg-card: #ffffff; /* Clean white cards */
  --bg-card-hover: #fafafa;
  --border-color: #f0d5d8;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --success: #5ad391; /* Pastel green from screenshot */
  --warning: #F59E0B;
  --danger: #EF4444;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --shadow: 0 8px 24px rgba(186, 120, 129, 0.1);
  --shadow-hover: 0 12px 32px rgba(186, 120, 129, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ━━━ Header Navigation (Faux) ━━━ */
.ponds-header {
  background: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.ponds-header-logo {
  font-size: 24px;
  font-weight: 300;
  color: #333;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.ponds-header-logo strong {
  font-weight: 800;
}

.ponds-header-nav {
  display: none; /* Hide on mobile */
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-transform: capitalize;
}

@media (min-width: 768px) {
  .ponds-header-nav { display: flex; }
}

/* ━━━ Instruction Banner ━━━ */
.instruction-banner {
  background: #f7dee0;
  padding: 16px;
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #555;
  border-bottom: 1px solid #ecccd0;
}
.instruction-item {
  position: relative;
}
.instruction-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background: #c29b9f;
}

/* ━━━ Layout ━━━ */
.app-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 1;
}

.header {
  text-align: center;
  margin-bottom: 48px;
}

.logo {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.2));
}

.logo span {
  color: var(--text-primary);
}

.header p {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ━━━ Progress Bar ━━━ */
.progress-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  padding: 0 10px;
}

.progress-step {
  flex: 1;
  height: 5px;
  border-radius: 10px;
  background: var(--glass);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.progress-step.active {
  background: rgba(186, 120, 129, 0.2);
}

.progress-step.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--primary);
  animation: progressFill 2s ease forwards;
}

@keyframes progressFill {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.progress-step.done {
  background: var(--success);
}

/* ━━━ Steps & Transitions ━━━ */
.step {
  display: none;
}

.step.active {
  display: block;
  animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ━━━ Cards ━━━ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ━━━ Welcome & Upload Area ━━━ */
.welcome-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
  color: white;
  box-shadow: 0 10px 25px rgba(90, 211, 145, 0.3);
}

.welcome-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.welcome-desc {
  max-width: 480px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
  text-align: center;
  font-size: 16px;
}

/* Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
.form-select {
  background: #fdfdfd;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 14px 18px;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}

input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(186, 120, 129, 0.1);
}

.input-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23333333'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  cursor: pointer;
}

/* ━━━ Interactive Components ━━━ */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.option-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--primary-light);
}

.option-btn.selected {
  background: rgba(186, 120, 129, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
  color: var(--primary);
  transform: translateX(8px);
}

.consent-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.consent-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
}

.consent-box input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: var(--primary);
}

/* ━━━ Buttons ━━━ */
.btn {
  width: 100%;
  padding: 18px 32px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 25px rgba(186, 120, 129, 0.3);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  background: var(--primary-dark);
  box-shadow: 0 15px 35px rgba(186, 120, 129, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(1);
}

.btn-secondary {
  background: #f7dee0;
  color: #333;
  border: transparent;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
  background: #edd1d3;
  color: black;
}

/* ━━━ Upload / Images ━━━ */
.upload-area {
  border: 2px dashed #dcaab1;
  border-radius: var(--radius);
  padding: 60px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #ffffff;
  margin-bottom: 24px;
}

.upload-area:hover {
  border-color: var(--primary);
  background: #fdf5f6;
}

.upload-area.has-image {
  padding: 8px;
  border-style: solid;
  border-color: var(--border-color);
}

.upload-preview {
  width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 12px;
  object-fit: contain; /* Don't crop face */
  background: #000;
  display: block;
  box-shadow: var(--shadow);
}

/* ━━━ Analysis Results: Premium Score ━━━ */
.score-highlight {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.score-highlight::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(186, 120, 129, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.overall-score-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.circular-progress {
  position: relative;
  width: 180px;
  height: 180px;
}

.score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-bg {
  fill: none;
  stroke: #f3f3f3;
  stroke-width: 8;
}

.score-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 283; /* 2 * PI * 45 */
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 2s cubic-bezier(0.19, 1, 0.22, 1);
  filter: drop-shadow(0 0 8px rgba(186, 120, 129, 0.4));
}

.score-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
  color: var(--text-primary);
}

#score-number {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.score-percent {
  font-size: 24px;
  font-weight: 600;
  margin-left: 2px;
  color: var(--primary);
}

.score-status-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ━━━ Simulations (re-added to avoid missing lines) ━━━ */
.sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.sim-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.sim-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-hover);
}

.sim-comparison {
  display: flex;
  background: #000;
  gap: 1px;
}

.sim-view {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.sim-view img {
  width: 100%;
  aspect-ratio: 1 / 1; /* Square for side-by-side comparison */
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sim-card:hover .sim-view img {
  transform: scale(1.05);
}

.sim-badge-label {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  background: rgba(0,0,0,0.6);
  color: white;
  z-index: 2;
}

.sim-badge-label.before { left: 10px; }
.sim-badge-label.after { right: 10px; background: var(--primary); }

.sim-label {
  padding: 16px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

.sim-label h4 {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.sim-label p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ━━━ Responsive ━━━ */
@media (max-width: 600px) {
  .app-container {
    padding: 24px 16px 40px;
  }
  
  .logo { font-size: 30px; }
  
  .welcome-title { font-size: 24px; }
  
  .card { padding: 24px 20px; }
  
  .sim-grid {
    grid-template-columns: 1fr;
  }

  .sim-comparison {
    flex-direction: column;
  }

  .sim-badge-label.after {
    left: 10px;
    right: auto;
  }
}

/* ━━━ Utils ━━━ */
.text-gradient {
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


#login-error {
  margin-bottom: 20px;
  border-radius: 8px;
}

/* ─── Creative Liquid Camera ─── */
.camera-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 380px;
    max-height: 70vh;
    margin: 0 auto 32px;
    overflow: hidden;
    background: #0a0a0a;
    display: none; 
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    
    /* Liquid Border-Radius Animation */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: liquidMorph 8s ease-in-out infinite;
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes liquidMorph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.camera-container.detected {
    box-shadow: 0 0 80px rgba(255, 105, 180, 0.25);
    border-color: rgba(255, 105, 180, 0.4);
}

.camera-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
    z-index: 5;
    pointer-events: none;
}

#camera-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Mirror view for natural feel */
}

/* Capture Flash Animation */
.camera-flash {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: white;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
}

@keyframes flashEffect {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 0; }
}

.camera-container.flashing .camera-flash {
    animation: flashEffect 0.5s ease-out;
}

.countdown-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 30px rgba(0,0,0,0.8);
    display: none;
    pointer-events: none;
    z-index: 20;
    animation: scaleIn 0.5s infinite alternate;
}

@keyframes scaleIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    to { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.face-focus-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 280px;
    border: 2px dashed rgba(255,255,255,0.4);
    border-radius: 110px;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.face-focus-ring::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 2px solid transparent;
    border-radius: 120px;
    transition: all 0.3s ease;
}

.face-focus-ring.detected {
    border-color: rgba(255,255,255,0.8);
    border-style: solid;
    animation: pulseGlow 1.5s infinite;
}

.face-focus-ring.detected::before {
    border-color: var(--primary);
    transform: scale(1.05);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 105, 180, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0); }
}

.capture-btn-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.countdown-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    display: none;
    z-index: 25;
}

.countdown-svg {
    transform: rotate(-90deg);
}

.countdown-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 8;
}

.countdown-circle-progress {
    fill: none;
    stroke: #ff1493; /* Deep Pink for more punch */
    stroke-width: 8;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px #ff1493);
    transition: stroke-dashoffset 0.1s linear;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

/* ─── Ethereal HUD Elements ─── */
.ultra-hud {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 15;
    background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(255, 105, 180, 0.03) 100%);
}

.ethereal-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(0px);
    transition: backdrop-filter 1s ease;
    z-index: 5;
}

.modern-face-ring.detected ~ .ultra-hud .ethereal-glow {
    backdrop-filter: blur(2px);
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(255, 105, 180, 0.05) 100%);
}

.particle-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 12;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease;
}

.modern-face-ring.detected ~ .ultra-hud .particle-container {
    opacity: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    animation: floatUp 4s infinite linear;
}

@keyframes floatUp {
    0% { transform: translateY(100%) scale(1); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-100%) scale(0.5); opacity: 0; }
}

.diagnostic-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 6;
    opacity: 0.3;
}

.tracking-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 14;
}

.top-left-corner { top: 30px; left: 30px; border-right: 0; border-bottom: 0; }
.top-right-corner { top: 30px; right: 30px; border-left: 0; border-bottom: 0; }
.bottom-left-corner { bottom: 30px; left: 30px; border-right: 0; border-top: 0; }
.bottom-right-corner { bottom: 30px; right: 30px; border-left: 0; border-top: 0; }

.modern-face-ring.detected ~ .ultra-hud .tracking-corner {
    border-color: var(--primary);
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 10px var(--primary));
    transform: rotate(5deg);
}

.landmark-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 20;
}

.modern-face-ring.detected ~ .ultra-hud .landmark-point {
    opacity: 0.4;
    animation: etherealPulse 2s infinite ease-in-out;
}

@keyframes etherealPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; box-shadow: 0 0 0 rgba(255, 105, 180, 0); }
    50% { transform: scale(1.5); opacity: 0.7; box-shadow: 0 0 10px var(--primary); background: var(--primary); }
}

.face-silhouette-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 280px;
    z-index: 10;
    filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.1));
}

.face-silhouette-svg {
    width: 100%;
    height: 100%;
}

#silhouette-path {
    transition: all 0.5s ease;
}

.modern-face-ring.detected ~ .ultra-hud #silhouette-path {
    stroke: var(--primary);
    stroke-width: 3;
    stroke-dasharray: 0;
    filter: drop-shadow(0 0 10px var(--primary));
}

.modern-status-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 20;
    transition: all 0.3s ease;
}

.modern-status-bar.locked {
    background: var(--primary);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.5);
    border-color: white;
}

.modern-face-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 320px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 60px; /* Soft squircle */
    pointer-events: none;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.modern-face-ring.detected {
    width: 270px;
    height: 330px;
    border: 2px solid rgba(255,255,255,0.3);
}

.scan-sweep {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent 48%, rgba(255,255,255, 0.1) 50%, transparent 52%);
    z-index: 12;
    animation: sweepMove 4s infinite linear;
}
