.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Body background from shared.css */
}

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

.page-support__hero-section {
  position: relative;
  padding: 100px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  text-align: center;
  background: linear-gradient(135deg, #017439, #005f2e);
  color: #ffffff;
}

.page-support__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__btn-register,
.page-support__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive behavior */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-support__btn-register {
  background-color: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom font color for Register */
}

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

.page-support__btn-login {
  background-color: #C30808; /* Custom color for Login */
  color: #FFFF00; /* Custom font color for Login */
}

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

.page-support__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #017439; /* Brand primary color for titles on light background */
}

.page-support__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333; /* Dark text for light background */
}

.page-support__faq-section,
.page-support__guides-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for FAQ and Guides */
  color: #333333; /* Dark text for light background */
}

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

.page-support__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f0f0f0;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #017439; /* Brand primary for FAQ questions */
  list-style: none; /* Hide default marker for details/summary */
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #017439;
}

.page-support__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

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

.page-support__contact-section,
.page-support__responsible-gaming-section {
  padding: 80px 0;
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff; /* White text for dark sections */
  text-align: center;
}

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

.page-support__contact-section .page-support__section-description,
.page-support__responsible-gaming-section .page-support__section-description {
  color: #f0f0f0;
}

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

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-support__contact-card:hover {
  transform: translateY(-10px);
}

.page-support__contact-icon {
  width: 200px; /* Min size 200x200 */
  height: 150px; /* Min size 200x200, adjusted for aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFF00; /* Custom color for titles */
}

.page-support__contact-text {
  font-size: 1em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-support__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FFFF00; /* Custom color for primary button */
  color: #017439; /* Brand primary for text on yellow button */
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary:hover {
  background-color: #e0e000;
}

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

.page-support__guide-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
}

.page-support__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support__guide-title {
  font-size: 1.5em;
  margin: 15px 20px 10px;
  color: #017439;
}

.page-support__guide-text {
  font-size: 0.95em;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-support__read-more-link {
  display: block;
  padding: 15px 20px;
  background-color: #f0f0f0;
  color: #017439;
  font-weight: bold;
  text-align: right;
  border-top: 1px solid #e0e0e0;
}

.page-support__read-more-link:hover {
  background-color: #e5e5e5;
}

.page-support__responsible-gaming-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-support__responsible-gaming-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  display: block;
}

.page-support__responsible-gaming-list {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0;
  max-width: 500px;
}

.page-support__responsible-gaming-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFF00; /* Custom color for list items */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 2.8em;
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__contact-methods,
  .page-support__guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-support__main-title {
    font-size: 2.2em;
  }

  .page-support__intro-text {
    font-size: 1em;
  }

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

  .page-support__btn-register,
  .page-support__btn-login {
    width: 100%;
  }

  .page-support__section-title {
    font-size: 1.8em;
  }

  .page-support__section-description {
    font-size: 0.95em;
  }

  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section {
    padding: 50px 0;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-support__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-support__contact-methods,
  .page-support__guides-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-support__contact-icon {
    width: 150px;
    height: 120px;
  }

  .page-support__responsible-gaming-content {
    flex-direction: column;
    padding: 0 15px;
  }

  .page-support__responsible-gaming-image {
    max-width: 100%;
    width: 100%;
  }

  .page-support__responsible-gaming-list {
    max-width: 100%;
    width: 100%;
  }

  /* Mobile specific image/video/button responsive rules */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__cta-buttons,
  .page-support__contact-methods,
  .page-support__guides-grid,
  .page-support__responsible-gaming-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-support__btn-primary, .page-support__btn-register, .page-support__btn-login {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}