.page-taya777-arcade-games {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: 'Arial', sans-serif;
}

.page-taya777-arcade-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-taya777-arcade-games__content-area--flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-taya777-arcade-games__content-area--reverse {
  flex-direction: row-reverse;
}

.page-taya777-arcade-games__hero-section {
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding to avoid double header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background-color: #111111; /* Card BG */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-taya777-arcade-games__main-title {
  font-size: clamp(1.75rem, 5vw, 2.2rem); /* H1 font size with clamp */
  font-weight: 700;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-taya777-arcade-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-taya777-arcade-games__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.page-taya777-arcade-games__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 1rem;
}

.page-taya777-arcade-games__button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text on light button */
  border: 1px solid #FFD36B; /* Glow */
}

.page-taya777-arcade-games__button--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-taya777-arcade-games__button--secondary {
  background-color: #111111; /* Card BG */
  color: #F2C14E; /* Primary color */
  border: 1px solid #3A2A12; /* Border */
}

.page-taya777-arcade-games__button--secondary:hover {
  border-color: #F2C14E;
  color: #FFF6D6;
  box-shadow: 0 2px 8px rgba(242, 193, 78, 0.2);
}

.page-taya777-arcade-games__button--small {
  padding: 8px 15px;
  font-size: 0.9rem;
}

.page-taya777-arcade-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1200px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-taya777-arcade-games__section-title {
  font-size: 2rem;
  color: #F2C14E; /* Primary color */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-taya777-arcade-games__section-paragraph {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-taya777-arcade-games__feature-card:hover {
  transform: translateY(-5px);
  border-color: #F2C14E; /* Primary color */
}

.page-taya777-arcade-games__feature-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-taya777-arcade-games__feature-description {
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.page-taya777-arcade-games__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-taya777-arcade-games__game-card:hover {
  transform: translateY(-5px);
  border-color: #FFD36B; /* Auxiliary color */
}

.page-taya777-arcade-games__game-card img {
  width: 100%;
  height: auto;
  min-height: 200px; /* Enforce min-height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  max-width: 100%; /* Ensure responsiveness */
}

.page-taya777-arcade-games__game-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-taya777-arcade-games__game-description {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-taya777-arcade-games__game-trial-frame {
  width: 100%;
  height: 250px; /* Example height for trial frame */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #0A0A0A; /* Background */
}

.page-taya777-arcade-games__mobile-text-content {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-taya777-arcade-games__mobile-text-content .page-taya777-arcade-games__section-title,
.page-taya777-arcade-games__mobile-text-content .page-taya777-arcade-games__section-paragraph {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-taya777-arcade-games__mobile-image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-taya777-arcade-games__mobile-image-container img {
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
  max-width: 400px; /* Adjust max-width for mobile mockups */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-taya777-arcade-games__promotions-banner {
  width: 100%;
  height: auto;
  min-height: 200px; /* Enforce min-height */
  object-fit: cover;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-taya777-arcade-games__promotions-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-taya777-arcade-games__security-text-content {
  flex: 1;
  min-width: 300px;
  text-align: right;
}

.page-taya777-arcade-games__security-text-content .page-taya777-arcade-games__section-title,
.page-taya777-arcade-games__security-text-content .page-taya777-arcade-games__section-paragraph {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

.page-taya777-arcade-games__security-image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-taya777-arcade-games__security-image-container img {
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min-width */
  min-height: 200px; /* Enforce min-height */
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-taya777-arcade-games__cta-section {
  background-color: #111111; /* Card BG */
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #3A2A12; /* Border */
  border-bottom: 1px solid #3A2A12; /* Border */
  margin-top: 40px;
}

.page-taya777-arcade-games__faq-section {
  padding-bottom: 60px;
}

.page-taya777-arcade-games__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-taya777-arcade-games__faq-question {
  font-size: 1.15rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 600;
}

.page-taya777-arcade-games__faq-answer {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-taya777-arcade-games__content-area--flex {
    flex-direction: column;
    text-align: center;
  }

  .page-taya777-arcade-games__mobile-text-content,
  .page-taya777-arcade-games__security-text-content {
    text-align: center;
  }

  .page-taya777-arcade-games__mobile-text-content .page-taya777-arcade-games__section-title,
  .page-taya777-arcade-games__mobile-text-content .page-taya777-arcade-games__section-paragraph,
  .page-taya777-arcade-games__security-text-content .page-taya777-arcade-games__section-title,
  .page-taya777-arcade-games__security-text-content .page-taya777-arcade-games__section-paragraph {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-taya777-arcade-games__hero-buttons,
  .page-taya777-arcade-games__promotions-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-taya777-arcade-games__button {
    width: 100%;
  }

  .page-taya777-arcade-games__section-title {
    font-size: 1.7rem;
  }

  .page-taya777-arcade-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .page-taya777-arcade-games__game-card img,
  .page-taya777-arcade-games__mobile-image-container img,
  .page-taya777-arcade-games__promotions-banner,
  .page-taya777-arcade-games__security-image-container img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }

  .page-taya777-arcade-games__game-trial-frame {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .page-taya777-arcade-games__hero-section,
  .page-taya777-arcade-games__cta-section {
    padding: 40px 15px;
  }

  .page-taya777-arcade-games__content-area {
    padding: 30px 15px;
  }

  .page-taya777-arcade-games__section-title {
    font-size: 1.5rem;
  }

  .page-taya777-arcade-games__feature-card,
  .page-taya777-arcade-games__game-card,
  .page-taya777-arcade-games__faq-item {
    padding: 20px;
  }
}