/* style/cockfighting.css */

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

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background); /* Page background from custom colors */
}

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

.page-cockfighting__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-cockfighting__section-description {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px auto;
    color: var(--color-text-secondary);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding */
    overflow: hidden;
    background: var(--color-background);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

.page-cockfighting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Adjust as needed */
}

.page-cockfighting__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: -100px; /* Overlap slightly with image for visual flow */
    position: relative;
    z-index: 1;
}

.page-cockfighting__main-title {
    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-cockfighting__description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: var(--color-text-main);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.page-cockfighting__btn-primary {
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    box-shadow: 0 5px 20px rgba(42, 209, 111, 0.4);
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 209, 111, 0.6);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-main);
    transform: translateY(-3px);
}

/* Intro Section */
.page-cockfighting__intro-section {
    padding: 80px 0;
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-cockfighting__intro-section p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

/* Features Section */
.page-cockfighting__features-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

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

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

.page-cockfighting__feature-card.page-cockfighting__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-cockfighting__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.page-cockfighting__feature-card.page-cockfighting__card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* How-to-play Section */
.page-cockfighting__how-to-play-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

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

.page-cockfighting__step-card.page-cockfighting__card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-cockfighting__step-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1;
}

.page-cockfighting__step-card.page-cockfighting__card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

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

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

.page-cockfighting__strategy-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-cockfighting__strategy-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.page-cockfighting__strategy-text {
    flex: 1;
}

.page-cockfighting__strategy-text p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-cockfighting__strategy-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-cockfighting__strategy-text li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--color-text-main);
}

.page-cockfighting__strategy-text li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
}

.page-cockfighting__text-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-cockfighting__text-link:hover {
    color: var(--color-glow);
    text-decoration: underline;
}

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
    color: var(--color-text-main);
}

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

.page-cockfighting__promo-card.page-cockfighting__card {
    background-color: var(--color-card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.page-cockfighting__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-cockfighting__promo-card.page-cockfighting__card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-cockfighting__promo-card.page-cockfighting__card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-button-gradient);
    color: var(--color-text-main);
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.page-cockfighting__btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(42, 209, 111, 0.4);
}

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

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

.page-cockfighting__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cockfighting__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    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: 24px;
    font-weight: 700;
    color: var(--color-gold);
    margin-left: 20px;
}

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

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
}

/* CTA Section */
.page-cockfighting__cta-section {
    padding: 80px 0;
    background-color: var(--color-deep-green);
    text-align: center;
    color: var(--color-text-main);
}

.page-cockfighting__cta-content {
    max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__strategy-content {
        flex-direction: column;
        align-items: center;
    }

    .page-cockfighting__strategy-image {
        max-width: 100%;
        margin-bottom: 40px;
    }
}

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

    .page-cockfighting__hero-section {
        padding-bottom: 40px;
    }

    .page-cockfighting__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-cockfighting__hero-content {
        margin-top: -60px;
        padding: 0 15px;
    }

    .page-cockfighting__main-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .page-cockfighting__description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-cockfighting__section-title {
        font-size: clamp(24px, 5vw, 36px);
        margin-bottom: 30px;
    }

    .page-cockfighting__section-description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .page-cockfighting__features-grid,
    .page-cockfighting__steps-grid,
    .page-cockfighting__promotions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-cockfighting__feature-card.page-cockfighting__card,
    .page-cockfighting__step-card.page-cockfighting__card,
    .page-cockfighting__promo-card.page-cockfighting__card {
        padding: 25px;
    }

    .page-cockfighting__feature-image,
    .page-cockfighting__promo-image {
        height: 180px;
    }

    .page-cockfighting__card-title {
        font-size: 20px;
    }

    .page-cockfighting__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }

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

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

    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__intro-section,
    .page-cockfighting__features-section,
    .page-cockfighting__how-to-play-section,
    .page-cockfighting__strategy-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;
    }

    /* Specific override for hero-section to avoid double padding */
    .page-cockfighting__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-cockfighting__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video section top padding */
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }

    /* Video responsiveness */
    .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 {
        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;
    }
    .page-cockfighting__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__hero-content {
        margin-top: -40px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }
    .page-cockfighting__description {
        font-size: 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(22px, 6vw, 32px);
    }
}