:root {
  --primary-color: #8B0000; /* Deep Red */
  --secondary-color: #FFD700; /* Gold */
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #0d0d0d;
  --background-light: #f1f3f5;
  --card-background-dark-theme: rgba(255, 255, 255, 0.08);
  --card-background-light-theme: #ffffff;
  --border-color: rgba(255, 255, 255, 0.15);
}

.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Inherited from body via shared.css */
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

@media (max-width: 768px) {
  .page-support {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
  }
}

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

.page-support__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-dark-bg);
}

.page-support__light-bg {
  background-color: var(--background-light);
  color: var(--text-color-light-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.page-support__main-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-support__section-intro {
  font-size: 17px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 180px;
}

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

.page-support__btn-primary:hover {
  background: #a30000;
  border-color: #a30000;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-support__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-color-light-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Guides Section */
.page-support__guides-section .page-support__container {
  padding: 60px 20px;
}

.page-support__guide-card-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-support__guide-card {
  background: var(--card-background-light-theme);
  color: var(--text-color-light-bg);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-support__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.page-support__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support__card-text {
  font-size: 16px;
  margin-bottom: 20px;
}

.page-support__guide-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

.page-support__guide-list li {
  background: rgba(255, 255, 255, 0.9);
  border-left: 4px solid var(--secondary-color);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 15px;
  color: var(--text-color-light-bg);
}

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

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

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--card-background-dark-theme);
  border: 1px solid var(--border-color);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-color-dark-bg);
  background: rgba(255, 255, 255, 0.05);
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background-dark-theme);
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-dark-bg);
}

.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary-color);
}

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

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-color-dark-bg);
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

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

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

.page-support__contact-card {
  background: var(--card-background-light-theme);
  color: var(--text-color-light-bg);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

/* Responsible Gambling & Security Sections */
.page-support__responsible-gambling-section .page-support__container,
.page-support__security-privacy-section .page-support__container {
  padding: 60px 20px;
}

.page-support__responsible-gambling-content,
.page-support__security-privacy-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-support__responsible-gambling-image,
.page-support__security-image {
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__text-block {
  flex: 1;
  min-width: 300px;
}

.page-support__text-block p {
  margin-bottom: 15px;
}

.page-support__link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-support__link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__main-title {
    font-size: 38px;
  }
  .page-support__section-title {
    font-size: 32px;
  }
  .page-support__sub-title {
    font-size: 22px;
  }
  .page-support__description,
  .page-support__section-intro,
  .page-support__card-text,
  .page-support__guide-list li,
  .page-support__text-block p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-support__container {
    padding: 30px 15px;
  }
  .page-support__main-title {
    font-size: 32px;
  }
  .page-support__section-title {
    font-size: 28px;
  }
  .page-support__sub-title {
    font-size: 20px;
  }
  .page-support__description,
  .page-support__section-intro,
  .page-support__card-text,
  .page-support__guide-list li,
  .page-support__text-block p {
    font-size: 15px;
  }
  .page-support__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-support__guide-card-wrapper,
  .page-support__contact-methods {
    grid-template-columns: 1fr;
  }
  .page-support__responsible-gambling-content,
  .page-support__security-privacy-content {
    flex-direction: column;
  }
  .page-support__responsible-gambling-image,
  .page-support__security-image {
    max-width: 100%;
    order: -1; /* Image first on mobile */
  }
  .page-support__security-privacy-content .page-support__security-image {
    order: 1;
  }
  .page-support img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-support__intro-section .page-support__container,
  .page-support__guides-section .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__contact-section .page-support__container,
  .page-support__responsible-gambling-section .page-support__container,
  .page-support__security-privacy-section .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: 15px;
    flex-wrap: wrap;
  }
  .page-support__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-support__faq-answer {
    padding: 0 15px;
  }
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 28px;
  }
  .page-support__section-title {
    font-size: 24px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
}