* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
  overflow-x: hidden;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 全局动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* 来自 App.vue 的页面样式（用于静态页） */
.app-store {
  min-height: 100vh;
  background: #f2f2f7;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.container {
  max-width: 414px;
  margin: 0 auto;
  background: white;
  min-height: 100vh;
  padding: 0;
}

/* 应用头部 */
.app-header {
  display: flex;
  padding: 20px;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.app-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.app-icon {
  flex-shrink: 0;
}

.app-icon img {
  width: 114px;
  height: 114px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-info {
  flex: 1;
  padding-top: 8px;
}

.app-name {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #000;
}

.app-subtitle {
  font-size: 15px;
  color: #8e8e93;
  margin: 0 0 16px 0;
}

.app-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.download-btn.primary {
  background: #007aff;
  color: white;
  border: none;
  border-radius: 16px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.download-btn.primary:hover {
  background: #0056b3;
}

.download-btn.secondary {
  background: #f2f2f7;
  color: #007aff;
  border: 1px solid #d1d1d6;
  border-radius: 16px;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.download-btn.secondary:hover {
  background: #e5e5ea;
}

.download-btn.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.download-btn.secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.help-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #d1d1d6;
  background: white;
  color: #007aff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 评分区域 */
.rating-section {
  display: flex;
  padding: 0 20px 20px;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.1s;
}

.rating-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.rating-item {
  text-align: center;
}

.rating-score {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.rating-stars {
  color: #ff9500;
  font-size: 12px;
  margin-bottom: 4px;
}

.rating-count {
  font-size: 12px;
  color: #8e8e93;
}

.age-rating {
  text-align: center;
}

.age-number {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.age-label {
  font-size: 12px;
  color: #8e8e93;
}

/* 安装提示 */
.install-notice {
  background: #ff3b30;
  margin: 0 20px 20px;
  border-radius: 12px;
  padding: 12px 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.2s;
}

.install-notice.animate {
  opacity: 1;
  transform: translateY(0);
}

.notice-item {
  color: white;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.notice-item:last-child {
  margin-bottom: 0;
}

/* 截图轮播 */
.screenshots-section {
  padding: 0 20px 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.3s;
}

.screenshots-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* 评分详情 */
.reviews-section {
  padding: 0 20px 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.4s;
}

.reviews-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.reviews-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #000;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-score {
  text-align: center;
}

.score-number {
  font-size: 48px;
  font-weight: 600;
  color: #000;
  line-height: 1;
}

.score-label {
  font-size: 12px;
  color: #8e8e93;
  margin-top: 4px;
}

.review-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-bar {
  height: 4px;
  background: #e5e5ea;
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #8e8e93;
  border-radius: 2px;
  transition: width 0.8s ease;
}

.review-count {
  font-size: 12px;
  color: #8e8e93;
  text-align: center;
}

/* 新功能 */
.whats-new {
  padding: 0 20px 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.5s;
}

.whats-new.animate {
  opacity: 1;
  transform: translateY(0);
}

.whats-new h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #000;
}

.whats-new p {
  font-size: 15px;
  color: #000;
  line-height: 1.4;
}

/* 应用详情 */
.app-details {
  padding: 0 20px 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.6s;
}

.app-details.animate {
  opacity: 1;
  transform: translateY(0);
}

.app-details h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #000;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f7;
  gap: 20px;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 15px;
  color: #000;
  flex-shrink: 0;
  min-width: 80px;
}

.detail-value {
  font-size: 15px;
  color: #8e8e93;
  text-align: right;
  flex: 1;
}

/* 应用介绍 */
.app-description {
  padding: 0 20px 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.7s;
}

.app-description.animate {
  opacity: 1;
  transform: translateY(0);
}

.app-description h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: #000;
}

.app-description p {
  font-size: 15px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 16px;
}

.mission {
  text-align: center;
  color: #007aff;
  font-weight: 500;
}

/* 免责声明 */
.disclaimer {
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.8s;
}

.disclaimer.animate {
  opacity: 1;
  transform: translateY(0);
}

.disclaimer p {
  font-size: 12px;
  color: #8e8e93;
  line-height: 1.4;
  margin-bottom: 8px;
}

.disclaimer p:first-child {
  font-weight: 600;
  color: #000;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .container {
    max-width: 100%;
  }
  .app-header {
    padding: 16px;
  }
  .app-icon img {
    width: 100px;
    height: 100px;
  }
  .app-name {
    font-size: 22px;
  }
}