/* style/support.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f4f7f6;
  --bg-dark: #1a1a1a;
  --border-color: #e0e0e0;
}

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

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

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

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

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

.page-support .cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.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;
}

.page-support .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-support .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support .hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

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

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

.page-support .contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support .card-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-support .card-text {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 25px;
}

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

.page-support .card-button:hover {
  background: #e6c200;
}

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

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

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

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

.faq-question:hover {
  background: #1c3d82;
}

.page-support .faq-question-title {
  font-size: 1.25em;
  margin: 0;
  color: var(--text-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
}

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

.faq-answer p {
  margin: 0;
}

/* Troubleshooting Section */
.page-support .troubleshooting-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

.page-support .troubleshooting-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .troubleshooting-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-support .item-image {
  width: 180px; 
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-support .item-text {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 25px;
}

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

.page-support .item-button:hover {
  background: #1c3d82;
}

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

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

.page-support .rg-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

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

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

.page-support .rg-text {
  font-size: 1em;
  color: var(--text-dark);
}

/* Feedback Section */
.page-support .feedback-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-support .feedback-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-support .form-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.page-support .form-group {
  margin-bottom: 20px;
}

.page-support .form-label {
  display: block;
  font-size: 1em;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-support .form-input, .page-support .form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support .form-input:focus, .page-support .form-textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

.page-support .form-textarea {
  resize: vertical;
}

.page-support .submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-support .submit-button:hover {
  background: #1c3d82;
  transform: translateY(-2px);
}

.page-support .form-note {
  text-align: center;
  margin-top: 25px;
  font-size: 0.95em;
  color: var(--text-dark);
}

.page-support .form-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Security & Privacy Section */
.page-support .security-privacy-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-support .feature-item {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

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

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

.page-support .feature-text {
  font-size: 1em;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support .hero-title {
    font-size: 3em;
  }
  .page-support .hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-support .section-title {
    font-size: 2em;
  }
  .page-support .section-description {
    font-size: 1em;
  }
  .page-support .hero-title {
    font-size: 2.5em;
  }
  .page-support .hero-image {
    margin-bottom: 20px;
  }
  .page-support .hero-image img {
    border-radius: 8px;
  }
  .page-support .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-support .contact-cards, .page-support .troubleshooting-grid, .page-support .responsible-gaming-content, .page-support .security-features {
    grid-template-columns: 1fr;
  }
  .page-support .contact-card, .page-support .troubleshooting-item, .page-support .rg-item, .page-support .feature-item {
    padding: 25px;
  }
  .page-support .card-title, .page-support .item-title, .page-support .rg-title, .page-support .feature-title {
    font-size: 1.5em;
  }
  .faq-question {
    padding: 15px;
  }
  .page-support .faq-question-title {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
  .page-support .feedback-form {
    padding: 25px;
  }
  .page-support .form-label {
    font-size: 0.95em;
  }
  .page-support .form-input, .page-support .form-textarea {
    padding: 10px 12px;
    font-size: 0.95em;
  }
  .page-support .submit-button {
    font-size: 1.1em;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .page-support .section-title {
    font-size: 1.8em;
  }
  .page-support .hero-title {
    font-size: 2em;
  }
  .page-support .hero-description {
    font-size: 0.95em;
  }
  .page-support .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-support .card-icon {
    width: 90px;
    height: 90px;
  }
  .page-support .item-image {
    width: 150px;
    height: 150px;
  }
  .page-support .rg-icon, .page-support .feature-icon {
    width: 80px;
    height: 80px;
  }
}