/* style/privacy-policy.css */

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

/* Base styles for the privacy policy page */
.page-privacy-policy {
  color: var(--g7bet-text-main); /* Light text on dark background */
  background-color: var(--g7bet-bg-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for separation */
  position: relative;
  overflow: hidden;
  background-color: var(--g7bet-deep-green);
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for better text contrast if needed, but not changing color */
}

.page-privacy-policy__hero-content {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  color: var(--g7bet-text-main);
}

.page-privacy-policy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--g7bet-text-main);
  margin-bottom: 20px;
  /* No fixed font-size for H1, relying on responsive scaling */
}

.page-privacy-policy__subtitle {
  font-size: 1.1em;
  color: var(--g7bet-text-secondary);
  margin-bottom: 30px;
}

.page-privacy-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--g7bet-button-gradient);
  color: var(--g7bet-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-privacy-policy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-privacy-policy__section {
  padding: 60px 20px;
  background-color: var(--g7bet-bg-color);
}

.page-privacy-policy__section:nth-of-type(even) {
  background-color: var(--g7bet-deep-green);
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: var(--g7bet-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-privacy-policy__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--g7bet-text-secondary);
}

.page-privacy-policy__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--g7bet-text-secondary);
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.page-privacy-policy__list li strong {
  color: var(--g7bet-text-main);
}

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

.page-privacy-policy__card {
  background-color: var(--g7bet-card-bg);
  border: 1px solid var(--g7bet-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--g7bet-text-secondary);
  transition: transform 0.3s ease;
}

.page-privacy-policy__card:hover {
  transform: translateY(-5px);
}

.page-privacy-policy__card-title {
  font-size: 1.5em;
  color: var(--g7bet-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-privacy-policy__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy a {
  color: var(--g7bet-glow-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: var(--g7bet-gold-color);
}

.page-privacy-policy__faq-item {
  background-color: var(--g7bet-card-bg);
  border: 1px solid var(--g7bet-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--g7bet-text-main);
}

.page-privacy-policy__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  outline: none;
  list-style: none; /* Remove default marker */
  font-weight: bold;
  color: var(--g7bet-text-main);
  font-size: 1.1em;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
  transform: rotate(45deg); /* Change '+' to 'x' or similar */
}

.page-privacy-policy__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--g7bet-text-secondary);
  font-size: 0.95em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }

  .page-privacy-policy__section-title {
    font-size: 2em;
  }

  .page-privacy-policy__content-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.65;
  }

  .page-privacy-policy__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-privacy-policy__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-privacy-policy__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__subtitle {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-privacy-policy__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__section {
    padding: 40px 15px;
  }

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

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-privacy-policy__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-privacy-policy__card {
    padding: 20px;
  }

  .page-privacy-policy__card-title {
    font-size: 1.3em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-privacy-policy__content-image {
    margin: 30px auto;
  }

  .page-privacy-policy__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-privacy-policy__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
}