:root {
    --primary-color: #FFD700; /* Vàng sang trọng */
    --secondary-color: #8B0000; /* Đỏ sẫm mạnh mẽ */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

/* General page styling */
.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.page-cockfighting .section-padding {
    padding: 80px 0;
}

.page-cockfighting .bg-light {
    background-color: var(--bg-light);
}

.page-cockfighting .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-cockfighting .section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-cockfighting .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-cockfighting .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-cockfighting .cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting .btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.page-cockfighting .btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting .btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.page-cockfighting .btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-cockfighting .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-1px);
}

/* Hero Section */
.page-cockfighting .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-dark); /* Fallback for image */
}

.page-cockfighting .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-cockfighting .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-cockfighting .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cockfighting .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay for text readability */
    padding: 30px;
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-cockfighting .hero-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-cockfighting .hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-cockfighting .intro-section .content-block {
    font-size: 18px;
    text-align: justify;
}

.page-cockfighting .intro-section .content-block p {
    margin-bottom: 20px;
}

.page-cockfighting .intro-section .content-block a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-cockfighting .intro-section .content-block a:hover {
    text-decoration: underline;
}

/* Features Section */
.page-cockfighting .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-cockfighting .feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-cockfighting .feature-item h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting .feature-item p {
    font-size: 16px;
    color: var(--text-dark);
}

.page-cockfighting .feature-item a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

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

.page-cockfighting .step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding-top: 70px;
}

.page-cockfighting .step-item .step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cockfighting .step-item h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-cockfighting .step-item p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Game Types Section */
.page-cockfighting .game-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-cockfighting .game-type-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .game-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting .game-type-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-cockfighting .game-type-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin: 20px 15px 10px;
}

.page-cockfighting .game-type-card p {
    font-size: 15px;
    color: var(--text-dark);
    padding: 0 15px 20px;
}

.page-cockfighting .game-type-card .btn {
    margin-bottom: 20px;
}

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

.page-cockfighting .promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting .promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cockfighting .promo-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-cockfighting .promo-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin: 20px 15px 10px;
}

.page-cockfighting .promo-card p {
    font-size: 15px;
    color: var(--text-dark);
    padding: 0 15px 20px;
}

.page-cockfighting .promo-card a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

/* Tips Section */
.page-cockfighting .tips-content ul {
    list-style: none;
    padding: 0;
}

.page-cockfighting .tips-content li {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    font-size: 17px;
}

.page-cockfighting .tips-content .tip-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

.page-cockfighting .tips-content li strong {
    color: var(--secondary-color);
    font-size: 18px;
}

.page-cockfighting .tips-content p {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

/* FAQ Section */
.page-cockfighting .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-cockfighting .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-cockfighting .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-cockfighting .faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: var(--secondary-color);
}

.page-cockfighting .faq-question:hover {
    background: var(--bg-light);
}

.page-cockfighting .faq-question h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
    flex-grow: 1;
}

.page-cockfighting .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-cockfighting .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-cockfighting .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.page-cockfighting .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px;
    border-color: var(--secondary-color);
}

.page-cockfighting .faq-answer p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.page-cockfighting .faq-answer p:last-child {
    margin-bottom: 0;
}

.page-cockfighting .faq-answer a {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting .hero-content h1 {
        font-size: 40px;
    }

    .page-cockfighting .hero-content p {
        font-size: 18px;
    }

    .page-cockfighting .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting .section-padding {
        padding: 60px 0;
    }

    .page-cockfighting .hero-section {
        padding: 40px 15px;
    }

    .page-cockfighting .hero-image img {
        border-radius: 4px;
    }

    .page-cockfighting .hero-content {
        padding: 20px;
        margin-top: -60px;
    }

    .page-cockfighting .hero-content h1 {
        font-size: 32px;
    }

    .page-cockfighting .hero-content p {
        font-size: 16px;
    }

    .page-cockfighting .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-cockfighting .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .page-cockfighting .feature-item, .page-cockfighting .step-item, .page-cockfighting .game-type-card, .page-cockfighting .promo-card {
        padding: 25px;
        padding-top: 60px;
    }

    .page-cockfighting .step-item .step-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
        top: -25px;
    }

    .page-cockfighting .feature-item h3, .page-cockfighting .step-item h3, .page-cockfighting .game-type-card h3, .page-cockfighting .promo-card h3 {
        font-size: 20px;
    }

    .page-cockfighting .tips-content li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .page-cockfighting .tips-content .tip-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .page-cockfighting .tips-content li strong {
        margin-bottom: 5px;
        display: block;
    }

    .page-cockfighting .faq-question {
        padding: 15px 20px;
    }

    .page-cockfighting .faq-question h3 {
        font-size: 16px;
    }

    .page-cockfighting .faq-toggle {
        font-size: 20px;
    }

    .page-cockfighting .faq-answer {
        padding: 0 20px;
    }

    .page-cockfighting .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting .hero-content h1 {
        font-size: 28px;
    }

    .page-cockfighting .hero-content p {
        font-size: 15px;
    }

    .page-cockfighting .cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }

    .page-cockfighting .section-title {
        font-size: 24px;
    }

    .page-cockfighting .feature-item h3, .page-cockfighting .step-item h3, .page-cockfighting .game-type-card h3, .page-cockfighting .promo-card h3 {
        font-size: 18px;
    }

    .page-cockfighting .faq-question h3 {
        font-size: 15px;
    }
}