.page-cockfighting { font-family: 'Arial', sans-serif; color: #333333; line-height: 1.6; background-color: #f5f8ff; }
.page-cockfighting__container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.page-cockfighting__dark-section { background-color: #08162B; color: #F3F8FF; }
.page-cockfighting__dark-section .page-cockfighting__section-title, .page-cockfighting__dark-section .page-cockfighting__feature-title { color: #F3F8FF; }
.page-cockfighting__dark-section p, .page-cockfighting__dark-section .page-cockfighting__feature-description { color: #AFC4E8; }

/* Hero Section */
.page-cockfighting__hero-section { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px; position: relative; overflow: hidden; }
.page-cockfighting__hero-image-wrapper { position: relative; width: 100%; max-width: 100%; overflow: hidden; margin-top: 20px; }
.page-cockfighting__hero-image { width: 100%; height: auto; display: block; object-fit: cover; border-radius: 10px; }
.page-cockfighting__hero-content { max-width: 800px; z-index: 2; position: relative; }
.page-cockfighting__main-title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 15px; line-height: 1.2; color: #F2C14E; text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); }
.page-cockfighting__hero-description { font-size: 1.1rem; margin-bottom: 30px; color: #AFC4E8; }
.page-cockfighting__cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.page-cockfighting__btn-primary, .page-cockfighting__btn-secondary, .page-cockfighting__btn-link {
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; white-space: normal; word-wrap: break-word; max-width: 100%; box-sizing: border-box;
}
.page-cockfighting__btn-primary { background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); color: #F3F8FF; border: none; }
.page-cockfighting__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(43, 115, 246, 0.4); }
.page-cockfighting__btn-secondary { background: #10233F; color: #F3F8FF; border: 2px solid #244D84; }
.page-cockfighting__btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(36, 77, 132, 0.4); }
.page-cockfighting__btn-link { color: #1D5FD1; text-decoration: underline; background: none; border: none; padding: 0; }
.page-cockfighting__btn-link:hover { color: #2B73F6; }
.page-cockfighting__cta-center { text-align: center; margin-top: 30px; }

/* Section Titles and Descriptions */
.page-cockfighting__section-title { font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 20px; color: #113B7A; }
.page-cockfighting__section-description { font-size: 1.05rem; text-align: center; max-width: 800px; margin: 0 auto 30px; color: #555; }

/* About Section */
.page-cockfighting__content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 30px; }
.page-cockfighting__image-wrapper { width: 100%; max-width: 100%; overflow: hidden; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.page-cockfighting__image { width: 100%; height: auto; display: block; object-fit: cover; }

/* Why Choose Section */
.page-cockfighting__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__feature-card { background-color: #10233F; border-radius: 10px; padding: 30px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.page-cockfighting__feature-card:hover { transform: translateY(-5px); }
.page-cockfighting__feature-icon { width: 80px; height: 80px; margin-bottom: 20px; object-fit: contain; }
.page-cockfighting__feature-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; color: #F2C14E; }
.page-cockfighting__feature-description { font-size: 0.95rem; color: #AFC4E8; }

/* Bet Types Section */
.page-cockfighting__bet-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__bet-card { background-color: #ffffff; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease; border: 1px solid #e0e0e0; }
.page-cockfighting__bet-card:hover { transform: translateY(-5px); }
.page-cockfighting__card-image { width: 100%; height: 220px; object-fit: cover; display: block; }
.page-cockfighting__card-title { font-size: 1.3rem; font-weight: 600; padding: 15px 20px 5px; color: #113B7A; }
.page-cockfighting__card-text { font-size: 0.95rem; padding: 0 20px 20px; color: #555; }

/* Guide Section */
.page-cockfighting__guide-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-cockfighting__step-item { background-color: #10233F; border-radius: 10px; padding: 30px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.page-cockfighting__step-number { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: #F2C14E; color: #08162B; font-size: 1.8rem; font-weight: 700; margin-bottom: 20px; box-shadow: 0 0 15px rgba(242, 193, 78, 0.6); }
.page-cockfighting__step-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; color: #F3F8FF; }
.page-cockfighting__step-text { font-size: 0.95rem; color: #AFC4E8; }

/* Security Section */
.page-cockfighting__security-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 30px; }

/* FAQ Section */
details.page-cockfighting__faq-item { margin-bottom: 15px; border-radius: 5px; overflow: hidden; background: #10233F; border: 1px solid #244D84; }
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: #1B3357; }
.page-cockfighting__faq-qtext { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: #F3F8FF; }
.page-cockfighting__faq-toggle { font-size: 24px; font-weight: bold; color: #F2C14E; 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: #08162B; border-radius: 0 0 5px 5px; color: #AFC4E8; }

/* Conclusion Section */
.page-cockfighting__conclusion-section .page-cockfighting__section-description { margin-bottom: 40px; }

/* Media Queries for Responsiveness */
@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; 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; }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section { flex-direction: column; padding: 20px 15px; }
  .page-cockfighting__main-title { font-size: 2rem; }
  .page-cockfighting__hero-description { font-size: 1rem; }
  .page-cockfighting__cta-buttons { flex-direction: column; gap: 10px; width: 100%; }
  .page-cockfighting__btn-primary, .page-cockfighting__btn-secondary, .page-cockfighting__btn-link {
    width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; padding-left: 15px; padding-right: 15px;
  }

  .page-cockfighting__content-grid, .page-cockfighting__security-content { grid-template-columns: 1fr; gap: 30px; }
  .page-cockfighting__section-title { font-size: 1.8rem; }
  .page-cockfighting__section-description { font-size: 0.95rem; }

  .page-cockfighting__features-grid, .page-cockfighting__bet-cards-grid, .page-cockfighting__guide-steps { grid-template-columns: 1fr; gap: 20px; }
  .page-cockfighting__feature-card, .page-cockfighting__bet-card, .page-cockfighting__step-item { padding: 20px; }

  .page-cockfighting img { max-width: 100% !important; width: 100% !important; height: auto !important; display: block; }
  .page-cockfighting__image-wrapper, .page-cockfighting__card-image, .page-cockfighting__container {
    max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; padding-left: 15px; padding-right: 15px;
  }

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

/* General image and container responsiveness */
.page-cockfighting img { max-width: 100%; height: auto; display: block; }
.page-cockfighting__image-wrapper, .page-cockfighting__card-image, .page-cockfighting__container {
  width: 100%; max-width: 100%; overflow: hidden; box-sizing: border-box;
}

/* FAQ Toggle Icon */
.page-cockfighting__faq-toggle {
  transition: transform 0.3s ease;
}
details[open] .page-cockfighting__faq-toggle {
  transform: rotate(45deg);
}