/* style/cockfighting-thomo-live.css */

/* Base styles for the page content */
.page-cockfighting-thomo-live {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #1a1a2e, so use light text */
  background-color: #1a1a2e;
  padding: 0;
  margin: 0;
}

.page-cockfighting-thomo-live__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-cockfighting-thomo-live__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-cockfighting-thomo-live__text-center {
  text-align: center;
}

.page-cockfighting-thomo-live__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439; /* Brand color for titles */
  font-weight: bold;
}

.page-cockfighting-thomo-live__dark-bg .page-cockfighting-thomo-live__section-title {
  color: #ffffff;
}

.page-cockfighting-thomo-live__text-block p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-cockfighting-thomo-live__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-cockfighting-thomo-live__list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-cockfighting-thomo-live__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-cockfighting-thomo-live__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-cockfighting-thomo-live__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-cockfighting-thomo-live__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.page-cockfighting-thomo-live__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for main title on dark background */
  font-weight: bold;
  line-height: 1.2;
}

.page-cockfighting-thomo-live__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #ffffff;
}

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

/* Buttons */
.page-cockfighting-thomo-live__btn-primary,
.page-cockfighting-thomo-live__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-cockfighting-thomo-live__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-cockfighting-thomo-live__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-cockfighting-thomo-live__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-cockfighting-thomo-live__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-cockfighting-thomo-live__light-bg .page-cockfighting-thomo-live__btn-secondary {
  color: #017439;
  border-color: #017439;
}

.page-cockfighting-thomo-live__light-bg .page-cockfighting-thomo-live__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

/* About Section */
.page-cockfighting-thomo-live__about-section {
  padding: 60px 0;
}

