/* Reset */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    color: #fff;
    overflow-x: hidden;
}

/* Background image with blur effect */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/furina-rain.webp') no-repeat center center fixed;
    background-size: cover;
    filter: blur(8px); /* Blur only the background */
    z-index: -1; /* Make sure the background stays behind the content */
}

/* Add Softer Gradient Overlay */
body::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05)); /* Lighter gradient */
    z-index: -1;
    pointer-events: none;
}

/* Header with Mica / Frosted effect */
header {
    margin-top: 8vh;
    text-align: center;
    width: 80%;
}

h1 {
    font-family: 'Comfortaa', cursive;
    font-size: 3.2rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px); /* Subtle frosted glass effect */
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Win11-style nav with Mica */
.win11-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10vh;
    flex-wrap: wrap;
    z-index: 1;
}

.win11-nav a {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px); /* Frosted effect on navigation links */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.win11-nav a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

/* Special Footer Styling */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.08); /* Soft translucent background */
    backdrop-filter: blur(20px); /* Subtle frosted glass effect */
    border-top: 2px solid rgba(255, 255, 255, 0.1); /* Light border to separate */
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

footer p {
    font-weight: 500;
    letter-spacing: 0.5px;
}

footer:hover {
    background: rgba(255, 255, 255, 0.12); /* Slightly more opaque on hover */
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
        padding: 15px 20px;
    }
    .win11-nav a {
        font-size: 1rem;
        padding: 12px 24px;
    }
    .win11-nav {
        gap: 15px;
        margin-top: 10vh;
    }
}
