.page-casino {
  font-family: 'Arial', sans-serif;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  line-height: 1.6;
  padding-bottom: 40px;
}

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

.page-casino__hero-section {
  position: relative;
  background-color: #7A0E0E; /* Deep Red */
  padding-top: 10px; /* Small padding-top, relying on body padding for header offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-casino__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: #FFF5E1; /* Text Main */
}

.page-casino__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold */
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
}

.page-casino__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #FFF5E1; /* Text Main */
}

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

.page-casino__btn-primary,
.page-casino__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-casino__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red for text on gold button */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-casino__btn-secondary {
  background-color: transparent;
  color: #F4D34D; /* Gold */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__btn-secondary:hover {
  background-color: rgba(244, 211, 77, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-casino__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #F4D34D; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  text-shadow: 0 0 8px rgba(255, 204, 102, 0.5);
}

.page-casino__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1; /* Text Main */
}

.page-casino__about-n666 .page-casino__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-casino__games-section {
  background-color: #D32F2F; /* Card BG */
  padding: 60px 0;
}

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

.page-casino__game-tile {
  background-color: #7A0E0E; /* Deep Red */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #FFF5E1; /* Text Main */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-casino__game-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-casino__game-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid #F2B544; /* Border */
}

.page-casino__game-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
}

.page-casino__game-description {
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.page-casino__cta-buttons--center {
  margin-top: 40px;
}

.page-casino__live-experience-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

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

.page-casino__feature-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__feature-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
  border: 2px solid #F2B544; /* Border */
  border-radius: 50%;
  padding: 5px;
  box-sizing: border-box;
}

.page-casino__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF5E1; /* Text Main */
}

.page-casino__promotions-section {
  background-color: #7A0E0E; /* Deep Red */
  padding: 60px 0;
}

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

.page-casino__promo-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-casino__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 2px solid #F2B544; /* Border */
}

.page-casino__promo-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
}

.page-casino__promo-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__btn-text {
  color: #F4D34D; /* Gold */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-casino__btn-text:hover {
  color: #FFD86A; /* Lighter gold on hover */
  text-decoration: underline;
}

.page-casino__guide-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

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

.page-casino__step-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button */
  color: #7A0E0E; /* Deep Red */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 3px solid #F2B544; /* Border */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-casino__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-casino__step-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF5E1; /* Text Main */
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__security-section {
  background-color: #C91F17; /* Main Color */
  padding: 60px 0;
}

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

.page-casino__security-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__security-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 20px;
  border: 2px solid #F2B544; /* Border */
  border-radius: 50%;
  padding: 5px;
  box-sizing: border-box;
}

.page-casino__security-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  margin-bottom: 15px;
}

.page-casino__security-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF5E1; /* Text Main */
}

.page-casino__faq-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
}

.page-casino__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-casino__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F4D34D; /* Gold */
  background-color: #7A0E0E; /* Deep Red */
  transition: background-color 0.3s ease;
}

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

.page-casino__faq-item summary:hover {
  background-color: #C91F17; /* Main Color */
}

.page-casino__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF5E1; /* Text Main */
  background-color: #D32F2F; /* Card BG */
  border-top: 1px solid rgba(242, 181, 68, 0.2); /* Border with transparency */
}

.page-casino__faq-answer p {
  margin: 0;
}

/* General image styling for content area */
.page-casino img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-casino__container {
    padding: 0 15px;
  }

  .page-casino__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-casino__hero-image-wrapper {
    max-height: 400px;
  }

  .page-casino__hero-image {
    object-fit: contain !important; /* Mobile hero image: contain, no cropping */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-casino__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-casino__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-casino__cta-buttons {
    flex-direction: column !important; /* Buttons stack vertically */
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-casino__btn-primary,
  .page-casino__btn-secondary,
  .page-casino a[class*="button"],
  .page-casino a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-casino__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    margin-top: 40px;
  }

  .page-casino__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-casino__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 2 columns for games */
    gap: 20px;
  }

  .page-casino__game-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1; /* Maintain aspect ratio */
    object-fit: cover;
  }

  .page-casino__game-title {
    font-size: 1.2rem;
  }

  .page-casino__features-grid,
  .page-casino__promo-grid,
  .page-casino__steps-grid,
  .page-casino__security-grid {
    grid-template-columns: 1fr; /* Single column layout for grids */
    gap: 25px;
  }

  .page-casino__promo-image {
    height: 180px;
  }

  .page-casino__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
    top: -15px;
  }

  .page-casino__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-casino__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* General image and container 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__hero-section,
  .page-casino__about-n666,
  .page-casino__games-section,
  .page-casino__live-experience-section,
  .page-casino__promotions-section,
  .page-casino__guide-section,
  .page-casino__security-section,
  .page-casino__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure no horizontal overflow */
  .page-casino {
    overflow-x: hidden;
  }
}