/* style/live-casino.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #FFFFFF;
  --text-dark: #1A202C;
  --bg-light: #F8F8F8;
  --bg-dark: #2D3748;
  --border-color: #E0E0E0;
  --button-hover-bg: #E6B800;
}

.page-live-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

.page-live-casino section {
  padding: 60px 0;
  text-align: center;
}

.page-live-casino section:nth-of-type(even) {
  background-color: #F0F2F5;
}

.page-live-casino h1,
.page-live-casino h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-live-casino h1 {
  font-size: 3.2em;
}

.page-live-casino h2 {
  font-size: 2.5em;
}

.page-live-casino h3 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-live-casino p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #4A5568;
}

.page-live-casino a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-live-casino a:hover {
  color: var(--button-hover-bg);
}

/* Hero Section */
.page-live-casino .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: var(--primary-color);
  color: var(--text-light);
}

.page-live-casino .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-live-casino .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-live-casino .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-live-casino .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-live-casino .hero-content h1 {
  color: var(--secondary-color);
  font-size: 3.5em;
  margin-bottom: 20px;
}

.page-live-casino .hero-content p {
  color: var(--text-light);
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-live-casino .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-live-casino .cta-button:hover {
  background: var(--button-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-live-casino .introduction-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Games Section */
.page-live-casino .games-section {
  background-color: var(--bg-light);
}

.page-live-casino .game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-casino .game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-casino .game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-live-casino .game-card img {
  width: 100%;
  height: 200px; /* Enforce minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live-casino .game-card h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-live-casino .game-card h3 a {
  color: var(--primary-color);
}

.page-live-casino .game-card h3 a:hover {
  color: var(--secondary-color);
}

.page-live-casino .game-card p {
  font-size: 1em;
  color: #5A677D;
  flex-grow: 1;
}

.page-live-casino .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.page-live-casino .btn-small:hover {
  background: var(--button-hover-bg);
  transform: translateY(-1px);
}

.page-live-casino .more-games-text {
  margin-top: 30px;
  font-style: italic;
  color: #6B7280;
}

/* Exclusive Experience Section */
.page-live-casino .exclusive-experience-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-live-casino .exclusive-experience-section h2 {
  color: var(--secondary-color);
}

.page-live-casino .exclusive-experience-section h3 {
  color: var(--secondary-color);
}

.page-live-casino .exclusive-experience-section p {
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-live-casino .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-casino .feature-item {
  background-color: #1A202C;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-live-casino .feature-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-live-casino .feature-item p {
  font-size: 1em;
  color: #CBD5E0;
}

/* Promotions Section */
.page-live-casino .promotions-section {
  background-color: var(--bg-light);
}

.page-live-casino .promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-casino .promotion-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-casino .promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-live-casino .promotion-card img {
  width: 100%;
  height: 220px; /* Enforce minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live-casino .promotion-card h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-live-casino .promotion-card h3 a {
  color: var(--primary-color);
}

.page-live-casino .promotion-card h3 a:hover {
  color: var(--secondary-color);
}

.page-live-casino .promotion-card p {
  font-size: 1em;
  color: #5A677D;
  flex-grow: 1;
}

.page-live-casino .btn-promo {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.page-live-casino .btn-promo:hover {
  background: var(--button-hover-bg);
  transform: translateY(-1px);
}

.page-live-casino .promo-cta {
  margin-top: 30px;
  font-size: 1.1em;
  color: #6B7280;
}

/* Safety & Support Section */
.page-live-casino .safety-support-section {
  background-color: #F0F2F5;
}

.page-live-casino .safety-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-casino .safety-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

.page-live-casino .safety-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-live-casino .safety-item p {
  font-size: 1em;
  color: #5A677D;
}

/* How to Join Section */
.page-live-casino .how-to-join-section {
  background-color: var(--bg-light);
}

.page-live-casino .how-to-join-section ol {
  list-style: none;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 40px auto;
  padding: 0;
  text-align: left;
}

.page-live-casino .how-to-join-section ol li {
  counter-increment: step-counter;
  margin-bottom: 25px;
  padding-left: 50px;
  position: relative;
  font-size: 1.1em;
  color: #4A5568;
}

.page-live-casino .how-to-join-section ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-live-casino .how-to-join-section ol li strong {
  color: var(--primary-color);
}

.page-live-casino .join-cta-text {
  margin-top: 30px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
}

/* FAQ Section */
.page-live-casino .faq-section {
  background-color: #F0F2F5;
}

.page-live-casino .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-live-casino .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-live-casino .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-live-casino .faq-question:hover {
  background: #F5F5F5;
}

.page-live-casino .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page-live-casino .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-live-casino .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-live-casino .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #F9F9F9;
  border-top: 1px solid var(--border-color);
}

.page-live-casino .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-live-casino .faq-answer p {
  margin: 0;
  color: #4A5568;
  font-size: 1em;
}

/* Blog Preview Section */
.page-live-casino .blog-preview-section {
  background-color: var(--bg-light);
}

.page-live-casino .blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-live-casino .blog-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-live-casino .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-live-casino .blog-card img {
  width: 100%;
  height: 200px; /* Enforce minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-live-casino .blog-card h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-live-casino .blog-card h3 a {
  color: var(--primary-color);
}

.page-live-casino .blog-card h3 a:hover {
  color: var(--secondary-color);
}

.page-live-casino .blog-card p {
  font-size: 1em;
  color: #5A677D;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-live-casino h1 {
    font-size: 2.8em;
  }
  .page-live-casino h2 {
    font-size: 2.2em;
  }
  .page-live-casino .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-live-casino section {
    padding: 40px 0;
  }
  .page-live-casino h1 {
    font-size: 2.2em;
  }
  .page-live-casino h2 {
    font-size: 1.8em;
  }
  .page-live-casino h3 {
    font-size: 1.4em;
  }
  .page-live-casino p {
    font-size: 1em;
  }
  .page-live-casino .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-live-casino .game-grid,
  .page-live-casino .feature-grid,
  .page-live-casino .promotion-cards,
  .page-live-casino .safety-support-grid,
  .page-live-casino .blog-cards {
    grid-template-columns: 1fr;
  }
  .page-live-casino .game-card,
  .page-live-casino .promotion-card,
  .page-live-casino .blog-card {
    padding: 20px;
  }
  .page-live-casino .game-card img,
  .page-live-casino .promotion-card img,
  .page-live-casino .blog-card img {
    height: 180px;
  }
  .page-live-casino .how-to-join-section ol {
    padding: 0 10px;
  }
  .page-live-casino .how-to-join-section ol li {
    padding-left: 45px;
    font-size: 1em;
  }
  .page-live-casino .how-to-join-section ol li::before {
    width: 30px;
    height: 30px;
    font-size: 1.1em;
  }
  .page-live-casino .faq-question {
    padding: 15px 20px;
  }
  .page-live-casino .faq-question h3 {
    font-size: 1.1em;
  }
  .page-live-casino .faq-toggle {
    font-size: 20px;
  }
  .page-live-casino .faq-answer {
    padding: 0 20px;
  }
  .page-live-casino .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-live-casino h1 {
    font-size: 1.8em;
  }
  .page-live-casino h2 {
    font-size: 1.5em;
  }
  .page-live-casino .hero-content p {
    font-size: 1em;
  }
  .page-live-casino .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-live-casino .game-card img,
  .page-live-casino .promotion-card img,
  .page-live-casino .blog-card img {
    height: 150px;
  }
}