/* style/support.css */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Main brand color gradient */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-support__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-support__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

/* General Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-support__btn-primary {
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #000000; /* Dark text for auxiliary color background */
  border: 2px solid #ffc107;
}

.page-support__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #ffffff; /* White text for dark hero background */
  border: 2px solid #ffffff;
}

.page-support__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Section Styling */
.page-support__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: #007bff; /* Main brand color for titles */
}

.page-support__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-support__types-section,
.page-support__faq-section,
.page-support__responsible-gaming-section,
.page-support__conclusion-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* Light background for sections */
  color: #333333;
}

.page-support__contact-methods-section,
.page-support__security-section,
.page-support__getting-started-section {
  padding: 80px 0;
  background-color: #007bff; /* Dark background for sections */
  color: #ffffff;
}

.page-support__contact-methods-section .page-support__section-title,
.page-support__security-section .page-support__section-title,
.page-support__getting-started-section .page-support__section-title {
  color: #ffffff;
}

.page-support__contact-methods-section .page-support__section-intro,
.page-support__security-section .page-support__section-intro,
.page-support__getting-started-section .page-support__section-intro {
  color: #f0f0f0;
}

/* Grid Layouts */
.page-support__grid-two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

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

/* Card Styling */
.page-support__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-support__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-support__card-button {
  width: auto;
  padding: 10px 20px;
  font-size: 1em;
}

/* Contact Cards */
.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-support__contact-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-support__contact-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-support__contact-text {
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-support__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-support__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  background-color: #f0f8ff; /* Light blue background for questions */
  transition: background-color 0.3s ease;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-support__faq-item.active .page-support__faq-question {
  background-color: #e6f2ff;
}

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

/* Security Section */
.page-support__security-content h3,
.page-support__responsible-content h3 {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffc107; /* Auxiliary color for sub-titles in dark sections */
}

.page-support__security-content p,
.page-support__responsible-content p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-support__security-image-wrapper,
.page-support__responsible-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-support__security-image,
.page-support__responsible-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Getting Started Section */
.page-support__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-support__step-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-support__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffc107; /* Auxiliary color for step numbers */
  color: #000000;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-support__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-support__getting-started-cta {
  text-align: center;
  margin-top: 50px;
}

.page-support__conclusion-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 2.8em;
  }
  .page-support__section-title {
    font-size: 2em;
  }
  .page-support__grid-two-columns,
  .page-support__grid-three-columns {
    grid-template-columns: 1fr;
  }
  .page-support__security-content,
  .page-support__responsible-content {
    order: 2;
  }
  .page-support__security-image-wrapper,
  .page-support__responsible-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__hero-title {
    font-size: 2em;
  }
  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-bottom: 10px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-support__hero-cta-buttons,
  .page-support__conclusion-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__types-section,
  .page-support__contact-methods-section,
  .page-support__faq-section,
  .page-support__security-section,
  .page-support__responsible-gaming-section,
  .page-support__getting-started-section,
  .page-support__conclusion-section {
    padding: 40px 0;
  }
  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-support__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-support__card,
  .page-support__contact-card,
  .page-support__step-item {
    padding: 20px;
  }
  .page-support__card-image,
  .page-support__contact-icon,
  .page-support__security-image,
  .page-support__responsible-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  .page-support__card-image { height: 200px; }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-support__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 15px;
  }
  .page-support__security-content h3,
  .page-support__responsible-content h3 {
    font-size: 1.5em;
  }
  .page-support__security-content p,
  .page-support__responsible-content p {
    font-size: 0.95em;
  }
  .page-support__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-support__video-section, .page-support__video-container, .page-support__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-support video, .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}