@import url("/seraph/storage/css/themes.css");

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    display: flex;
    background-color: var(--background-color); 
    animation: mainHeaderAnimation 2s forwards;
    
    scrollbar-width: none;
    -ms-overflow-style: none;

    height: 100%;
    position: relative;
    overflow: hidden;
}

#stars, #stars2, #stars3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#stars {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUeNpi+P//PwMDAwMjSAAIAAD//wMGAgL+GwVwAAAAAElFTkSuQmCC') repeat;
    animation: animateStars 100s linear infinite;
}

#stars2 {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpi+P//vwMDAwMTAwPDfyABEGAAbRkEAWr3JfsAAAAASUVORK5CYII=') repeat;
    animation: animateStars 150s linear infinite;
}

#stars3 {
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi/P//fwMDAwMjSAAggL5C/wMZQAAgwAAbGgUBH7hq/gAAAABJRU5ErkJggg==') repeat;
    animation: animateStars 200s linear infinite;
}

@keyframes animateStars {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-2000px);
    }
}
  
body::-webkit-scrollbar {
    width: 0;
}
  
.content-side {
    width: 100%;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: mainHeaderAnimation 1s ease-in-out forwards;
    background-image: var(--background-image);
    background-size: cover;
    position: relative;
    z-index: 1;
}
  
h1 {
    font-size: 96px;
    font-family: var(--font-family);
    text-shadow: 0 0 10px var(--text-color),
                 0 0 20px var(--text-glow),
                 0 0 40px var(--text-glow),
                 0 0 60px var(--text-color),
                 0 0 80px var(--text-glow),
                 0 0 100px var(--text-color),
                 0 0 120px var(--text-glow),
                 0 0 140px #000000;
    margin-bottom: 0px;
    animation: pulse 3s ease-in-out infinite;
}
  
h2 {
    font-size: 20px;
}
  
p {
    font-size: 18px;
    margin-bottom: 2px;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center;
    text-shadow: 5px 5px 5px var(--text-glow);
    animation: paragraphTween 1.2s ease-in-out forwards;
}
  
.linkp a {
    font-size: 20px;
    text-align: center;
    border: 3px solid transparent;
    transition: 0.15s ease-in-out;
    text-shadow: 5px 5px 5px var(--text-glow);
}
  
.linkp a:hover {
    color: rgb(199, 192, 192);
}
  
a {
    margin-top: 15px;
    font-size: 18px;
    text-decoration: underline;
    color: var(--text-color);
    
    text-shadow: 5px 5px 5px var(--text-glow);
}
  
.gamesbutton {
    background-color: var(--background-color);
    color: var(--text-color);
    width: 50%;
    max-width: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    height: 85px;
    margin: 0 10px;
    padding-left: 20px;
    padding-right: 20px;
    
    transition: all 0.3s ease-in-out;
    border: 3px solid var(--border-color2);
    border-radius: 16px;
    position: relative;
    
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.gamesbutton:nth-child(1) {
    animation-delay: 0s;
}

.gamesbutton:nth-child(2) {
    animation-delay: 0.5s;
}

.gamesbutton:nth-child(3) {
    animation-delay: 1s;
}
  
.gamesbutton img {
    width: calc(100% - 24px);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 8px var(--text-glow));
    transition: all 0.3s ease-in-out;
}

.gamesbutton:hover img {
    filter: drop-shadow(0 0 15px var(--text-glow)) brightness(1.2);
    transform: scale(1.1);
}

.gamesbutton-link {
    text-decoration: none;
    color: var(--text-color);
    cursor: pointer;
}

.gamesbutton:hover {
    background-color: var(--hover-color); 
    transition: all 0.3s ease-in-out;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 0 20px var(--text-glow),
                0 0 40px var(--text-glow),
                0 10px 30px rgba(0, 0, 0, 0.5);
    animation-play-state: paused;
}
  
.button-text {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center; 
}

.button-container {
    display: flex;
    text-align: center; 
}
  
  
.cursor {
    width: 7px;
    height: 7px;
    background-color: var(--text-color);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.8;
    z-index: 10000;
}

#blackout {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
}

#updPopup {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 60%;
    max-height: 80%;
    padding: 30px;
    background-color: var(--background-color);
    color: var(--text-color);
    border: 3px solid var(--border-color2);
    border-radius: 16px;
    z-index: 1001;
    text-align: center;
    flex-direction: column;
    box-shadow: 0 0 30px var(--text-glow),
                0 0 60px var(--text-glow);
}

#updPopup h2 {
    margin-top: 0;
}

#updConfirm {
    margin-top: 20px;
    padding: 15px 24px;
    background-color: var(--background-color);
    color: var(--text-color);
    border: 3px solid var(--border-color2);
    border-radius: 16px;
    font-family: var(--font-family);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#updConfirm:hover {
    background-color: var(--hover-color); 
    transition: all 0.3s ease-in-out;
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--text-glow);
}

#updContent {
    border: 2px solid var(--border-color2);
    border-radius: 16px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;

    overflow: auto;
    overflow-y: scroll;

    max-height: 200px;
}

#updContent ul {
    list-style-position: inside;
    text-align: left;
}

#updConfirmFrame {
    z-index: 1002;
    width: 100%;
}
  
@keyframes mainHeaderAnimation {
    0% {
        opacity: 0;
        transform: translateY(-25%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}
  
@keyframes paragraphTween {
    0% {
        transform: translateX(-4%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

@keyframes floatRotate {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-12px) rotate(2deg);
    }
    66% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--border-color2),
                    0 0 10px var(--border-color2),
                    0 0 15px var(--text-glow);
    }
    50% {
        box-shadow: 0 0 10px var(--border-color2),
                    0 0 20px var(--border-color2),
                    0 0 30px var(--text-glow),
                    0 0 40px var(--text-glow);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}
  
  