/* style/support.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-support {
  background-color: var(--bg-dark); /* Body background is dark */
  color: var(--text-light); /* Default text color for dark background */
  font-family: 'Arial', sans-serif;
}

.page-support a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

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

.page-support__main-title,
.page-support__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-support__section-description,
.page-support__intro-text {
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__intro-text a,
.page-support__section-description a {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Top padding for fixed header */
.page-support__intro-section {
  padding-top: 120px; /* Desktop: Adjust based on header height */
  background-color: var(--bg-dark);
}

.page-support__intro-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 900px;
}

.page-support__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-support__btn-primary:hover {
  background: #ffcc00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.page-support__contact-section {
  background-color: var(--bg-dark);
}

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

.page-support__contact-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-support__contact-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__contact-card .page-support__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__contact-card .page-support__card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-support__operating-hours {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--text-light);
}

/* Guides Section */
.page-support__guides-section {
  background-color: var(--bg-dark);
}

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

.page-support__guide-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-support__guide-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__guide-card .page-support__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-support__guide-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.page-support__guide-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-support__guide-list li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
  background-color: var(--bg-dark);
}

.page-support__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.page-support__responsible-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-support__responsible-text {
  flex: 2;
  min-width: 300px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-support__responsible-text h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

/* Security & Privacy Section */
.page-support__security-privacy-section {
  background-color: var(--bg-dark);
}

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

.page-support__security-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-support__security-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support__security-card .page-support__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__security-card .page-support__card-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: var(--bg-dark);
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--bg-light);
  color: var(--text-dark);
  border-radius: 0 0 5px 5px;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--text-light);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-support__faq-question:active {
  background: #eeeeee;
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: var(--primary-color);
}

/* News Section */
.page-support__news-section {
  background-color: var(--bg-dark);
}

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

.page-support__news-card {
  background-color: var(--text-light);
  color: var(--text-dark);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-support__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
  display: block;
}

.page-support__news-card .page-support__card-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-support__news-card .page-support__news-link {
  color: var(--primary-color);
}

.page-support__news-card .page-support__news-link:hover {
  color: var(--secondary-color);
}

.page-support__news-card .page-support__card-text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-support__news-date {
  font-size: 14px;
  color: #666;
}

.page-support__view-all-news {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-support__container {
    padding: 20px 15px;
  }

  .page-support__intro-section {
    padding-top: 100px !important; /* Mobile: Adjust based on header height */
  }

  .page-support__main-title {
    font-size: 30px;
  }

  .page-support__section-title {
    font-size: 28px;
  }

  .page-support__intro-text,
  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__security-card,
  .page-support__news-card {
    padding: 20px;
  }

  .page-support__contact-icon,
  .page-support__guide-icon,
  .page-support__security-icon {
    width: 80px;
    margin-bottom: 15px;
  }

  .page-support__contact-card .page-support__card-title,
  .page-support__guide-card .page-support__card-title,
  .page-support__security-card .page-support__card-title,
  .page-support__news-card .page-support__card-title {
    font-size: 18px;
  }

  .page-support__contact-card .page-support__card-text,
  .page-support__guide-list,
  .page-support__security-card .page-support__card-text,
  .page-support__responsible-text p,
  .page-support__news-card .page-support__card-text {
    font-size: 15px;
  }

  .page-support__responsible-content {
    flex-direction: column;
  }

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

  .page-support__responsible-text h3 {
    font-size: 20px;
  }

  .page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-support__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-support__faq-answer {
    padding: 0 15px;
  }
  
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }

  /* Image responsiveness for all images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__security-card,
  .page-support__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}