@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #1a1a1a;
    background: #f7f6f3;
}

/* 🌫️ Linen gradient base */
.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, #f8f7f4 0%, #f2f1ed 40%, #eceae6 100%);
    z-index: -3;
}

/* ☁️ Soft smoky layers */
.bg-gradient::before,
.bg-gradient::after {
    content: "";
    position: absolute;
    width: 140%;
    height: 140%;
    filter: blur(80px);
    opacity: 0.35;
}

.bg-gradient::before {
    background: radial-gradient(circle at 30% 30%, #ffffff, transparent 60%);
    animation: float1 18s ease-in-out infinite;
}

.bg-gradient::after {
    background: radial-gradient(circle at 70% 70%, #e9e7e2, transparent 60%);
    animation: float2 22s ease-in-out infinite;
}

@keyframes float1 {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(-6%, -4%); }
}

@keyframes float2 {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(6%, 5%); }
}

/* subtle grain for realism */
.noise {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    z-index: -1;
}

/* layout */
.wrapper {
    text-align: center;
    z-index: 2;
}

/* 🧠 premium typography */
.project-name {
    font-size: 4.2rem;
    font-weight: 600;
    letter-spacing: -1.5px;
    margin-bottom: 48px;
    position: relative;
}

/* ✨ ultra-soft glow (barely visible) */
.project-name::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    filter: blur(30px);
    opacity: 0.15;
    z-index: -1;
}

/* countdown */
.countdown {
    display: flex;
    gap: 36px;
    justify-content: center;
    margin-bottom: 28px;
}

.unit span {
    font-size: 2.3rem;
    font-weight: 500;
}

.unit small {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.5;
}

/* date */
.date {
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.5;
}

/* responsiveness */
@media (max-width: 600px) {
    .project-name {
        font-size: 2.6rem;
    }

    .countdown {
        gap: 18px;
    }

    .unit span {
        font-size: 1.7rem;
    }
}