
    /* General Styling for 5tt88 Page */
.page-5tt88 {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark background */
  background-color: #1a1a1a; /* Dark background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for hero section */
}

.page-5tt88__section-title {
  font-size: 2.2em;
  color: #ffd700; /* Gold/Yellow for titles */
  text-align: center;
  margin-bottom: 20px;
  padding: 0 15px;
  word-wrap: break-word; /* Ensure long titles break */
  overflow-wrap: break-word;
}

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

/* Hero Section */
.page-5tt88__hero-section {
  position: relative;
  width: 100%;
  height: 60vh; /* Responsive height */
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('[GALLERY:hero:1920x1080:online_betting,casino,gaming,5tt88]');
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
}

.page-5tt88__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
}

.page-5tt88__hero-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  padding: 20px;
}

.page-5tt88__hero-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-5tt88__hero-description {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-5tt88__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-5tt88__button--primary {
  background-color: #ffd700; /* Gold/Yellow */
  color: #1a1a1a; /* Dark text for contrast */
  border: 2px solid #ffd700;
}

.page-5tt88__button--primary:hover {
  background-color: #ffeb3b;
  transform: translateY(-2px);
}

.page-5tt88__button--secondary {
  background-color: transparent;
  color: #ffd700; /* Gold/Yellow */
  border: 2px solid #ffd700;
}

.page-5tt88__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-5tt88__button--large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Floating Register/Login Buttons */
.page-5tt88__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-5tt88__floating-button {
  display: block;
  padding: 10px 20px;
  border-radius: 50px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1em;
}

.page-5tt88__floating-button--register {
  background-color: #ffd700;
  color: #1a1a1a;
}

.page-5tt88__floating-button--register:hover {
  background-color: #ffeb3b;
  transform: translateY(-2px);
}

.page-5tt88__floating-button--login {
  background-color: #333333;
  color: #ffd700;
  border: 1px solid #ffd700;
}

.page-5tt88__floating-button--login:hover {
  background-color: #444444;
  transform: translateY(-2px);
}

/* Games Section */
.page-5tt88__games-section {
  padding: 40px 0;
  background-color: #222222;
  margin-bottom: 40px;
}

.page-5tt88__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-5tt88__game-card {
  background-color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  box-sizing: border-box; /* Crucial for responsive list items */
}

.page-5tt88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-5tt88__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-5tt88__game-card-title {
  font-size: 1.5em;
  color: #ffd700;
  margin: 20px 15px 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-5tt88__game-card-text {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px 20px;
  flex-grow: 1; /* Ensures text takes available space */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Promotions Section */
.page-5tt88__promotions-section {
  padding: 40px 0;
  margin-bottom: 40px;
}

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

.page-5tt88__promotion-card {
  background-color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  box-sizing: border-box; /* Crucial for responsive list items */
}

.page-5tt88__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-5tt88__promotion-card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-5tt88__promotion-card-title {
  font-size: 1.4em;
  color: #ffd700;
  margin: 20px 15px 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-5tt88__promotion-card-text {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px 20px;
  flex-grow: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-5tt88__button-center {
  text-align: center;
  margin-top: 40px;
}

/* About Section */
.page-5tt88__about-section {
  padding: 40px 20px;
  background-color: #1a1a1a;
  margin-bottom: 40px;
}

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

.page-5tt88__about-text {
  font-size: 1.1em;
  color: #cccccc;
  text-align: justify;
}

.page-5tt88__about-text p {
  margin-bottom: 15px;
}

.page-5tt88__about-image-wrapper {
  width: 100%;
  max-width: 600px; /* Limit image width */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-5tt88__about-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%; /* Ensure responsiveness */
}

/* Payment Providers Section */
.page-5tt88__payment-providers {
  padding: 40px 0;
  background-color: #222222;
  margin-bottom: 40px;
}

.page-5tt88__payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-5tt88__payment-item {
  background-color: #333333;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px; /* Ensure minimum size */
  max-width: 220px; /* Limit max size */
  box-sizing: border-box; /* Crucial for responsive list items */
}

.page-5tt88__payment-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.page-5tt88__payment-logo {
  max-width: 100%;
  height: auto;
  max-height: 50px; /* Limit logo height */
  display: block;
}

/* FAQ Section */
.page-5tt88__faq-section {
  padding: 40px 20px;
  margin-bottom: 40px;
}

.page-5tt88__faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.page-5tt88__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-5tt88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #3a3a3a;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-5tt88__faq-question:hover {
  background-color: #4a4a4a;
}

.page-5tt88__faq-question-title {
  font-size: 1.2em;
  color: #ffd700;
  margin: 0;
  flex-grow: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-5tt88__faq-toggle {
  font-size: 1.5em;
  color: #ffd700;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-5tt88__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px; /* Initial padding */
  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;
  font-size: 1em;
  box-sizing: border-box;
}

.page-5tt88__faq-answer p {
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-5tt88__faq-answer p:last-child {
  margin-bottom: 0;
}

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

.page-5tt88__faq-item.active .page-5tt88__faq-toggle {
  transform: rotate(45deg); /* Change + to X (or similar) */
}

/* Call to Action Section */
.page-5tt88__cta-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #222222;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-5tt88__hero-title {
    font-size: 2.2em;
  }
  .page-5tt88__hero-description {
    font-size: 1.1em;
  }
  .page-5tt88__game-categories,
  .page-5tt88__promotion-grid,
  .page-5tt88__payment-grid {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-5tt88__hero-section {
    height: 50vh;
    min-height: 350px;
  }
  .page-5tt88__hero-title {
    font-size: 2em;
  }
  .page-5tt88__hero-description {
    font-size: 1em;
  }
  .page-5tt88__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-5tt88__button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .page-5tt88__section-title {
    font-size: 1.8em;
  }
  .page-5tt88__section-description {
    font-size: 0.95em;
  }

  /* List items responsiveness */
  .page-5tt88__game-card,
  .page-5tt88__promotion-card,
  .page-5tt88__payment-item,
  .page-5tt88__faq-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* padding: 0 !important; */ /* This might remove internal card padding */
  }

  .page-5tt88__game-categories,
  .page-5tt88__promotion-grid,
  .page-5tt88__payment-grid {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px !important; /* Adjust container padding */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-5tt88__game-card-image,
  .page-5tt88__promotion-card-image,
  .page-5tt88__about-image,
  .page-5tt88__payment-logo {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-5tt88__about-content {
    flex-direction: column;
  }
  .page-5tt88__about-text {
    text-align: left; /* Align text left on mobile for better readability */
  }

  .page-5tt88__faq-question {
    padding: 12px 15px;
  }
  .page-5tt88__faq-question-title {
    font-size: 1.1em;
  }
  .page-5tt88__faq-answer {
    padding: 0 15px; /* Adjust initial padding */
  }
  .page-5tt88__faq-item.active .page-5tt88__faq-answer {
    padding: 15px !important; /* Adjust expanded padding */
  }

  /* Floating buttons adjustment */
  .page-5tt88__floating-buttons {
    bottom: 10px;
    right: 10px;
    flex-direction: row; /* Buttons side-by-side on mobile */
    gap: 8px;
  }
  .page-5tt88__floating-button {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-5tt88__hero-title {
    font-size: 1.8em;
  }
  .page-5tt88__hero-description {
    font-size: 0.9em;
  }
  .page-5tt88__section-title {
    font-size: 1.6em;
  }
  .page-5tt88__section-description {
    font-size: 0.9em;
  }
}
  