.page-casino {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background-color: #140C0C; /* Background */
}

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

.page-casino__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #F3C54D; /* Gold */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
  color: #FFF1E8;
}

/* HERO Section */
.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  background-color: #140C0C; /* Background */
  overflow: hidden;
}

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

.page-casino__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-casino__main-title {
  font-size: 52px;
  font-weight: 900;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
}

.page-casino__hero-description {
  font-size: 20px;
  color: #FFF1E8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-casino__cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 30px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__cta-button:hover {
  background: linear-gradient(180deg, #FFB04A 0%, #E53030 100%); /* Slightly different hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-casino__btn-secondary {
  background: #7E0D0D; /* Deep Red */
  border: 2px solid #F3C54D; /* Gold border */
}

.page-casino__btn-secondary:hover {
  background: #C61F1F; /* Main color hover */
  border-color: #FFF1E8; /* Text Main border */
}

/* Intro Section */
.page-casino__intro-section {
  padding: 80px 20px;
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 20px;
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

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

.page-casino__game-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
}

.page-casino__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-casino__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__game-title {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-casino__game-text {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-casino__card-link {
  display: inline-block;
  background-color: #E53030; /* Auxiliary color */
  color: #FFF1E8;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-casino__card-link:hover {
  background-color: #C61F1F; /* Main color */
}

/* Promotions Section */
.page-casino__promotions-section {
  padding: 80px 20px;
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
}

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

.page-casino__promo-card {
  background-color: #140C0C; /* Background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border */
}

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

.page-casino__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-casino__promo-text {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 20px;
}

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

/* App Download Section */
.page-casino__app-download-section {
  padding: 80px 20px;
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

.page-casino__app-download-content {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-casino__app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-casino__app-image {
  flex-shrink: 0;
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border: 2px solid #6A1E1E; /* Border */
}

.page-casino__app-image img {
  width: 100%;
  height: auto;
  display: block;
}

.page-casino__app-features-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: left;
}

.page-casino__app-features-list li {
  background: #2A1212; /* Card BG */
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 5px solid #F3C54D; /* Gold accent */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__app-features-list li p {
  margin: 0;
  font-size: 17px;
  color: #FFF1E8;
}

/* Security Section */
.page-casino__security-section {
  padding: 80px 20px;
  background-color: #2A1212; /* Card BG */
  color: #FFF1E8;
}

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

.page-casino__security-item {
  background-color: #140C0C; /* Background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
  border: 1px solid #6A1E1E; /* Border */
}

.page-casino__security-item img {
  width: 100%;
  
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-casino__security-title {
  font-size: 22px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-casino__security-text {
  font-size: 16px;
  color: #FFF1E8;
  padding: 0 20px;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 20px;
  background-color: #140C0C; /* Background */
  color: #FFF1E8;
}

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

details.page-casino__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-casino__faq-item summary.page-casino__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3C54D; /* Gold */
}

details.page-casino__faq-item summary.page-casino__faq-question::-webkit-details-marker {
  display: none;
}

details.page-casino__faq-item summary.page-casino__faq-question:hover {
  background: #7E0D0D; /* Deep Red */
}

.page-casino__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-casino__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFF1E8;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

details[open] .page-casino__faq-toggle {
  transform: rotate(45deg);
}

details.page-casino__faq-item .page-casino__faq-answer {
  padding: 0 25px 25px;
  background: #140C0C; /* Background */
  border-radius: 0 0 8px 8px;
  color: #FFF1E8;
  font-size: 16px;
}

.page-casino__faq-answer p {
  margin-top: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-casino__main-title {
    font-size: 44px;
  }
  .page-casino__section-title {
    font-size: 32px;
  }
  .page-casino__hero-description {
    font-size: 18px;
  }
  .page-casino__game-card img,
  .page-casino__promo-card img {
    
  }
  .page-casino__app-download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__app-text {
    order: 2;
  }
  .page-casino__app-image {
    order: 1;
    margin-bottom: 30px;
  }
  .page-casino__app-features-list {
    text-align: center;
    padding: 0 20px;
  }
  .page-casino__app-features-list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-casino {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-casino__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino__hero-image img {
    border-radius: 8px;
  }
  .page-casino__main-title {
    font-size: clamp(32px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-casino__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__cta-button {
    padding: 14px 30px;
    font-size: 18px;
    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__cta-buttons,
  .page-casino__button-group,
  .page-casino__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-casino__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-casino__section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__security-grid {
    gap: 20px;
  }
  .page-casino__game-card img,
  .page-casino__promo-card img,
  .page-casino__security-item img {
    
  }
  .page-casino__game-title,
  .page-casino__promo-title,
  .page-casino__security-title {
    font-size: 20px;
  }
  .page-casino__game-text,
  .page-casino__promo-text,
  .page-casino__security-text {
    font-size: 15px;
  }
  .page-casino__app-image {
    max-width: 280px;
  }
  .page-casino__app-features-list li {
    font-size: 15px;
  }
  details.page-casino__faq-item summary.page-casino__faq-question {
    padding: 15px;
  }
  .page-casino__faq-qtext {
    font-size: 16px;
  }
  .page-casino__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-casino__faq-item .page-casino__faq-answer {
    padding: 0 15px 15px;
  }
  .page-casino img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .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;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: clamp(28px, 9vw, 36px);
  }
  .page-casino__section-title {
    font-size: 24px;
  }
  .page-casino__game-grid,
  .page-casino__promo-grid,
  .page-casino__security-grid {
    grid-template-columns: 1fr;
  }
}