.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding for mobile, body has main offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for desktop hero */
}

.page-cockfighting__hero-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly with image for visual flow */
    position: relative;
    z-index: 2;
    background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #3A2A12; /* Border */
}

.page-cockfighting__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    font-weight: 700;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #FFF6D6;
    margin-bottom: 25px;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for bright button */
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-cockfighting__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
    opacity: 0.9;
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    color: #F2C14E; /* Primary color */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-cockfighting__text-block {
    font-size: 1em;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

/* Features Grid */
.page-cockfighting__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-cockfighting__feature-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-cockfighting__feature-title {
    font-size: 1.4em;
    color: #FFD36B; /* Glow */
    margin-bottom: 10px;
}

.page-cockfighting__feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF6D6;
}

/* Game Types List */
.page-cockfighting__game-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-cockfighting__game-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__game-name {
    font-size: 1.3em;
    color: #F2C14E; /* Primary color */
    margin-bottom: 8px;
}

.page-cockfighting__game-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF6D6;
}

/* How To Play Section */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-bottom: 40px;
}

.page-cockfighting__step-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 20px 25px 20px 60px;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-item::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background: #F2C14E; /* Primary color */
    color: #111111; /* Dark text for bright background */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9em;
}

.page-cockfighting__step-item:nth-child(n+10)::before {
    content: counter(step-counter);
}

.page-cockfighting__step-title {
    font-size: 1.3em;
    color: #FFD36B; /* Glow */
    margin-bottom: 8px;
}

.page-cockfighting__step-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF6D6;
}

.page-cockfighting__step-description a {
    color: #FFD36B;
    text-decoration: underline;
}

.page-cockfighting__step-description a:hover {
    color: #F2C14E;
}

.page-cockfighting__cta-buttons-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-cockfighting__cta-button--large {
    padding: 16px 40px;
    font-size: 1.2em;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    margin-bottom: 60px;
}

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

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* 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: #FFF6D6;
}
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(242, 193, 78, 0.1); /* Slight hover effect with primary color */
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Primary color for question */
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Glow color for toggle */
  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: rgba(17, 17, 17, 0.8); /* Slightly darker card BG */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-cockfighting__faq-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    max-width: 100%;
    display: block;
}

/* General image styling */
.page-cockfighting img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
    }
    .page-cockfighting__features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .page-cockfighting__feature-card {
        padding: 20px;
    }
    .page-cockfighting__feature-image {
        height: 180px;
    }
    .page-cockfighting__cta-button--large {
        padding: 14px 35px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        margin-bottom: 20px;
    }
    .page-cockfighting__hero-image {
        max-height: 400px;
    }
    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 20px 15px;
        width: 100% !important; /* For button container */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8em, 8vw, 2.2em);
        margin-bottom: 10px;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Section Titles */
    .page-cockfighting__section-title {
        font-size: clamp(1.6em, 7vw, 2em);
        margin-bottom: 20px;
        padding-top: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* Features Grid */
    .page-cockfighting__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .page-cockfighting__feature-card {
        padding: 15px;
    }
    .page-cockfighting__feature-image {
        height: 150px;
    }
    .page-cockfighting__feature-title {
        font-size: 1.2em;
    }

    /* Game Types List */
    .page-cockfighting__game-item {
        padding: 15px 20px;
        margin-bottom: 10px;
    }
    .page-cockfighting__game-name {
        font-size: 1.15em;
    }

    /* How To Play Section */
    .page-cockfighting__step-item {
        padding: 15px 20px 15px 50px;
        margin-bottom: 10px;
    }
    .page-cockfighting__step-item::before {
        width: 26px;
        height: 26px;
        font-size: 0.8em;
        left: 15px;
        top: 15px;
    }
    .page-cockfighting__step-title {
        font-size: 1.15em;
    }
    .page-cockfighting__cta-buttons-wrapper {
        margin-top: 30px;
        margin-bottom: 40px;
        width: 100% !important; /* For button container */
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-cockfighting__cta-button--large {
        padding: 14px 25px;
        font-size: 1.1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ Section */
    .page-cockfighting__faq-section {
        margin-bottom: 40px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 15px; }
    .page-cockfighting__faq-answer { padding: 0 15px 15px; }
    .page-cockfighting__faq-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* Universal Image and Container Adaptations */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Contrast Fixes (if needed, applied generally) */
.page-cockfighting p,
.page-cockfighting li,
.page-cockfighting__hero-description,
.page-cockfighting__feature-description,
.page-cockfighting__game-description,
.page-cockfighting__step-description,
.page-cockfighting__faq-answer p {
    color: #FFF6D6;
}
.page-cockfighting__cta-button {
    color: #111111; /* Dark text for bright button */
}