.page-about {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding to avoid double header offset */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-about__section-padding {
  padding: 60px 0;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 30px;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 15px;
  max-width: 900px;
  margin-top: -80px; /* Adjust to slightly overlap the image for visual effect */
  background: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-about__main-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
  line-height: 1.2;
}

.page-about__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button */
  color: #111111;
  border: none;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B; /* Glow */
}

.page-about__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD36B; /* Glow */
}

.page-about__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: #FFF6D6;
}

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

.page-about__value-item {
  background: #111111; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-size: 16px;
  color: #FFF6D6;
}

.page-about__value-item strong {
  color: #FFD36B; /* Glow */
}

.page-about__description-text {
  text-align: center;
  font-size: 17px;
  margin-bottom: 40px;
  color: #FFF6D6;
}

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

.page-about__feature-card,
.page-about__product-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #FFF6D6;
}

.page-about__feature-image,
.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-about__feature-title,
.page-about__product-title {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 15px 10px;
  color: #FFD36B; /* Glow */
}

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

.page-about__product-title a:hover {
  text-decoration: underline;
}

.page-about__feature-description,
.page-about__product-description {
  font-size: 15px;
  padding: 0 20px 20px;
  flex-grow: 1;
  color: #FFF6D6;
}

.page-about__security-content,
.page-about__support-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__security-text,
.page-about__support-text {
  flex: 1;
}

.page-about__security-image-wrapper,
.page-about__support-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-about__security-image,
.page-about__support-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-about__light-bg-section {
  background-color: #111111; /* Card BG, slightly lighter for contrast */
  color: #FFF6D6;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-about__dark-section {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
}

/* FAQ Styles */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Glow */
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: rgba(255, 211, 107, 0.1);
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

.page-about__join-us-content {
  text-align: center;
}

.page-about__join-us-content .page-about__description-text {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Mandatory Homepage CSS blocks (even for About Us page) */
@media (max-width: 1023px) {
  .page-about__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-about__hero-brand,
  .page-about__hero-jackpot {
    display: none !important;
  }
  .page-about__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-about__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial-topbar,
  .page-about__game-trial-bottombar {
    display: none !important;
  }
  .page-about__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-about__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-about__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-about__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-about__hero-brand,
  .page-about__hero-jackpot,
  .page-about__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-about__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-about__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-about__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-about__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-about__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* Placeholder for other PC modules */
  .page-about__hero-brand h1 { font-size: 2.5rem; }
  .page-about__promo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1280px; margin: 16px auto; padding: 0 16px; }
  .page-about__promo-card { display: flex; flex-direction: row; align-items: center; text-align: left; }
  .page-about__promo-card-image { width: 80px; height: 80px; object-fit: cover; margin-right: 10px; }
  .page-about__hot-games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; max-width: 1280px; margin: 40px auto; padding: 0 16px; }
  .page-about__hot-games-card-name, .page-about__hot-games-card-rtp, .page-about__hot-games-card-desc { display: block; text-align: center; }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-about {
    padding-top: 0; /* Remove top padding for mobile, let shared.css handle body padding */
  }
  .page-about__hero-section {
    padding-bottom: 0;
  }
  .page-about__hero-content {
    margin-top: -40px; /* Less overlap on mobile */
    padding: 20px 15px;
  }
  .page-about__main-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 15px;
  }
  .page-about__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-about__section-padding {
    padding: 30px 0;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__text-block, .page-about__description-text {
    font-size: 15px;
  }
  .page-about__values-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-about__features-grid,
  .page-about__product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__feature-card,
  .page-about__product-card {
    margin: 0 15px;
  }
  .page-about__feature-title,
  .page-about__product-title {
    font-size: 20px;
    margin-top: 15px;
  }
  .page-about__feature-description,
  .page-about__product-description {
    font-size: 14px;
    padding: 0 15px 15px;
  }
  .page-about__security-content,
  .page-about__support-content {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__security-text,
  .page-about__support-text {
    order: 2; /* Text below image on mobile */
  }
  .page-about__security-image-wrapper,
  .page-about__support-image-wrapper {
    order: 1;
    min-width: unset;
    width: 100%;
    padding: 0 15px;
  }
  .page-about__security-image,
  .page-about__support-image {
    width: 100%;
    height: auto;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  
  /* Mobile image adaptation (mandatory) */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__security-image-wrapper,
  .page-about__support-image-wrapper {
    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,
  .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;
  }
  .page-about__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
  
  /* Placeholder for other mobile modules */
  /* __promo-strip */
  .page-about__promo-strip {
    padding: 0 15px;
    overflow-x: hidden;
  }
  .page-about__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .page-about__promo-card {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }
  .page-about__promo-card-image {
    margin-right: 0;
    margin-bottom: 10px;
  }
  /* __hot-games */
  .page-about__hot-games {
    padding: 0 15px;
  }
  .page-about__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-about__hot-games-card-name, .page-about__hot-games-card-rtp, .page-about__hot-games-card-desc {
    display: none; /* Hide on mobile to save space */
  }
  /* __brand-intro (if present, ensure responsiveness) */
  .page-about__brand-intro {
    padding: 30px 15px;
  }
  /* __winner-ticker */
  .page-about__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
  }
  body {
    padding-bottom: 50px; /* Adjust body padding for fixed ticker */
  }
  .page-about main {
    padding-bottom: 50px; /* Ensure main content is not obscured */
  }
}