/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  line-height: 1.6;
}

.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;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #7A0E0E; /* Deep Red */
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

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

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #FFD86A; /* Gold-like for emphasis */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__intro-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

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

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-support__btn-secondary {
  background-color: #C91F17; /* Main color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support__btn-secondary:hover {
  background-color: #E53935; /* Accent color */
  border-color: #FFCC66; /* Glow */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-support__faq-section,
.page-support__contact-section,
.page-support__security-section,
.page-support__responsible-gaming-section,
.page-support__policies-section,
.page-support__final-cta-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

.page-support__faq-section {
  background-color: #D32F2F; /* Card BG */
}

.page-support__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #FFD86A; /* Gold-like */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-support__section-description {
  font-size: 1.05rem;
  color: #FFF5E1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background-color: #C91F17; /* Main color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #E53935; /* Accent color border */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFF5E1;
  cursor: pointer;
  background-color: #C91F17; /* Main color */
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #E53935; /* Accent color */
}

.page-support__faq-qtext {
  flex-grow: 1;
}

.page-support__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−';
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF5E1;
  line-height: 1.7;
}

/* Details element specific styling */
.page-support__faq-item summary {
  list-style: none;
}
.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-support__contact-card,
.page-support__security-card,
.page-support__responsible-gaming-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #F2B544; /* Border color */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__contact-icon,
.page-support__security-icon,
.page-support__responsible-gaming-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-support__contact-title,
.page-support__security-title,
.page-support__responsible-gaming-title {
  font-size: 1.5rem;
  color: #FFD86A; /* Gold-like */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__contact-text,
.page-support__security-text,
.page-support__responsible-gaming-text {
  font-size: 1rem;
  color: #FFF5E1;
  margin-bottom: 25px;
  line-height: 1.7;
}

.page-support__policies-section {
  background-color: #7A0E0E; /* Deep Red */
}

.page-support__policy-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

.page-support__policy-item {
  margin-bottom: 10px;
  background-color: #C91F17; /* Main color */
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid #E53935;
}

.page-support__policy-item a {
  color: #FFD86A; /* Gold-like */
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  transition: color 0.3s ease;
}

.page-support__policy-item a:hover {
  color: #FFCC66; /* Glow */
  text-decoration: underline;
}

.page-support__final-cta-section {
  background-color: #B71C1C; /* Background */
  padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-content {
    max-width: 700px;
  }
  .page-support__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-support__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__security-section,
  .page-support__responsible-gaming-section,
  .page-support__policies-section,
  .page-support__final-cta-section {
    padding: 40px 0;
  }

  .page-support__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__hero-image,
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__contact-card,
  .page-support__security-card,
  .page-support__responsible-gaming-card,
  .page-support__faq-item,
  .page-support__policy-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-support__intro-text,
  .page-support__section-description {
    font-size: 1rem;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    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__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-support__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  .page-support__contact-methods,
  .page-support__security-features,
  .page-support__responsible-gaming-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__contact-card,
  .page-support__security-card,
  .page-support__responsible-gaming-card {
    padding: 25px;
  }

  .page-support__contact-icon,
  .page-support__security-icon,
  .page-support__responsible-gaming-icon {
    width: 80px;
    height: 80px;
  }

  .page-support__policy-list {
    max-width: 100%;
  }
  .page-support__policy-item {
    padding: 12px 15px;
  }
  .page-support__policy-item a {
    font-size: 1rem;
  }
}