/* CSS file for about.css */

/* Base styles for the page-about content */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-about__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(1.5em, 3vw, 2em);
  color: #FFD36B; /* Secondary color */
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__paragraph {
  margin-bottom: 15px;
  color: #FFF6D6;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -200px; /* Pull content up over the image for visual hierarchy */
  padding: 30px;
  background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFD36B; /* Secondary color for main title */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.page-about__intro-text {
  font-size: 1.1em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Action Button */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-about__cta-button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-about__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__cta-button--secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Primary color */
  border: 2px solid #F2C14E; /* Primary color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--secondary:hover {
  background: #F2C14E;
  color: #111111;
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

/* Intro Section */
.page-about__intro-section {
  padding: 60px 0;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

.page-about__two-column-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-about__column {
  flex: 1;
}

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Values Section */
.page-about__values-section {
  padding: 60px 0;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-about__value-title {
  font-size: 1.4em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  font-weight: bold;
}

/* Products Overview */
.page-about__products-overview {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
}

.page-about__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__product-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__product-title {
  font-size: 1.3em;
  color: #FFD36B; /* Secondary color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__product-title a {
  color: inherit;
  text-decoration: none;
}

.page-about__product-title a:hover {
  color: #F2C14E;
}

.page-about__product-card .page-about__paragraph {
  flex-grow: 1;
  color: #FFF6D6;
}

.page-about__learn-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: #F2C14E; /* Primary color */
  color: #111111; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-about__learn-more-button:hover {
  background: #FFD36B; /* Secondary color */
}

/* Security Section */
.page-about__security-section {
  padding: 60px 0;
}

/* Why Choose Section */
.page-about__why-choose-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

.page-about__why-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__why-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__why-item-title {
  font-size: 1.3em;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #FFD36B; /* Secondary color */
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #1A1A1A;
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: "-";
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: #FFF6D6;
  font-size: 0.95em;
}

/* Generic image styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- CSS for Homepage-specific modules (as per '必写清单') --- */
/* These styles are included as per the instructions for CSS output, */
/* even if the corresponding HTML is not generated on this 'About Us' page. */

/* Long text gold border section (equivalent to __home-content) */
.page-about__home-content {
  border: 1px solid #F2C14E; /* Primary color */
  border-radius: 10px;
  padding: 40px;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
  height: 650px;
  overflow-y: auto;
  max-width: 900px;
  margin: 60px auto;
}

/* Game Row / Slider (placeholder) */
.page-about__row-games {
  background-color: #0A0A0A;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}
.page-about__games-title {
  color: #FFF6D6;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 30px;
}
.page-about__slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.page-about__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}
.page-about__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  background-color: #111111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12;
}
.page-about__game-slide img {
  width: 100%;
  
  object-fit: cover;
}
.page-about__game-slide-title {
  color: #FFD36B;
  font-size: 1em;
  padding: 10px;
  text-align: center;
}
.page-about__slider-prev, .page-about__slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(242, 193, 78, 0.7);
  color: #111111;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2em;
  z-index: 10;
}
.page-about__slider-prev { left: 10px; }
.page-about__slider-next { right: 10px; }

/* Partner / Gameshow Grid (placeholder) */
.page-about__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px 0;
}
.page-about__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.page-about__banner-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Blog / News Section (placeholder) */
.page-about__blog-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}
.page-about__blog-title {
  color: #FFF6D6;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 30px;
}
.page-about__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.page-about__blog-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-about__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.page-about__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.page-about__blog-card-title {
  font-size: 1.2em;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: bold;
}
.page-about__blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.page-about__blog-card-title a:hover {
  color: #F2C14E;
}
.page-about__blog-card-meta {
  font-size: 0.85em;
  color: #999;
  margin-bottom: 15px;
}
.page-about__blog-card-link {
  display: inline-block;
  margin-top: auto;
  padding: 10px 15px;
  background: #F2C14E;
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
  text-align: center;
}
.page-about__blog-card-link:hover {
  background: #FFD36B;
}
.page-about__blog-slider {
  position: relative;
  overflow: hidden;
}
.page-about__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}
.page-about__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}
.page-about__blog-slider-prev, .page-about__blog-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(242, 193, 78, 0.7);
  color: #111111;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2em;
  z-index: 10;
}
.page-about__blog-slider-prev { left: 10px; }
.page-about__blog-slider-next { right: 10px; }

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 20px 30px;
  }

  .page-about__hero-content {
    margin-top: -150px;
    padding: 25px;
  }

  .page-about__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__two-column-layout {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__values-grid, .page-about__product-grid, .page-about__why-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  /* Homepage placeholders */
  .page-about__banners-top-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-about__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-about__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 15px;
  }

  /* HERO 主图区域 */
  .page-about__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 30px;
  }
  .page-about__hero-content {
    margin-top: -100px;
    padding: 20px;
    max-width: 90%;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-about__intro-text {
    font-size: 0.95em;
  }

  /* 通用图片与容器 */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section, .page-about__card, .page-about__container, .page-about__column {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons-group,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column !important; /* Ensure buttons stack vertically */
  }

  .page-about__section-title {
    font-size: clamp(1.8em, 5vw, 2.2em);
  }

  .page-about__two-column-layout {
    flex-direction: column;
    gap: 20px;
  }

  .page-about__values-grid, .page-about__product-grid, .page-about__why-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__product-image {
    height: 180px;
  }

  /* FAQ specific */
  .page-about__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  /* 长文金框区 */
  .page-about__home-content {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px !important;
    margin: 30px auto !important;
  }

  /* 游戏轮播 */
  .page-about__row-games {
    padding: 20px 15px;
  }
  .page-about__games-title {
    font-size: 2em;
  }
  .page-about__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-about__game-slide {
    flex: 0 0 150px !important;
    max-width: 150px !important;
    scroll-snap-align: start;
  }
  .page-about__slider-prev, .page-about__slider-next {
    display: none; /* Hide arrows on small screens */
  }

  /* 合作品牌六宫格 */
  .page-about__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  .page-about__banner-item img {
    
    
  }

  /* 博客卡片区 */
  .page-about__blog-masonry {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
  .page-about__blog-card img {
    
  }
  .page-about__blog-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .page-about__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-about__blog-slider-prev, .page-about__blog-slider-next {
    display: none; /* Hide arrows on small screens */
  }
}

@media (max-width: 480px) {
  .page-about__hero-content {
    margin-top: -80px;
  }
  .page-about__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-about__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-about__values-grid, .page-about__product-grid, .page-about__why-list {
    gap: 15px;
  }
  .page-about__product-image {
    height: 150px;
  }
  .page-about__faq-question {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  /* Homepage placeholders */
  .page-about__banners-top-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .page-about__game-slide {
    flex: 0 0 130px !important;
    max-width: 130px !important;
  }
}