:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the support page */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Assuming dark body background, use light text */
  background-color: var(--background); /* Use site-wide background color */
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background: var(--deep-green); /* Use a dark green for hero background if image is not full width */
  overflow: hidden; /* Ensure no overflow */
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image wrapper */
  margin-bottom: 30px; /* Space between image and content */
  box-sizing: border-box;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  min-height: 200px; /* Minimum image size */
}

.page-support__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-support__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-support__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-support__cta-group {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* General Section Styling */
.page-support__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-support__section-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-support__dark-section {
  background-color: var(--background); /* Use the deep green background */
  padding: 60px 20px;
}

/* Card Styling (General) */
.page-support__card {
  background-color: var(--card-bg); /* Dark green for card background */
  border: 1px solid var(--border); /* Green border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow); /* Add glow on hover */
}

.page-support__card-title {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1; /* Make text take up available space */
}

.page-support__card-button {
  display: inline-block;
  background: var(--button); /* Gradient button */
  color: #ffffff; /* White text on button */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  min-width: 120px;
  box-sizing: border-box;
}

.page-support__card-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 60px 20px;
  background-color: var(--background); /* Dark background */
}

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

.page-support__method-icon {
  width: 100%; /* Ensure it respects container width */
  height: auto; /* Maintain aspect ratio */
  max-width: 250px; /* Example max size for card icons */
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
  border-radius: 8px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 20px;
  background-color: var(--deep-green); /* A slightly different dark green */
}

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

.page-support__faq-item {
  margin-bottom: 20px;
  overflow: hidden; /* Ensure content doesn't overflow when collapsed */
  list-style: none; /* Remove default marker for details */
}

.page-support__faq-item > summary {
  list-style: none; /* For Webkit browsers */
}

.page-support__faq-item > summary::-webkit-details-marker {
  display: none; /* For Webkit browsers */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--card-bg); /* Dark green for question background */
  border-bottom: 1px solid var(--border); /* Green border */
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: var(--deep-green); /* Slightly darker on hover */
}

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

.page-support__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--glow); /* Glow color for the toggle icon */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'X' or '-' */
}

.page-support__faq-answer {
  padding: 20px;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter card background */
  border-radius: 0 0 12px 12px;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-top: none;
}

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

.page-support__faq-link {
  color: var(--glow); /* Gold color for links */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-support__faq-link:hover {
  color: var(--gold); /* Slightly different color on hover */
  text-decoration: underline;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  padding: 60px 20px;
  background-color: var(--background); /* Dark background */
}

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

.page-support__responsible-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
}

/* Security & Privacy Section */
.page-support__security-privacy {
  padding: 60px 20px;
  background-color: var(--deep-green); /* A slightly different dark green */
}

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

.page-support__security-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__security-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
}

/* Feedback Section */
.page-support__feedback-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--background); /* Dark background */
}

/* Conclusion Section */
.page-support__conclusion {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--deep-green); /* A slightly different dark green */
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-support__btn-primary {
  background: var(--button); /* Gradient button */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-support__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow);
}

.page-support__btn-secondary {
  background-color: transparent;
  color: var(--glow); /* Gold text */
  border: 2px solid var(--glow); /* Gold border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-support__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(87, 227, 141, 0.1); /* Slight background on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2), 0 0 10px var(--glow);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-support__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

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

  .page-support__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  }

  .page-support__container {
    padding: 30px 15px;
  }

  .page-support__dark-section {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Images responsive styles */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsive styles - No video in this page, but keeping for general rule compliance */
  .page-support video,
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  .page-support__hero-section {
    padding: 30px 15px;
    padding-top: 10px;
  }

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

  .page-support__hero-content {
    padding: 0 10px;
  }

  .page-support__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-support__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-support__cta-group {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Button responsive styles */
  .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; /* Add padding to prevent text touching edges */
    padding-right: 15px; /* Add padding to prevent text touching edges */
  }
  
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-support__cta-buttons {
    display: flex;
    flex-direction: column; /* Mobile buttons stack */
  }

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

  .page-support__section-intro {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-support__container {
    padding: 20px 15px;
  }

  .page-support__dark-section {
    padding: 30px 15px;
  }

  .page-support__methods-grid,
  .page-support__responsible-grid,
  .page-support__security-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-support__card {
    padding: 25px;
  }

  .page-support__card-title {
    font-size: 1.2rem;
  }

  .page-support__card-text {
    font-size: 0.9rem;
  }

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

  .page-support__faq-answer {
    padding: 15px;
    font-size: 0.9rem;
  }
}