/* Legal Pages Styling */

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
}

.landing-page {
  overflow-x: hidden;
  max-width: 100%;
}

.frame-2147224243 {
  overflow-x: hidden;
  max-width: 100%;
  overflow-y: hidden;
}

.legal-content-wrapper {
  background: transparent;
  padding: 40px 0 60px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.legal-content-wrapper .container {
  padding-left: 15px;
  padding-right: 15px;
}

.legal-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px 15px;
}

.legal-header h1 {
  font-family: "DM Serif Display", serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--white, #ffffff);
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.legal-header .last-updated {
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  color: var(--white-7, rgba(255, 255, 255, 0.7));
  font-weight: 300;
}

.legal-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px;
  color: var(--white, #ffffff);
  font-family: "Mulish", sans-serif;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
}

.legal-section {
  margin-bottom: 45px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-family: "DM Serif Display", serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary, #3c9cc6);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(60, 156, 198, 0.3);
}

.legal-section h3 {
  font-family: "Mulish", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white, #ffffff);
  margin-top: 25px;
  margin-bottom: 15px;
}

.legal-section h4 {
  font-family: "Mulish", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white-9, rgba(255, 255, 255, 0.9));
  margin-top: 20px;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--white-8, rgba(255, 255, 255, 0.8));
  margin-bottom: 15px;
  font-weight: 300;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.legal-section p strong {
  color: var(--white, #ffffff);
  font-weight: 600;
}

.legal-section ul {
  margin: 15px 0 20px 0;
  padding-left: 0;
  list-style: none;
  max-width: 100%;
}

.legal-section ul li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--white-8, rgba(255, 255, 255, 0.8));
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  font-weight: 300;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.legal-section ul li::before {
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--primary, #3c9cc6);
  font-size: 20px;
  font-weight: bold;
}

