/* style/cockfighting.css */
/* Base styles for the page */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body handles the main background color */
}

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
  overflow: hidden;
  box-sizing: border-box;
}

.page-cockfighting__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Ensure image is behind content */
  overflow: hidden;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-cockfighting__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px; /* Space from top edge */
  padding: 30px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-cockfighting__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  max-width: 100%;
}

.page-cockfighting__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
}

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

/* Buttons */
.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary,
.page-cockfighting__btn-text {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
}

.page-cockfighting__btn-primary {
  background: #26A9E0; /* Primary brand color */
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-primary:hover {
  background: #1e87b8;
  border-color: #1e87b8;
  transform: translateY(-2px);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-cockfighting__btn-secondary:hover {
  background: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-cockfighting__btn-text {
  background: transparent;
  color: #26A9E0;
  border: none;
  padding: 8px 15px;
  font-size: 0.95em;
  text-decoration: underline;
}

.page-cockfighting__btn-text:hover {
  color: #1e87b8;
}

/* Section Header */
.page-cockfighting__section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

.page-cockfighting__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #FFFFFF; /* Light text for dark body background */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-cockfighting__section-description {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

/* Video Section */
.page-cockfighting__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  box-sizing: border-box;
}

.page-cockfighting__video-container {
  position: relative;
  width: 100%; /* Desktop: width 100% is crucial */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  background-color: #000; /* Fallback for video area */
}

.page-cockfighting__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%; /* Ensure wrapper is full width */
  max-width: 100%;
  box-sizing: border-box;
}

.page-cockfighting__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-cockfighting__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* clickable overlay */
  cursor: pointer;
}

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

/* Content Area */
.page-cockfighting__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  color: #ffffff; /* Default text color for dark body background */
}

.page-cockfighting__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* Image with Text Layout */
.page-cockfighting__image-with-text {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-cockfighting__image-left {
  flex: 1;
  min-width: 300px; /* Minimum width for image */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure images behave as blocks */
  max-width: 100%; /* Responsive image */
  height: auto;
}

.page-cockfighting__text-content {
  flex: 2;
  min-width: 300px; /* Minimum width for text */
}

.page-cockfighting__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #26A9E0; /* Brand color for sub-titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-cockfighting__text-content p {
  color: #f0f0f0;
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.page-cockfighting__why-choose-us {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

.page-cockfighting__why-choose-us .page-cockfighting__section-title {
  color: #FFFFFF;
}

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

.page-cockfighting__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent light background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-cockfighting__feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-cockfighting__feature-icon {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px; /* Slightly rounded for icons */
  min-width: 200px; /* Enforce min-size */
  min-height: 200px;
  object-fit: cover;
}

.page-cockfighting__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #26A9E0; /* Brand color for card titles */
  margin-bottom: 15px;
}

.page-cockfighting__feature-card p {
  color: #f0f0f0;
}

/* Types of Cockfighting Section */
.page-cockfighting__cockfighting-types {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__type-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__type-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Enforce min-size */
  min-height: 200px;
}

/* Game Bai Integration Section */
.page-cockfighting__game-bai-integration {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #1a1a1a; /* Darker background for contrast */
  color: #ffffff;
}

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

.page-cockfighting__integration-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-cockfighting__integration-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Enforce min-size */
  min-height: 200px;
}

/* Promotions Section */
.page-cockfighting__promotions {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-cockfighting__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}