/* style/cockfighting.css */

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

/* Base styles for the page-cockfighting scope */
.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--kuwin-text-main); /* Default text color for dark background */
    background-color: var(--kuwin-bg-main); /* Assumed body background */
}

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

.page-cockfighting__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--kuwin-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-cockfighting__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--kuwin-btn-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--kuwin-text-secondary);
}

.page-cockfighting__link-text {
    color: var(--kuwin-secondary);
    text-decoration: underline;
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles main header offset */
    background-color: var(--kuwin-bg-main);
}

.page-cockfighting__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-cockfighting__hero-content {
    position: relative;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
    background-color: var(--kuwin-bg-main);
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly for visual effect, but not on image */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-cockfighting__main-title {
    font-size: 2.8em;
    font-weight: 800;
    color: var(--kuwin-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-cockfighting__description {
    font-size: 1.3em;
    color: var(--kuwin-text-secondary);
    margin-bottom: 30px;
    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: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.page-cockfighting__btn-primary {
    background: var(--kuwin-btn-gradient);
    color: var(--kuwin-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: transparent;
    color: var(--kuwin-secondary);
    border: 2px solid var(--kuwin-secondary);
}

.page-cockfighting__btn-secondary:hover {
    background: var(--kuwin-secondary);
    color: var(--kuwin-bg-main);
    transform: translateY(-2px);
}

.page-cockfighting__btn-small {
    padding: 10px 20px;
    font-size: 1em;
    min-width: 150px;
}

/* Section Styles */
.page-cockfighting__dark-section {
    background-color: var(--kuwin-bg-main);
    color: var(--kuwin-text-main);
    padding: 80px 0;
}

.page-cockfighting__light-bg {
    background-color: var(--kuwin-bg-card);
    color: var(--kuwin-text-main);
    padding: 80px 0;
}

.page-cockfighting__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Features Section */
.page-cockfighting__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

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

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

.page-cockfighting__card-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--kuwin-text-main);
    margin-bottom: 15px;
}

.page-cockfighting__card-description {
    color: var(--kuwin-text-secondary);
    font-size: 0.95em;
}

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

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

.page-cockfighting__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--kuwin-btn-gradient);
    color: var(--kuwin-text-main);
    font-size: 2em;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.3);
}

.page-cockfighting__step-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--kuwin-text-main);
    margin-bottom: 10px;
}

.page-cockfighting__step-description {
    color: var(--kuwin-text-secondary);
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Video Section */
.page-cockfighting__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background-color: var(--kuwin-deep-green);
}

.page-cockfighting__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

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

.page-cockfighting__promotion-card.page-cockfighting__card {
    background-color: var(--kuwin-bg-card);
    border: 1px solid var(--kuwin-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

/* Responsible Gambling Section */
.page-cockfighting__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting__responsible-item {
    background-color: var(--kuwin-bg-card);
    border: 1px solid var(--kuwin-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-cockfighting__list-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--kuwin-text-main);
    margin-bottom: 10px;
}

.page-cockfighting__list-description {
    color: var(--kuwin-text-secondary);
    font-size: 0.95em;
}

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--kuwin-text-main);
    cursor: pointer;
    background-color: var(--kuwin-deep-green);
    border-bottom: 1px solid var(--kuwin-border);
    user-select: none;
    list-style: none;
}

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

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

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

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

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

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

.page-cockfighting__faq-answer p {
    margin-bottom: 10px;
    color: var(--kuwin-text-secondary);
}

.page-cockfighting__faq-answer a {
    color: var(--kuwin-secondary);
    text-decoration: underline;
}

/* Call to Action Bottom Section */
.page-cockfighting__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.2em;
    }
    .page-cockfighting__description {
        font-size: 1.1em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-content {
        margin-top: -40px;
        padding: 30px 15px;
    }
    .page-cockfighting__main-title {
        font-size: 1.8em;
        line-height: 1.3;
    }
    .page-cockfighting__description {
        font-size: 1em;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 0.95em;
    }
    .page-cockfighting__dark-section,
    .page-cockfighting__light-bg {
        padding: 50px 0;
    }
    .page-cockfighting__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Image responsiveness */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-cockfighting__hero-image-wrapper,
    .page-cockfighting__image-content,
    .page-cockfighting__card-image,
    .page-cockfighting__video-wrapper,
    .page-cockfighting__promotion-card,
    .page-cockfighting__feature-card,
    .page-cockfighting__guide-step,
    .page-cockfighting__responsible-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !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-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
    }
    .page-cockfighting__video-section {
        padding-top: 10px !important;
    }
    .page-cockfighting__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.5em;
    }
    .page-cockfighting__description {
        font-size: 0.9em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__hero-content {
        margin-top: -20px;
    }
    .page-cockfighting__cta-buttons {
        gap: 10px;
    }
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-cockfighting__feature-card.page-cockfighting__card,
    .page-cockfighting__guide-step,
    .page-cockfighting__promotion-card.page-cockfighting__card,
    .page-cockfighting__responsible-item {
        padding: 20px;
    }
}