.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text color for dark body background */
  background-color: #1a1a1a; /* Inherited from shared.css, explicitly set for clarity */
  padding-top: var(--header-offset, 120px);
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
  text-transform: uppercase;
}

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

.page-about__main-heading {
  font-size: 48px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(180deg, #0A192F 0%, #1a1a1a 100%);
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
}

.page-about__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700;
  color: #0A192F;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  border: none;
}

.page-about__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Mission Section */
.page-about__section--mission {
  background-color: #0A192F;
  color: #f0f0f0;
}

.page-about__section--mission .page-about__section-title {
  color: #FFD700;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__mission-text p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #cccccc;
}

.page-about__mission-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Advantages Section */
.page-about__section--advantages {
  background-color: #0A192F;
  color: #ffffff;
}

.page-about__section--advantages .page-about__section-title {
  color: #FFD700;
}

.page-about__section--advantages .page-about__section-description {
  color: #cccccc;
}

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

.page-about__advantage-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__advantage-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 215, 0, 0.15);
  border-color: #FFD700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-about__advantage-card h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__advantage-card p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-about__cta-section {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-about__btn-primary {
  background: #FFD700;
  color: #0A192F;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.page-about__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-about__btn-secondary:hover {
  background: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

/* Products Section */
.page-about__section--products {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-about__section--products .page-about__section-title {
  color: #FFD700;
}

.page-about__section--products .page-about__section-description {
  color: #cccccc;
}

.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: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__product-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 215, 0, 0.1);
  border-color: #FFD700;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__product-card img {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-about__product-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-about__product-card h3 a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__product-card h3 a:hover {
  color: #e6c200;
}

.page-about__product-card p {
  font-size: 16px;
  color: #cccccc;
}

/* Security Section */
.page-about__section--security {
  background-color: #0A192F;
  color: #f0f0f0;
}

.page-about__section--security .page-about__section-title {
  color: #FFD700;
}

.page-about__section--security .page-about__section-description {
  color: #cccccc;
}

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

.page-about__security-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__security-item img {
   /* Smallest allowed image size */
  
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.page-about__security-item h3 {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-about__security-item p {
  font-size: 16px;
  color: #e0e0e0;
}

.page-about__btn-learn-more {
  margin-top: 50px;
}

/* Support Section */
.page-about__section--support {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-about__section--support .page-about__section-title {
  color: #FFD700;
}

.page-about__section--support .page-about__section-description {
  color: #cccccc;
}

.page-about__support-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-about__support-text p {
  margin-bottom: 15px;
  font-size: 17px;
  color: #cccccc;
}

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

.page-about__support-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Responsible Gambling Section */
.page-about__section--responsible-gambling {
  background-color: #0A192F;
  color: #f0f0f0;
}

.page-about__section--responsible-gambling .page-about__section-title {
  color: #FFD700;
}

.page-about__section--responsible-gambling .page-about__section-description {
  color: #cccccc;
}

.page-about__responsible-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-about__responsible-content p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #cccccc;
}

.page-about__responsible-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about__responsible-content ul li {
  background: rgba(255, 215, 0, 0.08);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 17px;
  color: #e0e0e0;
}

.page-about__responsible-content .page-about__btn-secondary {
  margin-top: 30px;
}

/* FAQ Section */
.page-about__section--faq {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-about__section--faq .page-about__section-title {
  color: #FFD700;
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A192F;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #1c2e4a;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #f0f0f0;
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
  color: #e6c200;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #1c2e4a;
  color: #cccccc;
  border-top: none;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-about__faq-answer p {
  margin: 0;
  font-size: 16px;
}

.page-about__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

/* Contact Section */
.page-about__section--contact {
  background-color: #0A192F;
  color: #f0f0f0;
}

.page-about__section--contact .page-about__section-title {
  color: #FFD700;
}

.page-about__section--contact .page-about__section-description {
  color: #cccccc;
}

.page-about__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-about__contact-info, .page-about__partner-info {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__contact-info h3, .page-about__partner-info h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__contact-info p, .page-about__partner-info p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-about__contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about__contact-info ul li {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 8px;
}

.page-about__contact-info .page-about__btn-primary,
.page-about__partner-info .page-about__btn-secondary {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__main-heading {
    font-size: 40px;
  }

  .page-about__section-title {
    font-size: 30px;
  }

  .page-about__hero-section {
    padding: 60px 15px;
  }

  .page-about__content-grid,
  .page-about__support-content,
  .page-about__contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .page-about__mission-image, .page-about__support-image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-about__cta-section {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__main-heading {
    font-size: 32px;
  }

  .page-about__intro-text {
    font-size: 17px;
  }

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

  .page-about__section-title {
    font-size: 26px;
  }

  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-about__cta-button {
    padding: 15px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__product-card img {
    
  }

  .page-about__security-item img {
    
    
  }

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

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__faq-list,
  .page-about__cta-section,
  .page-about__contact-grid,
  .page-about__advantages-grid,
  .page-about__product-grid,
  .page-about__security-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__faq-question {
    padding: 15px;
  }
  
  .page-about__faq-question h3 {
    font-size: 16px;
  }
  
  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }

  .page-about__responsible-content ul li {
    font-size: 16px;
  }

  .page-about__contact-info, .page-about__partner-info {
    padding: 20px;
  }
  .page-about__contact-info h3, .page-about__partner-info h3 {
    font-size: 20px;
  }
  .page-about__contact-info p, .page-about__partner-info p {
    font-size: 15px;
  }
  .page-about__contact-info ul li {
    font-size: 15px;
  }
}