/* --- Landing Page Styles --- */

:root {
    --background: hsl(0, 0%, 0%); /* PURE BLACK background */
    --foreground: hsl(220, 15%, 88%);
    --muted-foreground: hsl(220, 10%, 55%);
    --primary: hsl(0, 0%, 98%);
    --primary-darker: hsl(0, 0%, 80%);
    --primary-foreground: hsl(220, 10%, 15%);
  }
  
  * { box-sizing: border-box; }
  
  body {
    font-family: "Inter", sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow: hidden;
  }
  
  #particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .page-container {
    position: relative;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    max-width: 800px;
  }
  
  header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--muted-foreground);
  }
  
  .hero-section {
    animation: fadeIn 1s ease-out forwards;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
  }
  
  .cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 0.7rem;
    text-decoration: none;
    border: 1px solid var(--primary-darker);
    border-bottom-width: 4px;
    transform: translateY(0);
    transition: all 0.1s ease-out;
  }
  
  .cta-button:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    border-bottom-width: 7px;
  }
  
  .cta-button:active {
    transform: translateY(1px);
    border-bottom-width: 3px;
    filter: brightness(0.95);
  }
  
  footer {
    padding: 1rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
  }
  
  /* Flying XP Animation */
  .xp-flyer {
    position: fixed;
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(48, 95%, 53%);
    pointer-events: none;
    z-index: 10;
    animation: flyAndFall 1.5s ease-out forwards;
  }
  
  @keyframes flyAndFall {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    20% { transform: translateY(-80px) scale(1.2); }
    100% { transform: translateY(200px) scale(0.5); opacity: 0; }
  }
  

  @media (max-width: 768px) {
    .page-container {
      padding: 1.5rem; 
      justify-content: center; 
    }
  
    header {
      position: absolute; 
      top: 1.5rem;
      left: 1.5rem;
    }
  
    .hero-title {
      font-size: 2.5rem; 
    }
  
    .hero-subtitle {
      font-size: 1rem; 
      margin-bottom: 2rem;
    }
  
    .cta-button {
      font-size: 1rem; 
      padding: 0.75rem 2rem; 
    }
  
    footer {
      position: absolute; 
      bottom: 0.5rem;
      left: 50%;
      transform: translateX(-50%);
    }
  }