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

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    color: #F2C14E; /* Main Color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
    color: #111111; /* Dark text for contrast */
    border: none;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
    background: #111111; /* Card BG */
    color: #F2C14E; /* Main Color */
    border: 2px solid #F2C14E;
}

.page-cockfighting__btn-secondary:hover {
    background: #F2C14E;
    color: #111111;
    transform: translateY(-2px);
}

/* Hero Section */
.page-cockfighting__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top margin, assuming body has padding-top for header */
    margin-bottom: 50px;
}

.page-cockfighting__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 600px;
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual effect */
    background: rgba(17, 17, 17, 0.9); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.page-cockfighting__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Flexible font size */
    color: #F2C14E;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

.page-cockfighting__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Introduction Section */
.page-cockfighting__intro-section {
    padding: 60px 0;
    background-color: #0A0A0A;
}

/* Advantages Section */
.page-cockfighting__advantages-section {
    padding: 60px 0;
    background-color: #111111; /* Card BG */
}

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

.page-cockfighting__advantage-card {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__advantage-icon {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 5px;
    display: block;
}

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

.page-cockfighting__advantage-description {
    font-size: 1em;
    color: #FFF6D6;
}

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

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

.page-cockfighting__guide-step-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__step-number {
    font-size: 2.5em;
    color: #F2C14E;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    color: #FFD36B;
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    font-size: 1em;
    color: #FFF6D6;
}

.page-cockfighting__guide-cta {
    text-align: center;
}

/* Game Types Section */
.page-cockfighting__game-types-section {
    padding: 60px 0;
    background-color: #111111; /* Card BG */
}

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

.page-cockfighting__game-tile {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-cockfighting__game-tile:hover {
    transform: translateY(-5px);
}

.page-cockfighting__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent grid */
    object-fit: cover;
    display: block;
}

.page-cockfighting__game-title {
    font-size: 1.3em;
    color: #F2C14E;
    padding: 15px;
    margin: 0;
}

.page-cockfighting__game-description {
    font-size: 0.95em;
    color: #FFF6D6;
    padding: 0 15px 15px;
}

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

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

.page-cockfighting__promotion-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.page-cockfighting__promotion-title {
    font-size: 1.4em;
    color: #FFD36B;
    padding: 15px;
    margin-bottom: 5px;
}

.page-cockfighting__promotion-description {
    font-size: 1em;
    color: #FFF6D6;
    padding: 0 15px 15px;
    flex-grow: 1;
}

.page-cockfighting__promotion-card .page-cockfighting__btn-secondary {
    margin: 0 15px 15px;
    align-self: flex-start;
    width: calc(100% - 30px);
}

.page-cockfighting__promotions-cta {
    text-align: center;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 60px 0;
    background-color: #111111; /* Card BG */
}

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

.page-cockfighting__faq-item {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E;
    cursor: pointer;
    list-style: none;
}

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFD36B;
}

.page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #FFF6D6;
    line-height: 1.5;
}

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #0A0A0A;
}

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-cockfighting__container {
        padding: 15px;
    }

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

    .page-cockfighting__hero-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-cockfighting__hero-content {
        margin-top: -80px;
        padding: 30px 15px;
    }

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

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

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cockfighting__text-block {
        font-size: 1em;
    }

    /* Hero Section - Mobile */
    .page-cockfighting__hero-section {
        flex-direction: column;
        padding-top: 10px !important;
        min-height: unset;
    }

    .page-cockfighting__hero-image-wrapper {
        max-height: 300px;
    }

    .page-cockfighting__hero-image {
        object-fit: contain !important; /* Ensure image is fully visible, not cropped */
        height: auto !important;
        max-height: 300px !important;
    }

    .page-cockfighting__hero-content {
        margin-top: -50px;
        padding: 25px 15px;
        border-radius: 8px;
        max-width: calc(100% - 30px);
    }

    .page-cockfighting__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-cockfighting__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Advantages Section - Mobile */
    .page-cockfighting__advantages-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__advantage-card {
        padding: 25px;
    }

    .page-cockfighting__advantage-icon {
        max-height: 150px;
    }

    /* Guide Section - Mobile */
    .page-cockfighting__guide-steps {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__guide-step-item {
        padding: 25px;
    }

    /* Game Types Section - Mobile */
    .page-cockfighting__game-grid {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__game-image {
        height: 180px;
    }

    /* Promotions Section - Mobile */
    .page-cockfighting__promotion-cards {
        grid-template-columns: 1fr;
    }

    .page-cockfighting__promotion-image {
        height: 200px;
    }

    /* FAQ Section - Mobile */
    .page-cockfighting__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-cockfighting__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 15px;
    }

    /* CTA Section - Mobile */
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General image and container responsiveness for mobile */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__advantages-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__game-types-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
}