.page-support {
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by 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 60px; /* Adjust for desktop hero padding */
  text-align: center;
  background-color: rgba(1, 116, 57, 0.8); /* Primary brand color with transparency */
  background-image: linear-gradient(to bottom, rgba(1, 116, 57, 0.8), rgba(26, 26, 46, 0.9)); /* Blend with body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-support__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__hero-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-support__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-support__cta-button--primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-support__cta-button--primary:hover {
  background-color: #02944b;
  transform: translateY(-2px);
}

.page-support__cta-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-support__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-support__cta-button--register {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom font color for register */
  border: 2px solid #C30808;
}

.page-support__cta-button--register:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
}

.page-support__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-support__contact-section,
.page-support__faq-section,
.page-support__guides-section,
.page-support__responsible-gaming-section,
.page-support__final-cta-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-support__contact-section {
  background-color: transparent;
}

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

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__card-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px;
}

.page-support__card-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-support__card-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-support__card-link {
  display: inline-block;
  margin-top: 20px;
  color: #FFFF00; /* Highlight links */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFFF00;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-support__card-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(1, 116, 57, 0.6); /* Primary color for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* Remove default marker */
}

.page-support__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-support__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-support__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-support__faq-link {
  color: #FFFF00; /* Link color in FAQ answer */
  text-decoration: none;
  font-weight: bold;
}

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

.page-support__faq-link--register {
  color: #FFFF00;
}

.page-support__faq-link--login {
  color: #FFFF00;
}

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

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

.page-support__guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px;
}

.page-support__guide-title {
  font-size: 1.4em;
  padding: 15px 20px 0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-support__responsible-gaming-section {
  text-align: center;
}

.page-support__responsible-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-support__responsible-link {
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFFF00;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-support__responsible-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.page-support__final-cta-section {
  text-align: center;
  background-color: rgba(1, 116, 57, 0.8); /* Primary brand color with transparency */
  background-image: linear-gradient(to top, rgba(1, 116, 57, 0.8), rgba(26, 26, 46, 0.9));
}

.page-support__final-cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General text styling for consistency */
.page-support h1, .page-support h2, .page-support h3, .page-support h4, .page-support h5, .page-support h6 {
  color: #ffffff;
}

.page-support p, .page-support li {
  color: #f0f0f0;
}

.page-support a {
  color: #FFFF00;
  text-decoration: none;
}

.page-support a:hover {
  text-decoration: underline;
}

/* Image sizing enforcement */
.page-support img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__contact-grid, .page-support__guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 15px;
  }
  .page-support__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-support__hero-title {
    font-size: 2.2em;
  }
  .page-support__hero-description {
    font-size: 1em;
  }
  .page-support__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__cta-button {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-support__section-title {
    font-size: 1.8em;
  }
  .page-support__section-description {
    font-size: 0.95em;
  }
  .page-support__contact-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__final-cta-section {
    padding: 50px 0;
  }
  .page-support__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__contact-grid, .page-support__guides-grid {
    grid-template-columns: 1fr;
  }
  .page-support__card-icon {
    width: 100px;
    height: 100px;
  }
  .page-support__card-title {
    font-size: 1.5em;
  }
  .page-support__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 15px;
  }
  .page-support__guide-image {
    height: 180px;
  }
  .page-support__guide-title {
    font-size: 1.2em;
  }
  .page-support__guide-text {
    font-size: 0.9em;
  }
  .page-support__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset;
    min-height: unset;
  }
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__responsible-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-title {
    font-size: 1.8em;
  }
  .page-support__section-title {
    font-size: 1.6em;
  }
}