.page-support {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--background);
}

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px;
  overflow: hidden;
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.8);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: -80px; /* Adjust to slightly overlap the image for visual flow */
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-support__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

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

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

.page-support__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-support__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-support__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-support__btn-secondary:hover {
  background-color: var(--deep-green);
  color: #ffffff;
  border-color: var(--glow);
}

.page-support__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
}

.page-support__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-support__why-choose-us,
.page-support__contact-methods,
.page-support__responsible-gaming {
  padding: 60px 0;
  background-color: var(--background);
  color: var(--text-main);
}

.page-support__faq-section,
.page-support__resources,
.page-support__final-cta {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

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

.page-support__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

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

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: var(--background);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-support__faq-item[open] {
  background-color: var(--deep-green);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.3s ease;
  list-style: none;
}

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

.page-support__faq-question:hover {
  color: var(--glow);
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
  max-height: 500px; /* Arbitrary large value to allow content to expand */
  transition: max-height 0.5s ease-in;
}

.page-support__contact-cta {
  text-align: center;
  margin-top: 50px;
}

.page-support__contact-text {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

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

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

.page-support__method-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-support__method-icon {
  width: 200px; /* Minimum size */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(34, 199, 104, 0.5));
}

.page-support__method-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-support__method-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.page-support__resource-item {
  padding: 20px;
  border-radius: 12px;
  background-color: var(--background);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-support__resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-support__resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-support__resource-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-support__resource-title a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__resource-title a:hover {
  color: var(--glow);
}

.page-support__resource-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-support__resource-link {
  display: inline-block;
  color: var(--glow);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-support__resource-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

.page-support__responsible-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.page-support__responsible-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-support__responsible-text {
  max-width: 800px;
  text-align: left;
  color: var(--text-secondary);
  font-size: 1.05em;
  line-height: 1.7;
}

.page-support__responsible-text p {
  margin-bottom: 15px;
}

.page-support__responsible-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-support__responsible-list li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.page-support__responsible-list a {
  color: var(--glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__responsible-list a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.page-support__final-cta {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--deep-green);
  color: var(--text-main);
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-support__responsible-content {
    flex-direction: row;
    text-align: left;
  }
  .page-support__responsible-text {
    text-align: left;
  }
}

@media (max-width: 1024px) {
  .page-support__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 10px 15px 40px;
  }

  .page-support__hero-content {
    margin-top: -40px;
    padding: 15px;
  }

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

  .page-support__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-support__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__why-choose-us,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__resources,
  .page-support__responsible-gaming,
  .page-support__final-cta {
    padding: 40px 0;
  }

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

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-support__method-icon {
    width: 150px;
    height: 100px;
  }

  .page-support__method-title {
    font-size: 1.2em;
  }

  .page-support__resource-title {
    font-size: 1.1em;
  }

  .page-support__responsible-content {
    flex-direction: column;
  }
  .page-support__responsible-text {
    text-align: center;
  }
  .page-support__responsible-list {
    padding-left: 20px;
  }
}