
    /* General styles for the page-5com scope */
.page-5com {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark background */
  background-color: #1a1a1a; /* Dark background */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll from elements like floating buttons */
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
}

/* Section titles */
.page-5com__section-title {
  font-size: 2.2em;
  color: #ffd700; /* Gold accent */
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 15px 0;
  font-weight: bold;
  word-wrap: break-word; /* Ensure titles wrap */
}
@media (max-width: 768px) {
  .page-5com__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding: 15px 10px 0;
  }
}

/* Buttons */
.page-5com__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  box-sizing: border-box;
  min-width: 150px;
}
.page-5com__button--primary {
  background-color: #ffd700; /* Gold */
  color: #1a1a1a; /* Dark text */
  border: 2px solid #ffd700;
}
.page-5com__button--primary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}
.page-5com__button--secondary {
  background-color: transparent;
  color: #ffd700; /* Gold */
  border: 2px solid #ffd700;
}
.page-5com__button--secondary:hover {
  background-color: #ffd700;
  color: #1a1a1a;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .page-5com__button {
    padding: 10px 20px;
    font-size: 1em;
    min-width: 120px;
  }
}

/* Hero Section */
.page-5com__hero-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Adjust height for mobile first */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 40px;
}
.page-5com__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.page-5com__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1;
}
.page-5com__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 20px;
  max-width: 90%;
  box-sizing: border-box;
}
.page-5com__hero-title {
  font-size: 2.8em;
  margin-bottom: 10px;
  color: #ffd700;
  word-wrap: break-word;
}
.page-5com__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
}
.page-5com__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}
@media (max-width: 768px) {
  .page-5com__hero-section {
    height: 50vh;
    margin-bottom: 30px;
  }
  .page-5com__hero-title {
    font-size: 2em;
  }
  .page-5com__hero-subtitle {
    font-size: 1.1em;
  }
  .page-5com__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-5com__button {
    width: 100%;
  }
}

/* Game Categories Section */
.page-5com__game-categories-section {
  padding: 20px 0;
  margin-bottom: 40px;
}
.page-5com__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-5com__game-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.page-5com__game-item:hover {
  transform: translateY(-5px);
}
.page-5com__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.page-5com__game-title {
  font-size: 1.4em;
  color: #ffd700;
  margin-bottom: 10px;
  padding: 0 15px;
  word-wrap: break-word;
}
.page-5com__game-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .page-5com__game-categories-section {
    margin-bottom: 30px;
  }
  .page-5com__game-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
    gap: 20px;
  }
  .page-5com__game-image {
    height: 150px;
  }
  .page-5com__game-title {
    font-size: 1.3em;
  }
  .page-5com__game-description {
    font-size: 0.9em;
  }
  .page-5com__game-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Promotions Section */
.page-5com__promotions-section {
  padding: 20px 0;
  margin-bottom: 40px;
  background-color: #222222;
}
.page-5com__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
}
.page-5com__promo-item {
  background-color: #333333;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.page-5com__promo-item:hover {
  transform: translateY(-5px);
}
.page-5com__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.page-5com__promo-title {
  font-size: 1.3em;
  color: #ffd700;
  margin-bottom: 10px;
  padding: 0 15px;
  word-wrap: break-word;
}
.page-5com__promo-description {
  font-size: 0.9em;
  color: #cccccc;
  padding: 0 15px;
  word-wrap: break-word;
}
.page-5com__button-wrapper {
  text-align: center;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .page-5com__promotions-section {
    margin-bottom: 30px;
  }
  .page-5com__promo-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
    gap: 20px;
  }
  .page-5com__promo-image {
    height: 180px;
  }
  .page-5com__promo-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Why Choose Us Section */
