/* style/privacy-policy.css */

:root {
  --primary-color: #E53935;
  --secondary-color: #FF5A4F;
  --text-main-color: #333333;
  --card-bg-color: #FFFFFF;
  --background-color: #F5F7FA;
  --border-color: #E0E0E0;
}

.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color);
  background-color: var(--background-color);
}

.page-privacy-policy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.page-privacy-policy__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
  z-index: 1;
}

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

.page-privacy-policy__intro-text {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
  z-index: 0;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

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

.page-privacy-policy__introduction {
  padding-top: 40px;
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-privacy-policy__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-privacy-policy__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-privacy-policy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main-color);
  text-align: justify;
}

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

.page-privacy-policy__card {
  background-color: var(--card-bg-color);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-privacy-policy__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;
}

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

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

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

.page-privacy-policy__list--columns {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  columns: 2;
  column-gap: 40px;
}

.page-privacy-policy__numbered-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-privacy-policy__numbered-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-privacy-policy__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__image-center {
  display: block;
  margin: 20px auto 30px auto;
  max-width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__dark-section {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__section-title,
.page-privacy-policy__dark-section .page-privacy-policy__paragraph,
.page-privacy-policy__dark-section .page-privacy-policy__list li,
.page-privacy-policy__dark-section .page-privacy-policy__last-updated {
  color: #ffffff;
}

.page-privacy-policy__last-updated {
  font-size: 0.9em;
  text-align: center;
  margin-top: 40px;
  color: var(--text-main-color);
}

.page-privacy-policy__link-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__link-button:hover {
  background-color: var(--secondary-color);
}

/* --- Responsive Styles --- */

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

/* Button general responsiveness */
.page-privacy-policy__cta-button,
.page-privacy-policy__link-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

@media (max-width: 1024px) {
  .page-privacy-policy__hero-section {
    padding: 10px 15px 30px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-privacy-policy__intro-text {
    font-size: clamp(0.9em, 1.8vw, 1.1em);
  }

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

  .page-privacy-policy__paragraph {
    font-size: 1em;
  }

  .page-privacy-policy__list--columns {
    columns: 1;
  }

  .page-privacy-policy__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .page-privacy-policy__hero-section {
    flex-direction: column;
    padding: 10px 15px 30px !important; /* Small top padding, relies on body for header offset */
  }

  .page-privacy-policy__hero-content {
    margin-bottom: 20px;
  }

  .page-privacy-policy__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-privacy-policy__intro-text {
    font-size: clamp(0.9em, 2.5vw, 1em);
    margin-bottom: 20px;
  }

  .page-privacy-policy__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible, not cropped */
    aspect-ratio: unset !important;
    max-height: none !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General Content Sections */
  .page-privacy-policy__section {
    padding: 40px 15px;
  }

  .page-privacy-policy__container {
    padding: 0 10px;
  }

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

  .page-privacy-policy__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__paragraph {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

  .page-privacy-policy__list,
  .page-privacy-policy__numbered-list {
    margin-left: 20px;
    margin-bottom: 15px;
  }

  .page-privacy-policy__list li,
  .page-privacy-policy__numbered-list li {
    font-size: 0.9em;
    margin-bottom: 8px;
  }

  /* Card Grid */
  .page-privacy-policy__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-privacy-policy__card-image {
    height: auto;
    min-height: 200px;
    object-fit: cover;
  }

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

  /* Buttons */
  .page-privacy-policy__cta-button,
  .page-privacy-policy__link-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* General image responsiveness for all images within content area */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* General container responsiveness for all sections, cards, and containers */
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific list columns for mobile */
  .page-privacy-policy__list--columns {
    columns: 1 !important;
    margin-left: 20px;
    column-gap: unset;
  }

  /* No specific styles for game grid or winner list as this is a privacy policy page */
}