/* style/cockfighting.css */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from body, explicit for clarity */
}

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

.page-cockfighting__section-title {
    font-size: 2.8em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0; /* Light text for dark background */
}

.page-cockfighting__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Custom color for register/login type buttons */
    color: #FFFF00; /* Custom font color for register/login type buttons */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    min-width: 200px; /* Ensure button is not too small */
}

.page-cockfighting__btn-primary:hover {
    background-color: #a30606;
    transform: translateY(-2px);
}

.page-cockfighting__btn-primary--large {
    font-size: 1.2em;
    padding: 18px 35px;
}

.page-cockfighting__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #FFFF00; /* Custom font color */
    border: 2px solid #FFFF00; /* Custom border color */
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    min-width: 200px; /* Ensure button is not too small */
}

.page-cockfighting__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808; /* Text color changes to register/login color on hover */
    transform: translateY(-2px);
}

.page-cockfighting__text-link {
    color: #017439;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: #004d2b;
}

/* --- Hero Section --- */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Minimum height for hero section */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-cockfighting__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-cockfighting__hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer; /* Indicate video is clickable */
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-cockfighting__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Why Choose Section --- */
.page-cockfighting__why-choose-section {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

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

.page-cockfighting__feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
}

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

.page-cockfighting__feature-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__feature-description {
    font-size: 1em;
    color: #555555;
}

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

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

.page-cockfighting__type-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for contrast */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__type-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-cockfighting__type-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-cockfighting__type-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 20px;
}

/* --- Guide Section --- */
.page-cockfighting__guide-section {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

.page-cockfighting__guide-steps {
    margin-top: 50px;
}

.page-cockfighting__step-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.page-cockfighting__step-item:last-child {
    margin-bottom: 0;
}

.page-cockfighting__step-item--reverse {
    flex-direction: row-reverse;
}

.page-cockfighting__step-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px; /* Ensure image is not too small */
    min-height: 200px;
    object-fit: cover;
}

.page-cockfighting__step-content {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

.page-cockfighting__step-title {
    font-size: 2.2em;
    color: #017439;
    margin-bottom: 15px;
}

.page-cockfighting__step-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 25px;
}

/* --- Tips Section --- */
.page-cockfighting__tips-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0;
}

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

.page-cockfighting__tip-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-cockfighting__tip-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-cockfighting__tip-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-cockfighting__tip-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 20px;
}

/* --- Promotions Section --- */
.page-cockfighting__promotions-section {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

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

.page-cockfighting__promo-card {
    display: flex;
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-cockfighting__promo-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__promo-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px;
}

.page-cockfighting__promo-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-cockfighting__promo-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 10px;
}

.page-cockfighting__promo-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

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

.page-cockfighting__faq-list {
    max-width: 800px;
    margin: 50px auto 0 auto;
}

.page-cockfighting__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

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

.page-cockfighting__faq-title {
    font-size: 1.3em;
    color: #ffffff;
    margin: 0;
}

.page-cockfighting__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
    transform: rotate(45deg);
}

.page-cockfighting__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px 25px 25px;
}

.page-cockfighting__faq-answer p {
    color: #f0f0f0;
    font-size: 1em;
    margin: 0;
}

/* --- Conclusion Section --- */
.page-cockfighting__conclusion-section {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    max-width: 800px;
    margin: 30px auto;
    color: #555555;
}

.page-cockfighting__cta-final {
    margin-top: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 3em;
    }

    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }

    .page-cockfighting__section-title {
        font-size: 2.2em;
    }

    .page-cockfighting__step-item {
        flex-direction: column;
        text-align: center;
    }

    .page-cockfighting__step-item--reverse {
        flex-direction: column;
    }

    .page-cockfighting__step-image {
        max-width: 80%;
        margin-bottom: 30px;
    }

    .page-cockfighting__step-content {
        max-width: 100%;
    }
}