/* style/index-security-guarantee.css */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-color-page: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-index-security-guarantee {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-color-page); /* Page specific background */
}

/* Ensure body padding-top is handled by shared.css, no duplicate here */

.page-index-security-guarantee__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative padding, body handles header offset */
  overflow: hidden;
  background-color: var(--card-bg);
}

.page-index-security-guarantee__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-security-guarantee__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-index-security-guarantee__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 20px;
  background: rgba(17, 39, 27, 0.8); /* Semi-transparent background for readability */
  border-radius: 8px;
}

.page-index-security-guarantee__main-title {
  font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-security-guarantee__hero-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.page-index-security-guarantee__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-security-guarantee__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-index-security-guarantee__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-index-security-guarantee__btn-secondary {
  background: none;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-index-security-guarantee__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 0 15px var(--glow-color);
}

.page-index-security-guarantee__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-index-security-guarantee__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-index-security-guarantee__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

.page-index-security-guarantee__why-choose .page-index-security-guarantee__section-title,
.page-index-security-guarantee__privacy-policy .page-index-security-guarantee__section-title,
.page-index-security-guarantee__support-section .page-index-security-guarantee__section-title {
  color: var(--primary-color); /* Darker text on light background */
}

.page-index-security-guarantee__why-choose .page-index-security-guarantee__section-description,
.page-index-security-guarantee__privacy-policy .page-index-security-guarantee__section-description,
.page-index-security-guarantee__support-section .page-index-security-guarantee__section-description {
  color: #333333; /* Darker text on light background */
}

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

.page-index-security-guarantee__feature-item,
.page-index-security-guarantee__policy-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color);
}

.page-index-security-guarantee__why-choose .page-index-security-guarantee__feature-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-index-security-guarantee__why-choose .page-index-security-guarantee__feature-title {
  color: var(--primary-color);
}

.page-index-security-guarantee__why-choose .page-index-security-guarantee__feature-text {
  color: #555555;
}

.page-index-security-guarantee__feature-icon,
.page-index-security-guarantee__policy-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-index-security-guarantee__feature-title,
.page-index-security-guarantee__policy-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-index-security-guarantee__feature-text,
.page-index-security-guarantee__policy-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-index-security-guarantee__advanced-tech {
  background-color: var(--card-bg);
}

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

.page-index-security-guarantee__tech-item {
  padding: 25px;
  background-color: var(--deep-green);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-left: 5px solid var(--primary-color);
}

.page-index-security-guarantee__tech-title {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-index-security-guarantee__tech-text {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-index-security-guarantee__privacy-policy {
  background-color: #f5f5f5;
}

.page-index-security-guarantee__privacy-policy .page-index-security-guarantee__feature-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-index-security-guarantee__privacy-policy .page-index-security-guarantee__policy-title {
  color: var(--primary-color);
}

.page-index-security-guarantee__privacy-policy .page-index-security-guarantee__policy-text {
  color: #555555;
}

.page-index-security-guarantee__privacy-policy a,
.page-index-security-guarantee__responsible-gambling a.page-index-security-guarantee__link-secondary {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-security-guarantee__privacy-policy a:hover,
.page-index-security-guarantee__responsible-gambling a.page-index-security-guarantee__link-secondary:hover {
  color: var(--secondary-color);
}

.page-index-security-guarantee__responsible-gambling {
  background-color: var(--card-bg);
}

.page-index-security-guarantee__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-index-security-guarantee__responsible-text {
  flex: 1;
  min-width: 300px;
}

.page-index-security-guarantee__responsible-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index-security-guarantee__responsible-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%2311A84E"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-index-security-guarantee__responsible-list li strong {
  color: var(--text-main);
}

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

.page-index-security-guarantee__responsible-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  display: block;
}

.page-index-security-guarantee__support-section {
  background-color: #f5f5f5;
}

.page-index-security-guarantee__support-content {
  display: flex;
  flex-wrap: wrap-reverse; /* Text first on mobile */
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-index-security-guarantee__support-text {
  flex: 1;
  min-width: 300px;
}

.page-index-security-guarantee__support-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-security-guarantee__support-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%2311A84E"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #555555;
}

.page-index-security-guarantee__support-list li strong {
  color: #333333;
}

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

.page-index-security-guarantee__support-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  display: block;
}

.page-index-security-guarantee__faq-section {
  background-color: var(--card-bg);
}

.page-index-security-guarantee__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-index-security-guarantee__faq-item {
  background-color: var(--deep-green);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-index-security-guarantee__faq-item[open] {
  background-color: var(--deep-green);
  border-color: var(--primary-color);
}

.page-index-security-guarantee__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  list-style: none; /* Hide default marker */
}

.page-index-security-guarantee__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-security-guarantee__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold-color);
  transition: transform 0.3s ease;
}

.page-index-security-guarantee__faq-item[open] .page-index-security-guarantee__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-index-security-guarantee__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Text color adjustments for light/dark backgrounds */
.page-index-security-guarantee__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}
.page-index-security-guarantee__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}
.page-index-security-guarantee__dark-bg .page-index-security-guarantee__section-title {
  color: var(--text-main);
}
.page-index-security-guarantee__dark-bg .page-index-security-guarantee__section-description {
  color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-index-security-guarantee {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-security-guarantee__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-security-guarantee__hero-content {
    margin-top: 20px;
    padding: 15px;
  }

  .page-index-security-guarantee__main-title {
    font-size: 1.8em;
  }

  .page-index-security-guarantee__hero-description {
    font-size: 1em;
  }

  .page-index-security-guarantee__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-security-guarantee__btn-primary,
  .page-index-security-guarantee__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index-security-guarantee__section {
    padding: 40px 15px;
  }

  .page-index-security-guarantee__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-index-security-guarantee__section-title {
    font-size: 1.5em;
  }

  .page-index-security-guarantee__section-description {
    font-size: 0.95em;
  }

  .page-index-security-guarantee__features-grid,
  .page-index-security-guarantee__policy-grid,
  .page-index-security-guarantee__tech-details {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-index-security-guarantee__feature-icon,
  .page-index-security-guarantee__policy-icon,
  .page-index-security-guarantee__responsible-image,
  .page-index-security-guarantee__support-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-security-guarantee__responsible-content,
  .page-index-security-guarantee__support-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-index-security-guarantee__responsible-text,
  .page-index-security-guarantee__support-text {
    min-width: unset;
    width: 100%;
  }

  .page-index-security-guarantee__responsible-image-wrapper,
  .page-index-security-guarantee__support-image-wrapper {
    min-width: unset;
    width: 100%;
  }

  .page-index-security-guarantee__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-index-security-guarantee__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }

  /* Ensure all image containers are responsive */
  .page-index-security-guarantee__hero-image-wrapper,
  .page-index-security-guarantee__feature-item,
  .page-index-security-guarantee__policy-item,
  .page-index-security-guarantee__responsible-image-wrapper,
  .page-index-security-guarantee__support-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}