:root {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --card-foreground: 0 0% 98%;
    --popover: 240 10% 3.9%;
    --popover-foreground: 0 0% 98%;
    --primary: 266 100% 50%;
    --primary-alt: 266 75% 50%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 3.7% 15.9%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 3.7% 15.9%;
    --muted-foreground: 240 5% 64.9%;
    --accent: 240 3.7% 15.9%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 3.7% 15.9%;
    --input: 240 3.7% 15.9%;
    --ring: 240 4.9% 83.9%;
    --radius: 0.5rem;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
    background-color: hsl(var(--background));
    overflow-x: hidden;
    position: relative;
}

/* Dot pattern with radial fade */
body::before {
    content: '';
    position: fixed;
    width: 200vw;
    height: 200vh;
    background-image: 
        radial-gradient(
            circle at 2px 2px,
            hsl(var(--primary) / 0.3) 2px,
            transparent 0
        );
    background-size: 40px 40px;
    /* Create a strong fade out from center */
    mask-image: radial-gradient(
        circle at center,
        black 0%,
        black 20%,
        rgba(0, 0, 0, 0.5) 40%,
        transparent 70%
    );
    z-index: 0;
    animation: backgroundFade 1s ease-in;
    pointer-events: none;
    /* Center the pattern and mask */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes backgroundFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

#intro {
    max-width: 65ch;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(
        to right,
        #ff1b6b,
        #45caff,
        #ff1b6b
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient 8s linear infinite;
    text-shadow: 0 0 30px rgba(255, 27, 107, 0.2);
}

.lead {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.card {
    background-color: hsl(var(--card) / 0.8);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    backdrop-filter: blur(12px);
}

.tools-container {
    width: 100%;
    max-width: 28rem;
    margin: 2rem auto;
}

#currentTools {
    text-align: left;
}

#currentTools h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.tools-coming-soon {
    color: hsl(var(--muted-foreground));
    font-size: 0.975rem;
    line-height: 1.6;
    margin: 1rem 0 0;
    padding: 0.75rem;
    background-color: hsl(var(--secondary) / 0.5);
    border-radius: var(--radius);
}

.coming-soon {
    font-size: 1.125rem;
    color: hsl(var(--primary-alt));
    margin-top: 2rem;
    font-weight: 500;
    text-shadow: 0 0 30px hsl(var(--primary) / 0.5);
}

footer {
    flex-shrink: 0;
    background-color: hsl(var(--card) / 0.8);
    border-top: 1px solid hsl(var(--border));
    padding: 1.5rem;
    text-align: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(12px);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    /* Adjust dot pattern for mobile */
    body::before {
        background-size: 30px 30px;
    }
}