/* style/resources-how-to-safely-download-go88.css */

/* Base Styles */
.page-resources-how-to-safely-download-go88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default for dark body background */
  background-color: #000000; /* Consistent with shared.css body background */
}

.page-resources-how-to-safely-download-go88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-how-to-safely-download-go88__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources-how-to-safely-download-go88__sub-section-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-how-to-safely-download-go88__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark backgrounds */
  text-align: justify;
}

.page-resources-how-to-safely-download-go88__list,
.page-resources-how-to-safely-download-go88__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-how-to-safely-download-go88__ordered-list {
  list-style-type: decimal;
}

.page-resources-how-to-safely-download-go88__list li,
.page-resources-how-to-safely-download-go88__ordered-list li {
  margin-bottom: 10px;
  color: #f0f0f0;
}

/* Color Contrast Fixes */
.page-resources-how-to-safely-download-go88__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

.page-resources-how-to-safely-download-go88__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-how-to-safely-download-go88__light-bg .page-resources-how-to-safely-download-go88__section-title,
.page-resources-how-to-safely-download-go88__light-bg .page-resources-how-to-safely-download-go88__sub-section-title {
  color: #017439;
}

.page-resources-how-to-safely-download-go88__light-bg .page-resources-how-to-safely-download-go88__paragraph,
.page-resources-how-to-safely-download-go88__light-bg .page-resources-how-to-safely-download-go88__list li,
.page-resources-how-to-safely-download-go88__light-bg .page-resources-how-to-safely-download-go88__ordered-list li {
  color: #333333;
}

/* Hero Section */
.page-resources-how-to-safely-download-go88__hero-section {
  text-align: center;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-image: url('[GALLERY:hero:1920x1080:go88,download_hero,secure,gaming]');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}

.page-resources-how-to-safely-download-go88__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 1;
}

.page-resources-how-to-safely-download-go88__hero-section > .page-resources-how-to-safely-download-go88__container {
  position: relative;
  z-index: 2;
}

.page-resources-how-to-safely-download-go88__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-how-to-safely-download-go88__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-safely-download-go88__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-how-to-safely-download-go88__btn-primary,
.page-resources-how-to-safely-download-go88__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-how-to-safely-download-go88__btn-primary {
  background-color: #C30808; /* Login/Register button color */
  color: #FFFF00; /* Login/Register font color */
  border: 2px solid #C30808;
}

.page-resources-how-to-safely-download-go88__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
}

.page-resources-how-to-safely-download-go88__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-how-to-safely-download-go88__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-resources-how-to-safely-download-go88__btn-full-width {
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  display: block;
}

.page-resources-how-to-safely-download-go88__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Overview Section */
.page-resources-how-to-safely-download-go88__overview-section,
.page-resources-how-to-safely-download-go88__download-guide-section,
.page-resources-how-to-safely-download-go88__security-tips-section,
.page-resources-how-to-safely-download-go88__video-section,
.page-resources-how-to-safely-download-go88__faq-section,
.page-resources-how-to-safely-download-go88__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Image Styling */
.page-resources-how-to-safely-download-go88__image-wrapper {
  margin: 40px auto;
  max-width: 1000px;
}

.page-resources-how-to-safely-download-go88__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Security Tips Grid */
.page-resources-how-to-safely-download-go88__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-how-to-safely-download-go88__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-resources-how-to-safely-download-go88__card:hover {
  transform: translateY(-5px);
}

.page-resources-how-to-safely-download-go88__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-resources-how-to-safely-download-go88__card-text {
  font-size: 1em;
  color: #555555;
}

/* Video Section */
.page-resources-how-to-safely-download-go88__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-safely-download-go88__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

/* FAQ Section */
.page-resources-how-to-safely-download-go88__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-how-to-safely-download-go88__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources-how-to-safely-download-go88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  color: #017439;
  transition: background-color 0.3s ease;
}

.page-resources-how-to-safely-download-go88__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-how-to-safely-download-go88__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-how-to-safely-download-go88__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
  color: #555555;
}

.page-resources-how-to-safely-download-go88__faq-item.active .page-resources-how-to-safely-download-go88__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-resources-how-to-safely-download-go88__faq-item.active .page-resources-how-to-safely-download-go88__faq-toggle {
  transform: rotate(45deg);
}

/* Final CTA Section */
.page-resources-how-to-safely-download-go88__final-cta-section {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  padding: 60px 0;
}

.page-resources-how-to-safely-download-go88__final-cta-section .page-resources-how-to-safely-download-go88__section-title {
  color: #ffffff;
}

.page-resources-how-to-safely-download-go88__final-cta-section .page-resources-how-to-safely-download-go88__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-how-to-safely-download-go88__hero-title {
    font-size: 3em;
  }

  .page-resources-how-to-safely-download-go88__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-how-to-safely-download-go88 {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-how-to-safely-download-go88__hero-section {
    padding: 80px 15px;
  }

  .page-resources-how-to-safely-download-go88__hero-title {
    font-size: 2.2em;
  }

  .page-resources-how-to-safely-download-go88__hero-description {
    font-size: 1.1em;
  }

  .page-resources-how-to-safely-download-go88__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-how-to-safely-download-go88__btn-primary,
  .page-resources-how-to-safely-download-go88__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-how-to-safely-download-go88__overview-section,
  .page-resources-how-to-safely-download-go88__download-guide-section,
  .page-resources-how-to-safely-download-go88__security-tips-section,
  .page-resources-how-to-safely-download-go88__faq-section,
  .page-resources-how-to-safely-download-go88__final-cta-section {
    padding: 50px 0;
  }

  .page-resources-how-to-safely-download-go88__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-how-to-safely-download-go88__sub-section-title {
    font-size: 1.5em;
  }

  .page-resources-how-to-safely-download-go88__paragraph {
    font-size: 1em;
  }

  .page-resources-how-to-safely-download-go88__image-wrapper,
  .page-resources-how-to-safely-download-go88__video-wrapper {
    margin: 30px auto;
    padding: 0 15px; /* Add padding to prevent overflow */
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .page-resources-how-to-safely-download-go88__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-how-to-safely-download-go88__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-how-to-safely-download-go88__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-how-to-safely-download-go88__card {
    padding: 20px;
  }

  .page-resources-how-to-safely-download-go88__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-resources-how-to-safely-download-go88__faq-answer {
    padding: 0 15px;
  }

  .page-resources-how-to-safely-download-go88__faq-item.active .page-resources-how-to-safely-download-go88__faq-answer {
    padding: 15px;
  }

  .page-resources-how-to-safely-download-go88__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section clears header on mobile */
  }
}

@media (max-width: 480px) {
  .page-resources-how-to-safely-download-go88__hero-title {
    font-size: 1.8em;
  }

  .page-resources-how-to-safely-download-go88__section-title {
    font-size: 1.5em;
  }

  .page-resources-how-to-safely-download-go88__btn-large {
    font-size: 1em;
    padding: 12px 25px;
  }
}