﻿/* ===================================================
   DISPLAY & BUTTON STYLESHEET (display.css)
   =================================================== */

/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 1. 100vh Hero Banner */
.hero-banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #12151c;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 主容器 */
.display-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 90px 30px 120px 30px;
}

/* 头部主标题与居中分割线 */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 300;
  color: #2b2b2b;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.center-gradient-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #eaedf1;
  margin: 0 auto;
}

.center-gradient-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1.5px;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c81e3a 0%, #5b1a7d 50%, #1b2685 100%);
}

/* 分组小节 */
.group-section {
  margin-bottom: 70px;
  width: 100%;
}

.group-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: #2b2b2b;
  margin-bottom: 24px;
}

/* ===================================================
   GRADIENT BORDER CARD & IMAGES
   =================================================== */
.grad-card {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: 
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #c81e3a 0%, #681977 50%, #1b2685 100%) border-box;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-h180 {
  height: 180px;
}

.card-h220 {
  height: 220px;
}

.card-h240 {
  height: 240px;
}

.fit-img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  display: block;
}

/* Item 包裹器与标签 */
.item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-label {
  font-size: 0.82rem;
  color: #333333;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.item-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 渐变圆点色彩池 */
.dot-red::before { background-color: #c81e3a; }
.dot-red-purple::before { background-color: #aa1955; }
.dot-magenta::before { background-color: #8c1870; }
.dot-purple::before { background-color: #681977; }
.dot-purple-blue::before { background-color: #3f1e85; }
.dot-blue::before { background-color: #1b2685; }

/* ===================================================
   GRIDS (3 列, 5 列, 6 列)
   =================================================== */
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.grid-5-col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  width: 100%;
}

.grid-6-col {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  width: 100%;
}

/* ===================================================
   ROW 4: FULL-WIDTH BANNER IMAGE
   =================================================== */
.full-media-banner-card {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.full-media-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.full-card-code {
  position: absolute;
  top: 12px;
  text-align: center;
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.5px;
  z-index: 200;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ===================================================
   ROWS 5-7: LCD MATRIX (左文字 + 右 2 图)
   =================================================== */
.lcd-matrix-section {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.lcd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
}

.lcd-label-box {
  flex: 0 0 32%;
}

.lcd-label-box p {
  font-size: 1.15rem;
  font-weight: 300;
  color: #2b2b2b;
  line-height: 1.4;
}

.lcd-cards-box {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ===================================================
   RESPONSIVE DESIGN (响应式适配)
   =================================================== */
@media (max-width: 1100px) {
  .grid-5-col {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-6-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 70vh;
  }

  .display-container {
    padding: 50px 16px 80px 16px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .grid-3-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-5-col, .grid-6-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .lcd-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .lcd-label-box {
    flex: auto;
    width: 100%;
  }

  .lcd-cards-box {
    width: 100%;
    grid-template-columns: 1fr;
  }
}