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

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Brand color for titles */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

.page-about__text-block {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about a[class*="button"],
.page-about a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  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%);
  color: #111111;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
}

.page-about__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-about__hero-section {
  padding: 10px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #0A0A0A;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-about__main-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

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

/* Mission & Vision Section */
.page-about__mission-vision {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__mission-vision .page-about__section-title {
  color: #F2C14E;
}

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

.page-about__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-about__card p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Values Section */
.page-about__values {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__values .page-about__section-title {
  color: #F2C14E;
}

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

.page-about__value-item {
  padding: 25px;
}

.page-about__value-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__why-choose-us .page-about__section-title {
  color: #F2C14E;
}

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

.page-about__feature-item {
  text-align: center;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-about__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B;
}

.page-about__feature-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__team-section .page-about__section-title {
  color: #F2C14E;
}

.page-about__team-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Responsible Gaming Section */
.page-about__responsible-gaming {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__responsible-gaming .page-about__section-title {
  color: #F2C14E;
}

.page-about__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.page-about__responsible-list li {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #FFF6D6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__responsible-list li strong {
  color: #FFD36B;
}

.page-about__responsible-gaming a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-about__responsible-gaming a:hover {
  color: #FFD36B;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__faq-section .page-about__section-title {
  color: #F2C14E;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B;
  font-size: 18px;
  font-weight: bold;
}

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(242, 193, 78, 0.05);
}

.page-about__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B;
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 20px;
  background: rgba(17, 17, 17, 0.8);
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
  font-size: 16px;
}

.page-about__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A0A0A;
}

.page-about__cta-section .page-about__section-title {
  color: #FFD36B;
}

.page-about__btn--large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Responsive styles */
@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;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  
  .page-about__main-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  
  .page-about__description {
    font-size: 17px;
  }
  
  .page-about__text-block {
    font-size: 16px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .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: 12px 20px;
    font-size: 16px;
  }

  .page-about__container,
  .page-about__card,
  .page-about__feature-item,
  .page-about__responsible-list li {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-about__card-title,
  .page-about__value-title,
  .page-about__feature-title {
    font-size: 20px;
  }

  .page-about__card p,
  .page-about__feature-item p,
  .page-about__responsible-list li p {
    font-size: 15px;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 18px;
    font-size: 16px;
  }
  .page-about__faq-qtext {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 18px 15px;
    font-size: 15px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Placeholder for homepage specific elements to hide on about page mobile */
  /* This is included due to strict requirement, even if not semantically relevant to about.html */
  .page-about__promo-strip-track { /* Example, assuming this class exists in homepage CSS */
    grid-template-columns: repeat(2, 1fr) !important; /* Adjust if needed */
    overflow-x: hidden !important;
  }
  .page-about__hot-games-grid { /* Example, assuming this class exists in homepage CSS */
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .page-about__winner-ticker { /* Example, assuming this class exists in homepage CSS */
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
  }
  .page-about__brand-intro { /* Example, assuming this class exists in homepage CSS */
    display: block !important;
  }

}

/* Game Trial specific styles (from homepage template, included due to strict output requirement) */
.page-about__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-about__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-about__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-about__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-about__reward-modal{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,0.8);display:flex;justify-content:center;align-items:center;}.page-about__reward-modal[hidden]{display:none;}.page-about__reward-modal-content{background:#111111;padding:30px;border-radius:15px;text-align:center;max-width:400px;width:90%;border:1px solid #3A2A12;position:relative;}.page-about__reward-modal-close{position:absolute;top:15px;right:15px;background:none;border:none;color:#FFF6D6;font-size:24px;cursor:pointer;}.page-about__reward-modal-title{color:#F2C14E;font-size:28px;margin-bottom:15px;}.page-about__reward-modal-text{color:#FFF6D6;font-size:18px;margin-bottom:25px;}.page-about__reward-modal-link{display:inline-block;background:linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);color:#111111;padding:12px 25px;border-radius:8px;text-decoration:none;font-weight:bold;transition:transform 0.3s ease;}.page-about__reward-modal-link:hover{transform:translateY(-2px);}