/* Premium Minimalist Light CSS */
:root {
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Lantinghei SC", "Microsoft YaHei", sans-serif;
    --font-display: 'Outfit', 'Inter', var(--font-main);
    
    --bg-color: #ffffff;
    --text-primary: #111111;
    --text-muted: rgba(0, 0, 0, 0.35);
    --text-muted-hover: rgba(0, 0, 0, 0.8);
    
    --transition-clean: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-primary);
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Canvas */
#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Soft radial glow centering on the viewport to add depth */
.radial-glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.95) 100%);
}

/* Layout Container (Centers brand title perfectly in viewport) */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Huge Title Centered (Premium Midnight-to-Purple Tech Gradient) */
.brand-title {
    font-family: var(--font-main);
    font-size: clamp(3rem, 12vw, 7.5rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-indent: 0.12em; /* Align text perfectly by offsetting final character spacing */
    background: linear-gradient(135deg, #05051a 0%, #1e1b4b 55%, #4c1d95 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 15px 40px rgba(30, 27, 75, 0.08));
    text-align: center;
    user-select: none;
    opacity: 0;
    transform: translateY(15px);
    animation: titleEntrance 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Footer & ICP link at the bottom absolute center */
.footer {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 20;
}

.icp-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition-clean);
}

/* Elegant line underline transition */
.icp-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--text-muted-hover);
    transition: var(--transition-clean);
    transform: translateX(-50%);
}

.icp-link:hover {
    color: var(--text-muted-hover);
}

.icp-link:hover::after {
    width: 80%;
}

/* Subtle fade in animations */
@keyframes titleEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Small screen optimization */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    .brand-title {
        font-size: clamp(2.5rem, 15vw, 4.5rem);
        letter-spacing: 0.08em;
        text-indent: 0.08em;
    }
    .icp-link {
        font-size: 0.75rem;
    }
    .footer {
        bottom: 2rem;
    }
}
