/* General Styling for the page-esporte-da-sorte-1win scope */
.page-esporte-da-sorte-1win {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0;
  background-color: #1a1a2e; /* Dark background */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll due to floating buttons */
}

/* Container for content width */
.page-esporte-da-sorte-1win__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Section titles and descriptions */
.page-esporte-da-sorte-1win__section-title {
  font-size: 2.5em;
  color: #ffc107; /* Gold accent */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Buttons */
.page-esporte-da-sorte-1win__button {
  display: inline-block;
  background-color: #ffc107; /* Gold */
  color: #1a1a2e; /* Dark text */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__button:hover {
  background-color: #e0a800; /* Darker gold */
  transform: translateY(-2px);
}

.page-esporte-da-sorte-1win__button--primary {
  background-color: #ffc107;
  color: #1a1a2e;
}

.page-esporte-da-sorte-1win__button--secondary {
  background-color: #4CAF50; /* Green accent */
  color: #ffffff;
  margin-left: 15px;
}

.page-esporte-da-sorte-1win__button--secondary:hover {
  background-color: #45a049;
}

.page-esporte-da-sorte-1win__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-esporte-da-sorte-1win__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-esporte-da-sorte-1win__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 60vh; /* Adjust for better mobile view */
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  background: linear-gradient(135deg, #2c0a3d, #1a1a2e);
  overflow: hidden;
  box-sizing: border-box;
}

.page-esporte-da-sorte-1win__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-esporte-da-sorte-1win__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
  max-width: 100%; /* Ensure responsiveness */
}

.page-esporte-da-sorte-1win__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-esporte-da-sorte-1win__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 30px;
  color: #f0f0f0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on small screens */
}

/* About Section */
.page-esporte-da-sorte-1win__about-section {
  padding: 60px 0;
  background-color: #1a1a2e;
  text-align: center;
}

/* Games Section */
.page-esporte-da-sorte-1win__games-section {
  padding: 60px 0;
  background-color: #0f0f1d;
}

.page-esporte-da-sorte-1win__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 40px 0;
}

.page-esporte-da-sorte-1win__category-item {
  background-color: #2a2a4a;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive lists */
}

.page-esporte-da-sorte-1win__category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.page-esporte-da-sorte-1win__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  max-width: 100%; /* Responsive image */
}

