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

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--background);
}

.page-cockfighting__hero-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__hero-content {
    max-width: 900px;
    text-align: center;
    color: var(--text-main);
    z-index: 1;
}

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

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

.page-cockfighting__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-cockfighting__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-cockfighting__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

.page-cockfighting__btn-secondary {
    background: transparent;
    color: var(--gold-color); /* Adjusted for better contrast on dark backgrounds */
    border: 2px solid var(--gold-color);
}

.page-cockfighting__btn-secondary:hover {
    background: rgba(var(--gold-color), 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--gold-color), 0.5);
}

/* General Section Styling */
.page-cockfighting__section {
    padding: 80px 20px;
    background-color: var(--background);
    color: var(--text-main);
}

.page-cockfighting__dark-section {
    background-color: var(--card-bg);
}

.page-cockfighting__container {
    width: 100%; /* Ensure container takes full width on desktop for flex/grid to work */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cockfighting__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-cockfighting__section-title--light {
    color: var(--gold-color);
}

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

.page-cockfighting__description--small {
    font-size: 0.95rem;
    margin-top: 20px;
    margin-bottom: 0;
}

.page-cockfighting__description--light {
    color: var(--text-main);
}

.page-cockfighting__content-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-cockfighting__image-left, 
.page-cockfighting__image-right, 
.page-cockfighting__image-center, 
.page-cockfighting__image-bottom {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 800px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__image-left {
    flex: 1 1 40%;
    order: 0;
}
.page-cockfighting__image-right {
    flex: 1 1 40%;
    order: 1;
}

.page-cockfighting__feature-list {
    flex: 1 1 50%;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-cockfighting__feature-item {
    background-color: var(--deep-green);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-cockfighting__feature-item:hover {
    transform: translateY(-5px);
}

.page-cockfighting__feature-item h3 {
    color: var(--gold-color);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
}

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

/* Bet Types Section */
.page-cockfighting__bet-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.page-cockfighting__bet-card:hover {
    transform: translateY(-5px);
}

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

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

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

.page-cockfighting__step-item {
    background-color: var(--deep-green);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 60px;
}

.page-cockfighting__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    background: var(--button-gradient);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

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

.page-cockfighting__step-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.page-cockfighting__btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    display: inline-block;
}

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

.page-cockfighting__promotion-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-cockfighting__promotion-card:hover {
    transform: translateY(-5px);
}

.page-cockfighting__promotion-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__promotion-card .page-cockfighting__card-title {
    padding: 20px 20px 10px 20px;
    margin-bottom: 0;
}

.page-cockfighting__promotion-card .page-cockfighting__card-text {
    padding: 0 20px 20px 20px;
    margin-bottom: 0;
}

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

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

.page-cockfighting__tip-item {
    background-color: var(--deep-green);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-cockfighting__tip-item:hover {
    transform: translateY(-5px);
}

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

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

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

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

.page-cockfighting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-cockfighting__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--glow-color);
}

.page-cockfighting__faq-answer {
    padding: 20px 30px;
    color: var(--text-secondary);
    font-size: 1rem;
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
}

/* Conclusion Section */
.page-cockfighting__conclusion-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--card-bg);
    color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }
    .page-cockfighting__subtitle {
        font-size: 1rem;
    }
    .page-cockfighting__section {
        padding: 60px 15px;
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-cockfighting__description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    .page-cockfighting__content-area {
        flex-direction: column;
    }
    .page-cockfighting__image-left,
    .page-cockfighting__image-right {
        flex: 1 1 100%;
        order: initial;
    }
}

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

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-cockfighting__hero-image,
    .page-cockfighting__image-left,
    .page-cockfighting__image-right,
    .page-cockfighting__image-center,
    .page-cockfighting__image-bottom,
    .page-cockfighting__promotion-image,
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container,
    .page-cockfighting__hero-section,
    .page-cockfighting__bet-card,
    .page-cockfighting__guide-steps,
    .page-cockfighting__step-item,
    .page-cockfighting__promotions-grid,
    .page-cockfighting__promotion-card,
    .page-cockfighting__tips-grid,
    .page-cockfighting__tip-item,
    .page-cockfighting__faq-list,
    .page-cockfighting__faq-item,
    .page-cockfighting__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-cockfighting__hero-section,
    .page-cockfighting__section,
    .page-cockfighting__conclusion-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-cockfighting__cta-button,
    .page-cockfighting__btn-primary,
    .page-cockfighting__btn-secondary,
    .page-cockfighting a[class*="button"],
    .page-cockfighting a[class*="btn"] {
        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__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;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .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__hero-content {
        padding: 0 10px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    .page-cockfighting__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .page-cockfighting__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-cockfighting__faq-answer {
        padding: 15px 20px;
    }
    .page-cockfighting__step-item {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-cockfighting__step-number {
        left: 20px;
    }
}