/* ===== Bắn Cá Page Styles ===== */
.page-ban-ca {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: #333333;
  background: #FFFFFF;
  line-height: 1.6;
}

/* Hero Section */
.page-ban-ca__hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-ban-ca__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-ban-ca__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-ban-ca__main-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #017439;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.page-ban-ca__hero-description {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-ban-ca__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__cta-register,
.page-ban-ca__cta-play {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__cta-register {
  background: #C30808;
  color: #FFFF00;
  box-shadow: 0 4px 12px rgba(195, 8, 8, 0.3);
}

.page-ban-ca__cta-play {
  background: #017439;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(1, 116, 57, 0.3);
}

.page-ban-ca__cta-register:hover,
.page-ban-ca__cta-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Partner / Logo Grid */
.page-ban-ca__partner-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}

.page-ban-ca__partner-title {
  text-align: center;
  font-size: 1.75rem;
  color: #017439;
  margin-bottom: 28px;
}

.page-ban-ca__partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  margin: 0 auto;
}

.page-ban-ca__partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.page-ban-ca__partner-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.page-ban-ca__partner-logo {
  width: 100%;
  height: auto;
  max-width: 240px;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

.page-ban-ca__partner-name {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  color: #017439;
  margin: 0;
}

.page-ban-ca__partner-link {
  display: inline-block;
  padding: 8px 20px;
  background: #017439;
  color: #FFFFFF;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__partner-link:hover {
  background: #015c2e;
}

/* Guide Section */
.page-ban-ca__guide-section {
  background: #f9fbf9;
  padding: 40px 0;
}

.page-ban-ca__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-ban-ca__guide-title {
  text-align: center;
  color: #017439;
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.page-ban-ca__guide-lead {
  text-align: center;
  color: #555;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.page-ban-ca__guide-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-ban-ca__guide-figure {
  margin: 0;
  text-align: center;
}

.page-ban-ca__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-ban-ca__guide-caption {
  font-weight: 700;
  font-size: 1.2rem;
  color: #017439;
  margin-top: 12px;
}

.page-ban-ca__guide-text {
  color: #444;
  max-width: 720px;
  margin: 10px auto 0;
  line-height: 1.7;
}

.page-ban-ca__guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-ban-ca__guide-button {
  display: inline-block;
  padding: 12px 28px;
  background: #C30808;
  color: #FFFF00;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__guide-more {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: #017439;
  border: 2px solid #017439;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ban-ca__guide-button:hover,
.page-ban-ca__guide-more:hover {
  transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 1024px) {
  .page-ban-ca__partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-ban-ca__partner-item:nth-child(5) {
    grid-column: 1 / 2;
  }
  .page-ban-ca__partner-item:nth-child(6) {
    grid-column: 2 / 3;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-ban-ca__hero-section {
    padding: 8px 12px 16px;
  }

  .page-ban-ca__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-ban-ca__main-title {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .page-ban-ca__hero-description {
    font-size: 1rem;
  }

  .page-ban-ca__hero-actions,
  .page-ban-ca__guide-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .page-ban-ca__cta-register,
  .page-ban-ca__cta-play,
  .page-ban-ca__guide-button,
  .page-ban-ca__guide-more {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-ban-ca__partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-ban-ca__partner-item:nth-child(5),
  .page-ban-ca__partner-item:nth-child(6) {
    grid-column: auto;
  }

  .page-ban-ca__guide-title {
    font-size: 1.4rem;
  }

  .page-ban-ca__guide-figure {
    width: 100%;
  }

  .page-ban-ca__guide-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 2 / 1;
  }

  .page-ban-ca img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-ban-ca__partner-logo {
    max-width: 180px;
  }
}