/* style/casino.css */
.page-casino {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

.page-casino__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; 
  margin-top: 0;
}

.page-casino__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-casino__hero-image {
  width: 100%;
  margin: 0;
}

.page-casino__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-casino__logo-carousel-section {
  width: 100%;
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.2); /* Slightly lighter dark background for contrast */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-casino__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-casino__logo-carousel {
  display: flex;
  gap: 15px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.page-casino__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-casino__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.page-casino__logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.page-casino__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-casino__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.page-casino__games-section {
  width: 100%;
  padding: 60px 20px;
  background: var(--dark-bg-1);
}

.page-casino__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-casino__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-casino__featured-game-area {
  width: 100%;
}

.page-casino__featured-game-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #ffd700;
  text-align: left;
}

.page-casino__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Dark card background */
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-casino__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-casino__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-casino__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-casino__games-grid-area {
  width: 100%;
}

.page-casino__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.page-casino__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.page-casino__games-tab:hover {
  color: #ffffff;
}

.page-casino__games-tab.active {
  color: #FF4500;
  text-decoration: underline;
}

.page-casino__games-tab.active + .page-casino__games-tab {
  color: #ffffff;
}

.page-casino__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-casino__games-grid.active {
  display: grid;
}

.page-casino__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Dark card background */
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-casino__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-casino__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-casino__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-casino__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0 0;
  padding: 0 5px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

.page-casino__section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
}

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

.page-casino__title {
  font-size: 32px;
  font-weight: bold;
  color: #FF4500;
  text-align: center;
  margin-bottom: 30px;
}

.page-casino__paragraph {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino__highlight {
  color: #ffd700; /* Gold for highlights */
  font-weight: bold;
}

.page-casino__call-to-action {
  text-align: center;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-casino__btn-primary {
  background: #FF4500;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 69, 0, 0.4);
}

.page-casino__btn-primary:hover {
  background: #e63e00;
  box-shadow: 0 6px 15px rgba(255, 69, 0, 0.6);
  transform: translateY(-2px);
}

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

.page-casino__btn-secondary:hover {
  background: #FF4500;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-casino__btn-small {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 6px;
  margin-top: 15px;
}

.page-casino__quick-links-section {
  background: rgba(0, 0, 0, 0.2); /* Slightly lighter dark background */
}

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

.page-casino__link-card {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.page-casino__link-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #FF4500;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-casino__link-card-description {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 0;
}

.page-casino__core-games-section {
  background: var(--dark-bg-1);
}

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

.page-casino__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.page-casino__feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffd700;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 15px;
  color: #cccccc;
  text-align: justify;
}

.page-casino__text-link {
  color: #FF4500;
  text-decoration: underline;
  font-weight: bold;
}

.page-casino__text-link:hover {
  color: #ffd700;
}

.page-casino__promotions-section {
  background: rgba(0, 0, 0, 0.2); /* Slightly lighter dark background */
}

.page-casino__promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-casino__promo-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.page-casino__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #FF4500;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-casino__promo-description {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__security-service-section {
  background: var(--dark-bg-1);
}

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

.page-casino__info-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino__info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.page-casino__info-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffd700;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-casino__info-description {
  font-size: 15px;
  color: #cccccc;
  text-align: justify;
}

.page-casino__faq-section {
  background: rgba(0, 0, 0, 0.2); /* Slightly lighter dark background */
}

.page-casino__faq-list {
  margin-top: 40px;
}

.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-casino__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #cccccc;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Lighter dark background for answer */
  border-radius: 0 0 5px 5px;
}

.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-casino__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-casino__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-casino__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FF4500;
}

.page-casino__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffd700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-casino__faq-item.active .page-casino__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Changed to rotate for - */
}

.page-casino__latest-blog-section {
  background: var(--dark-bg-1);
}

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

.page-casino__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-casino__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.page-casino__blog-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-casino__blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-casino__blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-casino__blog-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #FF4500;
  margin: 15px 20px 10px 20px;
}

.page-casino__blog-card-excerpt {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px 20px 20px;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__games-layout {
    grid-template-columns: 1fr;
  }
  
  .page-casino__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-casino__featured-game-image {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: 10px;
  }
  
  .page-casino__logo-carousel-section,
  .page-casino__games-section,
  .page-casino__section {
    padding: 40px 15px;
  }
  
  .page-casino__title {
    font-size: 26px;
    margin-bottom: 25px;
  }
  
  .page-casino__paragraph {
    font-size: 15px;
  }
  
  .page-casino__call-to-action {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-casino__games-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-casino__featured-game-title {
    font-size: 20px;
  }
  
  .page-casino__featured-game-image {
    height: 300px;
  }
  
  .page-casino__games-tabs {
    gap: 15px;
  }
  
  .page-casino__games-tab {
    font-size: 16px;
  }
  
  .page-casino__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-casino__game-card-image {
    height: 150px;
  }
  
  .page-casino__game-card-title {
    font-size: 13px;
    margin: 8px 0 0 0;
    padding: 0 3px;
  }

  .page-casino__link-card,
  .page-casino__feature-item,
  .page-casino__promo-item,
  .page-casino__info-item,
  .page-casino__blog-card {
    padding: 20px;
  }

  .page-casino__link-card-title,
  .page-casino__feature-title,
  .page-casino__promo-title,
  .page-casino__info-title,
  .page-casino__blog-card-title {
    font-size: 18px;
  }

  .page-casino__link-card-description,
  .page-casino__feature-description,
  .page-casino__promo-description,
  .page-casino__info-description,
  .page-casino__blog-card-excerpt {
    font-size: 14px;
  }

  .page-casino__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-casino__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-casino__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-casino__faq-answer {
    padding: 0 15px;
  }
  
  .page-casino__faq-item.active .page-casino__faq-answer {
    padding: 15px !important;
  }
  
  /* Mobile image responsiveness */
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino__section,
  .page-casino__card,
  .page-casino__container,
  .page-casino__link-card,
  .page-casino__feature-item,
  .page-casino__promo-item,
  .page-casino__info-item,
  .page-casino__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-casino__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    box-sizing: border-box;
    padding: 0;
  }
}