/* style/support.css */
.page-support {
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Body background from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-support__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  background-color: #0A0A0A;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
}

.page-support__hero-image-container {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-support__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #F2C14E;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-support__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__card-button,
.page-support__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-support__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

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

.page-support__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support__section-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-support__contact-options-section,
.page-support__common-issues-section,
.page-support__responsible-gaming-section,
.page-support__security-privacy-section,
.page-support__faq-section,
.page-support__why-choose-us-section,
.page-support__cta-bottom-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-support__contact-card,
.page-support__issue-card,
.page-support__advantage-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-support__contact-card:hover,
.page-support__issue-card:hover,
.page-support__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px #FFD36B50; /* Glow */
}

.page-support__contact-icon {
  width: 200px; /* Minimum 200px */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-support__card-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__card-text {
  color: #FFF6D6;
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__card-button,
.page-support__card-link {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  margin-top: auto;
}

.page-support__card-button:hover,
.page-support__card-link:hover {
  filter: brightness(1.1);
}

.page-support__image-block {
  text-align: center;
  margin-top: 50px;
}

.page-support__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-support__feature-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
}

.page-support__feature-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-support__feature-text {
  color: #FFF6D6;
  font-size: 0.95rem;
}

.page-support__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

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

.page-support__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: #2a2a2a;
}

.page-support__faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #F2C14E;
}

.page-support__faq-toggle {
  font-size: 1.8rem;
  color: #FFD36B;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 25px;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
}

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


/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-content {
    max-width: 768px;
  }
  .page-support__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-support__hero-description {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-support__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 30px;
  }
  .page-support__hero-image-container {
    max-height: 400px;
  }
  .page-support__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-support__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-support__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-support__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .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__contact-grid,
  .page-support__issues-grid,
  .page-support__responsible-features-grid,
  .page-support__security-features-grid,
  .page-support__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-support__contact-card,
  .page-support__issue-card,
  .page-support__advantage-card {
    padding: 25px;
  }
  .page-support__container {
    padding: 30px 15px;
  }
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__faq-question {
    padding: 18px 20px;
  }
  .page-support__faq-question h3 {
    font-size: 1rem;
  }
  .page-support__faq-toggle {
    font-size: 1.5rem;
  }
  .page-support__faq-answer {
    padding: 0 20px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-section {
    padding-bottom: 20px;
  }
  .page-support__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-support__hero-description {
    font-size: 0.95rem;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 12px 20px;
  }
  .page-support__section-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
  .page-support__section-description {
    font-size: 0.9rem;
  }
  .page-support__contact-card,
  .page-support__issue-card,
  .page-support__advantage-card {
    padding: 20px;
  }
  .page-support__card-title {
    font-size: 1.3rem;
  }
  .page-support__card-text {
    font-size: 0.9rem;
  }
  .page-support__card-button,
  .page-support__card-link {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
}