/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Background Section */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* Header Navigation */
header {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    color: white;
}

h1 {
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8),
                 0px 0px 20px rgba(255, 255, 255, 0.6),
                 0px 0px 30px rgba(255, 255, 255, 0.4);
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8),
                     0px 0px 20px rgba(255, 255, 255, 0.6),
                     0px 0px 30px rgba(255, 255, 255, 0.4);
    }
    to {
        text-shadow: 0px 0px 15px rgba(255, 255, 255, 1),
                     0px 0px 25px rgba(255, 255, 255, 0.8),
                     0px 0px 35px rgba(255, 255, 255, 0.6);
    }
}

/* Final Responsive Navigation */
nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 30px;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 60px;
    max-width: 95vw;
    scrollbar-width: none;
}

nav::-webkit-scrollbar {
    display: none;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 10px 20px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 1px;
}

nav a:hover {
    color: #FFD700;
}


/* Main Section */
main {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    padding: 10px;
}

main h2 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

main p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.subscribe-container {
    margin-top: 20px;
}

.subscribe-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #FFD700;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-size: 1em;
}

.subscribe-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.7);
}

/* About Section */
.about {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    text-align: center;
    color: white;
    font-size: 0.9em;
    line-height: 1.5em;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 8px;
}

/* Stars & Comets */
#starsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#comets-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

.comet {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: cometAnimation 4s linear infinite;
}

.comet::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    transform: translateX(-100%);
}

@keyframes cometAnimation {
    from {
        transform: translate(-50vw, -50vh) rotate(45deg);
        opacity: 1;
    }
    to {
        transform: translate(50vw, 50vh) rotate(45deg);
        opacity: 0;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    width: 90%;
    max-width: 300px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 5px;
}

button {
    background-color: #FFD700;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #ffc107;
}

/* 🔁 Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 10px;
        gap: 8px;
        width: 90%;
        border-radius: 20px;
    }

    h1 {
        font-size: 2em;
    }

    main h2 {
        font-size: 2em;
    }

    main p {
        font-size: 1em;
    }

    .subscribe-btn {
        font-size: 0.9em;
        padding: 10px 20px;
    }

    .about {
        font-size: 0.8em;
        padding: 10px;
    }
}
nav {
    display: none !important;
}
