:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-card: #11271B;
  --bg-page: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Assuming body background is dark, use light text */
  background-color: var(--bg-page);
}

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

.page-about__section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-about__section-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding as body padding-top is handled by shared.css */
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main);
}

.page-about__hero-title {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  color: var(--gold-color);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-about__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--btn-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary {
  background: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-about__btn-secondary:hover {
  background: var(--glow-color);
  color: var(--bg-page);
  transform: translateY(-2px);
}

/* Intro Section */
.page-about__intro-section {
  padding: 60px 0;
  background-color: var(--bg-page);
}

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

.page-about__intro-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.page-about__intro-image-wrapper {
  text-align: center;
}

.page-about__intro-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: var(--bg-card);
}

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

.page-about__value-card {
  background-color: var(--deep-green);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__value-title {
  font-size: 1.6rem;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__value-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Security Section */
.page-about__security-section {
  padding: 60px 0;
  background-color: var(--bg-page);
}

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

.page-about__security-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.page-about__security-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about__security-features-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%232AD16F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.6;
}

.page-about__security-features-list li strong {
  color: var(--gold-color);
}

.page-about__security-image-wrapper {
  text-align: center;
}

.page-about__security-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

/* Experience Section */
.page-about__experience-section {
  padding: 60px 0;
  background-color: var(--bg-card);
}

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

.page-about__experience-image-wrapper {
  text-align: center;
}

.page-about__experience-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

.page-about__experience-content p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.page-about__experience-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about__experience-features-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.98"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.6;
}

.page-about__experience-features-list li strong {
  color: var(--glow-color);
}

/* Services Section */
.page-about__services-section {
  padding: 80px 0;
  background-color: var(--bg-page);
}

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

.page-about__service-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-about__service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px; /* Ensure min size */
  min-height: 200px;
}

.page-about__service-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin: 20px 20px 10px 20px;
  font-weight: 700;
}

.page-about__service-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 20px 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Responsible Gambling Section */
.page-about__responsible-gambling-section {
  padding: 60px 0;
  background-color: var(--bg-card);
}

.page-about__responsible-gambling-section p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.page-about__responsible-gambling-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__responsible-gambling-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2357E38D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07L9.44 10.5M19 11a7 7 0 0 1-7 7H6a7 7 0 0 1-7-7V7a7 7 0 0 1 7-7h4"></path></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.6;
}

.page-about__responsible-gambling-list li strong {
  color: var(--gold-color);
}

.page-about__responsible-gambling-section a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-about__responsible-gambling-section a:hover {
  color: var(--gold-color);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: var(--bg-page);
}

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

.page-about__faq-item {
  background-color: var(--deep-green);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold-color);
  transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
  background-color: var(--deep-green);
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

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

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-about__faq-answer a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: var(--gold-color);
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--bg-card);
}

.page-about__cta-section .page-about__section-description {
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__intro-grid,
  .page-about__security-grid,
  .page-about__experience-grid {
    grid-template-columns: 1fr;
  }

  .page-about__experience-grid {
    grid-template-areas: "image" "content";
  }

  .page-about__experience-image-wrapper {
    grid-area: image;
  }

  .page-about__experience-content {
    grid-area: content;
  }

  .page-about__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-about__hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
  }
}

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

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-section {
    min-height: 400px;
    padding: 40px 0;
    padding-top: 10px !important;
  }

  .page-about__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-about__hero-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 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-left: 15px;
    padding-right: 15px;
  }

  .page-about__intro-section,
  .page-about__values-section,
  .page-about__security-section,
  .page-about__experience-section,
  .page-about__services-section,
  .page-about__responsible-gambling-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

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

  .page-about__section-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .page-about__intro-grid,
  .page-about__security-grid,
  .page-about__experience-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .page-about__intro-image,
  .page-about__security-image,
  .page-about__experience-image,
  .page-about__service-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__intro-image-wrapper,
  .page-about__security-image-wrapper,
  .page-about__experience-image-wrapper,
  .page-about__service-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

  .page-about__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-about__hero-description {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .page-about__section-description {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
}