/* style/poker.css */

/* Root variables for colors */
:root {
  --okbet-primary-color: #F2C14E;
  --okbet-secondary-color: #FFD36B;
  --okbet-card-bg: #111111;
  --okbet-background: #0A0A0A;
  --okbet-text-main: #FFF6D6;
  --okbet-border: #3A2A12;
  --okbet-glow: #FFD36B;
  --okbet-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Base styles for the poker page */
.page-poker {
  background-color: var(--okbet-background);
  color: var(--okbet-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Ensure space above footer */
}

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

/* Section titles and descriptions */
.page-poker__section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--okbet-primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-poker__section-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--okbet-text-main);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-poker__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-poker__main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--okbet-secondary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-poker__hero-description {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--okbet-text-main);
  margin-bottom: 30px;
}

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

/* General Buttons */
.page-poker__btn-primary,
.page-poker__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-poker__btn-primary {
  background: var(--okbet-button-gradient);
  color: #ffffff; /* White text on gradient button */
  border: none;
}

.page-poker__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

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

.page-poker__btn-secondary:hover {
  background: var(--okbet-secondary-color);
  color: var(--okbet-background);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-poker__btn-text {
  color: var(--okbet-secondary-color);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-poker__btn-text:hover {
  color: var(--okbet-primary-color);
}

/* Video Section */
.page-poker__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: var(--okbet-card-bg);
}

.page-poker__video-container {
  width: 100%; /* Desktop width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.page-poker__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-poker__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-poker__video-cta {
  text-align: center;
  margin-top: 20px;
}

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

.page-poker__card {
  background-color: var(--okbet-card-bg);
  border: 1px solid var(--okbet-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--okbet-text-main);
}

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

.page-poker__card-title {
  font-size: 1.5rem;
  color: var(--okbet-primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-poker__card p {
  font-size: 1rem;
  color: var(--okbet-text-main);
}

/* Game Grid */
.page-poker__game-card {
  background-color: var(--okbet-card-bg);
  border: 1px solid var(--okbet-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__game-card:hover {
  transform: translateY(-5px);
}

.page-poker__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-poker__game-title {
  font-size: 1.3rem;
  color: var(--okbet-primary-color);
  margin: 15px 0 10px;
  padding: 0 15px;
}

.page-poker__game-card p {
  font-size: 0.95rem;
  color: var(--okbet-text-main);
  padding: 0 15px 20px;
}

/* Promo Grid */
.page-poker__promo-card {
  background-color: var(--okbet-card-bg);
  border: 1px solid var(--okbet-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-poker__promo-card:hover {
  transform: translateY(-5px);
}

.page-poker__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Getting Started Steps */
.page-poker__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-poker__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: var(--okbet-card-bg);
  border: 1px solid var(--okbet-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-poker__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--okbet-primary-color);
  margin-right: 20px;
  flex-shrink: 0;
}

.page-poker__step-content h3 {
  font-size: 1.6rem;
  color: var(--okbet-secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-poker__step-content p {
  font-size: 1rem;
  color: var(--okbet-text-main);
  margin-bottom: 10px;
}

/* Mobile Poker Section */
.page-poker__mobile-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-poker__mobile-content,
.page-poker__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-poker__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Payment Methods Section */
.page-poker__payment-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-poker__payment-content,
.page-poker__payment-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-poker__payment-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Dark sections for contrast */
.page-poker__dark-section {
  background-color: var(--okbet-card-bg);
  padding: 60px 20px;
}

/* Center alignment for CTAs */
.page-poker__center-align {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-poker__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-poker__faq-item {
  background-color: var(--okbet-background);
  border: 1px solid var(--okbet-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-poker__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--okbet-card-bg);
  color: var(--okbet-secondary-color);
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-poker__faq-question:hover {
  background-color: rgba(var(--okbet-primary-color), 0.1);
}

.page-poker__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  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 25px;
  color: var(--okbet-text-main);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-poker__faq-answer p {
  margin: 0;
  font-size: 1rem;
}

/* Image and Video responsive styles (global for page-poker) */
.page-poker img,
.page-poker video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-poker__hero-content {
    padding: 30px;
  }
  .page-poker__feature-cards,
  .page-poker__game-grid,
  .page-poker__promo-grid,
  .page-poker__security-features,
  .page-poker__support-options {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-poker__hero-section {
    min-height: 400px;
  }
  .page-poker__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  .page-poker__hero-description {
    font-size: clamp(1rem, 2.8vw, 1.2rem);
  }
  .page-poker__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-poker__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-poker__section-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }
  .page-poker__video-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Small top padding for mobile, body padding-top handles header offset */
  }
  .page-poker__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-poker__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-poker__container {
    padding: 0 15px;
  }
  .page-poker__feature-cards,
  .page-poker__game-grid,
  .page-poker__promo-grid,
  .page-poker__security-features,
  .page-poker__support-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-poker__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-poker__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-poker__mobile-layout,
  .page-poker__payment-layout {
    flex-direction: column;
  }
  .page-poker__mobile-content,
  .page-poker__payment-content {
    order: 2;
  }
  .page-poker__mobile-image-wrapper,
  .page-poker__payment-image-wrapper {
    order: 1;
  }
  /* Ensure all images are responsive on mobile */
  .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__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-poker__cta-buttons a {
    flex-grow: 1;
  }
}

@media (max-width: 480px) {
  .page-poker__hero-content {
    padding: 20px;
  }
  .page-poker__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-poker__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }
  .page-poker__btn-primary,
  .page-poker__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
  .page-poker__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-poker__faq-answer {
    padding: 10px 20px !important;
  }
}