/* CSS cho trang bắn cá */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #f5f5f5;
}

.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-fishing-games__hero-section {
  position: relative;
  padding-top: 10px;
  padding-bottom: 50px;
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-fishing-games__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8ccb;
  border-color: #1a8ccb;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-fishing-games__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-fishing-games__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__intro-image {
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-fishing-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__feature-item {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-fishing-games__feature-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

.page-fishing-games__popular-games {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__popular-games .page-fishing-games__section-title {
  color: #ffffff;
}

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

.page-fishing-games__game-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-fishing-games__game-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 15px 10px 10px;
  color: #26A9E0;
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__game-cta {
  margin: 15px;
}

.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: #333333;
}

.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: guide-counter;
}

.page-fishing-games__guide-item {
  background-color: #ffffff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  padding-left: 80px;
}

.page-fishing-games__guide-item::before {
  counter-increment: guide-counter;
  content: counter(guide-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #26A9E0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: #e0f2f7;
}

.page-fishing-games__guide-item .page-fishing-games__subtitle {
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__guide-cta {
  margin-top: 20px;
}

.page-fishing-games__strategy-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__strategy-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__strategy-image {
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.7;
}

.page-fishing-games__strategy-item strong {
  color: #ffffff;
}

.page-fishing-games__promotions-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__promo-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.page-fishing-games__promo-item .page-fishing-games__subtitle {
  color: #26A9E0;
  margin-top: 0;
}

.page-fishing-games__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #f5f5f5;
  color: #333333;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-fishing-games__conclusion-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-title {
  color: #ffffff;
}

.page-fishing-games__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* --- Responsive Styles --- */
/* Mandatory Homepage-related blocks as per instructions, even for inner page */
@media (max-width: 1023px) {
  .page-fishing-games__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__hero-brand,
  .page-fishing-games__hero-jackpot {
    display: none !important;
  }
  .page-fishing-games__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-topbar,
  .page-fishing-games__game-trial-bottombar {
    display: none !important;
  }
  .page-fishing-games__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-fishing-games__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-fishing-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-fishing-games__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-fishing-games__hero-brand,
  .page-fishing-games__hero-jackpot,
  .page-fishing-games__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-fishing-games__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-fishing-games__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-fishing-games__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  /* Additional PC-specific styles for other modules if they were present */
  .page-fishing-games__promo-strip-track {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1280px;
    margin: 0 auto;
  }
  .page-fishing-games__hot-games-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1280px;
    margin: 0 auto;
  }
}

/* Mobile-specific styles (max-width: 768px) */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-section {
    padding-top: 5px;
    padding-bottom: 30px;
  }

  .page-fishing-games__hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games 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__cta-group {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__subtitle {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__popular-games,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card {
    margin: 0 15px;
  }

  .page-fishing-games__guide-item {
    padding: 20px;
    padding-left: 60px;
    margin: 0 15px 20px;
  }

  .page-fishing-games__guide-item::before {
    left: 20px;
    top: 20px;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }

  .page-fishing-games__strategy-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__promo-item {
    margin: 0 15px;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 15px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer { padding: 0 15px 15px; }

  /* Mandatory 768px for homepage modules - even if not directly used in HTML */
  .page-fishing-games__promo-strip-track {
    grid-template-columns: repeat(2, 1fr);
    overflow-x: hidden;
  }
  .page-fishing-games__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-fishing-games__brand-intro {
    display: block;
  }
  .page-fishing-games__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  body {
    padding-bottom: 50px; /* Adjust if ticker height is different */
  }
  .page-fishing-games__content-area, .page-fishing-games__text-block, .page-fishing-games__card, .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}