/* Basic Body and Background Setup */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    box-sizing: border-box;
}

/* Add a dark overlay for better readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/* Main Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    min-height: 100vh;
    justify-content: center;
}

/* Header and Title */
.main-header {
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Static Back Buttons */
.back-button {
    display: inline-block;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    border: 1px solid #444;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-button:hover {
    background-color: #bb86fc;
    color: #000;
    box-shadow: 0 0 15px #bb86fc;
}

.top-button {
    margin-bottom: 30px;
}

.bottom-button {
    margin-top: 30px;
}

/* Redirect Container */
.redirect-container {
    background-color: rgba(10, 10, 10, 0.8);
    border-radius: 10px;
    border: 1px solid #222;
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

.redirect-container p {
    font-size: 1.2em;
    margin: 0 0 25px 0;
}

.redirect-button {
    display: inline-block;
    background-color: #bb86fc;
    color: #000;
    padding: 15px 35px;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.redirect-button:hover {
    background-color: #3700b3;
    color: #fff;
    box-shadow: 0 0 20px #bb86fc;
}

.sub-text {
    font-size: 0.9em !important;
    color: #ccc;
    margin-top: 15px !important;
}

/* Footer to provide spacing at the bottom */
.footer-space {
    height: 50px;
}
