/* style/casino.css */

/* Reset & Base */
.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000000; /* Body background from shared.css */
}

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

.page-casino__title {
  font-size: 3.2em;
  color: #FFD700; /* Gold color for main titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-casino__subtitle {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: 600;
}

.page-casino__description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-casino__btn-secondary {
  display: inline-block;
  background: transparent;
  color: #FFD700;
  padding: 12px 25px;
  border: 2px solid #FFD700;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-casino__btn-secondary:hover {
  background: #FFD700;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* HERO Section */
.page-casino__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; 
  margin-top: 0; 
  overflow: hidden;
}

.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;
}

/* Products Showcase Section */
.page-casino__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #000000;
}

.page-casino__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 20px;
}

.page-casino__products-grid {
  display: grid;
  gap: 20px;
}

.page-casino__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-casino__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-casino__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid #FFD700; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

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

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

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

/* Intro Section */
.page-casino__intro-section {
  padding: 80px 0;
  background: #0d0d0d;
  color: #f0f0f0;
  text-align: center;
}

.page-casino__intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-casino__intro-text {
  flex: 1;
}

.page-casino__intro-text p {
  margin-bottom: 20px;
  color: #cccccc;
}

.page-casino__intro-text .page-casino__btn-primary {
  margin-top: 20px;
}

.page-casino__intro-image {
  flex: 1;
  max-width: 50%;
}

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

/* Quick Access Section */
.page-casino__quick-access-section {
  padding: 80px 0;
  background: #000000;
}

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

.page-casino__quick-link-card {
  background: rgba(255, 215, 0, 0.05);
  border: 2px solid #FFD700;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  text-decoration: none;
  color: #f0f0f0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__quick-link-card:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-casino__quick-link-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__quick-link-card p {
  font-size: 1em;
  color: #cccccc;
}

/* Core Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background: #0d0d0d;
}

.page-casino__game-category {
  margin-bottom: 60px;
}

.page-casino__game-category-title {
  font-size: 2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-casino__game-category-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-casino__game-category-content--reverse {
  flex-direction: row-reverse;
}

.page-casino__game-category-text {
  flex: 1;
  text-align: left;
}

.page-casino__game-category-text p {
  color: #cccccc;
  margin-bottom: 20px;
}

.page-casino__game-category-image {
  flex: 1;
  max-width: 50%;
}

.page-casino__game-category-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 0;
  background: #000000;
}

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

.page-casino__promo-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #8B0000;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4);
}

.page-casino__promo-card img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__promo-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__promo-card p {
  color: #cccccc;
  margin-bottom: 25px;
}

/* Security & Support Section */
.page-casino__security-support-section {
  padding: 80px 0;
  background: #0d0d0d;
}

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

.page-casino__security-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__security-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-casino__security-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__security-item p {
  color: #cccccc;
}

.page-casino__contact-cta {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
  background: #000000;
}

.page-casino__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.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);
  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: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.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: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.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: #8B0000;
  transform: rotate(45deg);
}

/* Blog Section */
.page-casino__blog-section {
  padding: 80px 0;
  background: #0d0d0d;
}

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

.page-casino__blog-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-casino__blog-content {
  padding: 20px;
}

.page-casino__blog-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-casino__blog-title .page-casino__blog-link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__blog-title .page-casino__blog-link:hover {
  color: #FFA500;
}

.page-casino__blog-excerpt {
  color: #cccccc;
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-casino__read-more {
  display: inline-block;
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-casino__read-more:hover {
  color: #FFD700;
}

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

  .page-casino__intro-content,
  .page-casino__game-category-content {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__intro-image,
  .page-casino__game-category-image {
    max-width: 80%;
    margin-top: 30px;
  }

  .page-casino__game-category-content--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino__hero-section {
    padding-top: 10px; 
  }

  .page-casino__section,
  .page-casino__card,
  .page-casino__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-casino__title {
    font-size: 2.2em;
    margin-bottom: 20px;
  }

  .page-casino__subtitle {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-casino__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-casino__products-section,
  .page-casino__intro-section,
  .page-casino__quick-access-section,
  .page-casino__games-section,
  .page-casino__promotions-section,
  .page-casino__security-support-section,
  .page-casino__faq-section,
  .page-casino__blog-section {
    padding: 40px 15px;
  }

  .page-casino__products-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .page-casino__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-casino__products-grid--small .page-casino__product-card {
    aspect-ratio: 1 / 1;
  }
  
  .page-casino__products-grid--small .page-casino__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  
  .page-casino__products-grid--small .page-casino__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .page-casino__products-grid--large {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .page-casino__products-grid--large .page-casino__product-card {
    aspect-ratio: 1 / 1;
  }
  
  .page-casino__products-grid--large .page-casino__product-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
  }
  
  .page-casino__products-grid--large .page-casino__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-casino__intro-content,
  .page-casino__game-category-content {
    gap: 20px;
  }

  .page-casino__intro-image,
  .page-casino__game-category-image {
    max-width: 100%;
  }

  .page-casino__quick-links-grid,
  .page-casino__promo-grid,
  .page-casino__security-grid,
  .page-casino__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-casino__quick-link-title,
  .page-casino__promo-title,
  .page-casino__security-title,
  .page-casino__blog-title {
    font-size: 1.3em;
  }

  .page-casino__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-casino__faq-question h3 {
    font-size: 1em;
    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;
  }
}