.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--secondary-color, #FFFFFF); /* Assumed light background from shared.css */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #26A9E0; /* Brand primary color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__center-text {
    text-align: center;
}

.page-cockfighting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure buttons adapt to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
    background-color: #1a7bbd;
    border-color: #1a7bbd;
}

.page-cockfighting__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* Specific button color for login */
a[href="login.html"].page-cockfighting__btn-secondary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border-color: #EA7C07;
}
a[href="login.html"].page-cockfighting__btn-secondary:hover {
    background-color: #c96806;
    border-color: #c96806;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    background-color: #26A9E0; /* Dark section for text */
    color: #FFFFFF;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-cockfighting__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 60px 0;
}

/* Features Section */
.page-cockfighting__features-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Primary brand color background */
    color: #FFFFFF;
}

.page-cockfighting__features-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

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

.page-cockfighting__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #FFFFFF;
}

.page-cockfighting__feature-icon {
    width: 200px; /* Min size 200px */
    height: 150px; /* Example aspect ratio */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-cockfighting__feature-card .page-cockfighting__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-cockfighting__feature-card .page-cockfighting__card-description {
    font-size: 1em;
    line-height: 1.5;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
    padding: 60px 0;
}

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

.page-cockfighting__game-type-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #333333;
}

.page-cockfighting__game-type-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-cockfighting__game-type-card .page-cockfighting__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #26A9E0;
}

.page-cockfighting__game-type-card .page-cockfighting__card-description {
    padding: 0 20px 20px;
    font-size: 1em;
    line-height: 1.5;
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-cockfighting__guide-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

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

.page-cockfighting__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
}

.page-cockfighting__step-icon {
    width: 200px; /* Min size 200px */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-cockfighting__step-description {
    font-size: 1em;
    line-height: 1.5;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 60px 0;
}

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

.page-cockfighting__promotion-card {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promotion-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-cockfighting__promotion-card .page-cockfighting__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #26A9E0;
}

.page-cockfighting__promotion-card .page-cockfighting__card-description {
    padding: 0 20px 15px;
    font-size: 1em;
    line-height: 1.5;
    flex-grow: 1;
}

.page-cockfighting__card-link {
    display: inline-block;
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-cockfighting__card-link:hover {
    background-color: #1a7bbd;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-cockfighting__faq-section .page-cockfighting__section-title {
    color: #FFFFFF;
}

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

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    list-style: none; /* For details/summary */
}

.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-cockfighting__faq-item summary {
    list-style: none;
}

.page-cockfighting__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: #FFFFFF;
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #FFFFFF;
}