/* style/support.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #1a1a1a; /* Dark background for hero */
  color: #ffffff;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-support__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
}

.page-support__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-support__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Section Titles */
.page-support__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-support__sub-title {
  font-size: clamp(1.5em, 2.5vw, 2em);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #26A9E0;
}

/* Text Blocks */
.page-support__text-block {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: inherit;
}

/* General Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-support__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

/* Section specific styles */
.page-support__intro-section,
.page-support__games-rules-section,
.page-support__faq-contact-section,
.page-support__conclusion-section {
  padding: 60px 0;
  background-color: #f0f0f0; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
}

.page-support__guide-section,
.page-support__promotions-section,
.page-support__responsible-gambling-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff; /* Light text on dark background */
}

/* Guide Grid */
.page-support__guide-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.05); /* Slightly transparent white on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-support__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide in card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-support__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-support__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-support__card-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__card-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #EA7C07; /* Login color for action */
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-support__card-link:hover {
  background-color: #d16b06;
}

/* Game List */
.page-support__game-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-support__game-list li {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: #333333;
}

.page-support__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-support__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-support__game-description {
  font-size: 0.95em;
  margin-bottom: 15px;
}

/* Promotion List */
.page-support__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: center;
}

.page-support__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-support__promo-list li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__promo-list li a:hover {
  color: #26A9E0;
}

.page-support__cta-wrapper {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ & Contact Section */
.page-support__faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.page-support__faq-column {
  display: flex;
  flex-direction: column;
}

.page-support__faq-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 30px;
}

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

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  list-style: none; /* For details/summary */
}

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

.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 20px 15px 20px;
  font-size: 0.95em;
  color: #555555;
}

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

.page-support__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-support__contact-title {
  margin-top: 40px;
}

.page-support__contact-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

/* Responsible Gambling Section */
.page-support__responsible-content {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.page-support__responsible-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-support__responsible-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__responsible-text .page-support__btn-primary {
  align-self: flex-start;
  margin-top: 15px;
}

/* Conclusion Section */
.page-support__final-cta {
  margin-top: 40px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support__faq-grid,
  .page-support__responsible-content {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 30px;
  }

  .page-support__faq-column:first-child {
    order: -1; /* Image first on mobile */
  }

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

  .page-support__responsible-text .page-support__btn-primary {
    align-self: center;
  }
}

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

  .page-support__hero-content {
    margin-top: 30px;
  }

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

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

  .page-support__sub-title {
    font-size: 1.5em;
  }

  /* Mobile image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__guide-card,
  .page-support__faq-column,
  .page-support__responsible-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-support__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Mobile button responsiveness */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-cta-buttons,
  .page-support__cta-wrapper,
  .page-support__contact-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .page-support__responsible-text .page-support__btn-primary {
    align-self: stretch;
  }
}