/* style/fishing-games-popular-machines.css */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --main-text-color: #F2FFF6;
  --secondary-text-color: #A7D9B8;
  --primary-brand-color: #11A84E;
  --secondary-brand-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-fishing-games-popular-machines {
  background-color: var(--page-bg-color);
  color: var(--main-text-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-fishing-games-popular-machines__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-fishing-games-popular-machines__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* body đã có padding-top, đây là khoảng cách trang trí */
  background-color: var(--deep-green-color);
  overflow: hidden;
}

.page-fishing-games-popular-machines__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-fishing-games-popular-machines__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-machines__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(17, 40, 27, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular-machines__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-machines__hero-description {
  font-size: 1.15rem;
  color: var(--main-text-color);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-popular-machines__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games-popular-machines__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular-machines__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-fishing-games-popular-machines__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games-popular-machines__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--page-bg-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-popular-machines__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-popular-machines__section-description {
  font-size: 1.1rem;
  color: var(--secondary-text-color);
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-popular-machines__top-machines-section,
.page-fishing-games-popular-machines__promotions-section,
.page-fishing-games-popular-machines__faq-section {
  padding: 80px 0;
  background-color: var(--page-bg-color);
}

.page-fishing-games-popular-machines__dark-section {
  background-color: var(--deep-green-color);
  color: var(--main-text-color);
  padding: 80px 0;
}

.page-fishing-games-popular-machines__machine-grid,
.page-fishing-games-popular-machines__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games-popular-machines__machine-card,
.page-fishing-games-popular-machines__promotion-card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games-popular-machines__machine-card:hover,
.page-fishing-games-popular-machines__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 10px var(--glow-color);
}

.page-fishing-games-popular-machines__machine-image,
.page-fishing-games-popular-machines__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games-popular-machines__machine-title,
.page-fishing-games-popular-machines__promotion-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-fishing-games-popular-machines__machine-description,
.page-fishing-games-popular-machines__promotion-description {
  font-size: 1rem;
  color: var(--secondary-text-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games-popular-machines__strategy-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games-popular-machines__strategy-text {
  flex: 1;
  text-align: left;
}

.page-fishing-games-popular-machines__strategy-heading {
  font-size: 1.6rem;
  color: var(--gold-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-fishing-games-popular-machines__strategy-text p {
  font-size: 1.05rem;
  color: var(--main-text-color);
  margin-bottom: 15px;
}

.page-fishing-games-popular-machines__strategy-image {
  flex: 0 0 500px;
  width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-fishing-games-popular-machines__why-choose-section {
  padding: 80px 0;
}

.page-fishing-games-popular-machines__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-popular-machines__feature-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid var(--border-color);
}

.page-fishing-games-popular-machines__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-fishing-games-popular-machines__feature-description {
  font-size: 1rem;
  color: var(--secondary-text-color);
}

.page-fishing-games-popular-machines__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-popular-machines__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games-popular-machines__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--main-text-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games-popular-machines__faq-question:hover {
  background-color: var(--primary-brand-color);
}

.page-fishing-games-popular-machines__faq-item[open] > .page-fishing-games-popular-machines__faq-question {
  background-color: var(--primary-brand-color);
}

.page-fishing-games-popular-machines__faq-qtext {
  flex-grow: 1;
  color: var(--gold-color);
}

.page-fishing-games-popular-machines__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-fishing-games-popular-machines__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: var(--secondary-text-color);
  text-align: left;
}

.page-fishing-games-popular-machines__faq-answer p {
  margin-bottom: 10px;
}

.page-fishing-games-popular-machines__faq-answer a {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games-popular-machines__faq-answer a:hover {
  text-decoration: underline;
}

/* Hide default details marker */
.page-fishing-games-popular-machines__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-fishing-games-popular-machines__faq-item summary::marker {
  display: none;
}

.page-fishing-games-popular-machines__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green-color);
}

.page-fishing-games-popular-machines__conclusion-section .page-fishing-games-popular-machines__section-description {
  margin-bottom: 40px;
}

.page-fishing-games-popular-machines__conclusion-section a {
  color: var(--glow-color);
  text-decoration: none;
}

.page-fishing-games-popular-machines__conclusion-section a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games-popular-machines__strategy-content {
    flex-direction: column;
  }

  .page-fishing-games-popular-machines__strategy-image {
    flex: none;
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular-machines__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-fishing-games-popular-machines__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-fishing-games-popular-machines__hero-image {
    max-height: 400px;
  }

  .page-fishing-games-popular-machines__hero-content {
    padding: 15px;
  }

  .page-fishing-games-popular-machines__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-fishing-games-popular-machines__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-fishing-games-popular-machines__cta-button,
  .page-fishing-games-popular-machines__btn-primary,
  .page-fishing-games-popular-machines__btn-secondary,
  .page-fishing-games-popular-machines a[class*="button"],
  .page-fishing-games-popular-machines 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-fishing-games-popular-machines__cta-buttons,
  .page-fishing-games-popular-machines__button-group,
  .page-fishing-games-popular-machines__btn-container {
    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-fishing-games-popular-machines__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-fishing-games-popular-machines__container {
    padding: 0 15px;
  }

  .page-fishing-games-popular-machines__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-fishing-games-popular-machines__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-fishing-games-popular-machines__top-machines-section,
  .page-fishing-games-popular-machines__promotions-section,
  .page-fishing-games-popular-machines__strategy-section,
  .page-fishing-games-popular-machines__why-choose-section,
  .page-fishing-games-popular-machines__faq-section,
  .page-fishing-games-popular-machines__conclusion-section {
    padding: 50px 0;
  }

  .page-fishing-games-popular-machines__machine-grid,
  .page-fishing-games-popular-machines__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games-popular-machines__machine-image,
  .page-fishing-games-popular-machines__promotion-image,
  .page-fishing-games-popular-machines__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games-popular-machines__section,
  .page-fishing-games-popular-machines__card,
  .page-fishing-games-popular-machines__container,
  .page-fishing-games-popular-machines__hero-section,
  .page-fishing-games-popular-machines__top-machines-section,
  .page-fishing-games-popular-machines__promotions-section,
  .page-fishing-games-popular-machines__strategy-section,
  .page-fishing-games-popular-machines__why-choose-section,
  .page-fishing-games-popular-machines__faq-section,
  .page-fishing-games-popular-machines__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games-popular-machines__machine-title,
  .page-fishing-games-popular-machines__promotion-title {
    font-size: 1.3rem;
  }

  .page-fishing-games-popular-machines__strategy-heading {
    font-size: 1.4rem;
  }

  .page-fishing-games-popular-machines__feature-title {
    font-size: 1.25rem;
  }

  .page-fishing-games-popular-machines__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-fishing-games-popular-machines__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}