.page-index-security-guarantees {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Body background from shared.css */
}

.page-index-security-guarantees__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-security-guarantees__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-index-security-guarantees__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 40px 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-index-security-guarantees__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
}

.page-index-security-guarantees__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-security-guarantees__btn-primary {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-index-security-guarantees__btn-primary:hover {
  background: #1a7bb0;
}

.page-index-security-guarantees__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  font-size: 0.95em;
}

.page-index-security-guarantees__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

.page-index-security-guarantees__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-index-security-guarantees__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.page-index-security-guarantees__intro-section,
.page-index-security-guarantees__data-protection,
.page-index-security-guarantees__fair-play-section,
.page-index-security-guarantees__customer-support-section,
.page-index-security-guarantees__cta-section {
  padding: 80px 0;
  color: #333333; /* Text color for light backgrounds */
  background-color: #ffffff; /* Light background */
}

.page-index-security-guarantees__transactions-section,
.page-index-security-guarantees__features-section,
.page-index-security-guarantees__responsible-gambling-section,
.page-index-security-guarantees__faq-section {
  padding: 80px 0;
  color: #ffffff; /* Text color for dark backgrounds */
  background-color: #1a1a2e; /* Dark background */
}

.page-index-security-guarantees__light-bg .page-index-security-guarantees__section-title {
  color: #26A9E0;
}

.page-index-security-guarantees__dark-bg .page-index-security-guarantees__section-title {
  color: #ffffff;
}

.page-index-security-guarantees__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-security-guarantees__feature-card,
.page-index-security-guarantees__transaction-card,
.page-index-security-guarantees__responsible-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-security-guarantees__light-bg .page-index-security-guarantees__feature-card,
.page-index-security-guarantees__light-bg .page-index-security-guarantees__transaction-card,
.page-index-security-guarantees__light-bg .page-index-security-guarantees__responsible-card {
  background: #f8f8f8;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-security-guarantees__feature-card:hover,
.page-index-security-guarantees__transaction-card:hover,
.page-index-security-guarantees__responsible-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-security-guarantees__card-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 5px;
}

.page-index-security-guarantees__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-security-guarantees__card-text {
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-index-security-guarantees__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-security-guarantees__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-index-security-guarantees__text-block {
  flex: 1;
  min-width: 300px;
}

.page-index-security-guarantees__content-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.page-index-security-guarantees__subtitle {
  font-size: 1.3em;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-index-security-guarantees__dark-bg .page-index-security-guarantees__subtitle {
  color: #ffffff;
}

.page-index-security-guarantees__paragraph {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 0.98em;
}

.page-index-security-guarantees__mt-20 {
  margin-top: 20px;
}

.page-index-security-guarantees__mt-40 {
  margin-top: 40px;
}

.page-index-security-guarantees__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-security-guarantees__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-index-security-guarantees__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-index-security-guarantees__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index-security-guarantees__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index-security-guarantees__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-security-guarantees__faq-item[open] .page-index-security-guarantees__faq-toggle {
  transform: rotate(45deg);
}

.page-index-security-guarantees__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Custom color for login button */
.page-index-security-guarantees__login-button {
  background: #EA7C07;
  color: #ffffff;
}

.page-index-security-guarantees__login-button:hover {
  background: #c76500;
}

.page-index-security-guarantees__cta-section .page-index-security-guarantees__section-description {
  margin-bottom: 30px;
}

.page-index-security-guarantees__cta-button {
  margin-top: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-index-security-guarantees__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-index-security-guarantees__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
  .page-index-security-guarantees__content-wrapper {
    flex-direction: column;
  }
  .page-index-security-guarantees__content-wrapper--reverse {
    flex-direction: column-reverse;
  }
  .page-index-security-guarantees__text-block, .page-index-security-guarantees__content-image {
    width: 100%;
    max-width: 100%;
  }
  .page-index-security-guarantees__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index-security-guarantees {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-security-guarantees__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-security-guarantees__hero-section,
  .page-index-security-guarantees__intro-section,
  .page-index-security-guarantees__features-section,
  .page-index-security-guarantees__data-protection,
  .page-index-security-guarantees__transactions-section,
  .page-index-security-guarantees__fair-play-section,
  .page-index-security-guarantees__responsible-gambling-section,
  .page-index-security-guarantees__customer-support-section,
  .page-index-security-guarantees__faq-section,
  .page-index-security-guarantees__cta-section {
    padding: 40px 0;
  }
  .page-index-security-guarantees__hero-content {
    padding: 20px 15px;
  }
  .page-index-security-guarantees__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-index-security-guarantees__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }
  .page-index-security-guarantees__section-description {
    margin-bottom: 20px;
  }

  /* Image responsiveness */
  .page-index-security-guarantees img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-security-guarantees__section,
  .page-index-security-guarantees__card,
  .page-index-security-guarantees__container,
  .page-index-security-guarantees__feature-card,
  .page-index-security-guarantees__transaction-card,
  .page-index-security-guarantees__responsible-card,
  .page-index-security-guarantees__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video responsiveness (if any, though none are here) */
  .page-index-security-guarantees video,
  .page-index-security-guarantees__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-security-guarantees__video-section,
  .page-index-security-guarantees__video-container,
  .page-index-security-guarantees__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-index-security-guarantees__video-section {
    padding-top: 10px !important;
  }
  .page-index-security-guarantees__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Button responsiveness */
  .page-index-security-guarantees__cta-button,
  .page-index-security-guarantees__btn-primary,
  .page-index-security-guarantees__btn-secondary,
  .page-index-security-guarantees a[class*="button"],
  .page-index-security-guarantees a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-security-guarantees__cta-buttons,
  .page-index-security-guarantees__button-group,
  .page-index-security-guarantees__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
  .page-index-security-guarantees__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-index-security-guarantees__faq-answer {
    padding: 0 20px 15px 20px;
  }
}