.page-cockfighting-thomo-live__image-gallery {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cockfighting-thomo-live__image-gallery .page-cockfighting-thomo-live__image {
  max-width: 100%;
  width: 550px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-cockfighting-thomo-live__features-section {
  padding: 60px 0;
}

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

.page-cockfighting-thomo-live__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards on dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting-thomo-live__feature-card .page-cockfighting-thomo-live__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-cockfighting-thomo-live__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for card titles on dark background */
}

.page-cockfighting-thomo-live__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Rules Section */
.page-cockfighting-thomo-live__rules-section {
  padding: 60px 0;
}

/* How-to-Play Section */
.page-cockfighting-thomo-live__how-to-play-section {
  padding: 60px 0;
}

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

.page-cockfighting-thomo-live__step-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting-thomo-live__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-cockfighting-thomo-live__step-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-cockfighting-thomo-live__tips-block {
  background-color: #f5f5f5;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-cockfighting-thomo-live__tips-block .page-cockfighting-thomo-live__card-title {
  color: #017439;
  margin-bottom: 20px;
}

/* Schedule Section */
.page-cockfighting-thomo-live__schedule-section {
    padding: 60px 0;
}

.page-cockfighting-thomo-live__schedule-section .page-cockfighting-thomo-live__content-container {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-cockfighting-thomo-live__schedule-section .page-cockfighting-thomo-live__text-block {
    flex: 1;
    min-width: 300px;
}

.page-cockfighting-thomo-live__image-container {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-cockfighting-thomo-live__image-container .page-cockfighting-thomo-live__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Promotions Section */
.page-cockfighting-thomo-live__promotions-section {
  padding: 60px 0;
}

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

.page-cockfighting-thomo-live__promotion-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-cockfighting-thomo-live__promotion-card .page-cockfighting-thomo-live__card-title {
  color: #FFFF00;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-cockfighting-thomo-live__promotion-card .page-cockfighting-thomo-live__card-description {
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Download App Section */
.page-cockfighting-thomo-live__download-app-section {
  padding: 60px 0;
}

.page-cockfighting-thomo-live__app-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap-reverse;
}

.page-cockfighting-thomo-live__app-text {
  flex: 1;
  min-width: 300px;
}

.page-cockfighting-thomo-live__app-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-cockfighting-thomo-live__app-image .page-cockfighting-thomo-live__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-cockfighting-thomo-live__faq-section {
  padding: 60px 0;
}

.page-cockfighting-thomo-live__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cockfighting-thomo-live__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-cockfighting-thomo-live__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-cockfighting-thomo-live__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-cockfighting-thomo-live__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-cockfighting-thomo-live__faq-item.active .page-cockfighting-thomo-live__faq-toggle {
  transform: rotate(45deg);
}

.page-cockfighting-thomo-live__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-cockfighting-thomo-live__faq-item.active .page-cockfighting-thomo-live__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

.page-cockfighting-thomo-live__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-cockfighting-thomo-live__cta-final-section {
  padding: 60px 0;
}

.page-cockfighting-thomo-live__cta-final-section .page-cockfighting-thomo-live__section-title {
  color: #017439;
}

.page-cockfighting-thomo-live__cta-final-section .page-cockfighting-thomo-live__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  color: #333333;
}

.page-cockfighting-thomo-live__button-group {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cockfighting-thomo-live__main-title {
    font-size: 2.8em;
  }

  .page-cockfighting-thomo-live__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-cockfighting-thomo-live__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
  }

  .page-cockfighting-thomo-live__main-title {
    font-size: 2.2em;
  }

  .page-cockfighting-thomo-live__hero-description {
    font-size: 1.1em;
  }

  .page-cockfighting-thomo-live__section-title {
    font-size: 1.8em;
  }

  .page-cockfighting-thomo-live__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-cockfighting-thomo-live__btn-primary,
  .page-cockfighting-thomo-live__btn-secondary,
  .page-cockfighting-thomo-live a[class*="button"],
  .page-cockfighting-thomo-live 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-thomo-live__cta-buttons.page-cockfighting-thomo-live__button-group {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-cockfighting-thomo-live__image-gallery,
  .page-cockfighting-thomo-live__features-grid,
  .page-cockfighting-thomo-live__steps-grid,
  .page-cockfighting-thomo-live__promotions-grid,
  .page-cockfighting-thomo-live__app-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-cockfighting-thomo-live__app-layout {
      flex-direction: column-reverse; /* Stack app image on top of text for mobile */
  }

  .page-cockfighting-thomo-live__about-section .page-cockfighting-thomo-live__content-container,
  .page-cockfighting-thomo-live__features-section .page-cockfighting-thomo-live__content-container,
  .page-cockfighting-thomo-live__rules-section .page-cockfighting-thomo-live__content-container,
  .page-cockfighting-thomo-live__how-to-play-section .page-cockfighting-thomo-live__content-container,
  .page-cockfighting-thomo-live__schedule-section .page-cockfighting-thomo-live__content-container,
  .page-cockfighting-thomo-live__promotions-section .page-cockfighting-thomo-live__content-container,
  .page-cockfighting-thomo-live__download-app-section .page-cockfighting-thomo-live__content-container,
  .page-cockfighting-thomo-live__faq-section .page-cockfighting-thomo-live__content-container,
  .page-cockfighting-thomo-live__cta-final-section .page-cockfighting-thomo-live__content-container {
    padding: 20px 15px;
  }

  /* Mobile image and video responsiveness */
  .page-cockfighting-thomo-live img,
  .page-cockfighting-thomo-live video,
  .page-cockfighting-thomo-live__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cockfighting-thomo-live__hero-video-wrapper,
  .page-cockfighting-thomo-live__video-link,
  .page-cockfighting-thomo-live__video-container,
  .page-cockfighting-thomo-live__video-wrapper,
  .page-cockfighting-thomo-live__image-gallery,
  .page-cockfighting-thomo-live__image-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cockfighting-thomo-live__schedule-section .page-cockfighting-thomo-live__content-container {
      flex-direction: column;
  }

  .page-cockfighting-thomo-live__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-cockfighting-thomo-live__faq-answer {
    padding: 0 15px;
  }
  .page-cockfighting-thomo-live__faq-item.active .page-cockfighting-thomo-live__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-cockfighting-thomo-live__main-title {
    font-size: 1.8em;
  }

  .page-cockfighting-thomo-live__hero-description {
    font-size: 1em;
  }

  .page-cockfighting-thomo-live__section-title {
    font-size: 1.5em;
  }

  .page-cockfighting-thomo-live__btn-primary,
  .page-cockfighting-thomo-live__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}