/* CockFighting Page Styles */
.page-cockfighting { color: #ffffff; }

/* Hero Section */
.page-cockfighting__hero-section { display: flex; flex-direction: column; }

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
}

.page-cockfighting__hero-img {
  width: 100%;
  height: auto;
  max-width: 1020px;
  max-height: 300px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.page-cockfighting__hero-content { 
  max-width: 800px; 
  margin: 20px auto 0;
  padding: 0 16px;
  text-align: center;
}

.page-cockfighting__hero-title {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #FFF6D6;
  max-width: 700px;
  margin: 0 auto 16px;
}

.page-cockfighting__hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    max-width: 750px;
    margin: 0 auto 24px;
}

.page-cockfighting__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.page-cockfighting__btn {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-cockfighting__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__btn--ga6789,
.page-cockfighting__btn--ga6789-login {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #000;
}

/* Logo Section */
.page-cockfighting__logo-section {
  padding: 10px 16px 0;
}

.page-cockfighting__logo-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  justify-items: center;
}

.page-cockfighting__logo-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__logo-image {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background-color: #fff;
  border-radius: 12px;
}

.page-cockfighting__logo-cta {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  padding: 8px 20px;
  text-decoration: none;
  border-radius: 999px;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Layout cho item thứ 5 và 6 để thành hàng 4+2 */
.page-cockfighting__logo-item:nth-child(5) { grid-column: 2; }
.page-cockfighting__logo-item:nth-child(6) { grid-column: 3; }

/* Guide Section */
.page-cockfighting__guide-section {
  max-width: 1000px;
  margin: 24px auto 0;
  padding-bottom: 48px;
}

.page-cockfighting__guide-inner {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 16px;
  padding: 24px;
}

.page-cockfighting__guide-title {
  text-align: center;
  font-weight: 700;
  color: #FFF6D6;
  margin-bottom: 24px;
}

.page-cockfighting__guide-subtitle {
  color: #FFF6D6;
  margin-top: 24px;
  font-weight: 600;
}

.page-cockfighting__guide-figure {
  margin-bottom: 16px;
  text-align: center;
}

.page-cockfighting__guide-img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  border-radius: 12px;
}

.page-cockfighting__guide-text {
  font-weight: 400;
  color: #fff;
  text-align: justify;
  margin: 0 0 16px;
}

.page-cockfighting__guide-text a {
  color: #FFD36B;
  font-weight: 600;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .page-cockfighting__hero-img { max-height: 250px; }
  .page-cockfighting__logo-grid { grid-template-columns: repeat(4, 1fr); gap: 16px 12px;
   }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .page-cockfighting__hero-image {
    margin: 0 16px;
  }
  .page-cockfighting__hero-img {
    aspect-ratio: 2/1;
    max-width: 100%;
  }
  .page-cockfighting__logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-cockfighting__logo-item:nth-child(5), .page-cockfighting__logo-item:nth-child(6) { grid-column: auto; }
  .page-cockfighting__logo-item { padding: 10px; }
  .page-cockfighting__guide-section { margin-top: 12px; }
  .page-cockfighting__guide-inner { padding: 16px; }
  .page-cockfighting__guide-title { font-size: 1.4rem; }
  .page-cockfighting__guide-figure { text-align: center; }
  .page-cockfighting__guide-img { max-width: 100%; width: auto; }
  img { max-width: 100%; height: auto; }
}