/* style/poker.css */

/* Base styles for the page */
.page-poker {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

.page-poker__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
  letter-spacing: 1px;
}

.page-poker__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6; /* Text Main */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__dark-bg {
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-poker__card-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

.page-poker__card {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-poker__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #000000; /* Dark text for contrast */
  border: none;
}

.page-poker__btn-primary:hover {
  background: linear-gradient(180deg, #FFE890 0%, #EAA820 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-poker__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow */
  border: 2px solid #FFD36B; /* Glow */
}

.page-poker__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  color: #FFF6D6;
  box-shadow: 0 0 10px rgba(255, 211, 107, 0.4);
}

/* Image styles */
.page-poker img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-poker__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-poker__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-poker__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-poker__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-poker__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 800;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.8);
}

.page-poker__hero-description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* About Section */
.page-poker__about-section {
  padding: 80px 0;
}

.page-poker__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-poker__grid-two-columns--reversed {
  grid-template-areas: "image text";
}

.page-poker__grid-two-columns--reversed .page-poker__text-block {
  grid-area: text;
}

.page-poker__grid-two-columns--reversed .page-poker__image-wrapper {
  grid-area: image;
}

.page-poker__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #FFF6D6;
}

.page-poker__image-wrapper {
  text-align: center;
}

.page-poker__image {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-poker__game-card {
  text-align: center;
  padding: 20px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.2);
}

.page-poker__game-image {
  border-radius: 5px;
  margin-bottom: 15px;
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
}

.page-poker__game-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-poker__game-text {
  color: #FFF6D6;
  margin-bottom: 20px;
}

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

.page-poker__tournament-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-poker__feature-item {
  text-align: center;
  padding: 25px;
}

.page-poker__feature-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-poker__promotions-section {
  padding: 80px 0;
}

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

.page-poker__promo-card {
  text-align: center;
  padding: 20px;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-poker__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 211, 107, 0.2);
}

.page-poker__promo-image {
  border-radius: 5px;
  margin-bottom: 15px;
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: cover;
}

.page-poker__promo-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-poker__promo-text {
  color: #FFF6D6;
  margin-bottom: 20px;
}

/* Mobile Section */
.page-poker__mobile-section {
  padding: 80px 0;
}

/* Why Choose Section */
.page-poker__why-choose-section {
  padding: 80px 0;
}

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

/* Get Started Section */
.page-poker__get-started-section {
  padding: 80px 0;
}

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

.page-poker__step-card {
  text-align: center;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.page-poker__step-number {
  font-size: 3em;
  font-weight: 800;
  color: rgba(255, 211, 107, 0.2);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  z-index: 0;
}

.page-poker__step-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-poker__step-card p {
  color: #FFF6D6;
  position: relative;
  z-index: 1;
}

/* Responsible Gaming Section */
.page-poker__responsible-gaming-section {
  padding: 80px 0;
}

/* FAQ Section */
.page-poker__faq-section {
  padding: 80px 0;
}

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

.page-poker__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-poker__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD36B; /* Glow */
}

.page-poker__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

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

.page-poker__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #0A0A0A;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-poker__faq-item.active .page-poker__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px !important;
}

.page-poker__faq-answer p {
  margin: 0;
  color: #FFF6D6;
  font-size: 1em;
}

/* Call to Action Banner */
.page-poker__cta-banner {
  padding: 80px 0;
  text-align: center;
  background-image: url('[GALLERY:bg:1920x400:poker_cta_banner,chips,cards,golden_glow,365jl]');
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-poker__cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.page-poker__cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-poker__cta-title {
  font-size: 3em;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-poker__cta-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 40px;
}

/* General CTA buttons container */
.page-poker__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker__section-title {
    font-size: 2.2em;
  }
  .page-poker__hero-title {
    font-size: clamp(2em, 4.5vw, 3.2em);
  }
  .page-poker__hero-description {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }
  .page-poker__grid-two-columns {
    grid-template-columns: 1fr;
  }
  .page-poker__grid-two-columns--reversed {
    grid-template-areas: none;
  }
  .page-poker__grid-two-columns--reversed .page-poker__text-block {
    grid-area: auto;
  }
  .page-poker__grid-two-columns--reversed .page-poker__image-wrapper {
    grid-area: auto;
  }
  .page-poker__image-wrapper {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
  .page-poker__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-poker {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-poker__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-poker__hero-section {
    min-height: 500px;
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  .page-poker__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-poker__hero-description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
    margin-bottom: 25px;
  }
  .page-poker__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary,
  .page-poker a[class*="button"],
  .page-poker a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__cta-buttons,
  .page-poker__button-group,
  .page-poker__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
  .page-poker img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__section,
  .page-poker__card,
  .page-poker__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-poker__hero-video {
    filter: brightness(0.3);
  }
  .page-poker__about-section,
  .page-poker__games-section,
  .page-poker__tournaments-section,
  .page-poker__promotions-section,
  .page-poker__mobile-section,
  .page-poker__why-choose-section,
  .page-poker__get-started-section,
  .page-poker__responsible-gaming-section,
  .page-poker__faq-section,
  .page-poker__cta-banner {
    padding: 40px 0;
  }
  .page-poker__cta-title {
    font-size: 2em;
  }
  .page-poker__cta-description {
    font-size: 1em;
  }
  .page-poker__faq-question h3 {
    font-size: 1.1em;
  }
  .page-poker__faq-toggle {
    font-size: 1.5em;
  }
}