:root {
    --poly-blue: #2E5CFF;
    --poly-blue-hover: #1A47E5;
    --woodsmoke: #18181b;
    --background: #ffffff;
    --text-main: #000000;
    --text-muted: #71717a;
    --border: #e4e4e7;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Background grid effect */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    z-index: -1;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 720px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Deeper offset to ensure the button midpoint sits at the vertical center of the viewport */
    transform: translateY(-35%);
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-25%);
    }

    to {
        opacity: 1;
        transform: translateY(-35%);
    }
}

.logo-container {
    margin-bottom: 40px;
    position: relative;
}

.logo {
    width: 84px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(46, 92, 255, 0.2));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.05;
}

.description {
    font-size: 15px;
    /* Further refined as requested */
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 72px;
    /* Increased separation for focal emphasis */
    max-width: 440px;
    font-weight: 450;
}

.connect-btn {
    background: var(--poly-blue);
    color: white;
    border: none;
    padding: 26px 100px;
    /* Bolder button presence */
    font-size: 28px;
    /* Larger text as requested */
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 12px 30px rgba(46, 92, 255, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.03em;
}

.connect-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
}

.connect-btn:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 15px 40px rgba(46, 92, 255, 0.4);
}

.connect-btn:hover::after {
    transform: scale(1);
}

.connect-btn:active {
    transform: scale(0.98) translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        transform: translateY(-20%);
        animation: fadeInMobile 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes fadeInMobile {
        from {
            opacity: 0;
            transform: translateY(-10%);
        }

        to {
            opacity: 1;
            transform: translateY(-20%);
        }
    }

    h1 {
        font-size: 42px;
        letter-spacing: -0.04em;
    }

    .description {
        font-size: 14px;
        margin-bottom: 48px;
    }

    .connect-btn {
        width: 100%;
        max-width: 320px;
        padding: 20px 48px;
        font-size: 22px;
    }

    .logo {
        width: 68px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 34px;
    }

    .container {
        transform: translateY(-15%);
        /* Slightly less on very small screens to avoid logo clipping */
    }
}