/* style/cockfighting.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --button-login: #EA7C07;
    --border-color: #e0e0e0;
    --bg-light: #f9f9f9;
}

.page-cockfighting {
    font-family: Arial, sans-serif;
    color: var(--text-dark); /* Body background is light, so use dark text */
    line-height: 1.6;
    background-color: var(--secondary-color); /* Matches body background from shared.css */
}

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

.page-cockfighting__section {
    padding: 60px 0;
    text-align: center;
}

.page-cockfighting__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.page-cockfighting__text-white {
    color: var(--text-light);
}

/* Hero Section */
.page-cockfighting__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(135deg, var(--primary-color), #1a7fb0);
    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%; /* Ensure it takes full width within max-width */
}

.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;
}

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

.page-cockfighting__main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-cockfighting__intro-text {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cockfighting__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-cockfighting__btn-primary:hover {
    background: darken(var(--button-login), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__btn--large {
    padding: 18px 45px;
    font-size: 20px;
}

.page-cockfighting__btn--small {
    padding: 10px 25px;
    font-size: 16px;
}

/* Introduction Section */
.page-cockfighting__introduction p {
    max-width: 900px;
    margin: 15px auto;
    font-size: 17px;
}

/* Advantages Section */
.page-cockfighting__advantages {
    background-color: var(--bg-light);
}

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

.page-cockfighting__advantage-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

.page-cockfighting__advantage-card p {
    font-size: 16px;
    color: var(--text-dark);
}

/* Betting Types Section */
.page-cockfighting__betting-types {
    background: var(--primary-color);
    color: var(--text-light);
}

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

.page-cockfighting__betting-card {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: var(--text-dark);
}

.page-cockfighting__betting-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

/* Registration Guide Section */
.page-cockfighting__registration-guide {
    background: var(--secondary-color);
}

.page-cockfighting__flex-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__text-content {
    flex: 1;
}

.page-cockfighting__image-content {
    flex: 1;
    text-align: center;
}

.page-cockfighting__image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cockfighting__steps-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-cockfighting__steps-list li {
    margin-bottom: 15px;
    font-size: 17px;
    padding-left: 30px;
    position: relative;
}

.page-cockfighting__steps-list li::before {
    content: attr(data-step);
    counter-increment: step-counter;
    content: counter(step-counter);
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
    font-weight: bold;
}

/* Live Streaming Section */
.page-cockfighting__live-streaming {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__video-placeholder {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__video-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-cockfighting__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: var(--text-light);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.page-cockfighting__play-button:hover {
    opacity: 1;
}

.page-cockfighting__video-description {
    font-size: 17px;
    margin-top: 20px;
}

/* Tips Section */
.page-cockfighting__tips {
    background-color: var(--bg-light);
}

.page-cockfighting__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-cockfighting__tips-list li {
    background: var(--secondary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    line-height: 1.5;
}

.page-cockfighting__tips-list li strong {
    color: var(--primary-color);
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

/* Promotions Section */
.page-cockfighting__promotions {
    background: var(--primary-color);
    color: var(--text-light);
}

.page-cockfighting__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-cockfighting__promo-card {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-cockfighting__promo-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.page-cockfighting__promo-card p {
    font-size: 16px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cockfighting__promo-footer {
    margin-top: 30px;
    font-size: 16px;
}

.page-cockfighting__link-white {
    color: var(--text-light);
    text-decoration: underline;
}

.page-cockfighting__link-white:hover {
    color: #e0e0e0;
}

/* Security Section */
.page-cockfighting__security {
    background-color: var(--secondary-color);
}

.page-cockfighting__security p {
    max-width: 900px;
    margin: 15px auto;
    font-size: 17px;
}

.page-cockfighting__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-cockfighting__feature-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-cockfighting__feature-item h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.page-cockfighting__feature-item p {
    font-size: 16px;
    margin: 0;
}

/* FAQ Section */
details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question::-webkit-details-marker {
  display: none;
}
details.page-cockfighting__faq-item summary.page-cockfighting__faq-question:hover {
  background: var(--bg-light);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-dark);
}
.page-cockfighting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: var(--bg-light);
  border-radius: 0 0 5px 5px;
  text-align: left;
  color: var(--text-dark);
}

/* Call to Action Section */
.page-cockfighting__call-to-action {
    background: var(--primary-color);
    color: var(--text-light);
    padding-bottom: 80px;
}

.page-cockfighting__call-to-action p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-cockfighting__main-title {
        font-size: 40px;
    }
    .page-cockfighting__section-title {
        font-size: 32px;
    }
    .page-cockfighting__flex-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-cockfighting__image-content {
        order: -1; /* Image appears above text on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-cockfighting__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__main-title {
        font-size: 32px;
    }
    .page-cockfighting__intro-text {
        font-size: 18px;
    }
    .page-cockfighting__section {
        padding: 40px 0;
    }
    .page-cockfighting__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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-wrap: wrap !important;
        gap: 10px;
    }
    .page-cockfighting__hero-image img,
    .page-cockfighting__advantage-card img,
    .page-cockfighting__image-content img,
    .page-cockfighting__video-placeholder img,
    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-cockfighting__section,
    .page-cockfighting__card,
    .page-cockfighting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__advantage-card {
        padding: 20px;
    }
    .page-cockfighting__betting-card {
        padding: 20px;
    }
    .page-cockfighting__steps-list li {
        font-size: 16px;
        padding-left: 25px;
    }
    .page-cockfighting__steps-list li::before {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }
    .page-cockfighting__promo-card,
    .page-cockfighting__feature-item {
        padding: 20px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 15px; }
    .page-cockfighting__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
        padding: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: 28px;
    }
    .page-cockfighting__section-title {
        font-size: 24px;
    }
    .page-cockfighting__cta-button {
        font-size: 16px;
        padding: 12px 25px;
    }
    .page-cockfighting__advantage-card img {
        max-width: 200px;
    }
    .page-cockfighting__card-title {
        font-size: 18px;
    }
    .page-cockfighting__promo-card h3 {
        font-size: 18px;
    }
    .page-cockfighting__feature-item h3 {
        font-size: 18px;
    }
}