/* 每日大赛官网 - 主样式表 */

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

:root {
  --primary-color: #d4a574;
  --secondary-color: #f5f5f5;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e0e0e0;
  --white: #ffffff;
  --success-color: #4caf50;
  --warning-color: #ff9800;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-color);
}

.search-box {
  display: flex;
  align-items: center;
  background-color: var(--secondary-color);
  border-radius: 20px;
  padding: 8px 15px;
  gap: 10px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 150px;
  font-size: 13px;
}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
}

/* 首屏主视觉 */
.hero {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(245, 245, 245, 0.5) 100%);
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663517335165/4gTLDfCPT2EwKxSpzrk2GZ/hero-banner-PQ3EYGVaH6ArdcXvJqGEGi.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 14px 40px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.cta-button:hover {
  background-color: #c49460;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 165, 116, 0.3);
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  margin-left: 15px;
}

.cta-button.secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* 分区 */
section {
  padding: 80px 0;
}

section h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-dark);
}

section h2::before {
  content: '每日大赛 ';
  color: var(--primary-color);
}

/* 品牌故事 */
.brand-story {
  background-color: var(--secondary-color);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.story-text p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

.story-values {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.value-tag {
  background-color: var(--white);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  border: 1px solid var(--border-color);
}

.story-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 产品展示 */
.products {
  background-color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.product-info {
  padding: 20px;
}

.product-badge {
  display: inline-block;
  background-color: var(--warning-color);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin-bottom: 10px;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.product-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.product-highlights {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-rating {
  font-size: 13px;
  color: var(--warning-color);
  margin-bottom: 15px;
}

.product-button {
  width: 100%;
  padding: 10px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.product-button:hover {
  background-color: #c49460;
}

/* 场景推荐 */
.scenarios {
  background-color: var(--secondary-color);
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.scenario-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-5px);
}

.scenario-image {
  width: 100%;
  height: 200px;
  background-color: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.scenario-content {
  padding: 20px;
}

.scenario-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.scenario-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* 视频卡片 */
.video-card {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-card:hover .play-button {
  transform: scale(1.1);
  background-color: rgba(212, 165, 116, 0.9);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.play-button {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  background-color: rgba(212, 165, 116, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-button::after {
  content: '▶';
  color: var(--white);
  font-size: 20px;
  margin-left: 3px;
}

/* 用户评价 */
.reviews {
  background-color: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.review-card {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(245, 245, 245, 0.5) 100%);
  border-radius: 10px;
  padding: 25px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 18px;
}

.review-user-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.review-user-info p {
  font-size: 12px;
  color: var(--text-light);
}

.review-rating {
  color: var(--warning-color);
  font-size: 14px;
  margin-bottom: 10px;
}

.review-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.review-content {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}

.review-tag {
  display: inline-block;
  background-color: var(--secondary-color);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  color: var(--text-light);
  margin-right: 8px;
}

/* 媒体推荐 */
.media {
  background-color: var(--secondary-color);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.media-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.media-card:hover {
  transform: translateY(-5px);
}

.media-source {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.media-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.media-description {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.media-date {
  font-size: 12px;
  color: var(--text-light);
}

/* 购买指南 */
.guide {
  background-color: var(--white);
}

.guide-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

.guide-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.guide-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.guide-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* FAQ */
.faq {
  background-color: var(--secondary-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark);
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--secondary-color);
}

.faq-toggle {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* 联系我们 */
.contact {
  background-color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-dark);
}

.contact-form {
  background-color: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
}

.contact-form h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 13px;
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-submit {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: #c49460;
}

/* 页脚 */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 30px;
  height: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-button.secondary {
    margin-left: 0;
    margin-top: 10px;
    display: block;
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  section h2 {
    font-size: 28px;
  }

  .products-grid,
  .scenarios-grid,
  .reviews-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .search-box input {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  section {
    padding: 40px 0;
  }

  section h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  nav ul {
    gap: 5px;
  }

  nav a {
    font-size: 12px;
  }

  .value-tag {
    font-size: 12px;
    padding: 8px 15px;
  }
}
