/* style/support.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #2c3e50;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

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

.page-support a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-support a:hover {
  text-decoration: underline;
}

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

.page-support section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-support section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-support h1,
.page-support h2,
.page-support h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
}

.page-support h1 {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-support h2 {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
  display: inline-block;
  margin: 0 auto 40px auto;
}

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

.page-support p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--text-dark);
  text-align: center;
}

.page-support .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  overflow: hidden;
}

.page-support .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-support .hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  display: block;
}

.page-support .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-support .hero-content p {
  color: var(--text-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

.page-support .cta-button:hover {
  background: #e0a800; /* Slightly darker secondary color */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-dark);
  text-decoration: none;
}

/* Contact Channels Section */
.page-support .contact-channels-section {
  background-color: var(--background-light);
  text-align: center;
}

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

.page-support .channel-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-support .channel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-support .channel-card .channel-icon {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-support .channel-card h3 {
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
  text-align: center;
}

.page-support .channel-card p {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  text-align: center;
}

.page-support .channel-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
}

.page-support .channel-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  text-decoration: none;
}

/* FAQ Section */
.page-support .faq-section {
  background-color: #ffffff;
  text-align: center;
}

.page-support .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-dark);
  text-align: left;
  flex-grow: 1;
}

.faq-toggle {
  font-size: 2em;
  font-weight: 300;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
  margin-left: 15px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  font-size: 1em;
  color: #555;
  text-align: left;
  margin-bottom: 0;
}

/* Responsible Gaming & Terms Sections */
.page-support .responsible-gaming-section, 
.page-support .terms-conditions-section {
  background-color: var(--background-light);
  text-align: center;
}

.page-support .content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-support .content-wrapper.reverse-layout {
  flex-direction: row-reverse;
}

.page-support .content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-support .text-content {
  flex: 1;
  max-width: 50%;
}

.page-support .text-content p {
  text-align: left;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-support .link-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-support .link-list li {
  margin-bottom: 10px;
}

.page-support .link-list a {
  display: inline-block;
  padding: 10px 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.page-support .link-list a:hover {
  background-color: #0056b3;
  text-decoration: none;
}

/* Final CTA Section */
.page-support .final-cta-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.page-support .final-cta-section h2 {
  color: var(--text-light);
  margin-bottom: 25px;
  border-bottom-color: var(--secondary-color);
}

.page-support .final-cta-section p {
  color: var(--text-light);
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-support .final-cta-section .cta-button {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-support .final-cta-section .cta-button:hover {
  background: #e0a800;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-support h1 {
    font-size: 2.8em;
  }
  .page-support h2 {
    font-size: 2em;
  }
  .page-support h3 {
    font-size: 1.5em;
  }
  .page-support p {
    font-size: 1em;
  }
  .page-support .hero-section {
    padding: 60px 15px;
  }
  .page-support .hero-image {
    max-width: 100%;
    margin-bottom: 20px;
  }
  .page-support .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-support .channels-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-support .channel-card {
    padding: 25px;
  }
  .page-support .channel-card .channel-icon {
    width: 120px;
    height: 120px;
  }
  .page-support .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-support .content-image,
  .page-support .text-content {
    max-width: 100%;
  }
  .page-support .content-wrapper.reverse-layout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-support h1 {
    font-size: 2.2em;
  }
  .page-support h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-support h3 {
    font-size: 1.3em;
  }
  .page-support p {
    font-size: 0.95em;
  }
  .page-support section {
    padding: 40px 0;
  }
  .page-support .hero-section {
    padding: 40px 15px;
  }
  .page-support .hero-content p {
    font-size: 1em;
  }
  .page-support .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-support .channels-grid {
    grid-template-columns: 1fr;
  }
  .page-support .channel-card .channel-icon {
    width: 100px;
    height: 100px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-support .final-cta-section {
    padding: 60px 15px;
  }
  .page-support .final-cta-section p {
    font-size: 1.1em;
  }
}