/* Base styles for the page-1win scope */
.page-1win {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0;
  background-color: #1a1a2e;
  line-height: 1.6;
  padding-top: 10px; /* Small padding for visual separation from header, assuming body has header offset */
}

.page-1win__section-title {
  font-size: 2.5em;
  color: #e94560; /* Accent color */
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 15px 0;
  line-height: 1.2;
}

.page-1win__section-title--small {
  font-size: 1.8em;
  margin-bottom: 20px;
}

.page-1win__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-1win__button--primary {
  background-color: #e94560; /* Primary accent */
  color: #ffffff;
  border: 2px solid #e94560;
}

.page-1win__button--primary:hover {
  background-color: #ff6f8a;
  transform: translateY(-2px);
}

.page-1win__button--secondary {
  background-color: transparent;
  color: #e94560;
  border: 2px solid #e94560;
}

.page-1win__button--secondary:hover {
  background-color: rgba(233, 69, 96, 0.1);
  transform: translateY(-2px);
}

.page-1win__button--alt {
  background-color: #3f3f5f;
  color: #ffffff;
  border: 1px solid #5a5a7f;
}

.page-1win__button--alt:hover {
  background-color: #5a5a7f;
  transform: translateY(-2px);
}

.page-1win__button--link {
  background-color: #2e2e4e;
  color: #e94560;
  border: 1px solid #e94560;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-1win__button--link:hover {
  background-color: #e94560;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section */
.page-1win__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #111122;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-1win__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background image */
}

.page-1win__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-1win__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.1;
}

.page-1win__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #cccccc;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-1win__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Payment Providers (gamelogo) Section */
.page-1win__payment-providers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 40px 20px;
  background-color: #222233;
}
.page-1win__payment-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}
.page-1win__payment-logo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333344;
  border-radius: 8px;
}
.page-1win__payment-logo img {
  display: block;
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: contain;
  padding: 5px; /* Add some padding inside the logo container */
  box-sizing: border-box;
}

/* Introduction Section */
.page-1win__introduction-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-1win__introduction-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-1win__features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.page-1win__feature-item {
  background-color: #2e2e4e;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-sizing: border-box;
}

.page-1win__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-1win__feature-title {
  font-size: 1.5em;
  color: #e94560;
  margin-bottom: 15px;
}

.page-1win__feature-description {
  font-size: 0.95em;
  color: #cccccc;
}

/* Quick Access Section */
.page-1win__quick-access-section {
  padding: 60px 20px;
  background-color: #222233;
  text-align: center;
}

.page-1win__quick-access-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-1win__quick-access-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Games Section */
.page-1win__games-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-1win__games-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-1win__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-1win__game-category-item {
  background-color: #2e2e4e;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-1win__game-category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-1win__game-category-title {
  font-size: 1.6em;
  color: #e94560;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-1win__game-category-text {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

/* Promotions Section */
.page-1win__promotions-section {
  padding: 60px 20px;
  background-color: #111122;
  text-align: center;
}

.page-1win__promotions-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-1win__promo-card {
  background-color: #2e2e4e;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-1win__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-1win__promo-title {
  font-size: 1.6em;
  color: #e94560;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-1win__promo-text {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-1win__button--promo {
  background-color: #e94560;
  color: #ffffff;
  border: 1px solid #e94560;
  padding: 10px 20px;
  font-size: 1em;
}

.page-1win__button--promo:hover {
  background-color: #ff6f8a;
  transform: translateY(-2px);
}

/* Security Section */
.page-1win__security-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-1win__security-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.page-1win__security-text {
  flex: 1;
  min-width: 300px;
}

.page-1win__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-1win__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-1win__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* FAQ Section */
.page-1win__faq-section {
  padding: 60px 20px;
  background-color: #222233;
}

.page-1win__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-1win__faq-item {
  background-color: #2e2e4e;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-1win__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  background-color: #3f3f5f;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-1win__faq-question:hover {
  background-color: #5a5a7f;
}

.page-1win__faq-question-text {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  pointer-events: none; /* Prevent text selection from interfering with click */
}

.page-1win__faq-toggle {
  font-size: 1.8em;
  color: #e94560;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent toggle icon from interfering with click */
}

.page-1win__faq-item.active .page-1win__faq-toggle {
  transform: rotate(45deg); /* Plus to X/minus */
}

.page-1win__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;
}

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

.page-1win__faq-answer p {
  margin: 0;
  color: #cccccc;
  font-size: 1em;
}

/* Blog Section */
.page-1win__blog-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-1win__blog-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-1win__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-1win__blog-card {
  background-color: #2e2e4e;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-1win__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-1win__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-1win__blog-card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-1win__blog-card-title a {
  color: #e94560;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-1win__blog-card-title a:hover {
  color: #ff6f8a;
  text-decoration: underline;
}

.page-1win__blog-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-1win__blog-date {
  font-size: 0.85em;
  color: #888888;
  text-align: right;
  display: block;
  margin-top: auto;
  padding: 0 20px 20px; /* Adjust padding to be inside the card but not part of content area */
}


/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-1win__hero-title {
    font-size: 3em;
  }
  .page-1win__hero-description {
    font-size: 1.2em;
  }
  .page-1win__section-title {
    font-size: 2em;
  }
  .page-1win__game-categories,
  .page-1win__promo-grid,
  .page-1win__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-1win__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-1win__security-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-1win__hero-title {
    font-size: 2.2em;
  }
  .page-1win__hero-description {
    font-size: 1em;
  }
  .page-1win__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-1win__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-1win__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-1win__section-title--small {
    font-size: 1.5em;
  }
  .page-1win__feature-item {
    padding: 20px;
  }
  .page-1win__quick-access-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-1win__game-categories,
  .page-1win__promo-grid,
  .page-1win__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-1win__feature-item,
  .page-1win__game-category-item,
  .page-1win__promo-card,
  .page-1win__blog-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .page-1win__feature-item {
    margin-bottom: 20px;
  }

  /* Payment Providers specific mobile styles as per prompt */
  .page-1win__payment-providers {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 30px 15px;
  }
  .page-1win__payment-logo,
  .page-1win__payment-logo img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
  }
  /* Images responsive for other sections */
  .page-1win__hero-image,
  .page-1win__feature-icon,
  .page-1win__game-category-image,
  .page-1win__promo-image,
  .page-1win__security-image,
  .page-1win__blog-image {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-1win__security-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* FAQ specific mobile styles */
  .page-1win__faq-question {
    padding: 15px 20px;
  }
  .page-1win__faq-question-text {
    font-size: 1.1em;
  }
  .page-1win__faq-toggle {
    font-size: 1.5em;
  }
  .page-1win__faq-answer {
    padding: 0 20px;
  }
  .page-1win__faq-item.active .page-1win__faq-answer {
    padding: 15px 20px !important;
  }
  .page-1win__blog-card-title {
    font-size: 1.2em;
  }
  .page-1win__blog-excerpt {
    font-size: 0.9em;
  }
  .page-1win__blog-date {
    padding: 0 20px 15px;
  }
}