/* style/poker.css */

/* Root variables for colors and spacing */
:root {
  --ph365-primary-color: #F2C14E;
  --ph365-secondary-color: #FFD36B;
  --ph365-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --ph365-card-bg: #111111;
  --ph365-background-dark: #0A0A0A;
  --ph365-text-main: #FFF6D6;
  --ph365-border-color: #3A2A12;
  --ph365-glow-color: #FFD36B;
  --ph365-text-dark: #333333; /* For contrast on light backgrounds */
}

/* Base styles for the page content */
.page-poker {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--ph365-text-main); /* Default text color for dark body background */
  background-color: var(--ph365-background-dark); /* Ensure consistency */
}

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

.page-poker__section-title {
  font-size: 2.8em;
  color: var(--ph365-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-poker__btn-primary {
  background: var(--ph365-button-gradient);
  color: var(--ph365-background-dark); /* Dark text on bright button */
  border: none;
}

.page-poker__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-poker__btn-secondary:hover {
  background: var(--ph365-primary-color);
  color: var(--ph365-background-dark); /* Dark text on primary color */
}

.page-poker__btn-link {
  background: none;
  border: none;
  color: var(--ph365-secondary-color);
  padding: 0;
  text-decoration: underline;
}

.page-poker__btn-link:hover {
  color: var(--ph365-primary-color);
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Image then text */
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Desktop: ensure content is below fixed header */
  background-color: var(--ph365-background-dark); /* Dark background for the section */
}

.page-poker__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}

.page-poker__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-poker__hero-content-wrapper {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  text-align: center;
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
}

.page-poker__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: var(--ph365-secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-poker__hero-description {
  font-size: 1.2em;
  color: var(--ph365-text-main);
  max-width: 700px;
  margin: 0 auto 30px auto;
}

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

/* About Section */
.page-poker__about-section,
.page-poker__games-section,
.page-poker__promo-section,
.page-poker__getting-started-section,
.page-poker__mobile-section,
.page-poker__security-section,
.page-poker__payment-section,
.page-poker__support-section,
.page-poker__faq-section,
.page-poker__cta-final-section {
  padding: 80px 0;
  background-color: var(--ph365-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-item {
  background: var(--ph365-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ph365-border-color);
}

.page-poker__feature-title {
  font-size: 1.5em;
  color: var(--ph365-primary-color);
  margin-bottom: 15px;
}

.page-poker__feature-text {
  color: var(--ph365-text-main);
}

/* Games Section */
.page-poker__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-poker__category-card {
  background: var(--ph365-card-bg);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--ph365-border-color);
}

.page-poker__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__category-title {
  font-size: 1.3em;
  color: var(--ph365-secondary-color);
  margin-bottom: 10px;
}

.page-poker__category-text {
  color: var(--ph365-text-main);
  font-size: 0.95em;
}

.page-poker__image-showcase {
  margin-top: 60px;
  text-align: center;
}

.page-poker__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-poker__cta-block {
  text-align: center;
  margin-top: 50px;
}

.page-poker__cta-text {
  font-size: 1.4em;
  color: var(--ph365-primary-color);
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-poker__promo-card {
  background: var(--ph365-card-bg);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ph365-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__promo-title {
  font-size: 1.4em;
  color: var(--ph365-secondary-color);
  margin-bottom: 15px;
}

.page-poker__promo-text {
  color: var(--ph365-text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-poker__step-item {
  background: var(--ph365-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ph365-border-color);
}

.page-poker__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: var(--ph365-primary-color);
  color: var(--ph365-background-dark);
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-poker__step-title {
  font-size: 1.5em;
  color: var(--ph365-secondary-color);
  margin-bottom: 15px;
}

.page-poker__step-text {
  color: var(--ph365-text-main);
}

/* Mobile Section */
.page-poker__mobile-app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.page-poker__mobile-text {
  flex: 1 1 45%;
  min-width: 300px;
  color: var(--ph365-text-main);
}

.page-poker__mobile-subtitle {
  font-size: 2em;
  color: var(--ph365-primary-color);
  margin-bottom: 20px;
}

.page-poker__mobile-feature {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-poker__mobile-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-poker__mobile-benefits li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD36B"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ph365-text-main);
}

.page-poker__app-download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-poker__mobile-image-wrapper {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-poker__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

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

.page-poker__security-item {
  background: var(--ph365-card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--ph365-border-color);
}