:root {
  --primary-color: #26A9E0; /* Main brand color */
  --secondary-color: #007bb6; /* A slightly darker shade for hover/active states */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-color-light: #ffffff;
  --background-color-grey: #f8f8f8; /* Light grey for sections */
  --border-color: #e0e0e0;
  --accent-login-color: #EA7C07; /* Specific color for login related buttons */
}

/* Base styles for the page content */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light background */
  background-color: var(--background-color-light); /* Assuming body has a light background */
}

/* Container for consistent padding and max-width */
.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Section titles */
.page-support__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

/* Buttons */
.page-support__cta-button,
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-support__cta-button {
  background: var(--primary-color);
  color: var(--text-color-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-support__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-support__btn-primary:hover {
  background: var(--secondary-color);
}

.page-support__btn-secondary {
  background: var(--background-color-light);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-support__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color-light);
}

.page-support__btn-centered {
  display: block;
  margin: 40px auto 0 auto;
}

/* ⚠️ HERO Section Styles */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-color-light); /* Ensure light background for text */
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Important for flex child */
}

.page-support__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-support__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-support__hero-content h1 {
  /* No fixed font-size for h1 in HERO, use clamp if needed */
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-color-dark);
  margin-bottom: 20px;
  /* Example clamp, adjust as needed */
  font-size: clamp(28px, 5vw, 48px); 
}

.page-support__hero-content p {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
  background-color: var(--background-color-grey);
  padding: 60px 0;
}

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

.page-support__method-card {
  background: var(--background-color-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__method-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-support__method-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__method-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1; /* Push button to bottom */
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
}

.page-support__faq-list {
  margin-top: 40px;
}

/* ⚠️ FAQ styles using <details> (preferred) */
details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--background-color-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none; /* Hide default marker */
  transition: background-color 0.3s ease;
  outline: none; /* Remove outline on focus */
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: var(--background-color-grey);
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-color-dark);
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: var(--background-color-grey);
  border-radius: 0 0 8px 8px;
  color: #555555;
}

details.page-support__faq-item .page-support__faq-answer p {
  margin-bottom: 15px;
}

details.page-support__faq-item[open] summary.page-support__faq-question {
  background: var(--background-color-grey);
  border-bottom: 1px solid var(--border-color);
}


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

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

.page-support__feature-card {
  background: var(--background-color-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__feature-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-support__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__feature-card p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Security & Privacy Section */
.page-support__security-privacy-section {
  padding: 60px 0;
}

.page-support__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-support__security-item {
  background: var(--background-color-light);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__security-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-support__security-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-support__security-item p {
  font-size: 15px;
  color: #666666;
}

/* Feedback Section */
.page-support__feedback-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  text-align: center;
}

.page-support__feedback-section .page-support__section-title {
  color: var(--text-color-light);
  margin-bottom: 20px;
}

.page-support__feedback-section .page-support__section-description {
  color: var(--text-color-light);
  margin-bottom: 40px;
}

.page-support__feedback-section .page-support__cta-button {
  background: var(--accent-login-color); /* Use a distinct color for this CTA */
}

.page-support__feedback-section .page-support__cta-button:hover {
  background: #c76700; /* Slightly darker hover for accent color */
}

/* ⚠️ Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-support__container {
    padding: 20px 15px;
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-image {
    margin-bottom: 20px;
  }

  .page-support__hero-image img {
    border-radius: 8px;
  }

  .page-support__hero-content h1 {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-support__hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-support__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

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

  .page-support__methods-grid,
  .page-support__features-grid,
  .page-support__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__method-card,
  .page-support__feature-card,
  .page-support__security-item {
    padding: 20px;
  }

  .page-support__method-title,
  .page-support__feature-title {
    font-size: 20px;
  }

  .page-support__method-text,
  .page-support__feature-card p,
  .page-support__security-item p {
    font-size: 15px;
  }

  /* FAQ Mobile */
  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px 20px;
  }
  .page-support__faq-qtext {
    font-size: 16px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 20px;
  }

  /* ⚠️ Images responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* ⚠️ Buttons responsive */
  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support 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-support__cta-buttons,
  .page-support__button-group,
  .page-support__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;
  }
}