.page-cockfighting {
  font-family: Arial, sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
}

.page-cockfighting__section {
  padding: 40px 0;
}

.page-cockfighting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-cockfighting__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-cockfighting__section-description {
  font-size: 16px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  position: relative;
  background-color: #F4F7FB;
  overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-cockfighting__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 800;
  color: #1F2D3D;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-cockfighting__hero-description {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
}

.page-cockfighting__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-cockfighting__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-cockfighting__intro-section .page-cockfighting__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-cockfighting__intro-section p {
  text-align: justify;
  font-size: 16px;
  line-height: 1.7;
  color: #1F2D3D;
  max-width: 800px;
}

.page-cockfighting__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__light-bg {
  background-color: #ffffff;
}

.page-cockfighting__dark-section {
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__section-description {
  color: #ffffff;
}

.page-cockfighting__how-to-play-section .page-cockfighting__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__step-item {
  background: #F4F7FB;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-cockfighting__step-item:hover {
  transform: translateY(-5px);
}

.page-cockfighting__step-item h3 {
  font-size: 22px;
  color: #2F6BFF;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-cockfighting__step-item p {
  font-size: 15px;
  color: #1F2D3D;
  line-height: 1.6;
  text-align: left;
}

.page-cockfighting__bet-types-section .page-cockfighting__grid-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__card {
  background: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #D6E2FF;
  transition: transform 0.3s ease;
  color: #1F2D3D;
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #2F6BFF;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-cockfighting__card p {
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.page-cockfighting__tips-section .page-cockfighting__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-cockfighting__tips-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  border-left: 4px solid #6FA3FF;
}

.page-cockfighting__tips-list li strong {
  color: #A5C4FF;
}

.page-cockfighting__promotions-section .page-cockfighting__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cockfighting__promo-card {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
}

.page-cockfighting__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-cockfighting__promo-card h3 {
  font-size: 20px;
  color: #2F6BFF;
  padding: 15px 20px 0;
  margin: 0;
}

.page-cockfighting__promo-card p {
  font-size: 15px;
  color: #1F2D3D;
  padding: 10px 20px;
  line-height: 1.6;
}

.page-cockfighting__promo-card .page-cockfighting__btn-secondary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-cockfighting__cta-buttons--center {
  margin-top: 40px;
}

.page-cockfighting__safety-features {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-cockfighting__safety-features li {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  line-height: 1.6;
  color: #1F2D3D;
  text-align: left;
  border-left: 4px solid #2F6BFF;
}

.page-cockfighting__faq-section .page-cockfighting__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

details.page-cockfighting__faq-item summary.page-cockfighting__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-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: #f5f5f5;
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}

.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-cockfighting__faq-answer p {
  margin: 0;
  text-align: left;
}

.page-cockfighting__cta-bottom-section {
  padding: 60px 0;
}

.page-cockfighting__cta-bottom-content {
  text-align: center;
}

.page-cockfighting__section-title--light,
.page-cockfighting__section-description--light {
  color: #ffffff;
}

/* Mobile Responsive Styles */
@media (max-width: 1023px) {
  .page-cockfighting__hero-section {
    padding-top: 10px;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 400px;
  }
  .page-cockfighting__hero-content {
    padding-bottom: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(24px, 6vw, 40px);
  }
  .page-cockfighting__hero-description {
    font-size: 16px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-cockfighting__cta-buttons {
    gap: 15px;
  }
  .page-cockfighting__how-to-play-section .page-cockfighting__steps-list,
  .page-cockfighting__bet-types-section .page-cockfighting__grid-columns,
  .page-cockfighting__promotions-section .page-cockfighting__promo-grid,
  .page-cockfighting__safety-features {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__step-item,
  .page-cockfighting__card,
  .page-cockfighting__promo-card,
  .page-cockfighting__safety-features li {
    margin: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-cockfighting__section {
    padding: 30px 0;
  }
  .page-cockfighting__container {
    padding: 0 15px;
  }
  .page-cockfighting__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-cockfighting__section-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-cockfighting__hero-image-wrapper {
    max-height: 300px;
  }
  .page-cockfighting__hero-content {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 20px;
  }
  .page-cockfighting__main-title {
    font-size: clamp(24px, 8vw, 36px);
  }
  .page-cockfighting__hero-description {
    font-size: 15px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    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-cockfighting__cta-buttons,
  .page-cockfighting__button-group,
  .page-cockfighting__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-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__intro-section p,
  .page-cockfighting__step-item p,
  .page-cockfighting__card p,
  .page-cockfighting__tips-list li,
  .page-cockfighting__promo-card p,
  .page-cockfighting__safety-features li,
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    font-size: 15px;
  }
  .page-cockfighting__step-item h3,
  .page-cockfighting__card-title,
  .page-cockfighting__promo-card h3 {
    font-size: 18px;
  }
  .page-cockfighting__faq-qtext {
    font-size: 16px;
  }
  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
  .page-cockfighting__faq-toggle { font-size: 20px; }
  details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }
}

/* Homepage trial game CSS - MANDATORY INCLUSION as per prompt, even if this is an inner page */
@media (max-width: 1023px) {
  .page-cockfighting__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-cockfighting__hero-brand,
  .page-cockfighting__hero-jackpot {
    display: none !important;
  }
  .page-cockfighting__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-cockfighting__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial-topbar,
  .page-cockfighting__game-trial-bottombar {
    display: none !important;
  }
  .page-cockfighting__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-cockfighting__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-cockfighting__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-cockfighting__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-cockfighting__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-cockfighting__hero-brand,
  .page-cockfighting__hero-jackpot,
  .page-cockfighting__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-cockfighting__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-cockfighting__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-cockfighting__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-cockfighting__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Additional homepage specific styles for full CSS requirement (not used on this page, but included as per strict instruction) */
.page-cockfighting__promo-strip-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; overflow-x: hidden; }
.page-cockfighting__hot-games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.page-cockfighting__hot-games-item-name, .page-cockfighting__hot-games-item-rtp, .page-cockfighting__hot-games-item-desc { text-align: center; }
.page-cockfighting__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 100; }
.page-cockfighting__reward-modal { position: fixed; inset: 0; z-index: 10000; display: none; background: rgba(0,0,0,0.7); align-items: center; justify-content: center; }
.page-cockfighting__reward-modal-content { background: #fff; padding: 30px; border-radius: 10px; text-align: center; position: relative; }
.page-cockfighting__reward-modal-close { position: absolute; top: 10px; right: 10px; font-size: 24px; cursor: pointer; }
.page-cockfighting--reward-open { overflow: hidden; }
.is-hidden { display: none !important; pointer-events: none !important; }