body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0; /* Fallback background */
    overflow: hidden; /* Prevent scroll if background is larger */
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%); /* Example gradient */
    z-index: -1; /* Behind other content */
    filter: blur(8px); /* Subtle background blur for better glass effect */
    transform: scale(1.05); /* Slightly enlarge to cover blur edges */
}

.glass-container {
    padding: 30px;
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px); /* The key glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff; /* White text for contrast */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    animation: fadeIn 1s ease-out forwards;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.3s ease-in-out;
}

.glass-card p {
    margin: 10px 0;
    font-size: 1.1em;
}

.glass-card strong {
    color: #ffd700; /* Gold color for highlights */
}

.error-card {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}