/* ============================================
   MOBILE STYLES - Master Mu Yuchun
   ============================================ */

html {
  background-color: #fafafa;
}

body {
  background-color: #fafafa;
}

#mobile-notification-banner {
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 100vw;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  -webkit-user-select: none;
  user-select: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.aarp-logo-mobile {
  width: max(80px, min(20vw, 120px));
  height: auto;
  margin-bottom: 5px;
  object-fit: contain;
  -webkit-filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.mobile-divider {
  width: clamp(70%, 80%, 90%);
  border: none;
  border-top: 2px solid #d4af37;
  margin-top: 8px;
  margin-bottom: 12px;
}

.mobile-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.mobile-banner-content h2 {
  font-size: max(1rem, min(4vw, 1.3rem));
  color: #0a0a0a;
  margin: 0 0 10px 0;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  padding: 0 10px;
  -webkit-text-size-adjust: 100%;
}

.mobile-subtitle {
  font-size: max(1rem, min(4vw, 1.3rem));
  color: #4a4a4a;
  margin: 0 0 10px 0;
  line-height: 1.4;
  padding: 0 10px;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}

.mobile-restriction-text {
  font-size: max(1rem, min(4.5vw, 1.2rem));
  color: #0a0a0a;
  margin: 0 0 10px 0;
  line-height: 1.5;
  padding: 0 10px;
  font-weight: 700;
  -webkit-text-size-adjust: 100%;
}

.mobile-progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  margin-bottom: 20px;
  gap: 10px;
}

.mobile-progress-bar {
  width: 100%;
  height: max(10px, min(2vw, 14px));
  background-color: #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1a73e8 0%, #4a90e2 100%);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.mobile-progress-text {
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: #1a73e8;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.mobile-status-text {
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  color: #1a73e8;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.mobile-completion-text {
  font-size: clamp(0.85rem, 2.8vw, 0.95rem);
  color: #1a73e8;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 500;
}

.mobile-ref-id {
  font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  color: #888;
  margin-top: 15px;
  padding: 0 10px;
  line-height: 1.4;
  opacity: 0.8;
}

/* Переопределяем body для мобилки */
@media (max-width: 768px) {
  body {
    min-height: 100vh !important;
    background-color: white !important;
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #mobile-notification-banner {
    position: static;
    display: flex;
  }

  .navbar,
  .hero,
  .birthday-section,
  .master-section,
  .videos-section,
  .zoom-section,
  .seminars-section,
  .events-section,
  .contact-section,
  .footer {
    display: none !important;
  }
}


