:root {
  --primary-color: #FF4500; /* Cam đỏ sôi động */
  --secondary-color: #FFD700; /* Vàng kim sang trọng */
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #121212;
  --background-light: #f8f8f8;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-privacy-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Body background from shared.css */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

.page-privacy-policy__hero-section {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #cc3700 100%);
  color: var(--text-color-dark-bg);
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.3;
  animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-privacy-policy__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-color-dark-bg);
}

.page-privacy-policy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-privacy-policy__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease-in-out;
}

.page-privacy-policy__hero-image:hover {
  transform: scale(1.02);
}

.page-privacy-policy__content-section {
  padding: 80px 0;
  background-color: var(--background-light); /* Light background for content */
  color: var(--text-color-light-bg);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-align: left;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-privacy-policy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
}

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

.page-privacy-policy__contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-privacy-policy__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-color-light-bg);
}

.page-privacy-policy__cta-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-dark-bg);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
  background: #cc3700;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__effective-date {
  font-style: italic;
  text-align: right;
  margin-top: 50px;
  font-size: 0.95em;
  color: #666;
}

/* FAQ Section Styles */
.page-privacy-policy__faq-list {
  margin-top: 30px;
}

.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.page-privacy-policy__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: var(--background-light);
  border-color: var(--primary-color);
}

.page-privacy-policy__faq-question:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
}

.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-color-light-bg);
  pointer-events: none;
}

.page-privacy-policy__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: var(--background-light);
  border-color: var(--primary-color);
}

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

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

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

@media (max-width: 768px) {
  .page-privacy-policy {
    padding-top: 100px; /* Mobile: Ensure content is not hidden by fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-privacy-policy__hero-section {
    padding: 40px 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

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

  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-privacy-policy__content-section {
    padding: 50px 0;
    margin-top: -10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

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

  .page-privacy-policy__sub-section-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 12px;
  }

  .page-privacy-policy p {
    font-size: 0.95em;
  }

  .page-privacy-policy__list {
    padding-left: 15px;
  }

  .page-privacy-policy__list li {
    font-size: 0.9em;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 1.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__cta-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__faq-question {
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }

  .page-privacy-policy__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 24px;
  }

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

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px 20px !important;
  }
  
  /* Image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}