:root {
  --okbet-primary-color: #F2C14E;
  --okbet-secondary-color: #FFD36B;
  --okbet-background-color: #0A0A0A;
  --okbet-card-bg-color: #111111;
  --okbet-text-main-color: #FFF6D6;
  --okbet-border-color: #3A2A12;
  --okbet-glow-color: #FFD36B;
  --okbet-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the support page */
.page-support {
  background-color: var(--okbet-background-color);
  color: var(--okbet-text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

.page-support__section-title {
  font-size: 2.8em;
  color: var(--okbet-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.page-support__section-description {
  font-size: 1.1em;
  color: var(--okbet-text-main-color);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__card {
  background-color: var(--okbet-card-bg-color);
  border: 1px solid var(--okbet-border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.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;
  overflow: hidden;
}

.page-support__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 40px; /* Space between image and content */
}

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

.page-support__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-support__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive H1 font size */
  color: var(--okbet-primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__intro-text {
  font-size: 1.2em;
  color: var(--okbet-text-main-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  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: var(--okbet-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background-color: var(--okbet-primary-color);
  color: var(--okbet-background-color);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
  transform: translateY(-2px);
}

/* Why Choose Us Section */
.page-support__why-choose-us-section {
  padding: 60px 0;
}

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

.page-support__feature-item {
  padding: 40px 25px;
}

.page-support__feature-title {
  font-size: 1.8em;
  color: var(--okbet-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-support__feature-text {
  font-size: 1em;
  color: var(--okbet-text-main-color);
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
}

.page-support__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-support__faq-illustration-wrapper {
  display: none; /* Hidden by default on desktop, shown on larger screens */
}

.page-support__faq-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-support__faq-items-wrapper {
  background-color: var(--okbet-card-bg-color);
  border-radius: 10px;
  padding: 20px;
}

.page-support__faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--okbet-border-color);
  padding-bottom: 15px;
}

.page-support__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

.page-support__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

.page-support__faq-title {
  font-size: 1.2em;
  color: var(--okbet-primary-color);
  margin: 0;
  text-align: left;
  flex-grow: 1;
}

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

.page-support__faq-question a:hover {
  color: var(--okbet-secondary-color);
}

.page-support__faq-toggle {
  font-size: 1.5em;
  color: var(--okbet-primary-color);
  margin-left: 15px;
  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 15px; /* Initial padding for collapsed state */
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
}

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

.page-support__faq-answer p {
  margin-bottom: 10px;
  color: var(--okbet-text-main-color);
}

.page-support__faq-answer a {
  color: var(--okbet-secondary-color);
  text-decoration: underline;
}

.page-support__faq-answer a:hover {
  color: var(--okbet-primary-color);
}

/* Contact Section */
.page-support__contact-section {
  padding: 60px 0;
}

.page-support__contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-support__contact-illustration-wrapper {
  display: none; /* Hidden by default on desktop, shown on larger screens */
}

.page-support__contact-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-support__contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-support__contact-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-support__contact-method-title {
  font-size: 1.6em;
  color: var(--okbet-primary-color);
  margin-bottom: 15px;
}

.page-support__contact-method-description {
  font-size: 1em;
  color: var(--okbet-text-main-color);
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Resources Section */
.page-support__resources-section {
  padding: 60px 0;
}

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

.page-support__resource-item {
  padding: 0;
  text-align: left;
  overflow: hidden;
}

.page-support__resource-image {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-support__resource-item .page-support__card {
  padding: 20px;
  border-radius: 0;
  border-top: none;
  text-align: left;
}

.page-support__resource-item .page-support__card:hover {
  transform: none;
  box-shadow: none;
}

.page-support__resource-title {
  font-size: 1.4em;
  color: var(--okbet-primary-color);
  margin: 0 0 10px 0;
  padding: 0 15px;
  text-align: left;
}

.page-support__resource-title a {
  color: var(--okbet-primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__resource-title a:hover {
  color: var(--okbet-secondary-color);
  text-decoration: underline;
}

.page-support__resource-text {
  font-size: 0.95em;
  color: var(--okbet-text-main-color);
  padding: 0 15px 15px;
  text-align: left;
}

/* Security Section */
.page-support__security-section {
  padding: 60px 0;
}

.page-support__security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-support__security-illustration-wrapper {
  display: none; /* Hidden by default on desktop, shown on larger screens */
}

.page-support__security-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-support__security-feature {
  padding: 30px;
}

.page-support__security-title {
  font-size: 1.6em;
  color: var(--okbet-primary-color);
  margin-bottom: 15px;
}

.page-support__security-text {
  font-size: 1em;
  color: var(--okbet-text-main-color);
}

/* About Links Section */
.page-support__about-links-section {
  padding: 60px 0;
  text-align: center;
}

.page-support__about-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-support__about-link {
  display: block;
  padding: 20px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--okbet-primary-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support__about-link:hover {
  background-color: var(--okbet-primary-color);
  color: var(--okbet-background-color);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-support__faq-grid,
  .page-support__contact-grid,
  .page-support__security-grid {
    grid-template-columns: 1fr 1fr; /* Two columns for larger screens */
    align-items: center;
  }

  .page-support__faq-illustration-wrapper,
  .page-support__contact-illustration-wrapper,
  .page-support__security-illustration-wrapper {
    display: block; /* Show illustrations on larger screens */
  }

  .page-support__faq-illustration-wrapper,
  .page-support__security-illustration-wrapper {
    order: 2; /* Image on right for FAQ and Security */
  }

  .page-support__faq-items-wrapper,
  .page-support__security-feature:first-child {
    order: 1; /* Content on left for FAQ and Security */
  }

  .page-support__contact-illustration-wrapper {
    order: 1; /* Image on left for Contact */
  }

  .page-support__contact-channels {
    order: 2; /* Content on right for Contact */
  }

  .page-support__hero-image-wrapper {
    height: 500px; /* Fixed height for desktop hero image */
  }

  .page-support__hero-image {
    height: 100%;
    object-position: center top;
  }

  .page-support__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 40px;
    background-color: rgba(10, 10, 10, 0.7); /* Semi-transparent overlay for readability */
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 10px;
  }

  .page-support__main-title,
  .page-support__intro-text {
    color: #ffffff; /* Ensure white text on semi-transparent dark background */
  }
}

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

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__section-description {
    font-size: 1em;
  }

  .page-support__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-support__hero-section {
    padding-bottom: 40px;
  }

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

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

  .page-support__main-title {
    font-size: 2.2em;
  }

  .page-support__intro-text {
    font-size: 1em;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__why-choose-us-section,
  .page-support__faq-section,
  .page-support__contact-section,
  .page-support__resources-section,
  .page-support__security-section,
  .page-support__about-links-section {
    padding: 40px 0;
  }

  .page-support__features-grid,
  .page-support__contact-channels,
  .page-support__resources-grid,
  .page-support__security-grid,
  .page-support__about-links-grid {
    gap: 20px;
  }

  /* Mobile responsive images */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* Mobile responsive containers for images/content */
  .page-support__hero-section,
  .page-support__why-choose-us-section .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__contact-section .page-support__container,
  .page-support__resources-section .page-support__container,
  .page-support__security-section .page-support__container,
  .page-support__about-links-section .page-support__container,
  .page-support__card,
  .page-support__hero-image-wrapper,
  .page-support__faq-items-wrapper,
  .page-support__contact-channels,
  .page-support__resources-grid,
  .page-support__security-grid,
  .page-support__about-links-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__faq-illustration-wrapper,
  .page-support__contact-illustration-wrapper,
  .page-support__security-illustration-wrapper {
    display: block; /* Show illustrations on mobile if desired, or remove */
    margin-bottom: 20px;
  }

  /* Ensure text in FAQ is left aligned */
  .page-support__faq-question {
    padding-left: 0;
    padding-right: 0;
  }
  .page-support__faq-question:hover {
    padding-left: 0;
    padding-right: 0;
  }
  .page-support__faq-answer {
    padding-left: 0;
    padding-right: 0;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* HERO section text overlay - remove on mobile */
  .page-support__hero-content {
    position: static;
    transform: none;
    background-color: transparent; /* Remove overlay */
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 0;
  }

  .page-support__main-title,
  .page-support__intro-text {
    color: var(--okbet-text-main-color); /* Revert to main text color */
  }
}

/* Contrast Fixes - already handled by color variables */
.page-support p, .page-support li, .page-support__feature-text, .page-support__contact-method-description, .page-support__resource-text, .page-support__security-text {
  color: var(--okbet-text-main-color); /* Ensure text is visible on dark background */
}

.page-support__main-title, .page-support__section-title, .page-support__feature-title, .page-support__faq-title, .page-support__contact-method-title, .page-support__resource-title, .page-support__security-title, .page-support__about-link {
  color: var(--okbet-primary-color); /* Ensure headings are visible */
}

.page-support__btn-primary {
  color: #ffffff; /* White text for primary button */
}

.page-support__btn-secondary {
  color: var(--okbet-primary-color); /* Primary color text for secondary button */
}

/* Ensure all links have proper contrast */
.page-support a {
  color: var(--okbet-secondary-color);
}

.page-support a:hover {
  color: var(--okbet-primary-color);
}