/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f5f5f5; /* Light background for the page content */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-support__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #26A9E0; /* Brand primary color for dark background */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-support__hero-image {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-support__hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover the area, will be contain on mobile */
  display: block;
}

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-support__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-support__btn-primary:hover {
  background-color: #d46a00;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand primary color */
  border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb3;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #ffffff; /* Light background */
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 5px 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;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

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

details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #f8f8f8;
}

.page-support__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

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

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #555555;
}

.page-support__faq-answer p {
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-support__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-support__text-link:hover {
  text-decoration: underline;
}

/* Contact Methods Section */
.page-support__contact-methods-section {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
}

.page-support__contact-methods-section .page-support__section-title,
.page-support__contact-methods-section .page-support__section-description {
  color: #ffffff;
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__contact-card {
  background: #ffffff; /* Light background for cards */
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-support__contact-card img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.page-support__contact-card .page-support__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__contact-card p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__contact-card .page-support__btn-primary {
  width: auto;
  padding: 12px 25px;
  font-size: 16px;
  margin-top: auto; /* Push button to bottom */
}

/* Guides Section */
.page-support__guides-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.page-support__guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__guide-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.page-support__guide-card .page-support__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__guide-card .page-support__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-support__guide-card .page-support__card-title a:hover {
  text-decoration: underline;
}

.page-support__guide-card p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid #26A9E0;
  transition: all 0.3s ease;
  margin-top: auto; /* Push button to bottom */
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-link:hover {
  background-color: #e6f7ff;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 4px;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-section {
  padding: 60px 0;
  background-color: #000000; /* Dark background */
  color: #ffffff;
}

.page-support__responsible-gaming-section .page-support__section-title,
.page-support__responsible-gaming-section .page-support__section-description {
  color: #ffffff;
}

.page-support__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__info-item {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-support__info-item img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.page-support__info-item .page-support__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__info-item p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us Section */
.page-support__why-choose-us {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.page-support__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-support__advantage-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-align: center;
}

.page-support__advantage-item .page-support__advantage-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-support__advantage-item p {
  font-size: 16px;
  color: #555555;
}

/* Final CTA Section */
.page-support__final-cta-section {
  padding: 80px 0;
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  text-align: center;
}

.page-support__final-cta-section .page-support__section-title,
.page-support__final-cta-section .page-support__section-description {
  color: #ffffff;
}

/* General image styling to prevent small icons */
.page-support img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Default to contain for general images */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__container {
    padding: 20px 30px;
  }

  .page-support__section-description {
    font-size: 17px;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    font-size: 17px;
    padding: 16px 20px;
  }

  .page-support__faq-toggle {
    font-size: 26px;
    width: 28px;
  }

  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__info-item,
  .page-support__advantage-item {
    padding: 25px;
  }

  .page-support__contact-card .page-support__card-title,
  .page-support__guide-card .page-support__card-title,
  .page-support__info-item .page-support__card-title,
  .page-support__advantage-item .page-support__advantage-title {
    font-size: 20px;
  }

  .page-support__hero-description {
    font-size: 18px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__section-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 15px;
  }

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

  /* HERO Section specific mobile styles */
  .page-support__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
  }

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

  .page-support__hero-image img {
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important; /* Remove fixed aspect ratio if any */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__hero-content {
    padding: 0 15px;
  }

  .page-support__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

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

  .page-support__hero-cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* FAQ Section specific mobile styles */
  .page-support__faq-section {
    padding: 40px 0;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
    font-size: 16px;
  }

  .page-support__faq-toggle {
    font-size: 24px;
    width: 24px;
  }

  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
  }

  /* Contact Methods Section specific mobile styles */
  .page-support__contact-methods-section {
    padding: 40px 0;
  }

  .page-support__contact-grid {
    gap: 20px;
  }

  .page-support__contact-card {
    padding: 20px;
  }

  .page-support__contact-card img {
    
  }

  .page-support__contact-card .page-support__card-title {
    font-size: 20px;
  }

  .page-support__contact-card p {
    font-size: 15px;
  }

  .page-support__contact-card .page-support__btn-primary {
    padding: 10px 20px;
    font-size: 15px;
  }

  /* Guides Section specific mobile styles */
  .page-support__guides-section {
    padding: 40px 0;
  }

  .page-support__guides-grid {
    gap: 20px;
  }

  .page-support__guide-card {
    padding: 20px;
  }

  .page-support__guide-card .page-support__card-title {
    font-size: 18px;
  }

  .page-support__guide-card p {
    font-size: 15px;
  }

  .page-support__btn-link {
    padding: 6px 0;
    font-size: 15px;
  }

  /* Responsible Gaming Section specific mobile styles */
  .page-support__responsible-gaming-section {
    padding: 40px 0;
  }

  .page-support__info-grid {
    gap: 20px;
  }

  .page-support__info-item {
    padding: 20px;
  }

  .page-support__info-item img {
    
  }

  .page-support__info-item .page-support__card-title {
    font-size: 20px;
  }

  .page-support__info-item p {
    font-size: 15px;
  }

  /* Why Choose Us Section specific mobile styles */
  .page-support__why-choose-us {
    padding: 40px 0;
  }

  .page-support__advantage-grid {
    gap: 20px;
  }

  .page-support__advantage-item {
    padding: 20px;
  }

  .page-support__advantage-item .page-support__advantage-title {
    font-size: 18px;
  }

  .page-support__advantage-item p {
    font-size: 15px;
  }

  /* Final CTA Section specific mobile styles */
  .page-support__final-cta-section {
    padding: 50px 0;
  }

  .page-support__final-cta-section .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* General image and container responsive styles */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__dark-bg,
  .page-support__light-bg {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__content-area,
  .page-support__text-block,
  .page-support__card,
  .page-support__section,
  .page-support__box {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}