/* Base styles */
.page-b66app {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* Light background for the page */
}

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

.page-b66app__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #2563eb; /* Brand primary color */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-b66app__section-title--white {
  color: #ffffff;
}

.page-b66app__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-b66app__text-block--white {
  color: #f0f0f0;
}

.page-b66app__btn-primary,
.page-b66app__btn-secondary,
.page-b66app__btn-link,
.page-b66app__floating-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  box-sizing: border-box; /* Include padding in width calculation */
  text-align: center;
}

.page-b66app__btn-primary {
  background-color: #2563eb; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #2563eb;
}

.page-b66app__btn-primary:hover {
  background-color: #1e40af;
  border-color: #1e40af;
}

.page-b66app__btn-primary--large {
  padding: 15px 30px;
  font-size: 18px;
}

.page-b66app__btn-secondary {
  background-color: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.page-b66app__btn-secondary:hover {
  background-color: #e0e7ff;
}

.page-b66app__btn-link {
  color: #2563eb;
  border: none;
  padding: 8px 15px;
  background: transparent;
  text-decoration: underline;
  font-weight: 500;
}

.page-b66app__btn-link:hover {
  color: #1e40af;
}

.page-b66app__btn-link--white {
  color: #ffffff;
}

.page-b66app__btn-link--white:hover {
  color: #e0e7ff;
}

/* Hero Section */
.page-b66app__hero-section {
  padding-top: 10px; /* Small top padding, body handles main offset */
  background-color: #ffffff;
  text-align: center;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
}

.page-b66app__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-b66app__hero-content {
  max-width: 900px;
  padding: 0 15px 40px;
  box-sizing: border-box;
}

.page-b66app__main-title {
  font-size: 38px;
  color: #2563eb;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-b66app__hero-description {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-b66app__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Introduction Section */
.page-b66app__introduction-section {
  padding: 60px 0;
  background-color: #ffffff;
}

/* Features Section */
.page-b66app__features-section {
  padding: 60px 0;
  background-color: #2563eb; /* Dark background */
  color: #ffffff;
}

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

.page-b66app__feature-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-b66app__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-b66app__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-b66app__feature-description {
  font-size: 15px;
  color: #e0e7ff;
}

/* Games Section */
.page-b66app__games-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-b66app__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-b66app__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-b66app__game-title {
  font-size: 20px;
  font-weight: 700;
  color: #2563eb;
  margin: 20px 15px 10px;
}

.page-b66app__game-description {
  font-size: 15px;
  color: #64748b;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-b66app__cta-more-games {
  text-align: center;
  margin-top: 40px;
}

/* Download Guide Section */
.page-b66app__download-guide-section {
  padding: 60px 0;
  background-color: #64748b; /* Auxiliary color as dark background */
  color: #ffffff;
}

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

.page-b66app__step-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-b66app__step-number {
  font-size: 36px;
  font-weight: 700;
  color: #2563eb;
  background-color: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.page-b66app__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-b66app__step-description {
  font-size: 15px;
  color: #e0e7ff;
  margin-bottom: 20px;
}

.page-b66app__download-cta {
  text-align: center;
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
}

.page-b66app__download-qr {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-b66app__download-text {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Promotions Section */
.page-b66app__promotions-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-b66app__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-b66app__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-b66app__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
  margin: 20px 15px 10px;
}

.page-b66app__promo-description {
  font-size: 15px;
  color: #64748b;
  padding: 0 15px 20px;
  flex-grow: 1;
}

/* Trust Section */
.page-b66app__trust-section {
  padding: 60px 0;
  background-color: #2563eb; /* Primary brand color as dark background */
  color: #ffffff;
}

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

.page-b66app__trust-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}

.page-b66app__trust-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-b66app__trust-description {
  font-size: 15px;
  color: #e0e7ff;
}

/* Final CTA Section */
.page-b66app__cta-final {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

/* Floating CTA Button */
.page-b66app__floating-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 380px; /* Limit width for desktop */
  padding: 0 15px;
  box-sizing: border-box;
}

.page-b66app__floating-button {
  width: 100%;
  background-color: #ffc107; /* Eye-catching promo color */
  color: #333333;
  border: 2px solid #ffc107;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: 700;
  animation: pulse 2s infinite;
}

.page-b66app__floating-button:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}