.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background */
}

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

.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: 10px; /* Small top padding */
    text-align: center;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust based on 1200x675 img width/height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content-wrapper {
    background: linear-gradient(180deg, rgba(20, 12, 12, 0) 0%, rgba(20, 12, 12, 0.9) 70%, rgba(20, 12, 12, 1) 100%);
    padding: 60px 0 40px;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: -100px; /* Pull content up over gradient */
}

.page-cockfighting__main-title {
    font-size: 48px;
    font-weight: 700;
    color: #F3C54D; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-cockfighting__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #FFF1E8; /* Text Main */
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-cockfighting__about-section,
.page-cockfighting__how-to-play-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    padding: 60px 0;
}

.page-cockfighting__dark-section {
    background: #2A1212; /* Card BG */
}

.page-cockfighting__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__feature-title {
    font-size: 22px;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
    font-size: 16px;
    color: #FFF1E8; /* Text Main */
}

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

.page-cockfighting__step-card {
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #6A1E1E; /* Border */
}

.page-cockfighting__step-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-cockfighting__step-title {
    font-size: 24px;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-cockfighting__step-card p {
    font-size: 16px;
    color: #FFF1E8; /* Text Main */
    padding: 0 20px;
}

.page-cockfighting__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    background: #E53030; /* Auxiliary Color */
    color: #FFF1E8; /* Text Main */
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__btn-secondary:hover {
    background: #C61F1F; /* Main Color */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Styles */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}
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;
  color: #F3C54D; /* Gold */
}
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: rgba(255, 255, 255, 0.05);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  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: #140C0C; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8; /* Text Main */
  font-size: 16px;
}

/* Universal image responsive styles */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Desktop */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 40px;
    }
    .page-cockfighting__section-title {
        font-size: 34px;
    }
    .page-cockfighting__description {
        font-size: 17px;
    }
    .page-cockfighting__features,
    .page-cockfighting__how-to-steps {
        gap: 20px;
    }
    .page-cockfighting__feature-title {
        font-size: 20px;
    }
    .page-cockfighting__step-title {
        font-size: 22px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 30px;
        font-size: 18px;
    }
}

/* Media Queries for Mobile (max-width: 768px) - MUST INCLUDE ALL SECTIONS */
@media (max-width: 768px) {
    .page-cockfighting__container {
        padding: 0 15px;
    }

    /* Hero Section Mobile Styles */
    .page-cockfighting__hero-section {
        min-height: 400px;
        padding-top: 10px !important; /* Ensure small padding on mobile */
    }
    .page-cockfighting__hero-content-wrapper {
        padding: 40px 0 30px;
        margin-top: -80px;
    }
    .page-cockfighting__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-cockfighting__description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    /* Buttons Mobile Styles */
    .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: 14px 20px;
        font-size: 18px;
        margin-bottom: 10px; /* For stacked buttons */
    }
    .page-cockfighting__cta-bottom {
        margin-top: 30px;
    }

    /* General Section Padding Mobile */
    .page-cockfighting__about-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section {
        padding: 40px 0;
    }

    /* Section Title Mobile */
    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding-top: 20px;
    }

    /* Text Block Mobile */
    .page-cockfighting__text-block {
        font-size: 15px;
        text-align: left;
    }

    /* Features Grid Mobile */
    .page-cockfighting__features,
    .page-cockfighting__how-to-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-item,
    .page-cockfighting__step-card {
        padding: 25px 20px;
    }

    /* Feature/Step Titles Mobile */
    .page-cockfighting__feature-title {
        font-size: 20px;
    }
    .page-cockfighting__step-title {
        font-size: 20px;
    }

    /* Step Image Mobile */
    .page-cockfighting__step-image {
        height: 180px; /* Adjust height for mobile */
    }

    /* FAQ Mobile Styles */
    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;
        font-size: 15px;
    }

    /* Universal Image Responsive Styles (MUST BE !important) */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Container/Section Responsive Styles (MUST BE !important) */
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__about-section .page-cockfighting__container,
    .page-cockfighting__how-to-play-section .page-cockfighting__container,
    .page-cockfighting__promotions-section .page-cockfighting__container,
    .page-cockfighting__faq-section .page-cockfighting__container,
    .page-cockfighting__feature-item,
    .page-cockfighting__step-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}