:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a; /* From shared.css body background */
  --btn-login-color: #EA7C07;
}

.page-support {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency if section backgrounds are not full width */
  font-family: Arial, sans-serif;
  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;
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--bg-dark); /* Ensure dark background for the section */
}

.page-support__hero-image {
  width: 100%; /* Ensure image fills its container */
  max-width: 1200px; /* Limit image width to container */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px; /* Space between image and text */
}

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light); /* Text on dark background */
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color); /* White for prominence */
}

.page-support__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
  width: auto; /* Default width */
}

.page-support__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-support__btn-primary:hover {
  background-color: #1e8bc3; /* Slightly darker primary color */
  border-color: #1e8bc3; /* Slightly darker primary color */
}

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-support__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Common Section Styles */
.page-support__methods-section,
.page-support__faq-section,
.page-support__contact-info-section,
.page-support__safety-section,
.page-support__responsible-gambling-section,
.page-support__video-section {
  padding: 80px 0;
  text-align: center;
}

.page-support__dark-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
  color: var(--text-light);
}

.page-support__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-support__text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-support__text--small {
  font-size: 0.9rem;
  margin-top: 30px;
  color: #cccccc;
}

.page-support__text a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Methods Section */
.page-support__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

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

.page-support__method-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px; /* Max size for icon */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__method-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-support__method-description {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow description to grow */
}

/* Video Section */
.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  width: 100%; /* Important for desktop */
  margin: 40px auto;
  background-color: #000;
  border-radius: 12px;
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it behaves as a block element */
}

.page-support__video-cta {
  margin-top: 30px;
}

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

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-support__faq-item summary {
  display: block; /* For details tag */
  list-style: none; /* Hide default marker */
}
.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-support__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #cccccc;
}
.page-support__faq-answer p {
  margin-bottom: 0;
  color: #cccccc; /* Ensure paragraph text color is light */
}

/* Contact Info Section */
.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-support__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.page-support__contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-support__contact-description {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Safety and Responsible Gambling Sections */
.page-support__safety-list,
.page-support__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-support__safety-item,
.page-support__responsible-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #e0e0e0;
  display: flex;
  align-items: center;
}

.page-support__safety-item::before,
.page-support__responsible-item::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 0 15px;
  }

  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

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

  .page-support__description {
    font-size: 1rem;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-support__methods-section,
  .page-support__faq-section,
  .page-support__contact-info-section,
  .page-support__safety-section,
  .page-support__responsible-gambling-section,
  .page-support__video-section {
    padding: 50px 0;
  }

  .page-support__heading {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-support__text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

  .page-support__method-card,
  .page-support__contact-card {
    padding: 25px;
  }

  .page-support__method-title,
  .page-support__contact-title {
    font-size: 1.3rem;
  }

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

  .page-support__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  .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__video-section,
  .page-support__video-container,
  .page-support__video-wrapper,
  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-support__video-section {
    padding-top: 10px !important;
  }
  
  .page-support__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stack for buttons */
  }
}