/* style/online-casino.css */
.page-online-casino {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0D061A; /* A slightly lighter variant of main color for background */
}

.page-online-casino .highlight {
  color: #FFD700; /* Accent color for highlights */
}

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

.page-online-casino__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-online-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-online-casino__text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #C0C0C0; /* Slightly darker light gray for paragraph readability */
}

.page-online-casino__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-online-casino__btn--primary {
  background-color: #FFD700;
  color: #1A0D3B;
  border: 2px solid #FFD700;
}

.page-online-casino__btn--primary:hover {
  background-color: #e5c000;
  border-color: #e5c000;
  transform: translateY(-2px);
}

.page-online-casino__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-online-casino__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A0D3B;
  transform: translateY(-2px);
}

.page-online-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

/* Hero Section */
.page-online-casino__hero {
  background: linear-gradient(135deg, #1A0D3B, #0D061A);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  min-height: 70vh;
  color: #FFFFFF;
}

.page-online-casino__hero-content {
  max-width: 600px;
  text-align: left;
  padding: 20px;
}

.page-online-casino__hero-title {
  font-size: 4em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-online-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-online-casino__hero-content .page-online-casino__btn {
  margin-right: 20px;
}

.page-online-casino__hero-image-wrapper {
  flex-shrink: 0;
  max-width: 500px;
}

.page-online-casino__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* About Section */
.page-online-casino__about {
  padding: 80px 0;
  background-color: #1A0D3B;
}

.page-online-casino__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-online-casino__feature-item {
  background-color: #2a1a4f; /* Slightly lighter than main color */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-online-casino__feature-item:hover {
  transform: translateY(-10px);
}

.page-online-casino__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-online-casino__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-online-casino__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #C0C0C0;
}

/* Games Section */
.page-online-casino__games {
  padding: 80px 0;
  background-color: #0D061A;
}

.page-online-casino__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-online-casino__game-card {
  background-color: #1A0D3B;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-online-casino__game-card:hover {
  transform: translateY(-10px);
}

.page-online-casino__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-online-casino__game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 0 10px;
  flex-grow: 1;
}

.page-online-casino__game-description {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-online-casino__game-card .page-online-casino__btn--small {
  margin: 0 auto 20px auto;
}

/* Providers Section */
.page-online-casino__providers {
  padding: 80px 0;
  background-color: #1A0D3B;
}

.page-online-casino__provider-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-online-casino__provider-logo {
  height: 80px;
  width: auto;
  filter: grayscale(100%) brightness(150%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.page-online-casino__provider-logo:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
}

/* Offers Section */
.page-online-casino__offers {
  padding: 80px 0;
  background-color: #0D061A;
}

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

.page-online-casino__offer-card {
  background-color: #1A0D3B;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-online-casino__offer-card:hover {
  transform: translateY(-10px);
}

.page-online-casino__offer-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-online-casino__offer-title {
  font-size: 1.7em;
  color: #FFD700;
  margin: 20px 0 10px;
  flex-grow: 1;
}

.page-online-casino__offer-description {
  font-size: 0.95em;
  color: #C0C0C0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-online-casino__offer-card .page-online-casino__btn--small {
  margin: 0 auto 20px auto;
}

/* Call to Action Section */
.page-online-casino__cta {
  background: linear-gradient(90deg, #1A0D3B, #0D061A);
  padding: 80px 0;
  text-align: center;
}

.page-online-casino__cta .page-online-casino__btn {
  margin: 0 15px;
}

/* Responsible Gaming Section */
.page-online-casino__responsible-gaming {
  padding: 80px 0;
  background-color: #1A0D3B;
  text-align: center;
}

.page-online-casino__responsible-gaming-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-online-casino__faq {
  padding: 80px 0;
  background-color: #0D061A;
}

.page-online-casino__accordion {
  margin-top: 40px;
}

.page-online-casino__accordion-item {
  background-color: #1A0D3B;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-online-casino__accordion-header {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-online-casino__accordion-header:hover {
  background-color: #2a1a4f;
}

.page-online-casino__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-online-casino__accordion-item.active .page-online-casino__accordion-header::after {
  transform: rotate(45deg);
}

.page-online-casino__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-online-casino__accordion-content p {
  font-size: 1em;
  line-height: 1.7;
  color: #C0C0C0;
  padding-bottom: 20px;
}

.page-online-casino__accordion-item.active .page-online-casino__accordion-content {
  max-height: 300px; /* Adjust as needed */
  padding-bottom: 20px;
}

/* Sticky CTA */
.page-online-casino__sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 13, 59, 0.9);
  padding: 15px 20px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transform: translateY(100%);
  animation: slideInUp 0.8s forwards 1s;
}

@keyframes slideInUp {
  to { transform: translateY(0); }
}

.page-online-casino__btn--sticky {
  background-color: #FFD700;
  color: #1A0D3B;
  border: none;
  padding: 12px 25px;
  font-size: 1.1em;
  border-radius: 5px;
}

.page-online-casino__btn--sticky:hover {
  background-color: #e5c000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-online-casino__hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 0;
  }

  .page-online-casino__hero-content {
    max-width: 100%;
    text-align: center;
  }

  .page-online-casino__hero-title {
    font-size: 3em;
  }

  .page-online-casino__hero-description {
    font-size: 1.1em;
  }

  .page-online-casino__hero-image-wrapper {
    max-width: 80%;
    margin-bottom: 40px;
  }

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

  .page-online-casino__features, .page-online-casino__game-categories, .page-online-casino__offer-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-online-casino__cta .page-online-casino__btn {
    margin: 10px 0;
    display: block;
  }
}

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

  .page-online-casino__hero-content .page-online-casino__btn {
    display: block;
    margin: 15px auto;
  }

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

  .page-online-casino__provider-logo {
    height: 60px;
  }
}

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

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

  .page-online-casino__btn {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-online-casino__section-title {
    font-size: 1.5em;
  }

  .page-online-casino__feature-title {
    font-size: 1.5em;
  }

  .page-online-casino__game-title, .page-online-casino__offer-title {
    font-size: 1.4em;
  }

  .page-online-casino__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-online-casino__accordion-content p {
    font-size: 0.9em;
  }
  
  .page-online-casino__sticky-cta {
    padding: 10px;
  }
  .page-online-casino__btn--sticky {
    font-size: 0.9em;
    padding: 10px 20px;
  }
}