/* style/support.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0f172a;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-light: #e0e0e0;
  --accent-blue: #007bff;
  --accent-red: #dc3545;
}

.page-support {
  padding-top: 120px; /* Desktop default for fixed header */
  background-color: var(--background-dark);
  color: var(--text-light);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-support {
    padding-top: 100px !important; /* Mobile override */
  }
}

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

.page-support__main-heading {
  font-size: 42px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-support__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-support__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-support__section-description {
  font-size: 16px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

.page-support .highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* Hero Intro Section */
.page-support__hero-intro-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5e 100%);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-support__hero-intro-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-support__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-support__cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.page-support__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-support__btn-secondary:hover {
  background: #004488;
  border-color: #e6c200;
}

.page-support__btn-small {
  padding: 10px 25px;
  font-size: 16px;
}

/* Contact Info Section */
.page-support__contact-info-section {
  padding: 80px 20px;
}

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

.page-support__dark-section .page-support__section-title,
.page-support__dark-section .page-support__section-description {
  color: var(--text-light);
}

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

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

.page-support__contact-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__contact-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__contact-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

.page-support__contact-link {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: all 0.3s ease;
}

.page-support__contact-link:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 20px;
  background-color: var(--background-dark);
}

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  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: 18px 25px;
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-support__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none;
}

.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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: 32px;
  height: 32px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Change + to X */
}

.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, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

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

.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-support__faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__faq-answer a:hover {
  color: #e6c200;
  text-decoration: underline;
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 20px;
  background-color: var(--background-dark);
}

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

.page-support__guide-card {
  background: var(--card-bg-dark);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__guide-image {
  width: 100%;
  max-width: 300px; /* Adjust max-width for guide images */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__guide-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-support__guide-text {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
  padding: 80px 20px;
}

.page-support__responsible-gambling-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
}

.page-support__responsible-gambling-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-support__responsible-gambling-list li::before {
  content: '✔';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 20px;
}

.page-support__responsible-gambling-list p {
  margin: 0;
  color: #f0f0f0;
  font-size: 16px;
}

/* Important Links Section */
.page-support__important-links-section {
  padding: 80px 20px;
  background-color: var(--background-dark);
}

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

.page-support__important-link-card {
  background: var(--card-bg-dark);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-support__important-link-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-support__important-link-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-support__important-link-card p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-heading {
    font-size: 38px;
  }
  .page-support__section-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .page-support__main-heading {
    font-size: 32px;
  }
  .page-support__intro-text {
    font-size: 16px;
  }
  .page-support__section-title {
    font-size: 26px;
  }
  .page-support__section-description {
    font-size: 14px;
  }
  .page-support__hero-intro-section {
    padding: 40px 15px;
  }
  .page-support__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-support__contact-info-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gambling-section,
  .page-support__important-links-section {
    padding: 40px 15px;
  }
  .page-support__contact-methods,
  .page-support__guides-grid,
  .page-support__links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__important-link-card {
    padding: 25px;
  }
  .page-support__contact-icon {
    width: 60px;
    height: 60px;
  }
  .page-support__contact-title,
  .page-support__guide-title,
  .page-support__important-link-card h3 {
    font-size: 20px;
  }
  .page-support__contact-text,
  .page-support__guide-text,
  .page-support__important-link-card p,
  .page-support__responsible-gambling-list p {
    font-size: 14px;
  }
  .page-support__faq-question {
    padding: 15px 20px;
    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: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px 20px !important;
  }
  .page-support__responsible-gambling-list li {
    padding: 12px 20px;
  }
  .page-support__responsible-gambling-list li::before {
    font-size: 18px;
    margin-right: 10px;
  }

  /* Mobile image forcing */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-intro-section,
  .page-support__contact-info-section,
  .page-support__faq-section,
  .page-support__guides-section,
  .page-support__responsible-gambling-section,
  .page-support__important-links-section,
  .page-support__hero-intro-container,
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__important-link-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__hero-intro-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-support__hero-intro-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}