/* style/poker.css */

/* Global styles for the poker page content */
.page-poker {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
}

/* Container for consistent content width */
.page-poker__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-poker__section {
  padding: 60px 0;
  text-align: center;
}

.page-poker__dark-section {
  background-color: #111111; /* Card BG for darker sections */
  color: #FFF6D6;
}

/* Titles and descriptions */
.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
  font-weight: bold;
  line-height: 1.2;
  color: #FFD36B; /* Accent color for main titles */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__hero-description,
.page-poker__section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  color: #F2C14E; /* Main brand color for section titles */
  margin-bottom: 25px;
}

.page-poker__card-title,
.page-poker__feature-title,
.page-poker__step-title,
.page-poker__strategy-title,
.page-poker__app-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD36B; /* Accent color for sub-titles */
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-poker__card-title a,
.page-poker__card-title a:visited {
  color: #FFD36B; /* Link color for card titles */
  text-decoration: none;
}

.page-poker__card-title a:hover {
  color: #F2C14E; /* Hover effect */
  text-decoration: underline;
}

/* Buttons */
.page-poker__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-poker__btn-primary,
.page-poker__btn-secondary,
.page-poker__btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

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

.page-poker__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main brand color for text */
  border: 2px solid #F2C14E; /* Border with main brand color */
}

.page-poker__btn-secondary:hover {
  background: #F2C14E;
  color: #111111; /* Dark text on hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-poker__btn-text {
  background: transparent;
  color: #FFD36B; /* Accent color for text buttons */
  border: none;
  padding: 8px 15px;
  font-size: 1rem;
  text-decoration: underline;
}

.page-poker__btn-text:hover {
  color: #F2C14E;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%); /* Dark gradient background */
  text-align: center;
}

.page-poker__hero-image-wrapper {
  margin-bottom: 40px; /* Space between image and text */
}

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

.page-poker__hero-content {
  padding-bottom: 40px;
}

/* Game Cards */
.page-poker__game-cards,
.page-poker__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-poker__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.15);
}

.page-poker__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Minimum size for content images */
}

.page-poker__card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow text to take available space */
}

/* Why Choose section (features) */
.page-poker__features,
.page-poker__responsible-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-poker__feature-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-poker__feature-icon {
  width: 100%;
  max-width: 200px; /* Max width for feature icons */
  height: auto;
  margin: 0 auto 15px auto;
  object-fit: contain;
  min-height: 200px; /* Minimum size for content images */
}