:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f8f8f8;
  --border-color: #e0e0e0;
}

/* Base styles for the GDPR page */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default to light text for dark body background */
  background-color: var(--bg-dark); /* Inherited from body, but explicitly set for sections */
}

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

/* Fixed navigation bar spacing */
.page-gdpr__hero-section {
  padding-top: 120px; /* Adjust based on actual fixed header height */
}

/* Section styles */
.page-gdpr__hero-section,
.page-gdpr__principles-section,
.page-gdpr__data-collection-section,
.page-gdpr__sharing-section,
.page-gdpr__contact-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0;
}

.page-gdpr__content-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__cookies-section,
.page-gdpr__updates-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 60px 0;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: inherit;
}

/* Hero Section */
.page-gdpr__hero-section {
  text-align: center;
  padding-bottom: 80px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:gdpr:ok365 bet,gdpr,compliance,banner]');
  background-size: cover;
  background-position: center;
}

.page-gdpr__main-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-dark);
}

.page-gdpr__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Content block styles */
.page-gdpr__text-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  color: var(--text-dark);
}

.page-gdpr__text-block p {
  margin-bottom: 1em;
  color: inherit;
}

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

/* Principles Section Grid */
.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__card p,
.page-gdpr__card ul {
  color: var(--text-light);
}

.page-gdpr__card li {
  margin-bottom: 8px;
}

/* Rights Section */
.page-gdpr__rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-gdpr__right-item {
  text-align: center;
  color: var(--text-dark);
}

.page-gdpr__right-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-gdpr__right-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__right-item p {
  color: var(--text-dark);
}

.page-gdpr__action-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 50px;
  color: var(--text-dark);
}

/* Data Collection Section */
.page-gdpr__data-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-gdpr__detail-item ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-light);
}

.page-gdpr__detail-item li {
  margin-bottom: 5px;
}

/* Security Section */
.page-gdpr__security-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-gdpr__security-details ul {
  flex: 1;
  list-style: none;
  padding: 0;
  color: var(--text-dark);
}

.page-gdpr__security-details li {
  background-color: #fff;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-gdpr__security-details li strong {
  color: var(--secondary-color);
}

.page-gdpr__image--right {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  margin-left: auto;
  order: 2; /* Image on right for desktop */
}

/* Sharing Section */
.page-gdpr__sharing-details {
  max-width: 900px;
  margin: 40px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__sharing-details h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 20px;
}

.page-gdpr__sharing-details ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-light);
}

.page-gdpr__sharing-details li {
  margin-bottom: 10px;
}

/* Cookies Section */
.page-gdpr__cookie-info {
  max-width: 900px;
  margin: 40px auto 0 auto;
  background-color: #ffffff;
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__cookie-info h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 20px;
}

.page-gdpr__cookie-info ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-dark);
}

.page-gdpr__cookie-info li {
  margin-bottom: 10px;
}

/* Contact Section */
.page-gdpr__contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-gdpr__contact-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}

.page-gdpr__contact-item h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-gdpr__contact-item p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-gdpr__contact-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-gdpr__update-note {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: var(--text-light);
}

/* Updates Section */
.page-gdpr__updates-section p {
  max-width: 900px;
  margin: 0 auto 1em auto;
  text-align: center;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1.1em;
  }
  .page-gdpr__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-gdpr__grid,
  .page-gdpr__rights-list,
  .page-gdpr__data-details,
  .page-gdpr__contact-details {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    padding-left: 15px;
    padding-right: 15px;
    background-position: 70% center; /* Adjust background for mobile */
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__grid-item,
  .page-gdpr__right-item,
  .page-gdpr__detail-item,
  .page-gdpr__contact-item {
    padding: 20px;
  }
  .page-gdpr__card-title,
  .page-gdpr__right-title,
  .page-gdpr__detail-item h3,
  .page-gdpr__contact-item h3 {
    font-size: 1.3em;
  }
  .page-gdpr__image {
    margin-top: 20px;
  }
  .page-gdpr__security-details {
    flex-direction: column;
  }
  .page-gdpr__image--right {
    order: 1; /* Image on top for mobile */
    margin-left: auto;
    margin-right: auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__security-details ul {
    order: 2;
    width: 100%;
  }
  .page-gdpr__security-details li {
    font-size: 0.95em;
    padding: 12px 15px;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__grid,
  .page-gdpr__rights-list,
  .page-gdpr__data-details,
  .page-gdpr__contact-details,
  .page-gdpr__sharing-details,
  .page-gdpr__cookie-info {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-gdpr__content-section,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section,
  .page-gdpr__data-collection-section,
  .page-gdpr__security-section,
  .page-gdpr__sharing-section,
  .page-gdpr__cookies-section,
  .page-gdpr__contact-section,
  .page-gdpr__updates-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__grid,
  .page-gdpr__rights-list,
  .page-gdpr__data-details,
  .page-gdpr__contact-details {
    grid-template-columns: 1fr;
  }
  .page-gdpr__card-title,
  .page-gdpr__right-title,
  .page-gdpr__detail-item h3,
  .page-gdpr__contact-item h3 {
    font-size: 1.2em;
  }
  .page-gdpr__right-icon,
  .page-gdpr__contact-icon {
    width: 70px;
    height: 70px;
  }
}