/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-poker__section-title {
  font-size: clamp(2em, 4vw, 3em);
  color: #F2C14E; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.1em;
  color: #FFF6D6;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-poker__hero-video-wrapper {
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
  margin-top: 80px;
}

.page-poker__main-title {
  font-size: clamp(2.5em, 5vw, 4.5em);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  color: #FFD36B;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-poker__hero-description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

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

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Dark text for bright button */
  border: none;
}

.page-poker__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-poker__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Primary color text */
  border: 2px solid #F2C14E; /* Border color */
}

.page-poker__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
}

.page-poker__btn-tertiary {
  background: #F2C14E;
  color: #0A0A0A;
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-poker__btn-tertiary:hover {
  background: #FFD36B;
}

.page-poker__btn-centered {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  display: table; /* To center inline-block */
}

/* Features Section */
.page-poker__features-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-poker__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-poker__feature-heading {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color for subheadings */
  margin-bottom: 15px;
}

.page-poker__feature-text {
  font-size: 1.05em;
  color: #FFF6D6;
  flex-grow: 1;
}

/* Getting Started Section */
.page-poker__getting-started-section {
  padding: 80px 0;
  background-color: #111111;
}

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

.page-poker__step-card {
  background-color: #0A0A0A;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #3A2A12; /* Border color */
}

.page-poker__step-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-poker__step-heading {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-poker__step-text {
  font-size: 1em;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-poker__tournament-card {
  background-color: #111111;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #F2C14E;
}

.page-poker__tournament-title {
  font-size: 1.7em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-poker__tournament-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Strategy Section */
.page-poker__strategy-section {
  padding: 80px 0;
  background-color: #111111;
}

.page-poker__strategy-content {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-poker__strategy-block {
  flex: 1;
  min-width: 300px;
  background-color: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
}

.page-poker__strategy-heading {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 20px;
  text-align: center;
}

.page-poker__strategy-block ul {
  list-style: none;
  padding: 0;
}

.page-poker__strategy-block li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #FFF6D6;
}

.page-poker__strategy-block li::before {
  content: '♦'; /* Diamond bullet point */
  color: #FFD36B;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-poker__strategy-image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Partners Section */
.page-poker__partners-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-poker__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  margin-top: 40px;
}

.page-poker__partners-grid img {
  width: 100%;
   /* Fixed width */
   /* Fixed height */
  object-fit: contain;
  background-color: #111111;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.page-poker__partners-grid img:hover {
  transform: scale(1.05);
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
  background-color: #111111;
}

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

.page-poker__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #FFD36B;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: #1a1a1a;
}

.page-poker__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-poker__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1.0em;
}

.page-poker__faq-answer p {
  margin: 0 0 15px 0;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(0deg);
}

/* Conclusion Section */
.page-poker__conclusion-section {
  padding: 80px 0;
  background-color: #0A0A0A;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-content {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-poker {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-poker__hero-section {
    padding: 40px 15px;
  }

  .page-poker__hero-content {
    padding: 30px 15px;
    margin-top: 20px;
  }

  .page-poker__main-title {
    font-size: 2.5em;
  }

  .page-poker__hero-description {
    font-size: 1em;
  }

  .page-poker__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-poker__container {
    padding: 0 15px;
  }

  .page-poker__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-poker__section-description {
    margin-bottom: 30px;
  }

  .page-poker__features-section,
  .page-poker__getting-started-section,
  .page-poker__tournaments-section,
  .page-poker__strategy-section,
  .page-poker__partners-section,
  .page-poker__faq-section,
  .page-poker__conclusion-section {
    padding: 50px 0;
  }

  .page-poker__feature-card,
  .page-poker__step-card,
  .page-poker__tournament-card,
  .page-poker__strategy-block,
  .page-poker__faq-item {
    padding: 20px;
  }

  .page-poker__feature-heading,
  .page-poker__step-heading,
  .page-poker__tournament-title,
  .page-poker__strategy-heading {
    font-size: 1.5em;
  }

  .page-poker__strategy-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-poker__partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .page-poker__partners-grid img {
    width: 100% !important;
    
    height: auto !important;
  }

  .page-poker__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-poker__faq-answer {
    padding: 0 20px;
  }

  .page-poker__faq-item.active .page-poker__faq-answer {
    padding: 15px 20px;
  }

  /* Force responsive images */
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-poker__hero-video-wrapper,
  .page-poker__hero-video,
  .page-poker__video-container,
  .page-poker__section,
  .page-poker__card,
  .page-poker__container,
  .page-poker__cta-buttons,
  .page-poker__button-group,
  .page-poker__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Video specific mobile adjustment */
  .page-poker__hero-video-wrapper {
    position: relative;
    height: 250px; /* Adjust height for mobile */
  }

  .page-poker__hero-video {
    position: absolute;
    top: 0;
    left: 0;
  }

  /* First section top padding */
  .page-poker__hero-section {
    padding-top: 10px !important;
  }
}