body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Dark sky background */
.sky {
    position: relative;
    width: 100vw;
    min-height: 100vh; /* better than fixed height */
    background: radial-gradient(circle at bottom, #020111 0%, #000000 80%);
}

/* Shooting star */
.star {
    position: absolute;
    bottom: -100px;
    width: 3px;
    height: 80px;
    background: linear-gradient(to top, white, rgba(255,255,255,0));
    border-radius: 50%;
    box-shadow: 0 0 6px white, 0 0 12px white;
    animation: shootUp linear forwards;
}

@keyframes shootUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh);
        opacity: 0;
    }
}

/* Button container */
.buttons {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -0%);
    display: flex;
    gap: 40px;
    flex-wrap: wrap; /* allows better scaling */
    justify-content: center;
    z-index: 10;

    /* subtle fade-in */
    animation: fadeIn 1s ease-in-out;
}

/* Buttons */
.template-btn {
    padding: 15px 30px;
    font-size: 18px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover + tap feel */
.template-btn:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

.template-btn:active {
    transform: scale(0.97);
}

/* Logo container */
.logo-container {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    animation: fadeIn 2.8s ease-in-out;
}

/* Logo styling */
.logo {
    width: 100%;
    max-width: 675px;
    height: auto;
    opacity: 0.95;

    /* subtle glow */
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

/* Fade animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -0%);
    }
}

/* =========================
   TABLET OPTIMIZATION
========================= */
@media (max-width: 1024px) {

    .buttons {
        gap: 25px;
        top: 22%;
    }

    .template-btn {
        font-size: 20px;
        padding: 12px 24px;
    }

    .logo {
        width: 110%;
        max-width: 600px;
    }

    .logo-container {
        top: 42%;
        left: 47%;
    }
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 768px) {

    body {
        overflow: hidden; /* keep your requirement */
    }

    /* Stack buttons vertically */
    .buttons {
        flex-direction: column;
        gap: 18px;
        top: 24%;
        width: 90%;
    }

    /* Full-width buttons */
    .template-btn {
        width: 100%;
        font-size: 15px;
        padding: 12px 18px;
    }

    /* Logo positioning */
    .logo-container {
        top: 55%;
        width: 100%;
        text-align: center;
    }

    .logo {
        width: 80%;
        max-width: 280px;
    }
}

/* =========================
   SMALL MOBILE (PHONES)
========================= */
@media (max-width: 480px) {

    .buttons {
        top: 26%;
        gap: 15px;
    }

    .template-btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    .logo-container {
        top: 58%;
    }

    .logo {
        width: 75%;
        max-width: 240px;
    }
}