/* style/cockfighting.css */
.page-cockfighting {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color, #FFF6D6); /* Default text color for dark background */
  background: var(--background-color, #0A0A0A); /* Inherited from shared, ensuring dark theme */
  line-height: 1.6;
}

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

/* Hero Section */
.page-cockfighting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-cockfighting__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-cockfighting__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px;
}

.page-cockfighting__hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0;
  background: linear-gradient(0deg, var(--background-color, #0A0A0A) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 0) 100%);
  margin-top: -80px; /* Overlap slightly with image for smooth transition */
}

.page-cockfighting__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting__subtitle {
  font-size: 1.2em;
  color: var(--text-main-color, #FFF6D6);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-cockfighting__btn-primary,
.page-cockfighting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for light button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-cockfighting__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-cockfighting__btn-secondary {
  background: transparent;
  color: var(--text-main-color, #FFF6D6);
  border: 2px solid var(--border-color, #3A2A12);
  box-shadow: 0 4px 15px rgba(58, 42, 18, 0.4);
}

.page-cockfighting__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  border-color: #FFD36B;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

/* General Sections */
.page-cockfighting__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--text-main-color, #FFF6D6);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-cockfighting__about-section,
.page-cockfighting__features-section,
.page-cockfighting__game-types-section,
.page-cockfighting__faq-section {
  padding: 80px 0;
}

/* About Section */
.page-cockfighting__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-cockfighting__text-block {
  flex: 1;
  font-size: 1.1em;
  color: var(--text-main-color, #FFF6D6);
}

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

.page-cockfighting__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color, #3A2A12);
}

.page-cockfighting__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

/* Features Section */
.page-cockfighting__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
}

.page-cockfighting__feature-item {
  background: var(--card-bg-color, #111111);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #3A2A12);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-cockfighting__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-cockfighting__feature-title {
  font-size: 1.5em;
  color: var(--glow-color, #FFD36B);
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

.page-cockfighting__feature-item p {
  color: var(--text-main-color, #FFF6D6);
  font-size: 1em;
}

/* Game Types Section */
.page-cockfighting__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-cockfighting__game-card {
  background: var(--card-bg-color, #111111);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color, #3A2A12);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-cockfighting__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-cockfighting__game-title {
  font-size: 1.4em;
  color: var(--glow-color, #FFD36B);
  margin: 20px 0 10px;
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

.page-cockfighting__game-card p {
  color: var(--text-main-color, #FFF6D6);
  padding: 0 20px 20px;
  font-size: 0.95em;
}

.page-cockfighting__game-btn {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cockfighting__game-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(255, 211, 107, 0.4);
}