/* style/cockfighting.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login: #EA7C07;
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background: var(--secondary-color); /* Default white background */
}

/* Fixed Header Spacing (Desktop) */
.page-cockfighting__hero-section {
    padding-top: var(--header-offset, 120px);
}

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

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #a2dcf3 100%);
    color: var(--text-light);
}

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

.page-cockfighting__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-cockfighting__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-cockfighting__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-cockfighting__tagline {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

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

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

.page-cockfighting__btn-primary {
    background: var(--button-login);
    color: var(--text-light);
    border: 2px solid var(--button-login);
}

.page-cockfighting__btn-primary:hover {
    background: #d46f06;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* General Section Styles */
.page-cockfighting__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-cockfighting__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

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

/* Color Contrast Sections */
.page-cockfighting__light-bg {
    background: var(--background-light);
    color: var(--text-dark);
    padding: 60px 0;
}

.page-cockfighting__dark-bg {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
}

.page-cockfighting__dark-bg .page-cockfighting__section-title {
    color: var(--text-light);
}

.page-cockfighting__dark-bg .page-cockfighting__text-block {
    color: var(--text-light);
}

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

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

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

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

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

.page-cockfighting__card-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Step List (How to Play) */
.page-cockfighting__step-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__list-item {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.page-cockfighting__list-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__list-item p {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-cockfighting__list-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.page-cockfighting__feature-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-cockfighting__feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.page-cockfighting__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-cockfighting__feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Promotions List */
.page-cockfighting__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-cockfighting__promotion-item {
    background: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.page-cockfighting__promotion-item h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-cockfighting__promotion-item p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-dark);
}

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

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-cockfighting__faq-question:hover {
  background: var(--background-light);
  border-color: #c4c4c4;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-cockfighting__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-cockfighting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--background-light);
  color: var(--text-dark);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: var(--background-light);
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-cockfighting__faq-answer p {
    margin: 0;
    line-height: 1.7;
    font-size: 1em;
}

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

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

.page-cockfighting__blog-card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

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

.page-cockfighting__blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-cockfighting__blog-content {
    padding: 25px;
}

.page-cockfighting__blog-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-cockfighting__blog-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__blog-title a:hover {
    color: #1e87b7;
}

.page-cockfighting__blog-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.page-cockfighting__blog-date {
    font-size: 0.85em;
    color: #888;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 2.8em;
    }
    .page-cockfighting__tagline {
        font-size: 1.2em;
    }
    .page-cockfighting__section-title {
        font-size: 2em;
    }
    .page-cockfighting__container {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    /* Fixed Header Spacing (Mobile) */
    .page-cockfighting__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-cockfighting__container {
        padding: 30px 15px;
    }

    .page-cockfighting__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-cockfighting__tagline {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__cta-button {
        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;
    }

    /* Images responsiveness for mobile */
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
    }
    
    .page-cockfighting__hero-image img {
        border-radius: 8px;
    }

    .page-cockfighting__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 1em;
        text-align: left;
    }

    .page-cockfighting__card-grid,
    .page-cockfighting__features-grid,
    .page-cockfighting__blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-cockfighting__card,
    .page-cockfighting__feature-item,
    .page-cockfighting__list-item,
    .page-cockfighting__promotion-item,
    .page-cockfighting__blog-card {
        padding: 20px;
        border-radius: 8px;
    }

    .page-cockfighting__card img,
    .page-cockfighting__feature-item img,
    .page-cockfighting__blog-card img {
        margin-bottom: 15px;
    }
    
    .page-cockfighting__feature-item img {
        
        
    }

    .page-cockfighting__card-title,
    .page-cockfighting__list-title,
    .page-cockfighting__feature-title,
    .page-cockfighting__blog-title {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    .page-cockfighting__faq-question {
        padding: 15px 20px;
    }
    
    .page-cockfighting__faq-question h3 {
        font-size: 1em;
    }
    
    .page-cockfighting__faq-toggle {
        font-size: 1.8em;
        width: 28px;
        height: 28px;
    }
    
    .page-cockfighting__faq-answer {
        padding: 0 20px;
    }
    
    .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
        padding: 15px 20px !important;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 1.8em;
    }
    .page-cockfighting__tagline {
        font-size: 0.9em;
    }
    .page-cockfighting__section-title {
        font-size: 1.5em;
    }
    .page-cockfighting__container {
        padding: 20px 10px;
    }
}