/* style/cockfighting.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --bg-color: #0A0A0A;
    --card-bg: #111111;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-cockfighting {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Text Main for general content */
    background-color: var(--bg-color); /* Page background */
    line-height: 1.6;
}

/* Ensure body padding-top is handled by shared.css */

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

.page-cockfighting__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-cockfighting__text-block {
    font-size: 17px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--text-main);
}

.page-cockfighting__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

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

.page-cockfighting__card img {
    width: 100%;
    height: 250px; /* Consistent height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-cockfighting__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-cockfighting__card-title a:hover {
    color: var(--secondary-color);
}

.page-cockfighting__card-description {
    font-size: 16px;
    color: var(--text-main);
    flex-grow: 1;
}

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

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

.page-cockfighting__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-cockfighting__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-cockfighting__centered-cta {
    text-align: center;
    margin-top: 60px;
}

/* 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, main offset from body */
    background-color: var(--bg-color);
}

.page-cockfighting__hero-container {
    position: relative;
    max-width: 1400px;
    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;
}

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

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

.page-cockfighting__main-title {
    font-size: clamp(36px, 5vw, 60px);
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.page-cockfighting__hero-description {
    font-size: 19px;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Introduction Section */
.page-cockfighting__introduction-section {
    padding: 80px 0;
}

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

/* Quick Access Section */
.page-cockfighting__quick-access-section {
    padding: 80px 0;
    background-color: #1A1A1A; /* Slightly lighter dark background for contrast */
}

.page-cockfighting__access-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.page-cockfighting__access-link {
    display: block;
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 17px;
    transition: all 0.3s ease;
}

/* Games Section */
.page-cockfighting__games-section {
    padding: 80px 0;
}

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

/* Promotions Section */
.page-cockfighting__promotions-section {
    padding: 80px 0;
    background-color: #1A1A1A;
}

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

/* Security & CS Section */
.page-cockfighting__security-cs-section {
    padding: 80px 0;
}

.page-cockfighting__security-cs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* FAQ Section */
.page-cockfighting__faq-section {
    padding: 80px 0;
    background-color: #1A1A1A;
}

.page-cockfighting__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

details.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
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;
  color: var(--primary-color);
}
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: rgba(var(--primary-color-rgb), 0.1);
}
.page-cockfighting__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-cockfighting__faq-item .page-cockfighting__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--card-bg-rgb), 0.5);
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
}

.page-cockfighting__faq-answer p {
    padding-top: 10px;
    font-size: 16px;
}

/* Blog Section */
.page-cockfighting__blog-section {
    padding: 80px 0;
}

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

.page-cockfighting__blog-card img {
    height: 200px;
}

.page-cockfighting__blog-date {
    display: block;
    font-size: 14px;
    color: var(--secondary-color);
    margin-top: 15px;
}

/* General dark/light background classes for contrast */
.page-cockfighting__dark-section {
    background-color: var(--bg-color);
    color: var(--text-main);
}

.page-cockfighting__light-bg {
    background-color: #1A1A1A;
    color: var(--text-main);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cockfighting__hero-image img {
        height: 600px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(32px, 4.5vw, 50px);
    }
    .page-cockfighting__hero-description {
        font-size: 18px;
    }
    .page-cockfighting__card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-cockfighting {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-cockfighting__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }
    .page-cockfighting__text-block {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-cockfighting__hero-section {
        padding-top: 10px !important; /* Small top padding, main offset from body */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-cockfighting__hero-image img {
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 4px;
    }
    .page-cockfighting__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-cockfighting__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-cockfighting__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-cockfighting__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
    }
    .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__container {
        padding: 0 15px;
    }
    .page-cockfighting__introduction-section, 
    .page-cockfighting__quick-access-section, 
    .page-cockfighting__games-section, 
    .page-cockfighting__promotions-section, 
    .page-cockfighting__security-cs-section, 
    .page-cockfighting__faq-section, 
    .page-cockfighting__blog-section {
        padding: 50px 0;
    }
    .page-cockfighting__feature-card, .page-cockfighting__game-card, .page-cockfighting__promo-card, .page-cockfighting__security-cs-item, .page-cockfighting__blog-card {
        padding: 20px;
    }
    .page-cockfighting__card img {
        
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-cockfighting__card-title {
        font-size: 20px;
    }
    .page-cockfighting__card-description {
        font-size: 15px;
    }
    .page-cockfighting__access-link {
        font-size: 16px;
        padding: 12px 20px;
    }
    details.page-cockfighting__faq-item summary.page-cockfighting__faq-question { padding: 15px; }
    .page-cockfighting__faq-qtext { font-size: 16px; }
    .page-cockfighting__faq-toggle { font-size: 24px; }
    details.page-cockfighting__faq-item .page-cockfighting__faq-answer { padding: 0 15px 15px; }

    .page-cockfighting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-cockfighting__section, .page-cockfighting__card, .page-cockfighting__container, .page-cockfighting__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-cockfighting__main-title {
        font-size: clamp(24px, 9vw, 36px);
    }
    .page-cockfighting__hero-description {
        font-size: 15px;
    }
    .page-cockfighting__cta-button {
        font-size: 15px;
        padding: 10px 20px;
    }
    .page-cockfighting__card img {
        
    }
    .page-cockfighting__card-title {
        font-size: 18px;
    }
    .page-cockfighting__card-description {
        font-size: 14px;
    }
}