/* Import InterVariable Font */
@font-face {
    font-family: 'InterVariable';
    src: url('./fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900; /* Supports variable weights */
    font-style: normal;
}

@font-face {
    font-family: 'InterDisplay-Regular';
    src: url('./fonts/InterDisplay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter-Regular';
    src: url('./fonts/Inter-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'InterVariable', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Updated font */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1a1a1a;
    overflow: hidden;
    position: relative;
    color: #fff;
    padding: 20px;
}

/* Animated Background with Blur */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    filter: blur(50px); /* Apply blur to the entire background */
}

.circle1,
.circle2,
.circle3 {
    position: absolute;
    border-radius: 50%;
    animation: fadeCircleIn 1.3s ease-out, infinite;
}

.circle1 {
    animation: circle1Path 15s infinite, fadeCircleIn 1.3s ease-out;
    background: radial-gradient(circle, rgba(0, 120, 215, 0.4) 15.62%, rgba(0, 120, 215, 0) 100%); /* Windows 11 Blue */
}

.circle2 {
    animation: circle2Path 20s infinite, fadeCircleIn 1.3s ease-out;
    background: radial-gradient(circle, rgba(0, 200, 120, 0.3) 15.62%, rgba(0, 200, 120, 0) 100%); /* Soft Green */
}

.circle3 {
    animation: circle3Path 30s infinite, fadeCircleIn 1.3s ease-out;
    background: radial-gradient(circle, rgba(0, 150, 100, 0.5) 15.62%, rgba(0, 150, 100, 0) 100%); /* Deep Green */
}

@keyframes circle1Path {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10vw;
        height: 10vw;
        opacity: 0.5;
    }
    50% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw; /* 100% of the viewport width */
        height: 100vw; /* 100% of the viewport height */
        opacity: 1;
    }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10vw;
        height: 10vw;
        opacity: 0.5;
    }
}

@keyframes circle2Path {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 15vw;
        height: 15vw;
    }
    50% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw; /* 100% of the viewport width */
        height: 100vw; /* 100% of the viewport height */
    }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 15vw;
        height: 15vw;
    }
}

@keyframes circle3Path {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20vw;
        height: 20vw;
    }
    50% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw; /* 100% of the viewport width */
        height: 100vw; /* 100% of the viewport height */
    }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20vw;
        height: 20vw;
    }
}

@keyframes fadeCircleIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Card Styling */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    z-index: 1;
}

.card h1 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card h1 {
        font-size: 1.5rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .card h1 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.8rem;
    }

    .card {
        padding: 10px;
    }
}