.page-esporte-da-sorte-1win__category-title {
  font-size: 1.6em;
  color: #ffc107;
  margin-bottom: 10px;
  padding: 0 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__category-text {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Promotions Section */
.page-esporte-da-sorte-1win__promo-section {
  padding: 60px 0;
  background-color: #1a1a2e;
}

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

.page-esporte-da-sorte-1win__promo-card {
  background-color: #2a2a4a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive lists */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.page-esporte-da-sorte-1win__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.page-esporte-da-sorte-1win__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  max-width: 100%; /* Responsive image */
}

.page-esporte-da-sorte-1win__promo-title {
  font-size: 1.5em;
  color: #ffc107;
  margin: 15px 15px 10px 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__promo-text {
  font-size: 0.95em;
  color: #cccccc;
  margin: 0 15px 20px 15px;
  flex-grow: 1; /* Make text take available space */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__promo-card .page-esporte-da-sorte-1win__button {
  margin: 0 15px 15px 15px;
  align-self: flex-start; /* Align button to start of flex item */
}


/* FAQ Section */
.page-esporte-da-sorte-1win__faq-section {
  padding: 60px 0;
  background-color: #0f0f1d;
}

.page-esporte-da-sorte-1win__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-esporte-da-sorte-1win__faq-item {
  background-color: #2a2a4a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-esporte-da-sorte-1win__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  background-color: #3a3a5a;
  transition: background-color 0.3s ease;
}

.page-esporte-da-sorte-1win__faq-question:hover {
  background-color: #4a4a6a;
}

.page-esporte-da-sorte-1win__faq-question-text {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  font-weight: bold;
  pointer-events: none; /* Prevent h3 from blocking click event */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffc107;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent span from blocking click event */
}

.page-esporte-da-sorte-1win__faq-item.active .page-esporte-da-sorte-1win__faq-toggle {
  transform: rotate(45deg);
  color: #4CAF50; /* Green when active */
}

.page-esporte-da-sorte-1win__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* 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;
}

.page-esporte-da-sorte-1win__faq-item.active .page-esporte-da-sorte-1win__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 25px !important; /* Active padding */
  opacity: 1;
}

.page-esporte-da-sorte-1win__faq-answer p {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Floating Buttons */
.page-esporte-da-sorte-1win__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page-esporte-da-sorte-1win__floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 0.9em;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center; /* Center text for wrap */
  line-height: 1.2; /* Adjust line height for two lines */
  box-sizing: border-box; /* Include padding in width/height */
  padding: 5px; /* Add padding for text */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-esporte-da-sorte-1win__floating-button:hover {
  transform: scale(1.1);
}

.page-esporte-da-sorte-1win__floating-button--register {
  background-color: #ffc107; /* Gold */
  color: #1a1a2e;
}

.page-esporte-da-sorte-1win__floating-button--register:hover {
  background-color: #e0a800;
}

.page-esporte-da-sorte-1win__floating-button--login {
  background-color: #4CAF50; /* Green */
}

.page-esporte-da-sorte-1win__floating-button--login:hover {
  background-color: #45a049;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-esporte-da-sorte-1win__hero-title {
    font-size: 2.8em;
  }
  .page-esporte-da-sorte-1win__hero-subtitle {
    font-size: 1.2em;
  }
  .page-esporte-da-sorte-1win__section-title {
    font-size: 2em;
  }
  .page-esporte-da-sorte-1win__game-categories,
  .page-esporte-da-sorte-1win__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-esporte-da-sorte-1win__hero-section {
    min-height: 70vh;
    padding-bottom: 40px;
  }
  .page-esporte-da-sorte-1win__hero-title {
    font-size: 2.2em;
  }
  .page-esporte-da-sorte-1win__hero-subtitle {
    font-size: 1em;
  }
  .page-esporte-da-sorte-1win__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-esporte-da-sorte-1win__button--secondary {
    margin-left: 0;
  }

  .page-esporte-da-sorte-1win__section-title {
    font-size: 1.8em;
  }
  .page-esporte-da-sorte-1win__section-description {
    font-size: 0.95em;
  }

  /* Responsive list items */
  .page-esporte-da-sorte-1win__game-categories,
  .page-esporte-da-sorte-1win__promo-grid {
    grid-template-columns: 1fr; /* Single column */
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-esporte-da-sorte-1win__category-item,
  .page-esporte-da-sorte-1win__promo-card {
    width: 100% !important;
    max-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-esporte-da-sorte-1win__category-text,
  .page-esporte-da-sorte-1win__promo-text {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .page-esporte-da-sorte-1win__faq-question {
    padding: 15px 20px;
  }
  .page-esporte-da-sorte-1win__faq-question-text {
    font-size: 1.1em;
  }
  .page-esporte-da-sorte-1win__faq-answer {
    padding: 0 20px;
  }
  .page-esporte-da-sorte-1win__faq-item.active .page-esporte-da-sorte-1win__faq-answer {
    padding: 15px 20px !important;
  }

  .page-esporte-da-sorte-1win__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }
  .page-esporte-da-sorte-1win__floating-button {
    width: 50px;
    height: 50px;
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .page-esporte-da-sorte-1win__hero-title {
    font-size: 1.8em;
  }
  .page-esporte-da-sorte-1win__hero-subtitle {
    font-size: 0.9em;
  }
  .page-esporte-da-sorte-1win__section-title {
    font-size: 1.5em;
  }
  .page-esporte-da-sorte-1win__faq-question-text {
    font-size: 1em;
  }
  .page-esporte-da-sorte-1win__faq-toggle {
    font-size: 1.5em;
  }
}