/* Body and Font Styling */
body {
    background-color: #2c2f33; /* Discord grey */
    color: #ffffff;
    font-family: 'Russo One', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative; /* Enable positioning of child elements */
}

/* Video Background Styling */
.video-background {
    position: absolute; /* Position it absolutely */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Send video behind content */
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute; /* Absolute positioning for full coverage */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the video */
}

/* Container Styling */
.container {
    text-align: center;
    z-index: 2; /* Ensure this is on top of the video */
    position: relative; /* Position relative for layering */
}

/* Image Styling */
.error-image {
    max-width: 100%; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 45px; /* Space below the image */
}

/* Header Styling */
h1 {
    color: #ffffff;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Button Styling */
.glow-button {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Titillium Web', sans-serif;
    background-color: #126dff;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.1s, box-shadow 0.3s ease-in-out;
    box-shadow: 0 0 15px #126dff;
    animation: persistent-glow 1.5s infinite ease-in-out;
}

/* Press Effect */
.glow-button:active {
    transform: scale(0.95);
}

/* Hover Animation */
.glow-button:hover {
    transform: scale(1.05); /* Subtle scaling on hover */
}

/* Persistent Glow Animation */
@keyframes persistent-glow {
    0%, 100% {
        box-shadow: 0 0 15px #126dff;
    }
    50% {
        box-shadow: 0 0 40px #126dff; /* Enhanced glow size */
    }
}

/* Fade-Out Overlay */
.fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0;
    display: none; /* Start as non-visible */
    transition: opacity 0.7s; /* Fade transition */
    z-index: 3;
}
