:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-color: #ff3e3e;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 20px;
}

#mosaic-wrapper {
    margin-bottom: 2rem;
    cursor: pointer;
    display: inline-block;
}

#mosaic-canvas {
    max-width: 100%;
}

.subtext {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.btn-ready {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    animation: pulse 2s infinite;
}

.btn-ready:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 62, 62, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 62, 62, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 62, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 62, 62, 0);
    }
}

.footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

@media (max-width: 768px) {
    .subtext {
        font-size: 1.2rem;
    }
    .btn-ready {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}
