
    
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Roboto&display=swap');

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    height: 100%;
    overflow: hidden;
    background: black;
    font-family: 'Roboto', sans-serif;
    color: white;
    transition: background-color 0.8s ease, color 0.8s ease;
  }

  /* Light theme */
  body.light-theme {
    background: white;
    color: #111;
  }

  /* Starfield canvas full screen */
  #starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: block;
    z-index: 0;
    background: transparent;
    transition: background-color 0.8s ease;
  }

  /* Container for content centered */
  #container {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    transition: color 0.8s ease;
  }
   a {
    text-decoration: none;
    color: #ffffffe7;
   }
  /* Main text styling and entry animation */
  #main-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 4rem;
    color: #ffffff;
    text-shadow:
      0 0 5px #00ffff8c,
      0 0 10px #00ffffb1,
      0 0 20px #00ffff85,
      0 0 40px #00ffffa5;
    animation: slideUpGlow 2.5s ease forwards;
    opacity: 0;
    transition: color 0.8s ease, text-shadow 0.8s ease;
  }

  /* Main text in light theme */
  body.light-theme #main-text {
    color: #004d4d;
    text-shadow:
      0 0 5px #005757,
      0 0 10px #006464,
      0 0 20px #008080,
      0 0 40px #00a0a0;
  }

  /* About text */
  #about-text {
    margin-top: 20px;
    font-weight: 400;
    font-size: 1.2rem;
    color: #aaa;
    opacity: 0;
    animation: slideUpFade 1.5s ease forwards;
    animation-delay: 1.8s;
    transition: color 0.8s ease;
  }

  /* About text in light theme */
  body.light-theme #about-text {
    color: #555;
  }

  /* Start button */
  #start-btn {
    margin-top: 8px;
    padding: 12px 36px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #00ffff;
    background: transparent;
    border: 2px solid #00ffff;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    opacity: 0;
    animation: slideUpFade 1.5s ease forwards;
    animation-delay: 2.3s;
  }
  #start-btn:hover {
    background-color: #00ffff;
    color: black;
  }

  /* Start button in light theme */
  body.light-theme #start-btn {
    color: #008080;
    border-color: #008080;
  }
  body.light-theme #start-btn:hover {
    background-color: #008080;
    color: white;
  }

  @keyframes slideUpGlow {
    0% {
      opacity: 0;
      transform: translateY(100vh);
      text-shadow: 0 0 0px #00ffff;
    }
    70% {
      opacity: 1;
      transform: translateY(-10px);
      text-shadow:
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 40px #00ffff;
    }
    100% {
      opacity: 1;
      transform: translateY(0);
      text-shadow:
        0 0 8px #00ffff,
        0 0 14px #00ffff,
        0 0 30px #00ffff,
        0 0 60px #00ffff;
    }
  }

  @keyframes slideUpFade {
    0% {
      opacity: 0;
      transform: translateY(100vh);
    }
    100% {
      opacity: 0.8;
      transform: translateY(0);
    }
  }

  /* Fade out animation for container on start */
  .fade-out {
    animation: fadeOutAll 1s ease forwards;
  }
  @keyframes fadeOutAll {
    to {
      opacity: 0;
      transform: translateY(-30px);
      pointer-events: none;
    }
  }

  /* Footer styling */
  footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: #444;
    font-family: 'Roboto', sans-serif;
    user-select: none;
    opacity: 0;
    animation: footerFadeIn 2s ease forwards;
    animation-delay: 3.8s;
    z-index: 12;
    transition: color 0.8s ease;
  }
  body.light-theme footer {
    color: #888;
  }
  @keyframes footerFadeIn {
    to {
      opacity: 1;
    }
  }

  /* Theme toggle button top right */
  #theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 20;
    background: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    border-radius: 30px;
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }
  #theme-toggle:hover {
    background-color: #00ffff;
    color: black;
  }
  body.light-theme #theme-toggle {
    border-color: #008080;
    color: #008080;
  }
  body.light-theme #theme-toggle:hover {
    background-color: #008080;
    color: white;
  }

  /* Face background container - covers full screen behind content */
  #face-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1; /* behind content but above starfield */
    pointer-events: none;
  }

  /* Each face styling */
  .face {
    position: absolute;
    opacity: 0;
    transition: opacity 1.5s ease;
    font-size: 18rem;
    user-select: none;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.15));
    color: transparent;
  }

  /* Show faces in light theme with low opacity */
  body.light-theme #face-background .face {
    opacity: 0.12;
  }

  /* Position faces distinctively */
  #face-happy {
    top: 15%;
    left: 10%;
    color: #004d4d;
  }
  #face-surprised {
    top: 25%;
    right: 12%;
    color: #006666;
  }
  #face-sad {
    bottom: 15%;
    left: 40%;
    color: #005050;
  }


  
/* Responsive styles for small devices */
@media (max-width: 768px) {
  
  /* Adjust font sizes */
  #main-text {
    font-size: 2.5rem; /* Smaller font size for main text */
  }

  #about-text {
    font-size: 1rem; /* Smaller font size for about text */
  }

  #start-btn {
    font-size: 1rem; /* Smaller font size for start button */
    padding: 10px 20px; /* Adjust padding */
  }

  /* Adjust container padding */
  #container {
    padding: 0 10px; /* Less padding for smaller screens */
  }

  /* Adjust theme toggle button */
  #theme-toggle {
    font-size: 0.9rem; /* Smaller font size for theme toggle */
    padding: 6px 12px; /* Adjust padding */
  }

  /* Adjust footer font size */
  footer {
    font-size: 0.8rem; /* Smaller font size for footer */
  }

  /* Adjust face sizes */
  .face {
    font-size: 10rem; /* Smaller face size */
  }
}
