.page-ss777-web {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f0f0f0;
  background-color: #1a1a2e;
  line-height: 1.6;
  padding-top: var(--header-offset, 0);
}

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

.page-ss777-web__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  min-width: 120px;
}

.page-ss777-web__register-btn {
  background-color: #e44d26;
  color: #ffffff;
}

.page-ss777-web__register-btn:hover {
  background-color: #ff5e33;
  transform: translateY(-2px);
}

.page-ss777-web__login-btn {
  background-color: #007bff;
  color: #ffffff;
}

.page-ss777-web__login-btn:hover {
  background-color: #0069d9;
  transform: translateY(-2px);
}

/* Hero Section */
.page-ss777-web__hero-section {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px;
  box-sizing: border-box;
}

.page-ss777-web__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-ss777-web__hero-overlay {
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 20px;
}

.page-ss777-web__hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-ss777-web__brand-keyword {
  color: #e44d26;
  font-weight: bold;
}

.page-ss777-web__hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-ss777-web__cta-button {
  display: inline-block;
  background-color: #e44d26;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-ss777-web__cta-button:hover {
  background-color: #ff5e33;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-ss777-web__about-section,
.page-ss777-web__game-categories,
.page-ss777-web__promo-section,
.page-ss777-web__app-download-section,
.page-ss777-web__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.page-ss777-web__section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-ss777-web__section-description {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.page-ss777-web__about-features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-ss777-web__feature-item {
  background-color: #2e2e4e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  box-sizing: border-box;
}

.page-ss777-web__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.page-ss777-web__feature-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-ss777-web__feature-text {
  color: #cccccc;
}

/* Game Categories */
.page-ss777-web__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-ss777-web__game-card {
  background-color: #2e2e4e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.page-ss777-web__game-card:hover {
  transform: translateY(-5px);
}

.page-ss777-web__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.page-ss777-web__game-title {
  font-size: 1.8rem;
  color: #e44d26;
  margin: 20px 0 10px;
}

.page-ss777-web__game-text {
  color: #cccccc;
  padding: 0 20px 20px;
}

.page-ss777-web__game-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-ss777-web__game-button:hover {
  background-color: #0069d9;
}

/* Promotions Section */
.page-ss777-web__promo-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-ss777-web__promo-card {
  background-color: #2e2e4e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
  box-sizing: border-box;
}

.page-ss777-web__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.page-ss777-web__promo-title {
  font-size: 1.8rem;
  color: #ffffff;
  padding: 20px 20px 10px;
}

.page-ss777-web__promo-text {
  color: #cccccc;
  padding: 0 20px 20px;
}

.page-ss777-web__promo-button {
  display: inline-block;
  background-color: #e44d26;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-ss777-web__promo-button:hover {
  background-color: #ff5e33;
}

.page-ss777-web__promo-note {
  font-size: 0.9rem;
  color: #888;
  margin-top: 30px;
}

/* App Download Section */
.page-ss777-web__app-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-ss777-web__app-text {
  flex: 1;
}

.page-ss777-web__app-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  object-fit: cover;
}

/* FAQ Section */
.page-ss777-web__faq-container {
  margin-top: 40px;
  text-align: left;
}

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

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

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

.page-ss777-web__faq-q-text {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0;
  pointer-events: none;
}

.page-ss777-web__faq-toggle {
  font-size: 1.8rem;
  color: #e44d26;
  font-weight: bold;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.page-ss777-web__faq-item.active .page-ss777-web__faq-toggle {
  transform: rotate(45deg);
}

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

.page-ss777-web__faq-item.active .page-ss777-web__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-ss777-web__faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-ss777-web__hero-title {
    font-size: 2.5rem;
  }
  .page-ss777-web__hero-subtitle {
    font-size: 1.1rem;
  }
  .page-ss777-web__section-title {
    font-size: 2rem;
  }
  .page-ss777-web__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-ss777-web__app-image {
    order: -1;
    margin-bottom: 20px;
  }
  .page-ss777-web__floating-buttons {
    flex-direction: row;
    bottom: 10px;
    right: 10px;
    left: 10px;
    justify-content: center;
    gap: 15px;
  }
  .page-ss777-web__floating-btn {
    flex: 1;
    min-width: unset;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .page-ss777-web__hero-section {
    height: 50vh;
  }
  .page-ss777-web__hero-overlay {
    padding: 30px 15px;
  }
  .page-ss777-web__hero-title {
    font-size: 2rem;
  }
  .page-ss777-web__hero-subtitle {
    font-size: 1rem;
  }
  .page-ss777-web__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-ss777-web__about-section,
  .page-ss777-web__game-categories,
  .page-ss777-web__promo-section,
  .page-ss777-web__app-download-section,
  .page-ss777-web__faq-section {
    padding: 40px 15px;
  }
  .page-ss777-web__section-title {
    font-size: 1.8rem;
  }
  .page-ss777-web__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-ss777-web__about-features {
    flex-direction: column;
    align-items: center;
  }
  .page-ss777-web__feature-item {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .page-ss777-web__game-grid,
  .page-ss777-web__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-ss777-web__game-card,
  .page-ss777-web__promo-card {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .page-ss777-web__app-image {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-ss777-web__faq-question {
    padding: 15px 20px;
  }
  .page-ss777-web__faq-q-text {
    font-size: 1.1rem;
    word-break: break-word !important;
  }
  .page-ss777-web__faq-answer {
    padding: 0 20px;
  }
  .page-ss777-web__faq-item.active .page-ss777-web__faq-answer {
    padding: 15px 20px !important;
  }
  .page-ss777-web__floating-buttons {
    flex-direction: row;
    bottom: 10px;
    right: 10px;
    left: 10px;
    justify-content: center;
    gap: 10px;
  }
  .page-ss777-web__floating-btn {
    flex: 1;
    min-width: unset;
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .page-ss777-web__hero-title {
    font-size: 1.7rem;
  }
  .page-ss777-web__hero-subtitle {
    font-size: 0.9rem;
  }
  .page-ss777-web__section-title {
    font-size: 1.6rem;
  }
  .page-ss777-web__feature-title {
    font-size: 1.3rem;
  }
  .page-ss777-web__game-title,
  .page-ss777-web__promo-title {
    font-size: 1.5rem;
  }
  .page-ss777-web__faq-q-text {
    font-size: 1rem;
  }
  .page-ss777-web__faq-toggle {
    font-size: 1.5rem;
  }
}