/* style/poker.css */

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

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

.page-poker__section {
  padding: 80px 0;
  text-align: center;
}

.page-poker__dark-section {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-poker__light-bg {
  background-color: #111111; /* Card BG, used for lighter contrast sections */
  color: #FFF6D6;
}

.page-poker__section-title {
  font-size: clamp(2em, 4vw, 3.2em);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-poker__section-intro {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* Hero Section */
.page-poker__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-poker__hero-content {
  max-width: 900px;
  margin-top: 40px;
}

.page-poker__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.95;
}

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

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

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A;
  border: 2px solid transparent;
}

.page-poker__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

.page-poker__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-poker__btn-tertiary {
  background: #3A2A12; /* Border color for subtle background */
  color: #FFD36B; /* Glow */
  border: 1px solid #3A2A12;
  padding: 10px 20px;
  font-size: 0.95em;
}

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

/* Card styles */
.page-poker__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #FFF6D6;
}

.page-poker__card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
}

.page-poker__card h3 {
  color: #FFD36B;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-poker__card p {
  font-size: 1em;
  line-height: 1.5;
  opacity: 0.8;
  flex-grow: 1;
}

/* Why Choose Spintime section */
.page-poker__why-choose .page-poker__container {
  padding-top: 40px;
  padding-bottom: 40px;
}

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

.page-poker__feature-icon {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-poker__game-title {
  font-size: 1.6em;
  margin-top: 15px;
}

/* Tournaments Section */
.page-poker__tournament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-poker__tournament-item {
  padding: 30px;
}

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

.page-poker__step-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Strategy & Tips Section */
.page-poker__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Mobile App Section */
.page-poker__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.page-poker__mobile-app-text {
  flex: 1;
}

.page-poker__mobile-app-text .page-poker__section-title {
  text-align: left;
}

.page-poker__app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  font-size: 1.1em;
  line-height: 1.8;
  color: #FFF6D6;
}

.page-poker__app-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.page-poker__app-features li::before {
  content: '✓';
  color: #F2C14E;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-poker__mobile-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-poker__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Partners Section */
.page-poker__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2x5 grid for desktop */
  gap: 20px;
  margin-top: 40px;
  align-items: center;
  justify-items: center;
}

.page-poker__partner-logo {
  width: 167px;
  height: 127px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease;
}

.page-poker__partner-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* FAQ Section */
.page-poker__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-poker__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

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

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

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

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

.page-poker__faq-answer p {
  margin: 0;
  opacity: 0.8;
}

.page-poker__faq-answer a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-poker__faq-answer a:hover {
  color: #FFD36B;
}

/* Conclusion CTA Section */
.page-poker__cta-conclusion .page-poker__btn-primary {
  margin-top: 30px;
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-poker__mobile-app-text .page-poker__section-title,
  .page-poker__mobile-app-text .page-poker__section-intro {
    text-align: center;
  }
  .page-poker__app-features {
    text-align: left;
    margin: 30px auto;
    max-width: 500px;
  }
  .page-poker__partners-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns for tablet */
  }
}

@media (max-width: 768px) {
  .page-poker__section {
    padding: 60px 0;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .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,
  .page-poker a[class*="button"],
  .page-poker 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-poker__cta-buttons,
  .page-poker__button-group,
  .page-poker__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-poker__hero-section {
    padding-top: 10px !important; /* Small top padding for hero on mobile */
  }

  .page-poker__video-container,
  .page-poker__mobile-app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-poker__video,
  .page-poker img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-poker__section,
  .page-poker__card,
  .page-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
  }
  .page-poker__partner-logo {
    width: 100%; /* Make logos fill available space in 2-column grid */
    height: auto; /* Maintain aspect ratio */
    max-width: 167px; /* Keep original max width */
  }

  .page-poker__faq-question,
  .page-poker__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker__main-title {
    font-size: 2em;
  }
  .page-poker__section-title {
    font-size: 2em;
  }
  .page-poker__features-grid,
  .page-poker__game-grid,
  .page-poker__tournament-grid,
  .page-poker__steps-grid,
  .page-poker__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-poker__partners-grid {
    grid-template-columns: 1fr;
  }
}