/* ========================================
   About 页面专用样式
   全局导航 / 页脚样式见 css/styles.css
   ======================================== */

.about-page {
  padding-top: var(--header-height);
  background: var(--color-white);
}

.about-banner {
  width: 100%;
  height: 550px;
  background-image: url('../assets/images/about/Banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-banner-title {
  margin: 0;
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-align: center;
}

/* ========== Introduce 板块 ========== */
.about-intro.section-spaced {
  background: var(--color-white);
}

.about-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-intro-img {
  width: 648px;
  height: 440px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

.about-intro-title {
  font-size: 40px;
  font-weight: 400;
  color: #222;
  line-height: 1.25;
  margin-bottom: 16px;
}

.about-intro-accent-bar {
  width: 60px;
  height: 2px;
  background: #0982e5;
  margin-bottom: 36px;
}

.about-intro-desc {
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.75;
  margin: 0;
}

/* ========== 三卡片板块 ========== */
.about-cards {
  background: var(--color-white);
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 430px);
  justify-content: space-between;
  gap: 32px;
}

.about-card {
  width: 430px;
  max-width: 100%;
  height: 386px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.about-card-image {
  width: 430px;
  height: 240px;
  max-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-card-body {
  width: 430px;
  max-width: 100%;
  height: 146px;
  flex-shrink: 0;
  background: #eeeef3;
  padding: 22px 24px;
  box-sizing: border-box;
}

.about-card-title {
  font-size: 26px;
  font-weight: 700;
  color: #015fcb;
  line-height: 1.25;
  margin: 0 0 10px;
}

.about-card-desc {
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

/* ========== Where We Are 板块 ========== */
.about-location {
  background: linear-gradient(to bottom, #fff 0%, #fff 50%, #eeeef3 50%, #eeeef3 100%);
  padding-top: 100px;
}

.about-location-panel {
  position: relative;
  background: #fff;
  height: 668px;
  padding: 48px 80px 72px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 1px solid #d0d4dc;
}

.about-map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about-location-panel::before,
.about-location-panel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(45deg, rgba(238, 238, 243, 0.85) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(238, 238, 243, 0.85) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(238, 238, 243, 0.85) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(238, 238, 243, 0.85) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

.about-location-panel::before {
  left: 0;
  mask-image: linear-gradient(to right, #000 0%, transparent 100%);
}

.about-location-panel::after {
  right: 0;
  mask-image: linear-gradient(to left, #000 0%, transparent 100%);
}

.about-location-header {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-location-title {
  font-size: 40px;
  font-weight: 400;
  color: #222;
  line-height: 1.25;
  margin: 0 0 16px;
}

.about-location-accent {
  width: 80px;
  height: 2px;
  background: #0982e5;
  margin: 0 auto 56px;
}

.about-location-map-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 341px;
  padding: 0 24px;
  flex-shrink: 0;
}

.about-map-image {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

/* ========== About Bitcoin Mining 板块 ========== */
.about-mining {
  background: var(--color-white);
}

.about-mining-header {
  text-align: center;
  margin-bottom: 56px;
}

.about-mining-title {
  font-size: 40px;
  font-weight: 400;
  color: #222;
  line-height: 1.25;
  margin: 0 0 16px;
}

.about-mining-accent {
  width: 80px;
  height: 2px;
  background: #0982e5;
  margin: 0 auto;
}

.about-mining-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 578px;
  gap: 48px;
  align-items: start;
}

.about-mining-content p {
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.75;
  margin: 0 0 24px;
}

.about-mining-content p:last-child {
  margin-bottom: 0;
}

.about-mining-visual {
  flex-shrink: 0;
}

.about-mining-img {
  display: block;
  width: 578px;
  height: 586px;
  max-width: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .about-intro-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-intro-img {
    width: 100%;
    height: auto;
    aspect-ratio: 648 / 440;
  }

  .about-cards-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 28px;
  }

  .about-card,
  .about-card-image,
  .about-card-body {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .about-card-image {
    height: auto;
    aspect-ratio: 430 / 240;
  }

  .about-card {
    height: auto;
  }

  .about-card-body {
    height: auto;
    min-height: 146px;
  }

  .about-location-panel {
    height: auto;
    min-height: 668px;
    padding: 40px 32px 56px;
  }

  .about-location-map-wrap {
    height: 341px;
  }

  .about-location-panel::before,
  .about-location-panel::after {
    width: 80px;
  }

  .about-location-accent {
    margin-bottom: 40px;
  }

  .about-mining-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-mining-img {
    width: 100%;
    height: auto;
    aspect-ratio: 578 / 586;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-banner {
    height: 360px;
  }

  .about-intro-title {
    font-size: 32px;
  }

  .about-location-title {
    font-size: 32px;
  }

  .about-mining-title {
    font-size: 32px;
  }

  .about-mining-header {
    margin-bottom: 40px;
  }

  .about-location-panel::before,
  .about-location-panel::after {
    display: none;
  }

  .about-location-panel {
    height: auto;
    min-height: 0;
    padding: 32px 20px 48px;
  }

  .about-location-map-wrap {
    height: auto;
    max-height: 341px;
  }

  .about-map-image {
    height: auto;
    max-height: 341px;
    width: min(100%, 945px);
  }
}