.legal-section ul li strong {
  color: var(--white, #ffffff);
  font-weight: 600;
}

.legal-section a {
  color: var(--primary, #3c9cc6);
  text-decoration: underline;
  transition: all 0.3s ease;
}

.legal-section a:hover {
  color: var(--primary-8, rgba(60, 156, 198, 0.8));
  text-decoration: none;
}

.contact-info-box {
  background: rgba(60, 156, 198, 0.1);
  border: 1px solid rgba(60, 156, 198, 0.3);
  border-radius: 10px;
  padding: 25px;
  margin: 20px 0;
}

.contact-info-box p {
  margin-bottom: 8px;
  font-size: 15px;
}

.contact-info-box strong {
  color: var(--primary, #3c9cc6);
}

/* Cookie Tables */
.cookie-table {
  margin: 25px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}

.cookie-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.cookie-table thead {
  background: var(--primary, #3c9cc6);
}

.cookie-table thead th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: var(--white, #ffffff);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.cookie-table tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-8, rgba(255, 255, 255, 0.8));
  font-size: 14px;
  font-weight: 300;
  word-break: break-word;
}

.cookie-table tbody tr:last-child td {
  border-bottom: none;
}

.cookie-table tbody tr:hover {
  background: rgba(60, 156, 198, 0.1);
}

/* Rules Dropdown Styling */
.rules-dropdown {
  color: var(--white-8, rgba(255, 255, 255, 0.8)) !important;
  font-family: "Mulish", sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.rules-dropdown:hover,
.rules-dropdown:focus {
  color: var(--primary, #3c9cc6) !important;
}

.rules-dropdown-menu {
  background: var(--bg-1, #05131a);
  border: 1px solid var(--primary-3, rgba(60, 156, 198, 0.3));
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.rules-dropdown-menu .dropdown-item {
  color: var(--white-8, rgba(255, 255, 255, 0.8));
  font-family: "Mulish", sans-serif;
  font-size: 15px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  font-weight: 300;
}

.rules-dropdown-menu .dropdown-item:hover {
  background: var(--primary-2, rgba(60, 156, 198, 0.2));
  color: var(--primary, #3c9cc6);
}

.rules-dropdown-menu .dropdown-item:active {
  background: var(--primary-3, rgba(60, 156, 198, 0.3));
  color: var(--white, #ffffff);
}

/* Legal Footer */
.legal-footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  margin-top: 40px;
}

.legal-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-footer p {
  color: var(--white-7, rgba(255, 255, 255, 0.7));
  font-size: 14px;
  margin: 0;
  font-family: "Mulish", sans-serif;
  font-weight: 300;
}

.legal-footer .footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.legal-footer .footer-links a {
  color: var(--white-8, rgba(255, 255, 255, 0.8));
  font-size: 14px;
  text-decoration: none;
  font-family: "Mulish", sans-serif;
  transition: all 0.3s ease;
  font-weight: 300;
}

.legal-footer .footer-links a:hover {
  color: var(--primary, #3c9cc6);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .legal-content {
    padding: 40px;
  }
}

@media (max-width: 992px) {
  .legal-content-wrapper {
    padding: 30px 15px 50px;
  }

  .legal-content {
    padding: 30px;
  }

  .legal-header h1 {
    font-size: 36px;
  }

  .legal-section h2 {
    font-size: 26px;
  }

  .legal-section h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .legal-content-wrapper {
    padding: 20px 15px 40px;
  }

  .legal-content {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .legal-header {
    margin-bottom: 30px;
    padding: 15px 0;
  }

  .legal-header h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .legal-header .last-updated {
    font-size: 14px;
  }

  .legal-section {
    margin-bottom: 30px;
  }

  .legal-section h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .legal-section h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 20px;
  }

  .legal-section h4 {
    font-size: 16px;
    line-height: 1.4;
  }

  .legal-section p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
  }

  .legal-section ul li {
    font-size: 15px;
    line-height: 1.6;
    padding-left: 25px;
    margin-bottom: 8px;
  }

  .legal-section ul li::before {
    left: 5px;
    font-size: 18px;
  }

  .cookie-table {
    margin: 20px -20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cookie-table table {
    min-width: 600px;
  }

  .cookie-table thead th,
  .cookie-table tbody td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .contact-info-box {
    padding: 20px 15px;
    margin: 15px 0;
  }

  .contact-info-box p {
    font-size: 14px;
    word-break: break-word;
  }

  .legal-footer .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .legal-footer .footer-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .legal-content-wrapper {
    padding: 15px 10px 30px;
  }

  .legal-content-wrapper .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .legal-content {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .legal-header {
    margin-bottom: 25px;
    padding: 10px 5px;
  }

  .legal-header h1 {
    font-size: 26px;
    line-height: 1.2;
    word-wrap: break-word;
  }

  .legal-header .last-updated {
    font-size: 13px;
  }

  .legal-section {
    margin-bottom: 25px;
  }

  .legal-section h2 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
    word-wrap: break-word;
  }

  .legal-section h3 {
    font-size: 17px;
    line-height: 1.4;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .legal-section h4 {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 15px;
  }

  .legal-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .legal-section ul {
    margin: 10px 0 15px 0;
  }

  .legal-section ul li {
    font-size: 14px;
    line-height: 1.6;
    padding-left: 20px;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .legal-section ul li::before {
    left: 2px;
    font-size: 16px;
  }

  .contact-info-box {
    padding: 15px 12px;
    margin: 15px 0;
    border-radius: 8px;
  }

  .contact-info-box p {
    font-size: 13px;
    margin-bottom: 6px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .cookie-table {
    margin: 15px -15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cookie-table table {
    min-width: 500px;
    font-size: 12px;
  }

  .cookie-table thead th {
    padding: 8px 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .cookie-table tbody td {
    padding: 8px 6px;
    font-size: 11px;
    word-break: break-word;
  }

  .legal-footer {
    padding: 20px 0;
    margin-top: 30px;
  }

  .legal-footer p {
    font-size: 12px;
  }

  .legal-footer .footer-links {
    gap: 15px;
  }

  .legal-footer .footer-links a {
    font-size: 12px;
  }
}

@media (max-width: 354px) {
  .legal-content-wrapper .container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .legal-content {
    padding: 15px 10px;
  }

  .legal-header {
    padding: 10px 0;
  }

  .legal-header h1 {
    font-size: 22px;
  }

  .legal-section h2 {
    font-size: 18px;
  }

  .legal-section h3 {
    font-size: 16px;
  }

  .legal-section h4 {
    font-size: 14px;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 13px;
    line-height: 1.5;
  }

  .legal-section ul li {
    padding-left: 18px;
  }

  .cookie-table table {
    min-width: 450px;
  }

  .contact-info-box {
    padding: 12px 10px;
  }
}

/* Print Styles */
@media print {
  .frame-2147224242,
  .legal-footer,
  .vector-2 {
    display: none !important;
  }

  .legal-content {
    background: white;
    color: black;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .legal-section h2,
  .legal-section h3,
  .legal-section h4,
  .legal-section p,
  .legal-section ul li {
    color: black !important;
  }

  .legal-section a {
    color: #0066cc;
  }

  .cookie-table {
    page-break-inside: avoid;
  }
}
