:root {
  --primary-color: #1A1A2E;
  --secondary-color: #E94560;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f4f4;
  --background-dark: #0f0f1c;
  --card-background: #2a2a3e;
  --border-color: #44445c;
}

.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-support-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-support-section {
  padding: 60px 0;
  text-align: center;
}

.page-support-section:nth-of-type(even) {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-support-section:nth-of-type(even) h2,
.page-support-section:nth-of-type(even) h3 {
  color: var(--secondary-color);
}

.page-support-section:nth-of-type(odd) h2,
.page-support-section:nth-of-type(odd) h3 {
  color: var(--primary-color);
}

.page-support h1 {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-support h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-support h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-support h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-support p {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-support-button:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-support-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a3a5c 100%);
  color: var(--text-light);
  padding: 80px 0 40px;
}

.page-support-hero-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-support-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-support-hero h1 {
  color: var(--text-light);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-support-hero p {
  font-size: 1.2em;
  line-height: 1.8;
  color: #e0e0e0;
}

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

.page-support-contact-item {
  background-color: var(--card-background);
  color: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-support-contact-item:hover {
  transform: translateY(-8px);
  background-color: #3a3a5c;
}

.page-support-contact-item h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-support-contact-item p {
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
  margin-bottom: 20px;
}

.page-support-contact-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-support-contact-item a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-support-contact-item a:hover {
  color: var(--text-light);
}

/* FAQ Section */
.page-support-faq-list {
  margin-top: 40px;
  text-align: left;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-background);
  color: var(--text-light);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #2a2a3e;
}

.faq-question h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.3em;
}

.faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--text-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding: 0 25px;
  color: #c0c0c0;
  background-color: var(--card-background);
}

.faq-item.active .faq-answer {
  max-height: 600px; /* Đủ lớn để chứa nội dung */
  padding: 25px;
}

.faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.7;
  text-align: left;
}

.faq-answer .page-support-button {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Responsible Gaming, Security & Privacy, Terms */
.page-support-responsible-gaming,
.page-support-security-privacy,
.page-support-terms {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-support-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support h1 {
    font-size: 2.8em;
  }
  .page-support h2 {
    font-size: 2.2em;
  }
  .page-support h3 {
    font-size: 1.5em;
  }
  .page-support p {
    font-size: 1em;
  }
  .page-support-hero-image {
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .page-support-section {
    padding: 40px 0;
  }
  .page-support h1 {
    font-size: 2.2em;
  }
  .page-support h2 {
    font-size: 1.8em;
  }
  .page-support h3 {
    font-size: 1.3em;
  }
  .page-support p {
    font-size: 0.95em;
  }
  .page-support-contact-grid {
    grid-template-columns: 1fr;
  }
  .page-support-contact-item {
    padding: 25px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .faq-answer {
    padding: 15px 20px;
  }
  .page-support-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support-hero-image {
    border-radius: 8px;
  }
  .page-support-image {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .page-support h1 {
    font-size: 1.8em;
  }
  .page-support h2 {
    font-size: 1.5em;
  }
  .page-support h3 {
    font-size: 1.1em;
  }
  .page-support-hero-image {
    margin-bottom: 20px;
  }
  .page-support-contact-icon {
    width: 80px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
}