/* style/cockfighting.css */

/* Base styles and container for the page content */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #000; /* Inherited from body, explicit for context */
}

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

.page-cockfighting__section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.85); /* Slightly lighter dark background for sections */
  border-radius: 8px;
  margin: 20px auto;
  max-width: 1400px;
}

.page-cockfighting__section:last-of-type {
  margin-bottom: 0;
}

.page-cockfighting__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0 20px;
}

.page-cockfighting__main-title {
  font-size: 44px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  padding: 0 20px;
}

.page-cockfighting__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
  padding: 0 20px;
}

.page-cockfighting__highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Buttons */
.page-cockfighting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-cockfighting__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
}

.page-cockfighting__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text for gold background */
  border: 2px solid #FFD700;
}

.page-cockfighting__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-cockfighting__btn--secondary:hover {
  background-color: #FFD700;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__btn--small {
  padding: 10px 20px;
  font-size: 16px;
  min-width: 120px;
  border-radius: 20px;
}

/* HERO Section */
.page-cockfighting__hero-section {
  position: relative;
  width: 100%;
  padding-top: 120px; /* Desktop: Account for fixed header */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  background-color: transparent; /* No background color needed, image covers */
  border-radius: 0;
}

.page-cockfighting__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-cockfighting__hero-image {
  width: 100%;
  margin: 0;
}

.page-cockfighting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* LOGO Carousel Section */
.page-cockfighting__logo-carousel-section {
  width: 100%;
  padding: 40px 20px;
  background: #1a1a1a; /* Dark background for logo carousel */
  border-radius: 0;
  margin: 0;
}

.page-cockfighting__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-cockfighting__logo-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.page-cockfighting__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-cockfighting__logo-item {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a; /* Slightly lighter background for logo items */
  border: 1px solid #3a3a3a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.page-cockfighting__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-cockfighting__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Games Section */
.page-cockfighting__games-section {
  width: 100%;
  padding: 60px 20px;
  background: #111111;
  border-radius: 0;
  margin: 0;
}

.page-cockfighting__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-cockfighting__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-cockfighting__featured-game-area {
  width: 100%;
}

.page-cockfighting__featured-game-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #FFD700;
  text-align: left;
}

.page-cockfighting__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.page-cockfighting__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-cockfighting__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-cockfighting__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-cockfighting__games-grid-area {
  width: 100%;
}

.page-cockfighting__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: flex-start;
}

.page-cockfighting__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
}

.page-cockfighting__games-tab:hover {
  color: #ffffff;
}

.page-cockfighting__games-tab.active {
  color: #FFD700;
  text-decoration: underline;
}

.page-cockfighting__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-cockfighting__games-grid.active {
  display: grid;
}

.page-cockfighting__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cockfighting__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-cockfighting__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-cockfighting__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-cockfighting__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0 0;
  padding: 0 5px 10px;
  color: #f0f0f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

/* Quick Access Section */
.page-cockfighting__quick-access-section .page-cockfighting__container {
  text-align: center;
}

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

.page-cockfighting__link-card {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #f0f0f0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
  background: #3a3a3a;
}

.page-cockfighting__link-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-cockfighting__link-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
}

/* Core Games Section */
.page-cockfighting__core-games-section .page-cockfighting__container {
  text-align: center;
}

.page-cockfighting__game-category {
  margin-bottom: 50px;
  text-align: left;
}

