    @import url("https://fonts.googleapis.com/css2?family=Keania+One&display=swap");

    body {
      background: #0A192F;
      color: rgba(255, 255, 255, 0.795);
      margin: 0;
      font-family: sans-serif;
      transition: background 0.3s, color 0.3s;
      overflow-x: hidden;
      position: relative;
    }

    /* Animated Background */
    .bg-animation {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      overflow: hidden;
    }

    .floating-shapes {
      position: absolute;
      width: 100%;
      height: 100%;
    }

    .shape {
      position: absolute;
      background: linear-gradient(45deg, rgba(106, 17, 203, 0.3), rgba(37, 117, 252, 0.3));
      border-radius: 50%;
      animation: float 20s infinite linear;
      filter: blur(1px);
    }

    .shape:nth-child(1) {
      width: 80px;
      height: 80px;
      left: 10%;
      animation-duration: 25s;
      animation-delay: 0s;
    }

    .shape:nth-child(2) {
      width: 120px;
      height: 120px;
      left: 20%;
      animation-duration: 30s;
      animation-delay: 5s;
    }

    .shape:nth-child(3) {
      width: 60px;
      height: 60px;
      left: 70%;
      animation-duration: 35s;
      animation-delay: 10s;
    }

    .shape:nth-child(4) {
      width: 100px;
      height: 100px;
      left: 80%;
      animation-duration: 28s;
      animation-delay: 15s;
    }

    .shape:nth-child(5) {
      width: 90px;
      height: 90px;
      left: 50%;
      animation-duration: 22s;
      animation-delay: 8s;
    }

    @keyframes float {
      0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 0.8;
      }
      90% {
        opacity: 0.8;
      }
      100% {
        transform: translateY(-120px) rotate(360deg);
        opacity: 0;
      }
    }

    /* Particle System */
    .particles {
      position: absolute;
      width: 100%;
      height: 100%;
    }

    .particle {
      position: absolute;
      width: 3px;
      height: 3px;
      background: rgba(255, 255, 255, 0.8);
      border-radius: 50%;
      animation: twinkle 4s infinite;
    }

    @keyframes twinkle {
      0%, 100% {
        opacity: 0;
        transform: scale(0);
      }
      50% {
        opacity: 1;
        transform: scale(1);
      }
    }

    /* Gradient Waves */
    .wave-bg {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, 
        rgba(106, 17, 203, 0.1) 0%,
        rgba(37, 117, 252, 0.1) 25%,
        rgba(240, 114, 255, 0.1) 50%,
        rgba(0, 31, 77, 0.1) 75%,
        rgba(106, 17, 203, 0.1) 100%
      );
      background-size: 400% 400%;
      animation: gradientWave 15s ease infinite;
    }

    @keyframes gradientWave {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }

    #modeToggle {
      font-family: "Keania One", sans-serif;
      position: absolute;
      top: 20px;
      right: 20px;
      padding: 10px 18px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      background: linear-gradient(to right, #6a11cb, #2575fc);
      color: white;
      font-size: 14px;
      font-weight: bold;
      transition: all 0.3s;
      z-index: 1000;
      box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    }

    #modeToggle:hover {
      opacity: 0.85;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
    }

    .div1 {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      padding: 1rem;
      position: relative;
      z-index: 10;
    }

    .div2 {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      padding: 2rem 3rem;
      border-radius: 20px;
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
      text-align: center;
      max-width: 500px;
      width: 100%;
      transition: all 0.3s;
      animation: cardFloat 6s ease-in-out infinite;
    }

    @keyframes cardFloat {
      0%, 100% {
        transform: translateY(0px);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    .div2:hover {
      transform: translateY(-5px) !important;
      box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
    }

    h1 {
      margin-bottom: 2rem;
      font-size: 2rem;
      color: #333;
      transition: color 0.3s;
      font-family: "Keania One", sans-serif;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }

    .div3 {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-family: "Keania One", sans-serif;
    }

    .div3 a {
      background: linear-gradient(135deg, #f072ff, #001F4D);
      padding: 12px 24px;
      border-radius: 12px;
      text-decoration: none;
      color: white;
      font-size: 18px;
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(240, 114, 255, 0.3);
    }

    .div3 a::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }

    .div3 a:hover::before {
      left: 100%;
    }

    .div3 a:hover {
      background: linear-gradient(135deg, #8a2be2, #4169e1);
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 15px 35px rgba(240, 114, 255, 0.4);
    }

    /* Dark Mode Styles */
    body.dark {
      background: #f2f2f2;
      color: #333;
    }

    body.dark .wave-bg {
      background: linear-gradient(45deg, 
        rgba(106, 17, 203, 0.05) 0%,
        rgba(37, 117, 252, 0.05) 25%,
        rgba(240, 114, 255, 0.05) 50%,
        rgba(0, 31, 77, 0.05) 75%,
        rgba(106, 17, 203, 0.05) 100%
      );
      background-size: 400% 400%;
    }

    body.dark .shape {
      background: linear-gradient(45deg, rgba(106, 17, 203, 0.2), rgba(37, 117, 252, 0.2));
    }

    body.dark .div2 {
      background: rgba(255, 255, 255, 0.98);
      border: 1px solid rgba(0, 0, 0, 0.1);
      color: #000000;
    }

    body.dark h1 {
      color: #000000;
    }

    body.dark #modeToggle {
      background: linear-gradient(to right, #6a11cb, #2575fc);
    }

    /* Mobile Adjustments */
    @media (max-width: 600px) {
      .div2 {
        padding: 1.5rem;
      }

      h1 {
        font-size: 1.5rem;
      }

      .div3 a {
        width: 100%;
        text-align: center;
      }
    }