/* style/support.css */

/* Base Styles */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: #050505; /* Inherited from body, but set explicitly for clarity */
}

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

.page-support__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-support__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

.page-support__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-support__text-block a:hover {
  text-decoration: underline;
}

/* Keyword highlighting */
.page-support__keyword {
  font-weight: bold;
  color: #EA7C07; /* Highlight color for keywords */
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background-color: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-support__btn-primary:hover {
  background-color: #d46f06;
  border-color: #d46f06;
}

.page-support__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-support__btn-tertiary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #26A9E0;
  border: 1px solid #26A9E0;
}

.page-support__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-support__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-support__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-support__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-support__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Introduction Section */
.page-support__introduction-section {
  background-color: #0d0d0d; /* Darker background for contrast */
  color: #ffffff;
}

/* Contact Channels Section */
.page-support__contact-channels-section {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-support__channel-card:hover {
  transform: translateY(-5px);
  background-color: rgba(38, 169, 224, 0.15);
}

.page-support__channel-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px;
}

.page-support__channel-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__channel-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Section */
.page-support__faq-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-support__faq-list {
  margin-top: 30px;
}

.page-support__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-support__faq-item.active {
  background-color: rgba(38, 169, 224, 0.15);
}

.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  transition: color 0.3s ease;
}

.page-support__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-support__faq-question:hover {
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #EA7C07;
  transition: transform 0.3s ease;
}

.page-support__faq-item.active .page-support__faq-toggle {
  transform: rotate(45deg);
}

.page-support__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
}

.page-support__faq-item.active .page-support__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

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

/* Responsible Gambling Section */
.page-support__responsible-gambling-section {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-support__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-support__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(38, 169, 224, 0.15);
}

.page-support__feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-support__feature-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-support__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Legal Links Section */
.page-support__legal-links-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-support__legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

/* Why Choose Us Section */
.page-support__why-choose-us-section {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-support__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-support__advantage-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-support__advantage-item strong {
  color: #26A9E0;
}

/* Global image styles */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-support__hero-title {
    font-size: 3em;
  }

  .page-support__hero-description {
    font-size: 1.1em;
  }

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

  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 80%;
    margin: 0 auto;
  }

  .page-support__section-title {
    font-size: 2em;
  }

  .page-support__text-block {
    font-size: 1em;
  }

  .page-support__channel-title,
  .page-support__feature-title {
    font-size: 1.5em;
  }

  .page-support__channel-description,
  .page-support__feature-description {
    font-size: 0.95em;
  }

  .page-support__faq-question h3 {
    font-size: 1.1em;
  }

  .page-support__advantage-item {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-support__hero-section {
    height: 500px;
    padding-top: 0;
  }

  .page-support__hero-content {
    padding: 15px;
  }

  .page-support__hero-title {
    font-size: 2.5em;
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-support__hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  /* 其他内容模块 */
  .page-support__container {
    padding: 30px 15px;
  }

  .page-support__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-support__text-block {
    font-size: 0.95em;
  }

  /* 通用图片与容器 */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__introduction-section,
  .page-support__contact-channels-section,
  .page-support__faq-section,
  .page-support__responsible-gambling-section,
  .page-support__legal-links-section,
  .page-support__why-choose-us-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support__btn-tertiary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-support__hero-buttons,
  .page-support__legal-links {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-support__hero-buttons {
    flex-direction: column;
  }

  /* 游戏展示区域 (N/A for this page, but placeholder for completeness) */
  /* If there were game cards, they would adapt here */

  /* LOGO 轮播区域 (N/A for this page, but placeholder for completeness) */
  /* If there were logo carousel, .page-support__logo-item would be 80x80 */

  .page-support__channels-grid,
  .page-support__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-support__channel-card,
  .page-support__feature-card {
    padding: 25px;
  }

  .page-support__channel-icon {
    width: 80px;
    height: 80px;
  }

  .page-support__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-support__faq-question h3 {
    font-size: 1.1em;
  }

  .page-support__faq-answer {
    padding: 0 20px;
  }

  .page-support__faq-item.active .page-support__faq-answer {
    padding: 10px 20px 20px;
  }

  .page-support__advantage-item {
    padding: 12px 15px;
    font-size: 0.95em;
  }
}