/* style/cockfighting.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark-color: #333333;
    --text-light-color: #ffffff;
    --bg-dark-body: #0a0a0a;
    --btn-register-color: #C30808;
    --btn-login-color: #C30808;
    --font-register-login: #FFFF00;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light-color); /* Default text color for dark body background */
    background-color: var(--bg-dark-body); /* Body background is dark */
}

.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: var(--text-light-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-cockfighting__section-subtitle {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 40px;
}

.page-cockfighting__text-dark {
    color: var(--text-dark-color);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    box-sizing: border-box;
}

.page-cockfighting__hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-cockfighting__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-cockfighting__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.page-cockfighting__hero-description {
    font-size: 1.4em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background-color: var(--btn-register-color);
    color: var(--font-register-login);
    border: 2px solid var(--btn-register-color);
}

.page-cockfighting__btn-primary:hover {
    background-color: darken(var(--btn-register-color), 10%);
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-cockfighting__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 1em;
}

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

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

.page-cockfighting__intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__intro-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
}

.page-cockfighting__intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-cockfighting__video-section {
    padding: 80px 0;
    background-color: var(--secondary-color); /* Light background for video section */
    color: var(--text-dark-color);
}

.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.page-cockfighting__video-caption {
    text-align: center;
    font-style: italic;
    font-size: 1em;
    color: var(--text-dark-color);
}

/* Features Section */
.page-cockfighting__features-section {
    padding: 80px 0;
}

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

.page-cockfighting__feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting__feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Guide Section */
.page-cockfighting__guide-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark-color);
}

.page-cockfighting__guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-cockfighting__ordered-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-cockfighting__ordered-list li {
    margin-bottom: 30px;
    position: relative;
    padding-left: 60px;
}

.page-cockfighting__ordered-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-cockfighting__list-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-cockfighting__ordered-list p {
    color: var(--text-dark-color);
}

.page-cockfighting__guide-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__link-inline {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-cockfighting__link-inline:hover {
    color: darken(var(--primary-color), 10%);
}

/* Bet Types Section */
.page-cockfighting__bet-types-section {
    padding: 80px 0;
}

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

.page-cockfighting__type-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__type-card h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-cockfighting__type-card p {
    color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__bet-types-footer {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Strategy Section */
.page-cockfighting__strategy-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark-color);
}

.page-cockfighting__strategy-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: flex-start;
}

.page-cockfighting__strategy-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__unordered-list {
    list-style: none;
    padding: 0;
}

.page-cockfighting__unordered-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1em;
    color: var(--text-dark-color);
}

.page-cockfighting__unordered-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Promo Section */
.page-cockfighting__promo-section {
    padding: 80px 0;
}

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

.page-cockfighting__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-cockfighting__promo-card p {
    color: rgba(255, 255, 255, 0.8);
}

.page-cockfighting__promo-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-dark-color);
}

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

.page-cockfighting__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #eaf7ed;
    border-bottom: 1px solid #e0e0e0;
    user-select: none;
    list-style: none;
}

.page-cockfighting__faq-question::-webkit-details-marker {
    display: none;
}

.page-cockfighting__faq-qtext {
    flex-grow: 1;
    color: var(--text-dark-color);
}

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-cockfighting__faq-answer {
    padding: 20px;
    background-color: #ffffff;
    color: var(--text-dark-color);
    border-top: 1px solid #e0e0e0;
}

.page-cockfighting__faq-answer p {
    margin: 0;
}

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Dark background section */
.page-cockfighting__dark-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-cockfighting__dark-section .page-cockfighting__section-title,
.page-cockfighting__dark-section .page-cockfighting__section-subtitle,
.page-cockfighting__dark-section p,
.page-cockfighting__dark-section h3 {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: 2.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2.2em;
    }
    .page-cockfighting__intro-grid,
    .page-cockfighting__guide-grid,
    .page-cockfighting__strategy-content {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__intro-image,
    .page-cockfighting__guide-image,
    .page-cockfighting__strategy-image {
        order: -1; /* Image above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        height: 70vh;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-cockfighting__hero-title {
        font-size: 2.2em;
    }
    .page-cockfighting__hero-description {
        font-size: 1em;
    }
    .page-cockfighting__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
    }
    .page-cockfighting__section-subtitle {
        font-size: 1em;
    }
    .page-cockfighting__intro-section,
    .page-cockfighting__video-section,
    .page-cockfighting__features-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promo-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        padding: 40px 0;
    }

    .page-cockfighting__container {
        padding: 0 15px;
    }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting video,
    .page-cockfighting__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-cockfighting__feature-card img,
    .page-cockfighting__promo-card img {
        height: auto; /* Allow height to adjust on mobile */
        min-height: 200px; /* Ensure minimum size */
    }

    .page-cockfighting__ordered-list li {
        padding-left: 50px;
    }
    .page-cockfighting__ordered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: 1.8em;
    }
    .page-cockfighting__hero-description {
        font-size: 0.9em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__faq-question {
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 1.2em;
    }
}