.page-cockfighting__game-category-title {
  font-size: 28px;
  color: #DC143C; /* Brand secondary color */
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__game-category-content {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #2a2a2a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-cockfighting__game-category-content:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image and text */
}

.page-cockfighting__game-category-image {
  width: 40%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__game-category-content p {
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #e0e0e0;
}

/* Promotions Section */
.page-cockfighting__promotions-section .page-cockfighting__container {
  text-align: center;
}

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

.page-cockfighting__promo-card {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.page-cockfighting__promo-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-cockfighting__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-cockfighting__promo-card-desc {
  font-size: 15px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Safety & Support Section */
.page-cockfighting__safety-support-section .page-cockfighting__container {
  text-align: center;
}

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

.page-cockfighting__safety-item {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__safety-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-cockfighting__safety-item-title {
  font-size: 20px;
  font-weight: bold;
  color: #DC143C;
  margin-bottom: 10px;
}

.page-cockfighting__safety-item p {
  font-size: 15px;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

/* FAQ Section */
.page-cockfighting__faq-section .page-cockfighting__container {
  text-align: center;
}

.page-cockfighting__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
}

.page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #2a2a2a; /* Darker background for answer */
  border-radius: 0 0 5px 5px;
  color: #e0e0e0;
  text-align: left;
}

.page-cockfighting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-cockfighting__faq-question:hover {
  background: #222222;
  border-color: #4a4a4a;
}

.page-cockfighting__faq-question:active {
  background: #333333;
}

.page-cockfighting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
  text-align: left;
}

.page-cockfighting__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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-item.active .page-cockfighting__faq-toggle {
  color: #DC143C;
  transform: rotate(45deg); /* Plus to X effect */
}

/* Blog Section */
.page-cockfighting__blog-section .page-cockfighting__container {
  text-align: center;
}

.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: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-cockfighting__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

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

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

.page-cockfighting__blog-card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cockfighting__blog-card-title a:hover {
  color: #DC143C;
}

.page-cockfighting__blog-card-summary {
  font-size: 15px;
  color: #e0e0e0;
  margin: 0 20px 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-cockfighting__blog-card-date {
  font-size: 13px;
  color: #999999;
  display: block;
  margin: 0 20px 20px;
}

.page-cockfighting__view-all {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .page-cockfighting__main-title {
    font-size: 38px;
  }
  .page-cockfighting__section-title {
    font-size: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 16px;
  }
  .page-cockfighting__game-category-content {
    flex-direction: column;
    text-align: center;
  }
  .page-cockfighting__game-category-content:nth-child(even) {
    flex-direction: column;
  }
  .page-cockfighting__game-category-image {
    width: 80%;
    height: 250px;
    margin-bottom: 20px;
  }
}

@media (max-width: 1024px) {
  .page-cockfighting__games-layout {
    grid-template-columns: 1fr;
  }
  .page-cockfighting__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-cockfighting__featured-game-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .page-cockfighting__hero-section {
    padding-top: 100px; /* Mobile: Account for fixed header */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .page-cockfighting__hero-image img {
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__main-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .page-cockfighting__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-cockfighting__text-block {
    font-size: 15px;
    margin-bottom: 15px;
  }
  .page-cockfighting__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
  .page-cockfighting__btn {
    padding: 12px 25px;
    font-size: 16px;
    min-width: unset;
    width: 100%;
  }
  .page-cockfighting__section {
    padding: 40px 0;
    margin: 15px auto;
  }
  .page-cockfighting__container {
    padding: 20px 15px;
  }
  .page-cockfighting__logo-carousel-section {
    padding: 30px 15px;
  }
  .page-cockfighting__logo-item {
    width: 150px;
    height: 150px;
  }
  .page-cockfighting__logo-carousel {
    gap: 15px;
  }
  .page-cockfighting__games-section {
    padding: 40px 15px;
  }
  .page-cockfighting__featured-game-title {
    font-size: 20px;
  }
  .page-cockfighting__featured-game-image {
    height: 300px;
  }
  .page-cockfighting__games-tabs {
    gap: 15px;
  }
  .page-cockfighting__games-tab {
    font-size: 16px;
  }
  .page-cockfighting__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-cockfighting__game-card-image {
    height: 150px;
  }
  .page-cockfighting__game-card-title {
    font-size: 13px;
    margin: 8px 0 0 0;
    padding: 0 3px;
  }
  .page-cockfighting__link-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-cockfighting__link-card img {
    width: 80px;
    height: 80px;
  }
  .page-cockfighting__link-card-title {
    font-size: 16px;
  }
  .page-cockfighting__game-category-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .page-cockfighting__game-category-content {
    padding: 20px;
    gap: 20px;
  }
  .page-cockfighting__game-category-image {
    width: 100%;
    height: 200px;
  }
  .page-cockfighting__game-category-content p {
    font-size: 14px;
  }
  .page-cockfighting__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__promo-card img {
    width: 120px;
    height: 120px;
  }
  .page-cockfighting__promo-card-title {
    font-size: 20px;
  }
  .page-cockfighting__promo-card-desc {
    font-size: 14px;
  }
  .page-cockfighting__safety-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__safety-item img {
    width: 80px;
    height: 80px;
  }
  .page-cockfighting__safety-item-title {
    font-size: 18px;
  }
  .page-cockfighting__safety-item p {
    font-size: 14px;
  }
  .page-cockfighting__faq-question {
    padding: 15px;
  }
  .page-cockfighting__faq-question h3 {
    font-size: 16px;
  }
  .page-cockfighting__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-cockfighting__faq-item.active .page-cockfighting__faq-answer {
    padding: 15px !important;
  }
  .page-cockfighting__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cockfighting__blog-card img {
    height: 180px;
  }
  .page-cockfighting__blog-card-title {
    font-size: 18px;
    margin: 15px 15px 8px;
  }
  .page-cockfighting__blog-card-summary,
  .page-cockfighting__blog-card-date {
    margin: 0 15px 15px;
    font-size: 13px;
  }

  /* General mobile image and container rules */
  .page-cockfighting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-cockfighting__section,
  .page-cockfighting__card,
  .page-cockfighting__container,
  .page-cockfighting__link-card,
  .page-cockfighting__promo-card,
  .page-cockfighting__safety-item,
  .page-cockfighting__blog-card,
  .page-cockfighting__game-category-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-cockfighting__hero-section .page-cockfighting__hero-image img {
    padding-left: 0;
    padding-right: 0;
  }
}