﻿.legal-page {
    background: transparent;
    min-height: 100vh;
    padding: 60px 0;
    position: relative;
  }
  .legal-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 10% 20%, rgba(88, 166, 255, 0.03) 0%, transparent 50%),
      radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
  }
  
  /* Header */
  .legal-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease;
  }
  .legal-icon {
    font-size: 4em;
    background: linear-gradient(135deg, #58a6ff, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  .legal-title {
    font-size: 3em;
    font-weight: 900;
    background: linear-gradient(135deg, #58a6ff, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
  }
  .legal-meta {
    color: #8b949e;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .legal-meta i {
    color: #58a6ff;
  }
  
  /* Content Card */
  .legal-card {
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease 0.2s both;
  }
  .legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #58a6ff, #8b5cf6, #ec4899, #8b5cf6, #58a6ff);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
  }
  @keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
  }
  
  .legal-content {
    padding: 50px;
    color: #c9d1d9 !important;
    font-size: 1.05em;
    line-height: 1.9;
  }
  .legal-content * {
    color: #c9d1d9 !important;
    background: transparent !important;
    font-family: inherit !important;
  }
  .legal-content h1, .legal-content h2, .legal-content h3, .legal-content h4, .legal-content h5 {
    color: #fff !important;
    font-size: 1.4em;
    font-weight: 700;
    margin: 35px 0 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.1), rgba(139, 92, 246, 0.08)) !important;
    border-left: 4px solid #58a6ff;
    display: block;
  }
  .legal-content h1:first-child, .legal-content h2:first-child, .legal-content h3:first-child {
    margin-top: 0;
  }
  .legal-content h3, .legal-content h4 {
    font-size: 1.2em;
    border-left-color: #8b5cf6;
  }
  .legal-content p {
    margin-bottom: 20px;
    color: #c9d1d9 !important;
  }
  .legal-content ul, .legal-content ol {
    margin: 20px 0;
    padding-left: 25px;
  }
  .legal-content li {
    margin-bottom: 12px;
    position: relative;
    color: #c9d1d9 !important;
  }
  .legal-content ul li::marker {
    color: #58a6ff;
  }
  .legal-content strong, .legal-content b {
    color: #fff !important;
    font-weight: 700;
  }
  .legal-content a {
    color: #58a6ff !important;
    text-decoration: none;
    transition: all 0.3s;
  }
  .legal-content a:hover {
    color: #8b5cf6 !important;
    text-decoration: underline;
  }
  .legal-content span {
    color: #c9d1d9 !important;
  }
  
  /* Info Boxes */
  .legal-content .info-box {
    background: rgba(88, 166, 255, 0.08);
    border: 1px solid rgba(88, 166, 255, 0.2);
    padding: 20px 25px;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }
  .legal-content .info-box i {
    color: #58a6ff;
    font-size: 1.3em;
    margin-top: 3px;
  }
  .legal-content .warning-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
  }
  .legal-content .warning-box i {
    color: #ef4444;
  }
  
  /* Back Button */
  .back-nav {
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease both;
  }
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8b949e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
  }
  .back-link:hover {
    background: rgba(88, 166, 255, 0.1);
    border-color: #58a6ff;
    color: #58a6ff;
    transform: translateX(-5px);
  }
  
  /* Animations */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Last Updated */
  .legal-footer {
    padding: 25px 50px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
  }
  .legal-footer-info {
    color: #8b949e;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .legal-footer-info i {
    color: #58a6ff;
  }
  .print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    color: #8b949e;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s;
  }
  .print-btn:hover {
    background: rgba(88, 166, 255, 0.2);
    color: #58a6ff;
  }
  
  @media (max-width: 768px) {
    .legal-title { font-size: 2em; }
    .legal-content { padding: 30px; }
    .legal-footer { padding: 20px 30px; }
  }
