/* style/support.css */

/* Base styles for the support page content */
.page-support {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding: 20px 0;
}

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

.page-support__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-support__text-block {
  text-align: center;
  margin-bottom: 40px;
  font-size: 18px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0A0A0A; /* Ensure background matches body */
}

.page-support__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-support__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-support__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}

.page-support__main-title {
  font-size: clamp(36px, 5vw, 60px);
  color: #F2C14E; /* Primary color */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-support__description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #FFF6D6; /* Text Main */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
  border: none;
}

.page-support__cta-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Slightly brighter on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

/* How Can We Help Section */
.page-support__how-can-we-help {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-support__feature-item {
  background-color: #111111; /* Card Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-support__feature-title {
  font-size: 24px;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__feature-description {
  font-size: 16px;
  color: #FFF6D6;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card Background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: rgba(255, 255, 255, 0.05); /* Slight hover effect */
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main */
}
.page-support__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-support__faq-item[open] .page-support__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 25px 25px;
  background: rgba(255, 255, 255, 0.03); /* Lighter background for answer */
  border-radius: 0 0 12px 12px;
  color: #FFF6D6;
}
.page-support__faq-answer p {
  margin-bottom: 15px;
  font-size: 16px;
}
.page-support__faq-answer p:last-child {
  margin-bottom: 0;
}
.page-support__faq-answer a {
  color: #FFD36B; /* Auxiliary color for links in answer */
  text-decoration: underline;
}
.page-support__faq-answer a:hover {
  color: #F2C14E;
}


/* Contact Channels Section */
.page-support__contact-channels {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-support__channel-item {
  background-color: #111111; /* Card Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__channel-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-support__channel-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__channel-title {
  font-size: 22px;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__channel-description {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 25px;
}

.page-support__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
  border: none;
}

.page-support__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%); /* Slightly brighter on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.5);
}

/* Guides Section */
.page-support__guides-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-support__guide-card {
  background-color: #111111; /* Card Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support__guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-support__guide-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-support__guide-title a {
  color: #F2C14E; /* Primary color for link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__guide-title a:hover {
  color: #FFD36B; /* Auxiliary color on hover */
  text-decoration: underline;
}

.page-support__guide-description {
  font-size: 16px;
  color: #FFF6D6;
}

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

.page-support__responsible-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-support__responsible-text {
  flex: 1;
  min-width: 300px;
  color: #FFF6D6;
}

.page-support__responsible-text p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-support__responsible-text a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-support__responsible-text a:hover {
  color: #F2C14E;
}

.page-support__responsible-image {
  flex: 1;
  min-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support__responsible-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #FFD36B; /* Auxiliary color for text */
  border: 2px solid #FFD36B; /* Auxiliary color for border */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.page-support__btn-secondary:hover {
  background: #FFD36B; /* Auxiliary color as background on hover */
  color: #111111; /* Dark text on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

/* Latest Blog Section */
.page-support__latest-blog {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-support__blog-card {
  background-color: #111111; /* Card Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-support__blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-support__blog-card img {
  width: 100%;
  height: 220px; /* Fixed height for blog card images */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #3A2A12;
}

.page-support__blog-card h3 {
  padding: 20px 25px 10px;
  font-size: 20px;
  font-weight: 700;
  flex-grow: 1;
}

.page-support__blog-card h3 a {
  color: #F2C14E; /* Primary color for link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-support__blog-card h3 a:hover {
  color: #FFD36B; /* Auxiliary color on hover */
  text-decoration: underline;
}

.page-support__blog-date {
  font-size: 14px;
  color: #999;
  padding: 0 25px;
  margin-bottom: 10px;
}

.page-support__blog-summary {
  font-size: 16px;
  color: #FFF6D6;
  padding: 0 25px 20px;
}

.page-support__btn-link {
  display: inline-block;
  color: #FFD36B; /* Auxiliary color */
  text-decoration: none;
  font-weight: bold;
  padding: 0 25px 25px;
  transition: color 0.3s ease;
}

.page-support__btn-link:hover {
  color: #F2C14E; /* Primary color on hover */
  text-decoration: underline;
}

.page-support__view-all {
  text-align: center;
  margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-support__hero-image img,
  .page-support__responsible-image img {
    border-radius: 8px;
  }
  .page-support__hero-image,
  .page-support__responsible-image {
    border-radius: 8px;
  }
}

@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
    padding: 0; /* Remove horizontal padding, container handles it */
  }

  .page-support__container {
    padding: 0 15px; /* Mobile padding */
  }

  .page-support__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-support__hero-image {
    margin-bottom: 20px;
  }

  .page-support__main-title {
    font-size: clamp(30px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-support__description {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 30px;
  }

  .page-support__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-support__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 25px;
  }

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

  .page-support__how-can-we-help,
  .page-support__faq-section,
  .page-support__contact-channels,
  .page-support__guides-section,
  .page-support__responsible-gaming-section,
  .page-support__latest-blog {
    padding: 50px 0;
  }

  .page-support__features-grid,
  .page-support__channels-grid,
  .page-support__guides-grid,
  .page-support__blog-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .page-support__feature-item,
  .page-support__channel-item,
  .page-support__guide-card,
  .page-support__blog-card {
    padding: 25px;
    border-radius: 8px;
  }

  .page-support__feature-title,
  .page-support__channel-title,
  .page-support__guide-title {
    font-size: 20px;
  }

  .page-support__feature-description,
  .page-support__channel-description,
  .page-support__guide-description,
  .page-support__blog-summary {
    font-size: 15px;
  }

  details.page-support__faq-item summary.page-support__faq-question { 
    padding: 15px 20px; 
  }
  .page-support__faq-qtext { 
    font-size: 16px; 
  }
  .page-support__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 20px 20px;
  }

  .page-support__channel-item img {
    
  }

  .page-support__btn-primary,
  .page-support__btn-secondary {
    padding: 10px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  /* Image responsiveness */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-support__section,
  .page-support__card,
  .page-support__container,
  .page-support__hero-container,
  .page-support__responsible-content,
  .page-support__blog-grid,
  .page-support__guides-grid,
  .page-support__channels-grid,
  .page-support__features-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-support__responsible-content {
    flex-direction: column;
  }
  
  .page-support__responsible-text,
  .page-support__responsible-image {
    min-width: unset;
    width: 100%;
  }

  .page-support__blog-card img {
    
  }

  .page-support__blog-card h3,
  .page-support__blog-date,
  .page-support__blog-summary,
  .page-support__btn-link {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-support__btn-link {
    padding-bottom: 20px;
  }
  .page-support__blog-card h3 {
    padding-top: 15px;
  }
  .page-support__view-all {
    margin-top: 40px;
  }
}