
:root {
  --accent-color: #0D6E6E;
  --secondary-color: #55ccc9;
  --primary-color: #019b98;
  --text-color: #2b2d42;
  --light-color: #f8f9fa;
}

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

body {
  font-family: 'UkijTuz', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  line-height: 1.6;
  direction: rtl;
}

.download-card {
  background: white;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  border-bottom: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  object-fit: cover;
}

.app-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.app-slogan {
  font-size: 14px;
  opacity: 0.9;
}

.card-body {
  padding: 30px;
}

.download-section {
  text-align: center;
}

.download-title {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 500;
}

.download-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.download-btn {
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  text-decoration: none;
  padding: 12px 30px 16px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  display: flex;
  gap: 5px;
  font-size: 22px;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

.download-btn i {
  font-size: 26px;
  position: relative;
  top: 2px;
}

.weixin-tip {
  display: none;
  background: #fff8e6;
  border-right: 4px solid #ffc107;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: left;
  animation: fadeIn 0.5s ease;
}

.weixin-tip-title {
  font-weight: 600;
  color: #e65100;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.weixin-tip-title i {
  margin-right: 8px;
}

.weixin-tip-steps {
  padding-right: 20px;
}

.weixin-tip-steps li {
  margin-bottom: 5px;
  font-size: 14px;
  text-align: right;
}

.features {
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.feature-item {
  background: var(--light-color);
  padding: 12px 15px 18px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 30px;
  color: var(--primary-color);
}

.feature-text {
  font-size: 14px;
  color: #555;
}

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

.pulse {
  animation: pulse 2s infinite;
}

/* 微信浏览器特有样式 */
.weixin .download-btn {
  background: #07C160;
  box-shadow: 0 5px 15px rgba(7, 193, 96, 0.3);
}

.weixin .download-btn:hover {
  box-shadow: 0 8px 20px rgba(7, 193, 96, 0.4);
}

#alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 5;
  display: none;
}

#alert img {
  width: 100%;
}