.page-5com__why-choose-us-section {
  padding: 20px 0;
  margin-bottom: 40px;
}
.page-5com__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-5com__feature-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.page-5com__feature-item:hover {
  transform: translateY(-5px);
}
.page-5com__feature-icon {
  width: 100px; /* Actual image placeholder is 400x300, CSS scales it */
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.page-5com__feature-title {
  font-size: 1.3em;
  color: #ffd700;
  margin-bottom: 10px;
  word-wrap: break-word;
}
.page-5com__feature-description {
  font-size: 0.9em;
  color: #cccccc;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .page-5com__why-choose-us-section {
    margin-bottom: 30px;
  }
  .page-5com__features-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
    gap: 20px;
  }
  .page-5com__feature-item {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Payment Methods Section */
.page-5com__payment-methods-section {
  padding: 20px 0;
  margin-bottom: 40px;
  background-color: #222222;
}
.page-5com__payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-5com__payment-item {
  background-color: #333333;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #f0f0f0;
  flex: 1 1 150px; /* Allow items to grow and shrink */
  max-width: 180px; /* Max width for larger screens */
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.page-5com__payment-item:hover {
  transform: translateY(-5px);
}
.page-5com__payment-logo {
  width: 100px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.page-5com__payment-name {
  font-size: 1em;
  font-weight: bold;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .page-5com__payment-methods-section {
    margin-bottom: 30px;
  }
  .page-5com__payment-grid {
    padding: 0 10px;
    gap: 15px;
  }
  .page-5com__payment-item {
    flex: 1 1 calc(50% - 15px); /* Two items per row with gap */
    max-width: calc(50% - 15px);
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-5com__payment-logo {
    width: 80px;
    height: 50px;
  }
}

/* Game Providers Section */
.page-5com__providers-section {
  padding: 20px 0;
  margin-bottom: 60px; /* More space for floating buttons */
}
.page-5com__providers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-5com__provider-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #f0f0f0;
  flex: 1 1 120px;
  max-width: 160px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.page-5com__provider-item:hover {
  transform: translateY(-5px);
}
.page-5com__provider-logo {
  width: 80px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 10px;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.page-5com__provider-name {
  font-size: 1em;
  font-weight: bold;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .page-5com__providers-section {
    margin-bottom: 50px; /* More space for floating buttons */
  }
  .page-5com__providers-grid {
    padding: 0 10px;
    gap: 15px;
  }
  .page-5com__provider-item {
    flex: 1 1 calc(33% - 15px); /* Three items per row with gap */
    max-width: calc(33% - 15px);
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .page-5com__provider-logo {
    width: 60px;
    height: 40px;
  }
}

/* FAQ Section */
.page-5com__faq-section {
  padding: 20px 0;
  margin-bottom: 60px; /* Space for floating buttons */
  background-color: #222222;
}
.page-5com__faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}
.page-5com__faq-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.page-5com__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #333333;
  cursor: pointer;
  user-select: none;
  color: #ffd700;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}
.page-5com__faq-question:hover {
  background-color: #444444;
}
.page-5com__faq-question .page-5com__faq-title {
  font-size: 1.1em;
  margin: 0;
  color: #ffd700; /* Ensure title color */
  pointer-events: none; /* Prevent text selection from interfering with click */
  word-wrap: break-word;
  flex-grow: 1; /* Allow title to take available space */
  padding-right: 10px; /* Space between title and toggle */
}
.page-5com__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffd700;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent icon from interfering with click */
  min-width: 20px; /* Ensure toggle has enough space */
  text-align: center;
}
.page-5com__faq-item.active .page-5com__faq-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
}
.page-5com__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  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;
  box-sizing: border-box;
}
.page-5com__faq-item.active .page-5com__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 15px !important;
  opacity: 1;
}
.page-5com__faq-answer p {
  margin: 0;
  word-wrap: break-word;
}
@media (max-width: 768px) {
  .page-5com__faq-section {
    margin-bottom: 50px; /* Space for floating buttons */
  }
  .page-5com__faq-container {
    padding: 0 10px;
  }
  .page-5com__faq-question {
    padding: 12px 15px;
  }
  .page-5com__faq-question .page-5com__faq-title {
    font-size: 1em;
  }
  .page-5com__faq-answer {
    padding: 0 10px;
  }
  .page-5com__faq-item.active .page-5com__faq-answer {
    padding: 15px 10px !important;
  }
  .page-5com__faq-item, .page-5com__faq-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}


/* Floating Register/Login Buttons */
.page-5com__floating-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}
.page-5com__floating-button {
  flex: 1;
  margin: 0 5px;
  padding: 12px 0;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}
.page-5com__floating-button--register {
  background-color: #ffd700; /* Gold */
  color: #1a1a1a;
}
.page-5com__floating-button--register:hover {
  background-color: #e0b800;
}
.page-5com__floating-button--login {
  background-color: #555555; /* Darker grey */
  color: #f0f0f0;
  border: 1px solid #777777;
}
.page-5com__floating-button--login:hover {
  background-color: #666666;
}
@media (min-width: 769px) {
  .page-5com__floating-buttons {
    display: none; /* Hide floating buttons on desktop, as per "mobile-first" implication for these specific buttons */
  }
}
  