/* style/poker.css */

:root {
  --page-poker-primary-color: #F2C14E;
  --page-poker-secondary-color: #FFD36B;
  --page-poker-background-dark: #0A0A0A;
  --page-poker-card-background: #111111;
  --page-poker-text-main: #FFF6D6;
  --page-poker-border-color: #3A2A12;
  --page-poker-glow-color: #FFD36B;
  --page-poker-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-poker {
  font-family: 'Arial', sans-serif;
  color: var(--page-poker-text-main); /* Default text color for the page */
  background-color: var(--page-poker-background-dark); /* Main background from custom colors */
}

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

.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 3rem); /* Responsive font size for H2 */
  color: var(--page-poker-secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-poker__section-description {
  font-size: 1.1rem;
  color: var(--page-poker-text-main);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-poker__card {
  background-color: var(--page-poker-card-background); /* Card background from custom colors */
  border: 1px solid var(--page-poker-border-color); /* Border from custom colors */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--page-poker-text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--page-poker-glow-color);
}

.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-poker__btn-primary {
  background: var(--page-poker-button-gradient); /* Button gradient from custom colors */
  color: #ffffff; /* Button text always white */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #E6C15B 0%, #B9811A 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--page-poker-glow-color);
}

.page-poker__btn-secondary {
  background: transparent;
  color: var(--page-poker-secondary-color);
  border: 2px solid var(--page-poker-secondary-color);
}

.page-poker__btn-secondary:hover {
  background: var(--page-poker-secondary-color);
  color: var(--page-poker-background-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-poker__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header padding */
  padding-bottom: 60px;
  background: var(--page-poker-background-dark);
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-poker__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--page-poker-secondary-color);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-poker__hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--page-poker-text-main);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-poker__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

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

/* Features Section */
.page-poker__features-section,
.page-poker__getting-started-section,
.page-poker__variants-section,
.page-poker__strategy-section,
.page-poker__responsible-gaming-section,
.page-poker__faq-section,
.page-poker__cta-bottom-section {
  padding: 80px 0;
}

.page-poker__dark-section {
  background-color: var(--page-poker-background-dark);
}

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

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

.page-poker__feature-title {
  font-size: 1.5rem;
  color: var(--page-poker-secondary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-poker__feature-text {
  font-size: 1rem;
  color: var(--page-poker-text-main);
  line-height: 1.5;
}

/* Getting Started Section */
.page-poker__getting-started-section {
  background-color: #1A1A1A;
}

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

.page-poker__step-card {
  padding: 30px;
}

.page-poker__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--page-poker-button-gradient);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-poker__step-title {
  font-size: 1.6rem;
  color: var(--page-poker-secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-poker__step-text {
  font-size: 1rem;
  color: var(--page-poker-text-main);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Variants Section */
.page-poker__variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__variant-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__variant-title {
  font-size: 1.5rem;
  color: var(--page-poker-secondary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-poker__variant-text {
  font-size: 1rem;
  color: var(--page-poker-text-main);
  line-height: 1.5;
}

/* Strategy Section */
.page-poker__strategy-content {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  align-items: flex-start;
}

.page-poker__strategy-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-poker__strategy-text-block {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.page-poker__strategy-subtitle {
  font-size: 1.4rem;
  color: var(--page-poker-primary-color);
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-poker__strategy-text-block p {
  font-size: 1rem;
  color: var(--page-poker-text-main);
  line-height: 1.6;
  margin-bottom: 15px;
}

.page-poker__strategy-text-block .page-poker__btn-primary {
  margin-top: 20px;
}

/* Responsible Gaming Section */
.page-poker__responsible-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-poker__responsible-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-poker__responsible-title {
  font-size: 1.5rem;
  color: var(--page-poker-secondary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-poker__responsible-text {
  font-size: 1rem;
  color: var(--page-poker-text-main);
  line-height: 1.5;
}

.page-poker__responsible-cta {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-poker__faq-section {
  background-color: #1A1A1A;
}

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

.page-poker__faq-item {
  background-color: var(--page-poker-card-background);
  border: 1px solid var(--page-poker-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--page-poker-secondary-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.1);
}

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

.page-poker__faq-item.active .page-poker__faq-toggle {
  transform: rotate(0deg); /* "+" for collapsed, "−" for active handled by JS */
}

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-poker-text-main);
  text-align: left;
}

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

.page-poker__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* CTA Bottom Section */
.page-poker__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__cta-bottom-section .page-poker__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__strategy-content {
    flex-direction: column;
    align-items: center;
  }

  .page-poker__strategy-image,
  .page-poker__strategy-text-block {
    max-width: 100%;
    width: 100%;
  }

  .page-poker__strategy-text-block {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile fixed header padding */
    padding-bottom: 40px;
  }

  .page-poker__hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

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

  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-poker__hero-image-wrapper {
    padding: 0 15px;
  }

  .page-poker__features-section,
  .page-poker__getting-started-section,
  .page-poker__variants-section,
  .page-poker__strategy-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section,
  .page-poker__cta-bottom-section {
    padding: 40px 0;
  }

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

  .page-poker__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-poker__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-poker__feature-card,
  .page-poker__step-card,
  .page-poker__variant-card,
  .page-poker__responsible-card {
    padding: 20px;
  }

  .page-poker__feature-title,
  .page-poker__step-title,
  .page-poker__variant-title,
  .page-poker__responsible-title {
    font-size: 1.3rem;
  }

  .page-poker__feature-text,
  .page-poker__step-text,
  .page-poker__variant-text,
  .page-poker__responsible-text {
    font-size: 0.9rem;
  }

  .page-poker__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-poker__strategy-text-block {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 10px;
  }

  .page-poker__strategy-subtitle {
    font-size: 1.2rem;
  }

  .page-poker__strategy-text-block p {
    font-size: 0.9rem;
  }

  .page-poker__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

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

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

  /* All containers for images/buttons responsive */
  .page-poker__section,
  .page-poker__card,
  .page-poker__container,
  .page-poker__hero-image-wrapper,
  .page-poker__strategy-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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