/* style/cockfighting.css */

/* Variables from custom color scheme */
:root {
    --page-cockfighting-bg: #08160F;
    --page-cockfighting-card-bg: #11271B;
    --page-cockfighting-text-main: #F2FFF6;
    --page-cockfighting-text-secondary: #A7D9B8;
    --page-cockfighting-border: #2E7A4E;
    --page-cockfighting-glow: #57E38D;
    --page-cockfighting-gold: #F2C14E;
    --page-cockfighting-divider: #1E3A2A;
    --page-cockfighting-deep-green: #0A4B2C;
    --page-cockfighting-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    position: relative;
    order: 1; /* Image block first */
}

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

.page-cockfighting__hero-content {
    position: relative;
    z-index: 10;
    padding: 30px 20px;
    order: 2; /* Text block second */
    max-width: 800px;
    box-sizing: border-box;
}

.page-cockfighting__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--page-cockfighting-gold);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0px 0px 10px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__subtitle {
    font-size: 1.2rem;
    color: var(--page-cockfighting-text-main);
    margin-bottom: 30px;
}

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

.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;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    min-width: 180px;
}

.page-cockfighting__btn-primary {
    background: var(--page-cockfighting-btn-gradient);
    color: var(--page-cockfighting-text-main);
    border: 2px solid transparent;
}

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-secondary {
    background-color: transparent;
    color: var(--page-cockfighting-text-main);
    border: 2px solid var(--page-cockfighting-deep-green);
}

.page-cockfighting__btn-secondary:hover {
    background-color: var(--page-cockfighting-deep-green);
    color: var(--page-cockfighting-text-main);
    transform: translateY(-2px);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: unset;
}

/* Section Titles */
.page-cockfighting__section-title {
    font-size: 2.5rem;
    color: var(--page-cockfighting-gold);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    text-shadow: 0px 0px 8px rgba(242, 193, 78, 0.3);
}

/* Text Blocks */
.page-cockfighting__text-block {
    font-size: 1.1rem;
    color: var(--page-cockfighting-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-cockfighting__small-text {
    font-size: 0.9rem;
    color: var(--page-cockfighting-text-secondary);
    margin-top: 30px;
    text-align: center;
}

/* Image Content */
.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Lists */
.page-cockfighting__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-cockfighting__list-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__list-title {
    font-size: 1.4rem;
    color: var(--page-cockfighting-gold);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__list-item p {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1rem;
}

/* Steps List (Ordered List) */
.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-cockfighting__step-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 8px;
    padding: 25px 30px 25px 70px; /* Left padding for counter */
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 25px;
    width: 35px;
    height: 35px;
    background: var(--page-cockfighting-btn-gradient);
    color: var(--page-cockfighting-text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.page-cockfighting__step-title {
    font-size: 1.5rem;
    color: var(--page-cockfighting-gold);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__step-item p {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1rem;
}

/* Benefits Grid */
.page-cockfighting__benefits-grid,
.page-cockfighting__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-cockfighting__benefit-card,
.page-cockfighting__promotion-card {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__benefit-card:hover,
.page-cockfighting__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-cockfighting__card-title {
    font-size: 1.3rem;
    color: var(--page-cockfighting-gold);
    margin-top: 15px;
    margin-bottom: 10px;
}

.page-cockfighting__card-text {
    color: var(--page-cockfighting-text-secondary);
    font-size: 1rem;
}

.page-cockfighting__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-cockfighting__faq-list {
    margin-top: 30px;
}

.page-cockfighting__faq-item {
    background-color: var(--page-cockfighting-card-bg);
    border: 1px solid var(--page-cockfighting-border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--page-cockfighting-text-main);
    font-weight: bold;
    background-color: var(--page-cockfighting-deep-green);
    border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-question:hover {
    background-color: var(--page-cockfighting-deep-green);
    opacity: 0.9;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-cockfighting-gold);
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-question {
    border-bottom: 1px solid var(--page-cockfighting-divider);
}

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--page-cockfighting-text-secondary);
    background-color: var(--page-cockfighting-card-bg);
}

/* Hide default details marker */
.page-cockfighting__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-cockfighting__faq-item summary::marker {
    display: none;
}

.page-cockfighting__faq-item[open] .page-cockfighting__faq-toggle {
    content: '−';
}

/* Links within content */
.page-cockfighting a {
    color: var(--page-cockfighting-glow);
    text-decoration: none;
}

.page-cockfighting a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: 2rem;
    }
    .page-cockfighting__hero-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        padding: 15px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-cockfighting__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .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__section-title {
        font-size: 1.8rem;
        margin-top: 40px;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 1rem;
    }
    .page-cockfighting__list-title,
    .page-cockfighting__step-title {
        font-size: 1.2rem;
    }
    .page-cockfighting__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
    .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__hero-image-wrapper,
    .page-cockfighting__hero-content,
    .page-cockfighting__cta-buttons,
    .page-cockfighting__benefits-grid,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__faq-list {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-cockfighting__hero-section,
    .page-cockfighting__introduction-section,
    .page-cockfighting__bet-types-section,
    .page-cockfighting__guide-section,
    .page-cockfighting__benefits-section,
    .page-cockfighting__strategy-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__cta-final-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }
    .page-cockfighting__section-title {
        font-size: 1.5rem;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    .page-cockfighting__step-item {
        padding: 20px 20px 20px 60px;
    }
    .page-cockfighting__step-item::before {
        left: 15px;
        top: 20px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .page-cockfighting__list-item,
    .page-cockfighting__benefit-card,
    .page-cockfighting__promotion-card {
        padding: 20px;
    }
}