/* style/support.css */

/* Custom Colors */
:root {
  --hitclub-primary: #11A84E;
  --hitclub-secondary: #22C768;
  --hitclub-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --hitclub-card-bg: #11271B;
  --hitclub-background: #08160F;
  --hitclub-text-main: #F2FFF6;
  --hitclub-text-secondary: #A7D9B8;
  --hitclub-border: #2E7A4E;
  --hitclub-glow: #57E38D;
  --hitclub-gold: #F2C14E;
  --hitclub-divider: #1E3A2A;
  --hitclub-deep-green: #0A4B2C;
}

/* General Page Styling */
.page-support {
  color: var(--hitclub-text-main); /* Default text color for dark background */
  background-color: var(--hitclub-background);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-support__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--hitclub-gold);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-support__text-block {
  font-size: 18px;
  color: var(--hitclub-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  color: var(--hitclub-text-main);
  background-color: var(--hitclub-deep-green);
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--hitclub-background) 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-support__main-title {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  color: var(--hitclub-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-support__description {
  font-size: 20px;
  color: var(--hitclub-text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: var(--hitclub-button-gradient);
  color: var(--hitclub-text-main);
  border: none;
}

.page-support__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  opacity: 0.9;
}

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

.page-support__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background-color: rgba(242, 193, 78, 0.1);
}

/* Contact Methods Section */
.page-support__contact-methods {
  padding: 80px 0;
  background-color: var(--hitclub-background);
  color: var(--hitclub-text-main);
}

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

.page-support__method-card {
  background-color: var(--hitclub-card-bg);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--hitclub-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support__method-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%; /* Example: if icons are circular */
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-support__method-title {
  font-size: 24px;
  color: var(--hitclub-text-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__method-description {
  font-size: 16px;
  color: var(--hitclub-text-secondary);
  margin-bottom: 25px;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: var(--hitclub-deep-green);
  color: var(--hitclub-text-main);
}

.page-support__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__faq-item {
  background-color: var(--hitclub-card-bg);
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--hitclub-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  overflow: hidden;
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: 600;
  color: var(--hitclub-text-main);
  cursor: pointer;
  background-color: var(--hitclub-card-bg);
  transition: background-color 0.3s ease;
}

.page-support__faq-question:hover {
  background-color: rgba(var(--hitclub-primary), 0.1);
}

.page-support__faq-item[open] .page-support__faq-question {
  background-color: var(--hitclub-primary);
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  margin-left: 15px;
  color: var(--hitclub-gold);
}

.page-support__faq-item[open] .page-support__faq-toggle {
  color: #ffffff;
}

.page-support__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--hitclub-text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
  max-height: 500px; /* Adjust as needed */
  transition: max-height 0.3s ease-in;
}

.page-support__faq-answer p {
  margin-bottom: 15px;
}

.page-support__faq-answer .page-support__btn-secondary {
  margin-top: 15px;
  display: inline-block;
}

/* Responsible Gaming Section */
.page-support__responsible-gaming {
  padding: 80px 0;
  background-color: var(--hitclub-background);
  color: var(--hitclub-text-main);
  text-align: center;
}

.page-support__responsible-gaming .page-support__text-block {
  margin-bottom: 50px;
}

/* Bottom CTA Section */
.page-support__cta-bottom {
  padding: 80px 0;
  background-color: var(--hitclub-deep-green);
  color: var(--hitclub-text-main);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .page-support__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-support__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-support__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-support__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px;
  }

  .page-support__section-title {
    font-size: clamp(24px, 7vw, 38px);
    margin-bottom: 20px;
  }

  .page-support__text-block {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-support__method-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-support__method-card {
    padding: 25px;
  }

  .page-support__method-icon {
    min-width: 200px !important;
    min-height: 200px !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__faq-question {
    font-size: 18px;
    padding: 18px 20px;
  }

  .page-support__faq-answer {
    padding: 0 20px 18px 20px;
    font-size: 15px;
  }

  /* Image responsive rules */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__hero-image-wrapper,
  .page-support__contact-methods .page-support__container,
  .page-support__faq-section .page-support__container,
  .page-support__responsible-gaming .page-support__container,
  .page-support__cta-bottom .page-support__container,
  .page-support__method-card,
  .page-support__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Ensure no horizontal scroll for main content */
  .page-support {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-support__hero-content {
    margin-top: -40px;
    padding: 20px 10px;
  }
  .page-support__main-title {
    font-size: clamp(24px, 10vw, 36px);
  }
  .page-support__description {
    font-size: 15px;
  }
  .page-support__section-title {
    font-size: clamp(22px, 8vw, 32px);
  }
  .page-support__text-block {
    font-size: 15px;
  }
}

/* Details/Summary specific styling to reset default browser styles */
.page-support__faq-item summary {
  list-style: none;
}
.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}