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

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(90deg, #ffc601, #fee330);
  padding: 7px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  text-decoration: none;
  display: flex;
}

.logo img {
  height: 40px; /* Adjust based on actual size */
}

.about-btn {
  width: 101px;
  height: 31px;
  border-radius: 16px;
  border: 1px solid #000;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.about-btn > img {
  width: 7px;
  margin-left: 5px;
}

/* Hero Section */
.section-hero {
  position: relative;
  background: url("https://static.shelingxingqiu.com/shoot/www/images/b1.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  margin-top: 50px;
}

.section-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 2.4rem;
  color: #ffc601; /* Orange/Gold from image */
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1rem;
  word-break: keep-all;
  color: #fff;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-content .qr-code {
  width: 45%;
  margin-top: 2%;
}
.hero-content .qr-code > img {
  width: 100%;
}

.hero-image {
}

.hero-image img {
  height: 550px;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.enter-left {
  opacity: 0;
  transform: translateX(-80px);
  animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.enter-right {
  opacity: 0;
  transform: translateX(80px);
  animation: slideInRight 0.9s ease-out 0.2s forwards;
}

@keyframes riseFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.training-display .main-phone.enter-up-fade {
  opacity: 0;
  animation: riseFadeIn 0.7s ease forwards;
}

.enter-up-fade {
  opacity: 0;
  animation: riseFadeIn 0.7s ease forwards;
}
.section {
  height: 500px;
  overflow: hidden;
  background-size: cover;
}

/* Common Section Styles */
.section-title {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  position: relative;
}

.section-title h2 {
  font-size: 1.8rem;
  color: #ffc601;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

/* Lines around title */
.section-title h2::before,
.section-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background: #666;
}

.section-title h2::before {
  left: -120px;
}

.section-title h2::after {
  right: -120px;
}

.section-title p {
  font-size: 1.2rem;
  color: #ccc;
}

/* Smart Bow Section */
.section-smart-bow {
  background: url("https://static.shelingxingqiu.com/shoot/www/images/b2.png") no-repeat center center;
  background-size: cover;
}

.smart-bow-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.center-phone {
  display: flex;
  justify-content: center;
  margin: 0 40px;
}

.center-phone > img {
  width: 400px;
}

.feature-left,
.feature-right {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 120px; /* Space between vertical items */
  transform: translateY(-66px) translateX(-20px);
}

.feature-item {
  width: 220px;
  position: relative;
  padding: 20px 0px;
  background-repeat: no-repeat;
  background-size: contain;
}

.feature-left .feature-item {
  background-image: url("https://static.shelingxingqiu.com/shoot/www/images/b2k2.png");
  background-size: 180px;
  background-position: center;
}

.feature-left .feature-item.item-1 {
  margin-left: 20%;
}
.feature-left .feature-item.item-2 {
  margin-left: 36%;
}

.feature-right .feature-item {
  background-image: url("https://static.shelingxingqiu.com/shoot/www/images/b2k.png");
  background-size: 180px;
  background-position: center;
}

.feature-item h3 {
  font-size: 16px;
  color: #ffc601;
  margin: 6px 0;
  text-align: center;
}

.feature-item p {
  font-size: 11px;
  line-height: 18px;
  color: #fff;
  text-align: center;
}

/* Specific positioning to match design lines */
.feature-left {
  align-items: flex-start;
}

.feature-right {
  align-items: flex-end;
  transform: translateX(-27%);
}

/* Competition Section */
.section-competition {
  background: url("https://static.shelingxingqiu.com/shoot/www/images/b3.png") no-repeat center center;
}

.competition-list {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.comp-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  min-width: 200px;
}

.comp-item img {
  width: 220px;
}

.comp-item span {
  display: block;
  margin-top: 20px;
  font-size: 1.4rem;
  color: #ccc;
}
.competition-list .comp-item {
  transition: transform 0.25s ease;
  will-change: transform;
}
.competition-list .comp-item:hover {
  transform: translateY(-10px) scale(1.2);
  z-index: 2;
}

/* Training Section */
.section-training {
  background-color: #000; /* Dark background if b4 isn't full cover or if it's complex */
  background-image: radial-gradient(circle at center, #222 0%, #000 100%);
  background: url("https://static.shelingxingqiu.com/shoot/www/images/b4b1.png") no-repeat center top;
}

.training-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 33px;
}

.training-tabs .tab-btn {
  width: 220px;
  padding: 3px;
  background: linear-gradient(0deg, #707070, #878787);
  border-radius: 12px;
  font-size: 1.2rem;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s, background 0.25s;
}

.tab-btn.active {
  background: linear-gradient(0deg, #ce9923, #d7ac3b);
  opacity: 1;
  color: #000;
}

.tab-btn:hover {
  opacity: 1;
}

.training-display {
  display: flex;
  justify-content: center;
  position: relative;
}

.training-display .main-phone {
  width: 400px;
}

/* Footer Section */
.section-footer {
  padding-top: 4%;
  background: url("https://static.shelingxingqiu.com/shoot/www/images/b5.png") no-repeat center top;
  background-size: cover;
  text-align: center;
}

.section-footer h2 {
  font-size: 32px;
  color: #ffc601;
  margin-bottom: 40px;
}

.footer-qr {
  display: inline-block;
  margin-bottom: 5%;
}

.footer-qr img {
  width: 60%;
  height: 60%;
}

.simple-footer,
.copyright {
  color: #fff;
  font-size: 0.8rem;
  background-color: #2a2a2a;
  height: 55px;
  line-height: 55px;
  text-align: center;
}

.copyright-link {
  text-decoration: none;
  color: #fff;
}

/* =========================================
   About Us Page Styles
   ========================================= */

/* About Banner */
.about-banner {
  position: relative;
  height: 320px;
  background: url("https://static.shelingxingqiu.com/shoot/www/images/about.png") no-repeat center center;
  background-size: cover;
  overflow: hidden;
  margin-top: 50px;
}

/* Dark overlay for banner to make text pop if needed */
.about-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.about-banner .container {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.banner-text {
  margin-bottom: 8%;
}

.banner-text h1 {
  font-size: 3rem;
  color: #fcd21d;
  margin-bottom: 0;
  font-weight: bold;
  word-break: keep-all;
}

/* About Content */
.about-content {
  background-color: #fff;
  padding: 4% 0;
  color: #333;
}

.content-block {
  margin-bottom: 40px;
}

.content-block h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 30px;
  font-weight: bold;
}

.content-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  text-align: justify;
}

.contact-info p {
  margin-bottom: 10px;
}

.content-qrcode {
  display: flex;
  align-items: center;
}

.content-qrcode > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12%;
  margin-right: 30px;
}

.content-qrcode > div > img {
  width: 100%;
  margin-bottom: 10px;
}

.content-qrcode > div > span {
  font-size: 0.8rem;
  color: #333;
  word-break: keep-all;
}
