.page-online-poker {
  color: #333333;
  background-color: #F3F3F3;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-online-poker__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Desktop fixed header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background: linear-gradient(135deg, #FFFFFF, #025BE8);
}

.page-online-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-online-poker__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  color: #ffffff;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.4); /* Subtle overlay for text readability */
  border-radius: 10px;
  margin-top: 20px; /* Space from image if not full overlay */
}

.page-online-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-online-poker__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-online-poker__btn-primary,
.page-online-poker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-online-poker__btn-primary {
  background-color: #1266EC;
  color: #ffffff;
  border: 2px solid #1266EC;
}

.page-online-poker__btn-primary:hover {
  background-color: #025BE8;
  border-color: #025BE8;
}

.page-online-poker__btn-secondary {
  background-color: #E5EEFD;
  color: #025BE8;
  border: 2px solid #E5EEFD;
}

.page-online-poker__btn-secondary:hover {
  background-color: #025BE8;
  color: #ffffff;
  border-color: #025BE8;
}

.page-online-poker__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #025BE8;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-online-poker__introduction-section,
.page-online-poker__getting-started-section,
.page-online-poker__tournaments-section,
.page-online-poker__support-section,
.page-online-poker__faq-section {
  padding: 60px 0;
}

.page-online-poker__features-section,
.page-online-poker__strategy-section,
.page-online-poker__responsible-gaming-section,
.page-online-poker__conclusion-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-online-poker__light-bg {
  background-color: #F3F3F3;
}

.page-online-poker__text-block {
  font-size: 1.1rem;
  color: #404040;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-online-poker__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-online-poker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-online-poker__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-online-poker__card-title {
  font-size: 1.8rem;
  color: #025BE8;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-online-poker__card-text {
  font-size: 1rem;
  color: #404040;
  text-align: center;
}

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

.page-online-poker__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 280px;
  border: 1px solid #e0e0e0;
}

.page-online-poker__step-title {
  font-size: 1.6rem;
  color: #025BE8;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-online-poker__strategy-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

.page-online-poker__strategy-title {
  font-size: 1.7rem;
  color: #025BE8;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-online-poker__strategy-text {
  font-size: 1rem;
  color: #404040;
}

.page-online-poker__support-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-online-poker__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-online-poker__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-online-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #025BE8;
  cursor: pointer;
  background-color: #E5EEFD;
  transition: background-color 0.3s ease;
}

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

.page-online-poker__faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #025BE8;
}

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

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

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

.page-online-poker__faq-item.active .page-online-poker__faq-answer {
  max-height: 1000px !important;
  padding: 20px;
}

.page-online-poker__faq-answer p {
  margin: 0;
  padding-top: 10px;
  font-size: 1rem;
  text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-online-poker__hero-content {
    padding: 30px 15px;
  }

  .page-online-poker__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }

  .page-online-poker__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  }

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

  .page-online-poker__card-title {
    font-size: 1.6rem;
  }

  .page-online-poker__strategy-title {
    font-size: 1.5rem;
  }

  .page-online-poker__text-block,
  .page-online-poker__card-text,
  .page-online-poker__strategy-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .page-online-poker__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    min-height: 500px;
  }

  .page-online-poker__hero-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-online-poker__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-online-poker__btn-primary,
  .page-online-poker__btn-secondary,
  .page-online-poker a[class*="button"],
  .page-online-poker a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-online-poker__support-links {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-online-poker__feature-grid,
  .page-online-poker__strategy-grid,
  .page-online-poker__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-online-poker__card,
  .page-online-poker__step-card,
  .page-online-poker__strategy-item {
    padding: 20px;
  }

  .page-online-poker__card-image,
  .page-online-poker__strategy-image {
    min-width: unset;
    min-height: unset;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

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

  .page-online-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-online-poker__section,
  .page-online-poker__card,
  .page-online-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}