
    :root {
  --page-aebet-primary-color: #007bff; /* Blue */
  --page-aebet-secondary-color: #ffc107; /* Yellow */
  --page-aebet-dark-bg: #1a1a2e; /* Dark Blue/Purple */
  --page-aebet-light-bg: #e9ecef; /* Light Grey */
  --page-aebet-text-color: #ffffff;
  --page-aebet-dark-text: #343a40;
  --page-aebet-border-color: #343a40;
}

.page-aebet {
  font-family: 'Arial', sans-serif;
  color: var(--page-aebet-text-color);
  background-color: var(--page-aebet-dark-bg);
  line-height: 1.6;
  padding-bottom: 80px; /* Space for floating buttons */
}

.page-aebet__section-title {
  font-size: 2.2em;
  color: var(--page-aebet-secondary-color);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  font-weight: bold;
}

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

.page-aebet__highlight {
  color: var(--page-aebet-secondary-color);
  font-weight: bold;
}

/* Floating Buttons */
.page-aebet__floating-buttons {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 400px;
  justify-content: center;
  box-sizing: border-box;
}

.page-aebet__register-btn,
.page-aebet__login-btn {
  background-color: var(--page-aebet-primary-color);
  color: var(--page-aebet-text-color);
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none; /* For <a> tag */
  box-sizing: border-box;
  white-space: nowrap;
  flex-grow: 1;
  transition: background-color 0.3s ease;
}

.page-aebet__login-btn {
  background-color: var(--page-aebet-secondary-color);
  color: var(--page-aebet-dark-bg);
}

.page-aebet__register-btn:hover {
  background-color: #0056b3;
}

.page-aebet__login-btn:hover {
  background-color: #e0a800;
}

/* Hero Section */
.page-aebet__hero-section {
  background-color: #21213e; /* Slightly different dark shade */
  padding-top: 10px; /* Small top padding as per requirement */
  padding-bottom: 50px;
  text-align: center;
}

.page-aebet__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-aebet__hero-title {
  font-size: 2.8em;
  color: var(--page-aebet-secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-aebet__hero-description {
  font-size: 1.3em;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.page-aebet__hero-image-wrapper {
  margin-top: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-aebet__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Game Categories */
.page-aebet__game-categories {
  padding: 60px 20px;
}

.page-aebet__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-aebet__game-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-aebet__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-aebet__game-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not too small */
}

.page-aebet__game-title {
  font-size: 1.5em;
  color: var(--page-aebet-primary-color);
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-aebet__game-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px 20px;
}

/* Promotions Section */
.page-aebet__promotions-section {
  padding: 60px 20px;
  background-color: #21213e;
}

.page-aebet__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-aebet__promo-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-aebet__promo-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure images are not too small */
}

.page-aebet__promo-title {
  font-size: 1.4em;
  color: var(--page-aebet-secondary-color);
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-aebet__promo-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px 20px;
}

/* About Section */
.page-aebet__about-section {
  padding: 60px 20px;
}

.page-aebet__about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 30px;
}

.page-aebet__about-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-height: 200px;
}

.page-aebet__about-text {
  font-size: 1.1em;
  color: #e0e0e0;
  text-align: justify;
}

/* Payment Methods */
.page-aebet__payment-section,
.page-aebet__providers-section {
  padding: 60px 20px;
  background-color: #21213e;
}

.page-aebet__payment-methods,
.page-aebet__provider-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-aebet__payment-item,
.page-aebet__provider-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  max-width: 200px;
  flex: 1 1 auto; /* Allow items to grow and shrink */
  box-sizing: border-box;
}

.page-aebet__payment-logo,
.page-aebet__provider-logo {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
  min-width: 100px; /* Enforce minimum size for logos */
  min-height: 60px;
}

.page-aebet__payment-name,
.page-aebet__provider-name {
  font-size: 1em;
  font-weight: bold;
  color: var(--page-aebet-text-color);
  text-align: center;
}

/* FAQ Section */
.page-aebet__faq-section {
  padding: 60px 20px;
  background-color: var(--page-aebet-dark-bg);
}

.page-aebet__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-aebet__faq-item {
  background-color: #2a2a4a;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.page-aebet__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #3a3a5a; /* Slightly lighter than item bg */
  color: var(--page-aebet-text-color);
  font-size: 1.2em;
  font-weight: bold;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-aebet__faq-question:hover {
  background-color: #4a4a6a;
}

.page-aebet__faq-title {
  margin: 0;
  pointer-events: none; /* Crucial for click handling */
  flex-grow: 1;
  color: var(--page-aebet-secondary-color); /* Ensure contrast */
}

.page-aebet__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  pointer-events: none; /* Crucial for click handling */
  transition: transform 0.3s ease;
  color: var(--page-aebet-primary-color);
}

.page-aebet__faq-item.active .page-aebet__faq-toggle {
  transform: rotate(45deg); /* Change + to X-like shape */
}

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

.page-aebet__faq-item.active .page-aebet__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-aebet__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-aebet__floating-buttons {
    bottom: 15px;
    width: calc(100% - 30px) !important;
    gap: 10px;
  }
  .page-aebet__register-btn,
  .page-aebet__login-btn {
    padding: 10px 15px;
    font-size: 1em;
  }

  .page-aebet__hero-title {
    font-size: 2em;
  }

  .page-aebet__hero-description {
    font-size: 1.1em;
  }

  .page-aebet__section-title {
    font-size: 1.8em;
  }

  .page-aebet__game-grid,
  .page-aebet__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-aebet__about-content {
    flex-direction: column;
  }

  .page-aebet__about-text {
    text-align: left;
  }

  .page-aebet__payment-methods,
  .page-aebet__provider-logos {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-aebet__payment-item,
  .page-aebet__provider-item {
    width: 45%; /* Two items per row */
    min-width: unset;
    max-width: unset;
    flex: 0 0 calc(50% - 10px); /* Adjust for gap */
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-aebet__payment-logo,
  .page-aebet__provider-logo {
    min-width: 80px; /* Adjusted for smaller screens */
    min-height: 50px;
  }

  /* List item specific responsive requirements for general lists (if any, applied to payment/provider items as they are list-like) */
  .page-aebet__game-item,
  .page-aebet__promo-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* FAQ mobile adjustments */
  .page-aebet__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-aebet__faq-answer {
    padding: 0 20px;
  }
  .page-aebet__faq-item.active .page-aebet__faq-answer {
    padding: 15px 20px !important;
  }
  .page-aebet__faq-answer p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
}

@media (max-width: 480px) {
  .page-aebet__hero-title {
    font-size: 1.8em;
  }
  .page-aebet__hero-description {
    font-size: 1em;
  }
  .page-aebet__section-title {
    font-size: 1.6em;
  }
  .page-aebet__payment-item,
  .page-aebet__provider-item {
    flex: 0 0 calc(100% - 10px); /* One item per row on very small screens */
  }
}
  