/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100vh;
    width: 100vw;
    font-family: 'Georgia', serif;
    background-color: #fff;
    overflow: hidden;
    position: relative;
  }
  
  /* Safari safe-area background patch */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top);
    background: #fff;
    z-index: 2;
    pointer-events: none;
  }
  
  /* Background layer */
  .background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }
  
  .blob {
    position: absolute;
    width: 60vw;
    height: 60vw;
    opacity: 0.4;
    border-radius: 50%;
    animation: float 40s ease-in-out infinite alternate;
  }
  
  .blob1 {
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, #fca5a5, transparent 70%);
  }
  
  .blob2 {
    top: 20%;
    left: 60%;
    background: radial-gradient(circle, #c4b5fd, transparent 70%);
    animation-delay: 5s;
  }
  
  .blob3 {
    top: 60%;
    left: 10%;
    background: radial-gradient(circle, #fdba74, transparent 70%);
    animation-delay: 10s;
  }
  
  .blob4 {
    top: 40%;
    left: 40%;
    background: radial-gradient(circle, #6ee7b7, transparent 70%);
    animation-delay: 15s;
  }
  
  @keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10%, -10%) scale(1.1); }
  }
  
  /* Content layer */
  .content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #222;
  }
  
  h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: #111;
  }
  
  a {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-family: 'Helvetica Neue', sans-serif;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: #000;
  }
  
  /* Mobile tweaks */
  @media (max-width: 600px) {
    h1 {
      font-size: 2.5rem;
    }
  
    .blob {
      width: 80vw;
      height: 80vw;
    }
  
    a {
      font-size: 0.95rem;
    }
  }
  
  /* DARK MODE SUPPORT */
  @media (prefers-color-scheme: dark) {
    html, body {
      background-color: #0f0f0f;
    }
  
    body::before {
      background: #0f0f0f;
    }
  
    .blob1 {
      background: radial-gradient(circle, #f87171, transparent 70%);
    }
  
    .blob2 {
      background: radial-gradient(circle, #a78bfa, transparent 70%);
    }
  
    .blob3 {
      background: radial-gradient(circle, #fbbf24, transparent 70%);
    }
  
    .blob4 {
      background: radial-gradient(circle, #34d399, transparent 70%);
    }
  
    .content {
      color: #eee;
    }
  
    h1 {
      color: #fff;
    }
  
    a {
      color: #bbb;
    }
  
    a:hover {
      color: #fff;
    }
  }