/* style/resources-tai88vin-security-player-rights.css */

.page-resources-tai88vin-security-player-rights {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
  background-color: #0a0a0a; /* Ensure consistency with shared body background */
}

.page-resources-tai88vin-security-player-rights__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-bottom: 60px; /* Add some padding below content */
  background: #1A202C; /* Dark background for hero */
}

.page-resources-tai88vin-security-player-rights__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-resources-tai88vin-security-player-rights__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-resources-tai88vin-security-player-rights__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-resources-tai88vin-security-player-rights__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-tai88vin-security-player-rights__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-tai88vin-security-player-rights__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-tai88vin-security-player-rights__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources-tai88vin-security-player-rights__content-section {
  padding: 80px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-tai88vin-security-player-rights__dark-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-resources-tai88vin-security-player-rights__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-tai88vin-security-player-rights__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-tai88vin-security-player-rights__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #f0f0f0;
}

.page-resources-tai88vin-security-player-rights__feature-grid, 
.page-resources-tai88vin-security-player-rights__responsible-gaming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-tai88vin-security-player-rights__feature-card,
.page-resources-tai88vin-security-player-rights__responsible-gaming-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tai88vin-security-player-rights__feature-card:hover,
.page-resources-tai88vin-security-player-rights__responsible-gaming-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-tai88vin-security-player-rights__feature-icon,
.page-resources-tai88vin-security-player-rights__responsible-gaming-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-resources-tai88vin-security-player-rights__feature-title,
.page-resources-tai88vin-security-player-rights__responsible-gaming-title,
.page-resources-tai88vin-security-player-rights__policy-title {
  font-size: 1.7em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources-tai88vin-security-player-rights__feature-description,
.page-resources-tai88vin-security-player-rights__responsible-gaming-description,
.page-resources-tai88vin-security-player-rights__policy-description {
  font-size: 1em;
  color: #cccccc;
}

.page-resources-tai88vin-security-player-rights__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-resources-tai88vin-security-player-rights__policy-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-resources-tai88vin-security-player-rights__policy-item p {
  color: #cccccc;
}

.page-resources-tai88vin-security-player-rights__read-more-link {
  display: block;
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-tai88vin-security-player-rights__read-more-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-resources-tai88vin-security-player-rights__faq-section {
  padding: 80px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-tai88vin-security-player-rights__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-tai88vin-security-player-rights__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-tai88vin-security-player-rights__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #cccccc;
}

.page-resources-tai88vin-security-player-rights__faq-item.active .page-resources-tai88vin-security-player-rights__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-resources-tai88vin-security-player-rights__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1A202C;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-resources-tai88vin-security-player-rights__faq-question:hover {
  background: #2a3447;
}

.page-resources-tai88vin-security-player-rights__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-resources-tai88vin-security-player-rights__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-resources-tai88vin-security-player-rights__faq-item.active .page-resources-tai88vin-security-player-rights__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to X or rotate for minus */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-tai88vin-security-player-rights__hero-title {
    font-size: 3em;
  }

  .page-resources-tai88vin-security-player-rights__hero-description {
    font-size: 1.1em;
  }

  .page-resources-tai88vin-security-player-rights__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-tai88vin-security-player-rights__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  
  .page-resources-tai88vin-security-player-rights__hero-content {
    position: static;
    transform: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    margin: 20px;
  }

  .page-resources-tai88vin-security-player-rights__hero-image-container {
    height: 300px;
  }

  .page-resources-tai88vin-security-player-rights__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-resources-tai88vin-security-player-rights__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-tai88vin-security-player-rights__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-resources-tai88vin-security-player-rights__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-resources-tai88vin-security-player-rights__content-section {
    padding: 50px 15px;
  }

  .page-resources-tai88vin-security-player-rights__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-tai88vin-security-player-rights__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-resources-tai88vin-security-player-rights__feature-grid,
  .page-resources-tai88vin-security-player-rights__responsible-gaming-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-tai88vin-security-player-rights__feature-card,
  .page-resources-tai88vin-security-player-rights__responsible-gaming-card,
  .page-resources-tai88vin-security-player-rights__policy-item {
    padding: 20px;
  }

  .page-resources-tai88vin-security-player-rights__feature-icon,
  .page-resources-tai88vin-security-player-rights__responsible-gaming-image {
    height: 200px; /* Adjust height for mobile */
    margin-bottom: 20px;
  }

  .page-resources-tai88vin-security-player-rights__feature-title,
  .page-resources-tai88vin-security-player-rights__responsible-gaming-title,
  .page-resources-tai88vin-security-player-rights__policy-title {
    font-size: 1.4em;
    margin-bottom: 10px;
  }

  .page-resources-tai88vin-security-player-rights__feature-description,
  .page-resources-tai88vin-security-player-rights__responsible-gaming-description,
  .page-resources-tai88vin-security-player-rights__policy-description {
    font-size: 0.9em;
  }

  .page-resources-tai88vin-security-player-rights__faq-question {
    padding: 15px 20px;
  }

  .page-resources-tai88vin-security-player-rights__faq-question h3 {
    font-size: 1em;
  }

  .page-resources-tai88vin-security-player-rights__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }

  .page-resources-tai88vin-security-player-rights__faq-answer {
    padding: 0 20px;
  }

  .page-resources-tai88vin-security-player-rights__faq-item.active .page-resources-tai88vin-security-player-rights__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images and containers adapt to mobile */
  .page-resources-tai88vin-security-player-rights img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-tai88vin-security-player-rights__section,
  .page-resources-tai88vin-security-player-rights__card,
  .page-resources-tai88vin-security-player-rights__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}