/* style/support.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default for dark body background */
    background-color: var(--dark-bg-1); /* Assuming shared.css defines --dark-bg-1 as dark */
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

@media (max-width: 768px) {
    .page-support {
        padding-top: 100px; /* Adjust for fixed header on mobile */
        font-size: 15px;
    }
}

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

.page-support__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-support__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-support__hero-banner {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), #2a4e8d);
}

@media (max-width: 768px) {
    .page-support__hero-banner {
        padding: 60px 15px;
    }
}

.page-support__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .page-support__main-title {
        font-size: 28px;
    }
}

.page-support__hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .page-support__hero-description {
        font-size: 16px;
    }
}

.page-support__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-support__section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.page-support__section-title--light {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .page-support__section-title {
        font-size: 24px;
    }
}

.page-support__section-intro {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

.page-support__section-intro--light {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .page-support__section-intro {
        font-size: 15px;
        margin-bottom: 30px;
    }
}

.page-support__contact-methods {
    padding: 60px 20px;
}

.page-support__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

@media (max-width: 768px) {
    .page-support__contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

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

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

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

@media (max-width: 768px) {
    .page-support__contact-icon {
        width: 80px;
        height: 80px;
    }
}

.page-support__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .page-support__card-title {
        font-size: 20px;
    }
}

.page-support__card-description {
    font-size: 16px;
    margin-bottom: 25px;
    flex-grow: 1;
    color: #555555;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    text-align: center;
}

.page-support__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-support__btn-primary:hover {
    background: #d8a804;
    border-color: #d8a804;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 10px; /* For vertical stacking in some cases */
}

.page-support__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support__faq-section {
    padding: 60px 20px;
}

.page-support__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-support__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-support__faq-question:active {
  background: #eeeeee;
}

.page-support__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-support__faq-item.active .page-support__faq-toggle {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .page-support__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-support__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-support__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-support__faq-answer {
    padding: 0 15px;
  }
  
  .page-support__faq-item.active .page-support__faq-answer {
    padding: 15px !important;
  }
}

.page-support__guides-section {
    padding: 60px 20px;
}

.page-support__guide-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-support__guide-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__guide-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-support__guide-item a {
    display: block;
    padding: 20px;
    font-size: 18px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.page-support__guide-item a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .page-support__guide-item a {
        font-size: 16px;
        padding: 15px;
    }
}

.page-support__responsible-gaming-promo {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #2a4e8d);
}

.page-support__responsible-gaming-content {
    max-width: 800px;
}

.page-support__responsible-gaming-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .page-support__responsible-gaming-icon {
        width: 100px;
        height: 100px;
    }
}

/* Ensure all images are responsive */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-support__container,
    .page-support__contact-methods,
    .page-support__faq-section,
    .page-support__guides-section,
    .page-support__responsible-gaming-promo {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}