/* 🌌 Background Gradient & Animation */
body {
    background: linear-gradient(-45deg, #9200f3, #3b05fc, #0083b0, #00c6ff);
    background-size: 400% 400%;
    animation: gradientMove 10s ease infinite;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Smooth Background Animation */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header Bar (Top-Left) */
header {
    position: absolute;
    top: 15px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Header Text - ZypherGames */
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 5px white;
}

/* Navigation */
/*nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    font-size: 1rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}*/

/* ✨ Centered Glow Effect */
h1 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 10px #fff, 0 0 20px #ff0000, 0 0 30px #0385ff, 0 0 40px #0083b0;
    color: white;
}

/* 🌠 Floating Stars */
.stars-container {
    position: fixed;
    margin-top: 80px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

/* Individual Stars */
.star {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    animation: floatStars 5s infinite linear;
}

/* 🪐 Floating Animation */
@keyframes floatStars {
    0% {
        transform: translateY(0px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}
/*For Games.html header place bottom right for Home Page*/
.bottom-right {
    position: fixed;  /* Fixed position so it stays in place */
    bottom: 10px;     /* Distance from the bottom */
    right: 10px;      /* Distance from the right */
    background-color: #333; /* Optional: Background color */
    color: white;     /* Text color */
    padding: 10px 15px; /* Optional: Padding for better appearance */
    text-decoration: none; /* Remove default underline */
    border-radius: 5px; /* Optional: Rounded corners */
}

.bottom-right:hover {
    background-color: #555; /* Slightly lighter on hover */
}


/* Hamburger button */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 999; /* make sure it's clickable */
}
  
.hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s ease;
}
  
/* Nav menu hidden by default */
nav ul {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem;
    list-style: none;
}
  
/* Show menu when active */
nav ul.active {
    display: flex;
}
  
/* Optional: make it pretty on bigger screens */
@media (min-width: 769px) {
nav ul {
    position: static;
    width: auto;
    flex-direction: row;
    gap: 1rem;
    background: transparent;
    padding: 0;
}

nav ul.active {
    display: flex;
}
}