/* style/cockfighting.css */
:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --page-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--page-bg);
    line-height: 1.6;
}

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.page-cockfighting__section.page-cockfighting__dark-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-cockfighting__section.page-cockfighting__light-bg {
    background-color: #1a1e26; /* Slightly lighter dark for contrast */
    color: var(--text-main);
}

.page-cockfighting__heading {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
}

.page-cockfighting__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-main);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, var(--page-bg) 0%, rgba(13, 14, 18, 0.8) 100%);
    overflow: hidden;
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.page-cockfighting__hero-image img:hover {
    transform: scale(1.02);
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-cockfighting__hero-content h1 {
    font-size: clamp(2.5em, 5vw, 4.5em); /* Responsive font size */
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 0 15px var(--glow-color);
}

.page-cockfighting__hero-content p {
    font-size: 1.2em;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-cockfighting__cta-button:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

.page-cockfighting__cta-button--large {
    padding: 18px 50px;
    font-size: 1.4em;
}

/* Grid for game types */
.page-cockfighting__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-cockfighting__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--primary-color);
}

.page-cockfighting__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__card-text {
    font-size: 1em;
    color: var(--text-main);
}

/* Lists */
.page-cockfighting__ordered-list, .page-cockfighting__unordered-list {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 30px;
    padding-left: 25px;
}

.page-cockfighting__ordered-list li, .page-cockfighting__unordered-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-main);
}

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

.page-cockfighting__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-cockfighting__btn-primary:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Image containers */
.page-cockfighting__image-container {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--primary-color);
    font-weight: bold;
}
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(var(--primary-color), 0.1);
}
.page-cockfighting__faq-qtext {
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}
.page-cockfighting__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
    padding: 0 25px 20px;
    background: #1a1e26; /* Slightly lighter card bg for answer */
    border-radius: 0 0 10px 10px;
    color: var(--text-main);
    text-align: left;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__heading {
        font-size: 2.5em;
    }
    .page-cockfighting__hero-content h1 {
        font-size: clamp(2em, 4.5vw, 4em);
    }
    .page-cockfighting__paragraph {
        font-size: 1em;
    }
    .page-cockfighting__cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-cockfighting__cta-button--large {
        padding: 15px 40px;
        font-size: 1.2em;
    }
    .page-cockfighting__grid {
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 25px;
    }
    .page-cockfighting__card-title {
        font-size: 1.6em;
    }
    .page-cockfighting__ordered-list li, .page-cockfighting__unordered-list li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-image {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    .page-cockfighting__hero-content {
        padding: 0 10px;
    }
    .page-cockfighting__hero-content h1 {
        font-size: clamp(1.8em, 7vw, 3.5em);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-content p {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__cta-button--large {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-cockfighting__cta-button--large {
        padding: 14px 25px;
        font-size: 1.1em;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__heading {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .page-cockfighting__paragraph {
        font-size: 0.9em;
    }
    .page-cockfighting__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__card {
        padding: 20px;
    }
    .page-cockfighting__card-title {
        font-size: 1.4em;
    }
    .page-cockfighting__list-title {
        font-size: 1.2em;
    }
    .page-cockfighting__ordered-list, .page-cockfighting__unordered-list {
        padding-left: 20px;
    }
    .page-cockfighting__ordered-list li, .page-cockfighting__unordered-list li {
        font-size: 0.95em;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    .page-cockfighting__faq-qtext {
        font-size: 1em;
    }
    .page-cockfighting__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 20px 15px;
    }
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__image-container,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__introduction,
    .page-cockfighting__game-types,
    .page-cockfighting__guide,
    .page-cockfighting__benefits,
    .page-cockfighting__strategies,
    .page-cockfighting__faq,
    .page-cockfighting__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}