/* App Download Modal */
.app-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.app-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.app-modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  max-height: 90vh;
  overflow: hidden;
}

.app-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f5f5f5;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.app-modal-close:hover {
  background: #e0e0e0;
  transform: rotate(90deg);
}

.app-modal-close svg {
  color: #666;
}

.app-modal-body {
  margin-top: 0;
}

/* App Download Buttons */
.app-download-btn {
  font-family: 'General Sans', sans-serif;
}

.app-download-btn:hover {
  background: #333 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-download-btn svg {
  flex-shrink: 0;
  min-width: 28px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 768px) {
  .app-modal-content {
    max-width: 95%;
    border-radius: 16px;
  }

  .app-screenshot-placeholder {
    max-width: 100% !important;
    padding: 30px 20px 10px !important;
  }

  .app-modal-body > div:last-child {
    padding: 10px 20px 30px !important;
  }
}

@media (max-width: 480px) {
  .app-screenshot-placeholder {
    padding: 20px 15px 10px !important;
  }

  .app-modal-body > div:last-child {
    padding: 10px 15px 30px !important;
  }

  .app-modal-body h2 {
    font-size: 24px !important;
  }

  .app-modal-body p {
    font-size: 13px !important;
  }

  .app-download-btn {
    padding: 12px 16px !important;
    gap: 8px !important;
  }

  .app-download-btn svg {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
  }

  .app-download-btn span:first-child {
    font-size: 9px !important;
  }

  .app-download-btn span:last-child {
    font-size: 14px !important;
  }
}
