/* style/support.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-button-bg: #C30808;
  --login-button-bg: #C30808;
  --button-text-color: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --body-bg: #FFFFFF;
}

.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--body-bg);
}

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

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

.page-support__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-support__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-support__hero-content {
  flex: 1;
  padding: 0 40px;
  z-index: 1;
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-support__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-support__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: var(--register-button-bg);
  color: var(--button-text-color);
  border: 2px solid var(--register-button-bg);
}

.page-support__btn-primary:hover {
  background-color: darken(var(--register-button-bg), 10%);
  border-color: darken(var(--register-button-bg), 10%);
}

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

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

.page-support__btn-center {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: inherit;
}

.page-support__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-support__why-choose-section,
.page-support__common-issues-section,
.page-support__contact-methods-section,
.page-support__responsible-gaming-section,
.page-support__security-privacy-section,
.page-support__faq-section,
.page-support__cta-final-section {
  padding: 80px 0;
}

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

.page-support__feature-card,
.page-support__issue-card,
.page-support__contact-card,
.page-support__responsible-item,
.page-support__security-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-support__issue-card,
.page-support__responsible-item,
.page-support__security-item {
  background-color: var(--text-light); /* For dark sections, cards are light */
  color: var(--text-dark);
}

.page-support__dark-bg .page-support__issue-card,
.page-support__dark-bg .page-support__responsible-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background on dark section */
  color: var(--text-light);
}

.page-support__dark-bg .page-support__issue-title,
.page-support__dark-bg .page-support__issue-description,
.page-support__dark-bg .page-support__responsible-title,
.page-support__dark-bg .page-support__responsible-description {
  color: var(--text-light);
}

.page-support__feature-card:hover,
.page-support__issue-card:hover,
.page-support__contact-card:hover,
.page-support__responsible-item:hover,
.page-support__security-item:hover {
  transform: translateY(-5px);
}

.page-support__feature-icon,
.page-support__issue-image,
.page-support__contact-icon,
.page-support__responsible-image,
.page-support__security-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__feature-title,
.page-support__issue-title,
.page-support__contact-title,
.page-support__responsible-title,
.page-support__security-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-support__dark-bg .page-support__feature-title,
.page-support__dark-bg .page-support__contact-title {
  color: var(--button-text-color);
}

.page-support__feature-description,
.page-support__issue-description,
.page-support__contact-description,
.page-support__responsible-description,
.page-support__security-description {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-support__dark-bg .page-support__feature-description,
.page-support__dark-bg .page-support__contact-description {
  color: var(--text-light);
}

.page-support__issue-card .page-support__btn-secondary {
  margin-top: auto;
}

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

.page-support__faq-item {
  background-color: var(--text-light);
  color: var(--text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-support__dark-bg .page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color);
  background-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  list-style: none;
  user-select: none;
}