/* Initial scroll lock */
body {
    margin: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    background-color: #111827;
    color: #f3f4f6; /* light text */
  }
  
  /* Unlock scroll when splash ends */
  body.visibleSplash {
    overflow: visible !important;
    background-color: #111827;
    color: #f3f4f6;
  }
  
  /* Splash screen */
  .splashScreen {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: #111827F2; /* dark with opacity */
    overflow: hidden;
    z-index: 9999;
  }
  
  /* Center loader */
  .loadingContainer {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    overflow: hidden;
  }
  
  .loadingBox {
    width: 100%;
    height: 100%;
    opacity: 0;
  }
  
  .splashLogo {
    width: 50%;
    margin: 0 0 20px;
  }
  
  /* Loading progress bar */
  .loadingBarContainer {
    width: 100%;
    background: #1f2937; /* gray-800 */
    height: 10px;
    margin: 50px 0 0;
    overflow: hidden;
    border-radius: 5px;
  }
  
  .loadingbar {
    width: 100%;
    height: 10px;
    background: #3b82f6; /* blue-500 accent */
    position: absolute;
    left: -100%;
    animation: loadingSlide 2s linear infinite;
  }
  
  /* Loading circle */
  .loadingCircle {
    width: 75px;
    height: 75px;
    margin: 30px auto 0;
    background: #1f2937;
    display: block;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    opacity: 1;
  }
  
  .circleOuter {
    width: 60px;
    height: 60px;
    background: #111827;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  
  .circleLoader {
    width: 75px;
    height: 75px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    right: 50%;
    bottom: 50%;
    transform-origin: bottom right;
    z-index: 1;
    animation: rotateLoader 1.5s linear infinite;
  }
  
  /* Rotate animation for loader circle */
  @keyframes rotateLoader {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Slide animation for progress bar */
  @keyframes loadingSlide {
    0% {
      left: -100%;
    }
    100% {
      left: 100%;
    }
  }
  
  /* Page sections (hidden initially) */
  main {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
  }
  body.visibleSplash main {
    display: block;
    opacity: 1;
  }
  
  /* Background sections (dark mode) */
  .splashBehind {
    background: #111827;
    width: 100%;
    height: 100vh;
  }
  
  .splashBehindTwo {
    background: #1f2937; /* slightly lighter dark */
    width: 100%;
    height: 100vh;
  }
  