/* style/casino-games.css */

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

.page-casino-games {
  font-family: 'Arial', sans-serif;
  color: var(--phbet-text-main); /* Assuming body background is dark, use light text */
  background-color: var(--phbet-background);
}

.page-casino-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-casino-games__section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--phbet-background);
}

.page-casino-games__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Desktop default */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-casino-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino-games__hero-content {
  position: relative;
  z-index: 10;
  padding: 20px;
  max-width: 900px;
}

.page-casino-games__main-title {
  font-size: 3.5em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--phbet-secondary);
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-casino-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--phbet-text-main);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-games__hero-buttons,
.page-casino-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-casino-games__btn-primary,
.page-casino-games__btn-secondary,
.page-casino-games__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino-games__btn-primary {
  background: var(--phbet-button-gradient);
  color: #0A0A0A;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-casino-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-casino-games__btn-secondary {
  background: transparent;
  color: var(--phbet-primary);
  border: 2px solid var(--phbet-primary);
}

.page-casino-games__btn-secondary:hover {
  background: var(--phbet-primary);
  color: var(--phbet-background);
  transform: translateY(-3px);
}

.page-casino-games__card-link {
  background: var(--phbet-primary);
  color: var(--phbet-background);
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-casino-games__card-link:hover {
  background: var(--phbet-secondary);
  transform: translateY(-2px);
}

.page-casino-games__section-title {
  font-size: 2.5em;
  color: var(--phbet-primary);
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.5);
}

.page-casino-games__section-description {
  font-size: 1.1em;
  color: var(--phbet-text-main);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

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

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

.page-casino-games__category-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino-games__card-title {
  font-size: 1.5em;
  color: var(--phbet-primary);
  margin-bottom: 10px;
}

.page-casino-games__card-text {
  font-size: 0.95em;
  color: var(--phbet-text-main);
  line-height: 1.5;
}

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

.page-casino-games__grid-image,
.page-casino-games__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--phbet-border);
}

.page-casino-games__content-image {
  margin-bottom: 40px;
}

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

.page-casino-games__feature-card {
  text-align: left;
}

.page-casino-games__app-showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}

.page-casino-games__app-image {
  max-width: 400px;
  flex-shrink: 0;
}

.page-casino-games__app-details {
  flex-grow: 1;
  max-width: 600px;
  text-align: left;
}

.page-casino-games__app-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.page-casino-games__app-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--phbet-text-main);
}

.page-casino-games__app-features li img {
  
  
  margin-right: 10px;
  flex-shrink: 0;
}

.page-casino-games__faq-list {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-casino-games__faq-item {
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--phbet-background);
  border-bottom: 1px solid var(--phbet-border);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-casino-games__faq-question:hover {
  background-color: #1a1a1a;
}

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

.page-casino-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--phbet-secondary);
  transition: transform 0.3s ease;
}

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

.page-casino-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--phbet-text-main);
  background-color: var(--phbet-card-bg);
}

.page-casino-games__faq-item.active .page-casino-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 25px;
}

.page-casino-games__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .page-casino-games__hero-section {
    padding-top: var(--header-offset, 100px) !important; /* Mobile override */
    padding-bottom: 40px;
  }

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

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

  .page-casino-games__section {
    padding: 40px 0;
  }

  .page-casino-games__section-title {
    font-size: 2em;
  }

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

  .page-casino-games__hero-buttons,
  .page-casino-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-casino-games__btn-primary,
  .page-casino-games__btn-secondary,
  .page-casino-games__card-link {
    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-casino-games__app-showcase {
    flex-direction: column;
    gap: 30px;
  }

  .page-casino-games__app-image {
    max-width: 100%;
  }

  .page-casino-games__app-details {
    text-align: center;
  }

  .page-casino-games__app-features {
    text-align: left;
    margin: 20px auto 30px;
    max-width: 300px;
  }

  .page-casino-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino-games__section,
  .page-casino-games__card,
  .page-casino-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino-games__faq-question,
  .page-casino-games__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-casino-games__main-title {
    font-size: 1.8em;
  }

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