
body {
    background-color: #0e0e1a;
    color: #ffe839;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}
header {
    background: linear-gradient(to right, #22d3ee, #6366f1);
    padding: 1rem;
    text-align: center;
    color: rgb(0, 0, 0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
main {
    padding: 2rem;
}
ul {
    list-style: none;
    padding: 0;
}
li {
    margin-bottom: 0.75rem;
}
a {
    color: #7dd3fc;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
a:hover {
    color: #fecb00;
    text-shadow: 0 0 5px #ffbf00;
}
footer {
    text-align: center;
    padding: 1rem;
    color: #ffffff;
    font-size: 0.9rem;
}


/* Star particle field */
.stars {
    position: fixed;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
    overflow: hidden;
}
.star  {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2 infinite ease-in-out;
    opacity: 0.5;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

/* Glowing rotating planet */
.planet  {
    position: fixed;
    bottom: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, #38bdf8 0%, #0ea5e9 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
    animation: spinPlanet 40s linear infinite;
    z-index: 0;
    opacity: 0.4;
}
@keyframes spinPlanet {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ensure content stays above visual effects */
body, header, main, footer {
    position: relative;
    z-index: 1;
}


/* Custom text selection color (yellow highlight) */
::selection {
    background-color: #facc15;  /* warm yellow */
    color: #0f172a;             /* dark text for contrast */
}


/* Responsive design for mobile devices */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    header p, footer p {
        font-size: 1rem;
        padding: 0 10px;
        text-align: center;
    }

    main {
        padding: 1rem;
    }

    section {
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    li {
        font-size: 0.95rem;
        margin: 0.5rem 0;
    }

    .planet {
        width: 300px;
        height: 300px;
        bottom: -150px;
        right: -150px;
        filter: blur(5px);
    }

    .star {
        width: 3px;
        height: 3px;
    }
}
