/* style/support.css */

/* Body background color is var(--background-color, #f0f2f5), which is light. Therefore, text should be dark. */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--background-color, #f0f2f5);
}

.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;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-support__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

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

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

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

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

.page-support__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1a7fb4;
  border-color: #1a7fb4;
}

.page-support__video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  background-color: #ffffff;
  text-align: center;
}

.page-support__video-container {
  width: 100%; /* Ensure desktop width is 100% */
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 8px;
  margin-top: 30px;
}

.page-support__video-wrapper .page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-support__video-link {
  display: block;
  width: 100%;
  height: 100%;
}

.page-support__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #f0f2f5;
}

.page-support__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-support__section-title--spacing {
  margin-top: 60px;
}

.page-support__section-description,
.page-support__text-block {
  font-size: 1.05em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-support__card p {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

.page-support__card-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid #26A9E0;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-support__card-link:hover {
  color: #1a7fb4;
  border-color: #1a7fb4;
}

.page-support__content-block {
  max-width: 900px;
  margin: 0 auto 60px auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.page-support__sub-title {
  font-size: 1.6em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: left;
}

.page-support__content-block p {
  margin-bottom: 15px;
  color: #444444;
  text-align: left;
}

.page-support__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 25px 0;
  display: block;
}

.page-support__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-support__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #f7f7f7;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #26A9E0;
  list-style: none;
  position: relative;
}

.page-support__faq-item summary::-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: 20px 25px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  color: #444444;
  font-size: 0.95em;
}

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

.page-support__contact-card {
  padding: 30px;
  text-align: center;
}

.page-support__contact-icon {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support__responsible-gaming {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-support__responsible-gaming .page-support__section-title {
  color: #ffffff;
}

.page-support__responsible-gaming .page-support__text-block {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-support__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__dark-section .page-support__main-title,
.page-support__dark-section .page-support__hero-description {
  color: #ffffff;
}

.page-support__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__hero-image {
    max-height: 500px;
  }
}

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

  .page-support__hero-image {
    margin-bottom: 20px;
  }

  .page-support__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

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

  .page-support__video-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-support__video-container,
  .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__video-wrapper .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__content-area {
    padding: 30px 15px;
  }

  .page-support__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 15px;
  }

  .page-support__section-description,
  .page-support__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-support__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__card {
    padding: 25px;
  }

  .page-support__card p {
    text-align: center;
  }

  .page-support__content-block {
    padding: 30px;
  }

  .page-support__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
  }

  .page-support__content-block p {
    text-align: center;
  }

  .page-support__image {
    margin: 20px 0;
  }

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

  .page-support__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  .page-support__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__contact-icon {
    width: 150px;
    height: auto;
  }

  .page-support__responsible-gaming {
    padding: 40px 15px;
  }

  .page-support__responsible-gaming .page-support__text-block {
    font-size: 0.95em;
  }

  /* Ensure all images are responsive */
  .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,
  .page-support__contact-methods,
  .page-support__content-block,
  .page-support__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}