/* 敬华拍卖APP H5页面样式 */

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 字体设置 */
body,
html {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 主题色变量 */
:root {
  --primary-color: #aa182c;
  --accent-color-a: #b35619;
  --accent-color-b: #ddd;
  --success-color: #4cd964;
  --warning-color: #f0ad4e;
  --error-color: #dd524d;
  --text-color: #333;
  --text-color-inverse: #fff;
  --text-color-grey: #999;
  --text-color-placeholder: #808080;
  --bg-color: #ffffff;
  --bg-color-grey: #f8f8f8;
  --bg-color-hover: #f1f1f1;
  --border-color: #c8c7cc;
}

/* 容器 */
.container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 10px;
  min-height: 100vh;
  background: #f5f5f5;
}

/* 页面头部 */
.page-header {
  background: var(--bg-color);
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

/* Logo区域 */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.app-name {
  font-size: 16px;
  color: var(--text-color);
  font-weight: bold;
  margin-bottom: 5px;
}

.app-version {
  font-size: 12px;
  color: var(--text-color-grey);
  font-weight: 400;
}

/* 内容区域 */
.content-section {
  background: var(--bg-color);
  border-radius: 10px;
  margin: 30px 0;
  overflow: hidden;
}

.content-item {
  padding: 20px 15px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.content-item:last-child {
  border-bottom: none;
}

.content-label {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 400;
}

.content-icon {
  width: 14px;
  height: 14px;
  color: var(--text-color-grey);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-color-inverse);
}

.btn-primary:hover {
  background: #8a1423;
}

.btn-secondary {
  background: var(--bg-color-grey);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-color-hover);
}

.btn-block {
  width: 100%;
  margin: 10px 0;
}

/* 功能介绍区域 */
.features-section {
  background: var(--bg-color);
  border-radius: 10px;
  margin: 30px 0;
  padding: 20px;
}

.features-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: center;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 5px;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-color-grey);
  line-height: 1.4;
}

/* 底部信息 */
.footer-info {
  text-align: center;
  padding: 30px 0;
  color: var(--text-color-grey);
  font-size: 12px;
}

.footer-info p {
  margin: 5px 0;
}

/* 底部指示器 */
.bottom-indicator {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 134px;
  height: 4px;
  background: #000;
  border-radius: 2px;
}

/* 加载动画 */
.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.loading-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 响应式设计 */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .logo {
    width: 50px;
    height: 50px;
  }

  .app-name {
    font-size: 14px;
  }

  .features-title {
    font-size: 14px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* 工具类 */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}