/* style/cockfighting.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --bg-dark: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-cockfighting {
    background-color: var(--bg-dark);
    color: var(--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;
}

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

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit hero image height */
    overflow: hidden;
}

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

.page-cockfighting__hero-content {
    max-width: 900px;
    margin-top: 40px;
    z-index: 1;
}

.page-cockfighting__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-cockfighting__hero-description {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 30px;
}

.page-cockfighting__hero-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;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.2);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.4);
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-cockfighting__section-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-cockfighting__why-choose-section,
.page-cockfighting__how-to-section,
.page-cockfighting__promotions-section,
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-cockfighting__types-section,
.page-cockfighting__betting-rules-section,
.page-cockfighting__security-section,
.page-cockfighting__conclusion-section {
    padding: 80px 0;
    background-color: var(--deep-green);
}

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

.page-cockfighting__features-grid,
.page-cockfighting__type-cards-grid,
.page-cockfighting__steps-grid,
.page-cockfighting__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__feature-card,
.page-cockfighting__type-card,
.page-cockfighting__step-card,
.page-cockfighting__promo-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__feature-card:hover,
.page-cockfighting__type-card:hover,
.page-cockfighting__step-card:hover,
.page-cockfighting__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    object-fit: contain;
}

.page-cockfighting__feature-title,
.page-cockfighting__type-title,
.page-cockfighting__step-title,
.page-cockfighting__promo-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-cockfighting__feature-description,
.page-cockfighting__type-description,
.page-cockfighting__step-description,
.page-cockfighting__promo-description {
    font-size: 1rem;
    color: var(--text-secondary);
    flex-grow: 1;
}

.page-cockfighting__type-image,
.page-cockfighting__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-cockfighting__step-number {
    font-size: 3rem;
    color: var(--gold-color);
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.page-cockfighting__step-button {
    margin-top: 20px;
    width: fit-content;
    align-self: center;
}

.page-cockfighting__rules-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-cockfighting__rules-card,
.page-cockfighting__tips-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-cockfighting__card-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

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

.page-cockfighting__list li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    padding-left: 25px;
}

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

.page-cockfighting__list li p {
    margin: 0;
    color: var(--text-secondary);
}

.page-cockfighting__cta-full-width {
    text-align: center;
    margin-top: 60px;
}

.page-cockfighting__security-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-cockfighting__security-text-block {
    flex: 1;
    min-width: 300px;
}

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

.page-cockfighting__text-paragraph {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.page-cockfighting__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-cockfighting__security-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block;
    margin: 0 auto;
}

.page-cockfighting__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-cockfighting__faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    margin-left: 15px;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

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

.page-cockfighting__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-cockfighting__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

.page-cockfighting__conclusion-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-cockfighting__floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-cockfighting__floating-btn {
    display: block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__floating-btn--register {
    background: var(--button-gradient);
    color: #ffffff;
}

.page-cockfighting__floating-btn--register:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-cockfighting__floating-btn--login {
    background: var(--gold-color);
    color: var(--bg-dark);
}

.page-cockfighting__floating-btn--login:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-cockfighting__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__rules-tips-grid {
        grid-template-columns: 1fr;
    }
    .page-cockfighting__security-content {
        flex-direction: column;
        text-align: center;
    }
    .page-cockfighting__security-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__container {
        padding: 0 15px;
    }
    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }
    .page-cockfighting__hero-content {
        margin-top: 20px;
    }
    .page-cockfighting__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-cockfighting__hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }
    .page-cockfighting__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        padding: 12px 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__why-choose-section,
    .page-cockfighting__types-section,
    .page-cockfighting__how-to-section,
    .page-cockfighting__betting-rules-section,
    .page-cockfighting__promotions-section,
    .page-cockfighting__security-section,
    .page-cockfighting__faq-section,
    .page-cockfighting__conclusion-section {
        padding: 50px 0;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.5rem, 5.5vw, 2.2rem);
        margin-bottom: 20px;
    }
    .page-cockfighting__section-intro {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-cockfighting__features-grid,
    .page-cockfighting__type-cards-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-cockfighting__feature-card,
    .page-cockfighting__type-card,
    .page-cockfighting__step-card,
    .page-cockfighting__promo-card,
    .page-cockfighting__rules-card,
    .page-cockfighting__tips-card {
        padding: 25px;
    }
    .page-cockfighting__feature-title,
    .page-cockfighting__type-title,
    .page-cockfighting__step-title,
    .page-cockfighting__promo-title {
        font-size: 1.3rem;
    }
    .page-cockfighting__card-title {
        font-size: 1.5rem;
    }
    .page-cockfighting__list li,
    .page-cockfighting__feature-description,
    .page-cockfighting__type-description,
    .page-cockfighting__step-description,
    .page-cockfighting__promo-description {
        font-size: 0.95rem;
    }
    .page-cockfighting__sub-title {
        font-size: 1.5rem;
    }
    .page-cockfighting__text-paragraph {
        font-size: 0.95rem;
    }
    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    .page-cockfighting__conclusion-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__floating-cta {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    .page-cockfighting__floating-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Mobile image/video/container overrides */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__video-section,
    .page-cockfighting__video-container,
    .page-cockfighting__video-wrapper,
    .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__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-cockfighting__cta-buttons,
    .page-cockfighting__button-group,
    .page-cockfighting__btn-container {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Ensure vertical stacking for buttons */
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
    }
    .page-cockfighting__hero-cta-buttons,
    .page-cockfighting__conclusion-cta-buttons {
        gap: 10px;
    }
    .page-cockfighting__floating-cta {
        flex-direction: row;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        justify-content: space-around;
    }
    .page-cockfighting__floating-btn {
        flex: 1;
        max-width: 48%;
        padding: 10px 15px;
    }
}