/* style/poker.css */

/* Base styles for the poker page */
.page-poker {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Hero Section */
.page-poker__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF; /* White text for dark background */
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-poker__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Accent color for title */
}

.page-poker__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.page-poker__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-poker__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-poker__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-poker__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--login:hover {
  background-color: #E0A030;
  transform: translateY(-2px);
}

.page-poker__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-poker__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* General Section Styling */
.page-poker__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 60px;
  font-weight: bold;
}

.page-poker__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  line-height: 1.7;
}

/* Games Section */
.page-poker__games-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

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

.page-poker__game-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-poker__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-poker__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__game-card-title a {
  color: #000000;
  text-decoration: none;
}

.page-poker__game-card-title a:hover {
  color: #FCBC45;
}

.page-poker__game-card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-poker__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-poker__button--small:hover {
  background-color: #E0A030;
}

/* Features Section */
.page-poker__features-section {
  background-color: #F0F0F0;
  padding: 80px 0;
}

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

.page-poker__feature-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-poker__feature-icon {
  width: 250px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-poker__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__feature-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Tournaments Section */
.page-poker__tournaments-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.page-poker__tournament-highlight {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #F8F8F8;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-poker__tournament-content {
  flex: 1;
}

.page-poker__tournament-title {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-poker__tournament-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-poker__tournament-image {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 12px;
  height: auto;
  object-fit: cover;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

/* Strategy Guide Section */
.page-poker__strategy-guide-section {
  background-color: #000000;
  padding: 80px 0;
  color: #FFFFFF;
}

.page-poker__strategy-guide-section .page-poker__section-title {
  color: #FCBC45;
}

.page-poker__strategy-guide-section .page-poker__section-description {
  color: #CCCCCC;
}

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

.page-poker__guide-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-poker__guide-card-title {
  font-size: 1.8em;
  color: #FCBC45;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__guide-card-title a {
  color: #FCBC45;
  text-decoration: none;
}

.page-poker__guide-card-title a:hover {
  text-decoration: underline;
}

.page-poker__guide-card-text {
  font-size: 1em;
  color: #DDDDDD;
  margin-bottom: 25px;
}

/* VIP Section */
.page-poker__vip-section {
  background-color: #F8F8F8;
  padding: 80px 0;
}

.page-poker__vip-content {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #FFFFFF;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-poker__vip-image {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 12px;
  height: auto;
  object-fit: cover;
  min-width: 200px; /* Enforce min width */
  min-height: 200px; /* Enforce min height */
}

.page-poker__vip-details {
  flex: 1;
}

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

.page-poker__vip-list-item {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-poker__vip-list-item::before {
  content: '★'; /* Star icon */
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.page-poker__button--vip {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__button--vip:hover {
  background-color: #333333;
}

/* Call to Action Section */
.page-poker__cta-section {
  background-color: #FCBC45;
  padding: 80px 0;
  text-align: center;
  color: #000000;
}

.page-poker__cta-section .page-poker__section-title {
  color: #000000;
}

.page-poker__cta-section .page-poker__section-description {
  color: #333333;
  margin-bottom: 40px;
}

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

.page-poker__cta-actions .page-poker__button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-poker__cta-actions .page-poker__button--register:hover {
  background-color: #333333;
}

.page-poker__cta-actions .page-poker__button--login {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-poker__cta-actions .page-poker__button--login:hover {
  background-color: #F0F0F0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__hero-title {
    font-size: 3em;
  }

  .page-poker__section-title {
    font-size: 2.2em;
  }

  .page-poker__tournament-highlight,
  .page-poker__vip-content {
    flex-direction: column;
    text-align: center;
  }

  .page-poker__tournament-image,
  .page-poker__vip-image {
    max-width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-poker__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-poker__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-poker__section-title {
    font-size: 1.8em;
  }

  .page-poker__section-description {
    font-size: 0.95em;
  }

  .page-poker__game-grid,
  .page-poker__features-grid,
  .page-poker__guides-grid {
    grid-template-columns: 1fr;
  }

  .page-poker__game-card-image,
  .page-poker__feature-icon,
  .page-poker__tournament-image,
  .page-poker__vip-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure images don't overflow */
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
  }

  .page-poker__tournament-image, .page-poker__vip-image {
    order: -1; /* Image first on mobile */
  }

  .page-poker__tournament-highlight,
  .page-poker__vip-content {
    padding: 30px;
  }

  .page-poker__tournament-title,
  .page-poker__vip-details h2 {
    font-size: 1.8em;
  }

  .page-poker__cta-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-title {
    font-size: 2em;
  }

  .page-poker__hero-section {
    padding: 60px 15px;
  }

  .page-poker__section-title {
    font-size: 1.6em;
  }

  .page-poker__game-card,
  .page-poker__feature-item,
  .page-poker__guide-card,
  .page-poker__tournament-highlight,
  .page-poker__vip-content {
    padding: 20px;
  }
}