/* style/support.css */

/* Base styles for the support page */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  background-color: transparent; /* Main content background will be handled by sections */
}

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

.page-support__section {
  padding: 60px 0;
  text-align: center;
}

.page-support__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.page-support__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-support__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-support__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.page-support__list-item {
  font-size: 17px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-support__list-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  top: 0;
}

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

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

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  color: #ffffff;
  padding: 10px 0 60px 0; /* body handles top padding, this is for internal spacing */
  overflow: hidden;
}

.page-support__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-support__main-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-support__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

.page-support__btn-primary:hover {
  background-color: #1a7fb7;
  border-color: #1a7fb7;
  transform: translateY(-2px);
}

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

.page-support__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Intro Section */
.page-support__intro-section {
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

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

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

.page-support__channel-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-support__channel-icon {
  width: 100%; /* Ensure images are not small */
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-support__channel-description {
  font-size: 16px;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-support__email-link {
  color: #26A9E0;
}

/* Help Center & FAQ Section */
.page-support__help-center-section {
  background-color: #0a0a0a;
}

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

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

.page-support__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-support__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-support__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-support__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #26A9E0;
  margin-left: 15px;
}

.page-support__faq-item[open] .page-support__faq-toggle {
  content: '−';
}

.page-support__faq-answer {
  padding: 15px 20px 20px;
  font-size: 16px;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Video Guide Section */
.page-support__video-guide-section {
  background-color: #1a1a1a;
}

.page-support__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  width: 100%; /* Desktop width constraint */
}

.page-support__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

/* Account Security Section */
.page-support__security-section {
  background-color: #0a0a0a;
}

.page-support__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  object-fit: cover;
}

/* Policies Section */
.page-support__policies-section {
  background-color: #1a1a1a;
}

/* CTA Section */
.page-support__cta-section {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
  padding: 80px 0;
}

.page-support__cta-section .page-support__section-title {
  color: #ffffff;
}

.page-support__cta-section .page-support__text-block {
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-support__cta-section .page-support__btn-primary {
  background-color: #EA7C07; /* Login/Register specific color */
  border-color: #EA7C07;
}

.page-support__cta-section .page-support__btn-primary:hover {
  background-color: #d86c00;
  border-color: #d86c00;
}

.page-support__cta-section .page-support__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-support__cta-section .page-support__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb7;
  border-color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-support__hero-content {
    padding: 15px;
  }
  .page-support__main-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }
  .page-support__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-support__section-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }
  .page-support__sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
  }
  .page-support__text-block, .page-support__list-item, .page-support__channel-description, .page-support__faq-answer {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-support__section {
    padding: 40px 0;
  }
  .page-support__container {
    padding: 0 15px;
  }
  .page-support__hero-section {
    min-height: 450px;
    padding-bottom: 40px;
  }
  .page-support__hero-content {
    width: 90%;
  }
  .page-support__main-title {
    font-size: 32px;
  }
  .page-support__hero-description {
    font-size: 16px;
  }
  .page-support__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-support__btn-primary,
  .page-support__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-support__channels-grid {
    grid-template-columns: 1fr;
  }
  .page-support__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }
  .page-support__faq-answer {
    padding: 10px 15px 15px;
  }
  .page-support__video-wrapper {
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-support__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-support__video-section {
    padding-top: 10px !important;
  }
  .page-support__video-guide-section .page-support__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-support__video-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
  .page-support__channel-icon {
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .page-support__main-title {
    font-size: 28px;
  }
  .page-support__hero-description {
    font-size: 15px;
  }
  .page-support__section-title {
    font-size: 24px;
  }
  .page-support__sub-title {
    font-size: 18px;
  }
  .page-support__text-block, .page-support__list-item, .page-support__channel-description, .page-support__faq-answer {
    font-size: 15px;
  }
  .page-support__faq-item summary {
    font-size: 15px;
  }
}