/* CSS Variables for Theme Support */
:root {
  /* Light theme (default) */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-dark: #444444;
  --card-bg: #fafafa;
  --primary-color: #9c42f8;
  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  /* Dark theme */
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-dark: #ffffff;
  --card-bg: #2d2d2d;
  --primary-color: #9c42f8;
  --transition: all 0.3s ease;
}

/* Body background for theme support */
body {
  background-color: var(--bg-primary);
  transition: var(--transition);
}

.disclaimer {
    max-width: 900px;
    margin: 15px auto;
    padding: 40px 20px;
    font-family: "Segoe UI", sans-serif;
    color: var(--text-primary);
    background-color: var(--card-bg);
    line-height: 1.6;
    transition: var(--transition);
  }
  
  .disclaimer h1 {
    font-size: 28px;
    color: #9c42f8;
    margin-bottom: 20px;
  }
  
  .disclaimer h2 {
    font-size: 20px;
    margin-top: 30px;
    color: var(--text-dark);
    transition: var(--transition);
  }
  
  .disclaimer ul {
    padding-left: 20px;
    list-style-type: disc;
  }
  
  .disclaimer ul li {
    margin-bottom: 10px;
  }

  /* Link styling for better visibility in both themes */
  .disclaimer a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
  }

  .disclaimer a:hover {
    color: #a855f7;
    text-decoration: none;
  }

  /* Enhanced link visibility in dark mode */
  [data-theme="dark"] .disclaimer a {
    color: #a855f7;
  }

  [data-theme="dark"] .disclaimer a:hover {
    color: #c084fc;
  }
  
  .disclaimer-hero-image {
    position: relative;
    width: 100vw;
    height: 600px;
    background: url('/resources/images/standardhero.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 70px; /* Adjust if navbar height is different */
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .disclaimer-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(156, 66, 248, 0.8) 0%, rgba(122, 47, 209, 0.6) 100%);
    z-index: 1;
  }
  
  .hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
  }
  
  .hero-overlay h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
  }
  
  .hero-overlay p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  /* Mobile responsive hero */
  @media (max-width: 768px) {
    .disclaimer-hero-image {
      height: 400px;
      padding-top: 70px;
    }
    
    .hero-overlay h1 {
      font-size: 2.5rem;
    }
    
    .hero-overlay p {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 480px) {
    .hero-overlay h1 {
      font-size: 2rem;
    }
    
    .hero-overlay p {
      font-size: 1rem;
    }
  }