/* Shared body padding from shared.css, no duplicate here */
.page-cockfighting {
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy */
}

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

.page-cockfighting__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page-cockfighting__hero-content {
  text-align: center;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-cockfighting__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-cockfighting__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  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, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(43, 115, 246, 0.4);
}

.page-cockfighting__btn-secondary {
  background: #10233F; /* Card BG */
  color: #AFC4E8; /* Text Secondary */
  border: 2px solid #244D84; /* Border */
}

.page-cockfighting__btn-secondary:hover {
  transform: translateY(-2px);
  background: #1B3357; /* Divider */
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-cockfighting__intro-section,
.page-cockfighting__guide-section,
.page-cockfighting__strategy-section,
.page-cockfighting__cta-bottom {
  padding: 60px 0;
}

.page-cockfighting__types-section,
.page-cockfighting__benefits-section,
.page-cockfighting__faq-section {
  padding: 60px 0;
  background-color: #10233F; /* Card BG */
}

.page-cockfighting__text-block {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
}

.page-cockfighting__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-cockfighting__card {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-cockfighting__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-cockfighting__card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

.page-cockfighting__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-cockfighting__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-cockfighting__guide-steps {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-cockfighting__step-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  position: relative;
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(43, 115, 246, 0.3);
}

.page-cockfighting__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-top: 10px;
  margin-bottom: 10px;
}

.page-cockfighting__step-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-cockfighting__guide-image,
.page-cockfighting__strategy-image {
  flex: 1;
  width: 100%;
  height: auto;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-cockfighting__benefit-item {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__benefit-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 8px #4FA8FF); /* Glow */
}

.page-cockfighting__benefit-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-cockfighting__benefit-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

.page-cockfighting__faq-list {
  margin-top: 40px;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #08162B; /* Deep Navy */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}

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: #1B3357; /* Divider */
}

.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 25px 20px;
  background: #10233F; /* Card BG */
  border-radius: 0 0 10px 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

.page-cockfighting__cta-bottom {
  text-align: center;
  padding-bottom: 80px;
}

.page-cockfighting__cta-bottom .page-cockfighting__section-title {
  margin-bottom: 20px;
}

.page-cockfighting__cta-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

/* --- Responsive Styles --- */

/* Homepage Trial Layout (as per prompt's JSON example, though not used in HTML for this 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;
  }
}

/* General Desktop Layout */
@media (min-width: 769px) {
  .page-cockfighting__hero-section .page-cockfighting__container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
    text-align: left;
  }

  .page-cockfighting__hero-content {
    text-align: left;
    margin-bottom: 0;
  }

  .page-cockfighting__hero-image-wrapper {
    max-width: 50%;
  }

  .page-cockfighting__cta-buttons {
    justify-content: flex-start;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-cockfighting__container {
    padding: 0 15px !important;
  }

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

  .page-cockfighting__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__btn-primary,
  .page-cockfighting__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-cockfighting__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-cockfighting__intro-section,
  .page-cockfighting__types-section,
  .page-cockfighting__guide-section,
  .page-cockfighting__benefits-section,
  .page-cockfighting__strategy-section,
  .page-cockfighting__faq-section,
  .page-cockfighting__cta-bottom {
    padding: 40px 0;
  }

  .page-cockfighting__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-cockfighting__card {
    padding: 20px;
  }

  .page-cockfighting__card-title {
    font-size: 1.3rem;
  }

  .page-cockfighting__card-description {
    font-size: 0.95rem;
  }

  .page-cockfighting__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-cockfighting__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-cockfighting__guide-image,
  .page-cockfighting__strategy-image {
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
  }

  .page-cockfighting__step-item {
    padding: 20px;
  }

  .page-cockfighting__step-number {
    top: -10px;
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .page-cockfighting__step-title {
    font-size: 1.2rem;
  }

  .page-cockfighting__benefit-icon {
    width: 70px;
    height: 70px;
  }

  .page-cockfighting__benefit-title {
    font-size: 1.2rem;
  }

  details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    padding: 15px 20px;
  }

  .page-cockfighting__faq-qtext {
    font-size: 1rem;
  }

  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 20px 15px;
  }

  /* Universal image and container responsive styles */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__content-wrapper,
  .page-cockfighting__grid-cards,
  .page-cockfighting__benefits-grid,
  .page-cockfighting__guide-steps,
  .page-cockfighting__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Homepage Trial Overlay/Start Button (as per prompt's JSON example) */
.page-cockfighting__game-trial-overlay{
  z-index:5;
  pointer-events:auto;
}
.page-cockfighting__game-trial-overlay.is-hidden{
  display:none!important;
  pointer-events:none!important;
}
.page-cockfighting__game-trial-start{
  z-index:6;
  pointer-events:auto;
  touch-action:manipulation;
}
.page-cockfighting__game-trial-shell{
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  overflow:hidden;
}
.page-cockfighting__reward-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-cockfighting__reward-modal.is-visible {
  opacity: 1;
  visibility: visible;
}
.page-cockfighting__reward-modal-content {
  background: #10233F;
  color: #F3F8FF;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.page-cockfighting__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #AFC4E8;
  cursor: pointer;
  transition: color 0.2s ease;
}
.page-cockfighting__reward-modal-close:hover {
  color: #F2C14E;
}
.page-cockfighting__reward-modal h3 {
  color: #F2C14E;
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.page-cockfighting__reward-modal p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}