/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #000;
    font-family: "Times New Roman", serif;
    color: #fff;
    overflow: hidden;
}

/* Logo background overlay */
.logo-bg {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 0;
}

.logo-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at center,
            rgba(0,0,0,0) 40%,
            rgba(0,0,0,0.55) 100%
    );
}

/* Container for overlaying text on logo */
.center-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo {
    width: clamp(240px, 50vw, 460px);
    opacity: 0;
    animation:
            logoFlickerReveal 2.2s ease-out forwards,
            logoBreathe 6s ease-in-out infinite;
    animation-delay: 1.8s, 4.2s;
}

.coming-soon {
    position: absolute; /* overlay on logo by default */
    font-size: clamp(2.2rem, 8vw, 4.2rem);
    letter-spacing: 0.42em;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 0 1px 1px rgba(0,0,0,0.65);
    opacity: 1; /* always visible */
    white-space: nowrap; /* prevent wrapping */
    margin-bottom: 1.5rem;
}


/* Footer */
.footer {
    position: relative;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 2;
    margin-top: 10rem;
}

.footer a {
    color: #bfbfbf;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
}

/* Animations */
@keyframes logoFlickerReveal {
    0% { opacity: 0; }
    12% { opacity: 0.3; }
    18% { opacity: 0.1; }
    30% { opacity: 0.5; }
    40% { opacity: 0.25; }
    60% { opacity: 0.8; }
    75% { opacity: 0.6; }
    88% { opacity: 1; }
    94% { opacity: 0.97; }
    100% { opacity: 1; }
}

@keyframes logoBreathe {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.12)); }
}


/* Mobile tuning */
@media (max-width: 480px) {
    .center-container {
        flex-direction: column; /* stack vertically on mobile */
    }

    .coming-soon {
        position: static; /* move below logo */
        font-size: clamp(1.5rem, 6vw, 2.2rem); /* shrink text */
        margin-top: 16px; /* spacing below logo */
        letter-spacing: 0.28em; /* optional, slightly smaller spacing */
    }

    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 64px;
        background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.85));
        gap: 24px;
    }
}