/* Base variables matching main site */
:root {
    --primary-color: #1a1f3c;
    --accent-color: #00f5d4;
    --gradient-bg: linear-gradient(135deg, #1a1f3c 0%, #2d3250 100%);
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-effect: rgba(255, 255, 255, 0.1);
  }
  
  /* Base styles */
  body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
  }
  
  /* Legal content container */
  .legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
    min-height: calc(100vh - 200px); /* Account for header/footer */
  }
  
  /* Header styles for legal pages */
  .legal-header {
    background: var(--gradient-bg);
    padding: 4rem 5%;
    text-align: center;
    border-bottom: 1px solid var(--glass-effect);
  }
  
  .legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* Section styling */
  .legal-section {
    background: var(--card-bg);
    border: 1px solid var(--glass-effect);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
  }
  
  .legal-section h2 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .legal-section h3 {
    color: #fff;
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
  }
  
  /* List styling */
  .legal-section ul, 
  .legal-section ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
  }
  
  .legal-section li {
    margin: 0.5rem 0;
  }
  
  /* Table styling */
  .legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
  }
  
  .legal-table th,
  .legal-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-effect);
  }
  
  .legal-table th {
    background: rgba(0, 245, 212, 0.1);
    color: var(--accent-color);
  }
  
  /* Links styling */
  .legal-section a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s;
  }
  
  .legal-section a:hover {
    opacity: 0.8;
  }
  
  /* Contact information styling */
  .contact-info {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .contact-info p {
    margin: 0.5rem 0;
  }
  
  /* Back to top button */
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
    opacity: 0;
    visibility: hidden;
  }
  
  .back-to-top.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .back-to-top:hover {
    transform: translateY(-3px);
  }
  
  /* Print styles */
  @media print {
    body {
      background: white;
      color: black;
    }
  
    .legal-section {
      background: none;
      border: none;
      box-shadow: none;
      break-inside: avoid;
    }
  
    .back-to-top {
      display: none;
    }
  }
  
  /* Responsive design */
  @media (max-width: 768px) {
    .legal-header {
      padding: 3rem 5%;
    }
  
    .legal-header h1 {
      font-size: 2rem;
    }
  
    .legal-section {
      padding: 1.5rem;
    }
  
    .legal-table {
      display: block;
      overflow-x: auto;
    }
  }
  
  /* Cookie consent banner */
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    border-top: 1px solid var(--glass-effect);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    z-index: 1000;
  }
  
  .cookie-banner .button {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .cookie-banner .button:hover {
    transform: translateY(-2px);
  }
  
  /* Data protection specific styles */
  .data-protection-notice {
    background: rgba(0, 245, 212, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
  }
  
  /* Terms and conditions specific styles */
  .terms-highlight {
    background: rgba(0, 245, 212, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
  }
  
  /* Important notices */
  .important-notice {
    background: rgba(255, 87, 87, 0.1);
    border-left: 3px solid #ff5757;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
  }