
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

#hit-counter {
  position: fixed;
  bottom: 15px;
  right: 20px;
  font-family: Arial, sans-serif;
  color: #999;
  font-size: 14px;
  z-index: 99999;
  pointer-events: none; /* prevents interaction/clicks */
}


.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    overflow: hidden;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 5s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}


#splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    position: absolute;
    width: 100%;
    animation: none;  /* Initially set animation to none */
}

.splash-fade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.splash-fade h1 {
    margin-bottom: -10px;
}

#logo {
    width: 400px;
    height: 400px;
    margin: 20px 0;
    border-radius: 350px;
    border: 10px solid yellow;
    z-index: 10;
}

#start-button {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #ff4500;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 4px #ff2200;
    z-index: 10;
}

#start-button:hover {
    background-color: #ff2200;
}


#coming-soon {
    display: flex;
    flex-direction: column;
    width: 70vw;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffe81f;
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    background: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    z-index: 20000;
}

#subscribe-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    background-color: #ff4500;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    z-index: 20000;
}

#subscribe-button:hover {
    background-color: #ff2200;
    cursor: pointer;
}


@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


#intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #000000 70%, #111111);
    overflow: hidden;
    display: none;
    animation: showIntro 10s forwards; /* Add fadeIn for intro */
}

.fade {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, transparent, black);
    z-index: 2;
}

.star-wars {
    position: relative;
    height: 100%;
    font-size: 200%;
    transform: perspective(300px) rotateX(20deg);
    transform-origin: 50% 50%;
    overflow: hidden;
}

.crawl {
    position: relative;
    top: 100%;
    width: 50%;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.5;
    color: #ffe81f;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    animation: crawl 60s linear;
}

.title {
    text-align: center;
    margin-bottom: 50px;
}


@keyframes showIntro {
    0% {
        display: none;
        opacity: 0;
    }
    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes crawl {
    0% {
        top: 100%;
    }
    100% {
        top: -100%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


@media screen and (max-width: 768px) {
    #logo {
        width: 200px;
        height: 200px;
        border: 5px solid yellow;
    }
    
    #hit-counter {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        font-size: 12px;
        bottom: 10px;
    }

    #start-button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .star-wars {
        font-size: 120%;  /* Smaller text for crawl */
    }

    .crawl {
        width: 70%;  /* Narrower crawl for mobile */
        line-height: 1.2;
        animation: crawl 90s linear;
    }

    .title h1 {
        font-size: 24px;
    }

    .title p {
        font-size: 14px;
    }

    .fade {
        background-image: linear-gradient(to top, transparent, black 80%);
    }
}

