/* General Styles for page-cockfighting */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    background-color: #F5F7FA; /* Page background */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #E53935; /* Main brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__section-description {
    font-size: 18px;
    color: #333333;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styles */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box; /* Ensure padding/border included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

.page-cockfighting__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.2);
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    width: 100%; /* Ensure container responsiveness */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-cockfighting__cta-buttons--center {
    justify-content: center;
}

/* Image Styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
    border-radius: 8px;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 60px;
    text-align: center;
    background-color: #F5F7FA;
}

.page-cockfighting__hero-image {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: clamp(32px, 4.5vw, 48px); /* Responsive font size */
    font-weight: 800;
    color: #E53935;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.page-cockfighting__intro-text {
    font-size: 20px;
    color: #333333;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section (Dark Background) */
.page-cockfighting__intro-section {
    padding: 80px 0;
    margin-bottom: 60px;
}

.page-cockfighting__dark-section {
    background-color: #E53935; /* Main brand color for dark section */
    color: #ffffff; /* White text on dark background */
}

.page-cockfighting__dark-section .page-cockfighting__section-title {
    color: #ffffff; /* White title on dark background */
}

.page-cockfighting__dark-section .page-cockfighting__section-description {
    color: #f0f0f0;
}

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

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

.page-cockfighting__text-block {
    flex: 1;
    font-size: 18px;
}

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

.page-cockfighting__text-block strong {
    color: #FFD700; /* Highlight important keywords */
}

.page-cockfighting__image-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* Why Choose Section */
.page-cockfighting__why-choose-section {
    padding: 80px 0;
    margin-bottom: 60px;
    background-color: #ffffff;
}

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

.page-cockfighting__feature-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-cockfighting__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__feature-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-cockfighting__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 15px;
}

/* How To Play Section (Light Background) */
.page-cockfighting__how-to-play-section {
    padding: 80px 0;
    margin-bottom: 60px;
    background-color: #F5F7FA; /* Light background */
}

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

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

.page-cockfighting__step-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-cockfighting__step-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-top: 20px;
}

.page-cockfighting__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
    padding: 80px 0;
    margin-bottom: 60px;
    background-color: #ffffff;
}

.page-cockfighting__bet-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-cockfighting__option-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    color: #333333;
}

.page-cockfighting__option-card .page-cockfighting__card-title {
    font-size: 22px;
    color: #E53935;
    margin-bottom: 10px;
}

/* Promotions Section (Dark Background) */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    margin-bottom: 60px;
}

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

.page-cockfighting__promo-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-cockfighting__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card .page-cockfighting__card-title {
    color: #E53935;
    margin-bottom: 10px;
}

.page-cockfighting__promo-card .page-cockfighting__btn-primary {
    margin-top: 20px;
    width: auto;
    max-width: 100%;
}

/* Security Section (Light Background) */
.page-cockfighting__security-section {
    padding: 80px 0;
    margin-bottom: 60px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935; /* Use brand color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}