/* style/support.css */

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

/* Base styles for the page content, considering body background is dark */
.page-support {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Light text for dark background */
  background-color: var(--background-color);
  line-height: 1.6;
  font-size: 16px;
}

.page-support__dark-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-support__light-bg {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  text-align: center;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-support__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 40px;
}

.page-support__main-title {
  color: var(--gold-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

.page-support__hero-description {
  color: var(--text-main-color);
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-support__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* FAQ Section */
.page-support__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-support__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-support__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
  color: var(--text-main-color);
  font-weight: bold;
  font-size: 1.1em;
  background-color: var(--deep-green-color);
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-support__faq-toggle {
  font-size: 1.5em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-support__faq-answer {
  padding: 15px 20px;
  background-color: var(--card-bg-color);
  color: var(--text-secondary-color);
  font-size: 1em;
  border-top: 1px solid var(--divider-color);
}

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

.page-support__contact-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main-color);
}

.page-support__contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.page-support__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-support__card-text {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support__btn-primary {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-1px);
}

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

.page-support__guide-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color);
}

.page-support__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-support__guide-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-support__guide-card .page-support__card-title {
  margin: 20px 15px 10px;
  font-size: 1.3em;
}

.page-support__guide-card .page-support__card-title a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__guide-card .page-support__card-title a:hover {
  color: var(--glow-color);
}

.page-support__guide-card .page-support__card-text {
  margin: 0 15px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-support__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-top: auto;
  margin-bottom: 20px;
  max-width: calc(100% - 40px); /* Adjust for padding */
  width: auto;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-main-color);
  transform: translateY(-1px);
}

/* Responsible Gaming Section */
.page-support__responsible-gaming-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-support__responsible-gaming-text {
  flex: 1;
  text-align: left;
}

.page-support__responsible-gaming-text p {
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

.page-support__responsible-gaming-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-support__responsible-gaming-text ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%2311A84E"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-main-color);
}

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

.page-support__responsible-gaming-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Why Choose Us Section */
.page-support__why-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-support__why-list li {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  font-size: 1.1em;
  color: var(--text-main-color);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-support__why-list li strong {
  color: var(--gold-color);
  font-size: 1.2em;
  line-height: 1.2;
}

.page-support__why-list li::before {
  content: '✓';
  color: var(--primary-color);
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1;
  margin-top: -3px;
}

.page-support__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__content-area {
    padding: 40px 20px;
  }

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

  .page-support__hero-description {
    font-size: 1.1em;
  }

  .page-support__responsible-gaming-content {
    flex-direction: column;
    text-align: center;
  }

  .page-support__responsible-gaming-text {
    text-align: center;
  }
  
  .page-support__responsible-gaming-text ul {
    padding-left: 20px;
    text-align: left;
  }

  .page-support__responsible-gaming-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

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

  .page-support__content-area {
    padding: 30px 15px;
  }

  .page-support__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

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

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

  .page-support__contact-methods,
  .page-support__guide-cards,
  .page-support__why-list {
    grid-template-columns: 1fr;
  }

  /* Image responsive */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-image-wrapper,
  .page-support__contact-card,
  .page-support__guide-card,
  .page-support__responsible-gaming-image-wrapper,
  .page-support__why-list li,
  .page-support__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-section {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px !important;
  }

  /* Buttons responsive */
  .page-support__cta-button,
  .page-support__btn-primary,
  .page-support__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 1em;
  }
  
  .page-support__contact-card .page-support__btn-primary,
  .page-support__guide-card .page-support__btn-secondary {
    margin-left: 0;
    margin-right: 0;
  }

  .page-support__contact-card,
  .page-support__guide-card {
    padding: 20px;
  }

  .page-support__responsible-gaming-text ul li {
    background-size: 16px;
    padding-left: 25px;
  }
}

@media (max-width: 480px) {
  .page-support__hero-image-wrapper {
    max-height: 300px;
  }
  .page-support__hero-content {
    padding: 15px;
  }
  .page-support__section-title {
    font-size: 1.5em;
  }
  .page-support__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 10px 15px;
  }
  .page-support__contact-icon {
    width: 80px;
    height: 80px;
  }
  .page-support__card-title {
    font-size: 1.3em;
  }
}