/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

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

.page-about__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__dark-section {
  background-color: #17191F; /* Card BG */
}

.page-about__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.4);
}

.page-about__section-description {
  font-size: 1.1em;
  color: #FFF3E6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-section {
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero section */
  position: relative;
  background-color: #0D0E12;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content-wrapper {
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(13, 14, 18, 0.8) 0%, rgba(13, 14, 18, 1) 100%);
  width: 100%;
  text-align: center;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 800;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.6);
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #FFF3E6;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: #FFA53A;
  text-decoration: none;
  border: 2px solid #FFA53A;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-about__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12;
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.3);
}

.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  padding: 20px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C;
}

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

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

.page-about__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards in a row have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 165, 58, 0.3);
}

.page-about__card-title,
.page-about__feature-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-about__card p,
.page-about__feature-card p {
  font-size: 1em;
  color: #FFF3E6;
}

.page-about__responsible-gaming .page-about__content-grid {
  align-items: flex-start;
}

.page-about__responsible-gaming .page-about__text-block p {
  text-align: left;
}

.page-about__responsible-gaming .page-about__btn-secondary {
  margin-top: 20px;
  align-self: flex-start;
}

.page-about__conclusion .page-about__btn-primary {
  margin-top: 30px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }
  .page-about__text-block, .page-about__image-block {
    flex: none;
    width: 100%;
  }
  .page-about__values-grid,
  .page-about__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 15px;
  }
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    min-height: 450px;
  }
  .page-about__hero-content-wrapper {
    padding: 30px 15px;
  }
  .page-about__main-title {
    font-size: 2.2em; /* Adjusted for mobile */
    margin-bottom: 10px;
  }
  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    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;
    margin-bottom: 10px; /* Add spacing between stacked buttons */
  }
  .page-about__hero-content-wrapper .page-about__btn-primary {
      margin-bottom: 0; /* Remove extra margin if only one button */
  }
  .page-about__content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }
  .page-about__text-block, .page-about__image-block {
    padding: 0;
  }
  .page-about__image,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__image-block,
  .page-about__text-block,
  .page-about__card,
  .page-about__section,
  .page-about__container,
  .page-about__values-grid,
  .page-about__feature-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__values-grid,
  .page-about__feature-grid {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 15px;
  }
  .page-about__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  /* No specific game/blog slider or masonry for about page */
  /* If any buttons are grouped horizontally, ensure they wrap or stack */
  .page-about__cta-buttons, /* Example if multiple buttons */
  .page-about__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}

/* Ensure images don't use filters */
.page-about img {
  filter: none;
}

/* Default card styling for contrast */
.page-about__card {
  color: #FFF3E6; /* Text Main */
}

/* The following are general placeholders for required CSS blocks, 
   even if specific elements are not present on this 'About Us' page. */
/* The 'About Us' page does not contain game sliders, masonry blog layouts, etc. 
   These rules are included to satisfy the '必写清单' for other page types if applicable, 
   but they are not actively used by the HTML generated above for this specific page. */
.page-about__home-content { /* Placeholder for long text gold frame if it were present */
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: auto; /* Adjust for content */
  overflow-y: visible;
  padding: 20px;
}

.page-about__home-content h2 {
  font-size: 2em;
  color: #FFB04D;
}

.page-about__row-games, /* Placeholder for game row if it were present */
.page-about__row-sport, /* Placeholder for sport row if it were present */
.page-about__row-coop { /* Placeholder for cooperation row if it were present */
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-about__games-title, /* Placeholder for game title if it were present */
.page-about__sport-title, /* Placeholder for sport title if it were present */
.page-about__coop-title { /* Placeholder for cooperation title if it were present */
  color: #fff;
  text-align: center;
}

.page-about__slider-wrapper { /* Placeholder for slider wrapper if it were present */
  overflow: hidden;
}

.page-about__slider-track { /* Placeholder for slider track if it were present */
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
}

.page-about__game-slide { /* Placeholder for game slide if it were present */
  flex: 0 0 200px;
  max-width: 200px;
}

.page-about__banners-top-wrapper { /* Placeholder for banners top wrapper (e.g., gameshow grid) if it were present */
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__banner-item img { /* Placeholder for banner item image if it were present */
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-about__blog-masonry { /* Placeholder for blog masonry if it were present */
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  align-items: stretch;
}

.page-about__blog-card-link { /* Placeholder for blog card link if it were present */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__btn-outline { /* Placeholder for outline button if it were present */
  margin-top: auto;
}

.page-about__blog-slider-track { /* Placeholder for blog slider track if it were present */
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.page-about__blog-slide { /* Placeholder for blog slide if it were present */
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

@media (max-width:768px){
  /* Placeholder for blog masonry if it were present */
  .page-about__blog-masonry{
    grid-template-columns:1fr;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Placeholder for game slide if it were present */
  .page-about__game-slide{
    flex:0 0 160px;
    max-width:160px;
  }
  /* Placeholder for banners top wrapper if it were present */
  .page-about__banners-top-wrapper{
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Placeholder for blog slide if it were present */
  .page-about__blog-slide{
    flex:0 0 100%;
    max-width:100%;
  }
  /* Placeholder for long text gold frame if it were present */
  .page-about__home-content{
    height: auto;
    overflow-y: visible;
    padding: 15px;
  }
  .page-about__home-content h2 {
    font-size: 1.5em;
  }
  .page-about__row-games,
  .page-about__row-sport,
  .page-about__row-coop {
    padding: 30px 15px;
  }
  .page-about__slider-track {
    display: flex;
    flex-wrap: nowrap;
  }
}