/* style/support.css */
:root {
  --primary-color: #0A246A;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0A246A;
  --accent-red: #DC3545; /* Small amount of red for emphasis */
}

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

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

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

.page-support .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-support .section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-dark);
}

.page-support .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-support .cta-button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-support .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1A3A7F 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-support .hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-support .hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-support .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-support .hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: var(--text-light);
  opacity: 0.9;
}

.page-support .hero-image {
  width: 100%;
  max-width: 700px;
  margin-top: 40px;
}

.page-support .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Contact Methods Section */
.page-support .contact-methods-section {
  background-color: var(--background-light);
}

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

.page-support .contact-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-support .contact-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

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

.page-support .contact-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support .contact-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-support .contact-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

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

.page-support .faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.faq-answer .page-support.cta-button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 1em;
}

/* Guides Section */
.page-support .guides-section {
  background-color: var(--background-light);
}

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

.page-support .guide-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-support .guide-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 4/3; /* Maintain aspect ratio */
}

.page-support .guide-card h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-support .guide-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-support .guide-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-support .guide-button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Responsible Gaming Section */
.page-support .responsible-gaming-section {
  background-color: #ffffff;
}

.page-support .gaming-content {
  display: flex;
  flex-direction: row;
  gap: 50px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-support .gaming-text {
  flex: 2;
}

.page-support .gaming-text h3 {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-support .gaming-text p {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-support .gaming-image {
  flex: 1;
  min-width: 300px;
}

.page-support .gaming-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support .hero-title {
    font-size: 3em;
  }
  .page-support .hero-description {
    font-size: 1.15em;
  }
  .page-support .gaming-content {
    flex-direction: column;
    align-items: center;
  }
  .page-support .gaming-image {
    margin-top: 30px;
    width: 80%;
  }
}

@media (max-width: 768px) {
  .page-support section {
    padding: 40px 0;
  }
  .page-support .section-title {
    font-size: 2em;
  }
  .page-support .section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-support .hero-title {
    font-size: 2.5em;
  }
  .page-support .hero-description {
    font-size: 1em;
  }
  .page-support .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-support .contact-grid, .page-support .guide-grid {
    grid-template-columns: 1fr;
  }
  .page-support .contact-card, .page-support .guide-card {
    padding: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-support .gaming-text h3 {
    font-size: 1.6em;
  }
  .page-support .gaming-text p {
    font-size: 0.95em;
  }
  .page-support .gaming-image {
    width: 100%;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .page-support .hero-title {
    font-size: 2em;
  }
  .page-support .hero-description {
    font-size: 0.9em;
  }
  .page-support .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-support .contact-card h3 {
    font-size: 1.4em;
  }
  .page-support .contact-card p {
    font-size: 0.9em;
  }
  .page-support .guide-card h3 {
    font-size: 1.3em;
  }
  .page-support .guide-card p {
    font-size: 0.85em;
  }
  .page-support .gaming-text h3 {
    font-size: 1.4em;
  }
  .page-support .gaming-text p {
    font-size: 0.9em;
  }
}