:root {
    --bg-color: #08080b; /* Выровняли фон с основной игрой */
    --text-color: #e3e3e3; 
    --accent-color: #ffffff; 
    --dim-text: #8892b0; 
}

/* 1. БАЗОВЫЕ НАСТРОЙКИ */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-color);
    /* Тот самый современный шрифт "как в чате" */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px; /* Базовый размер */
    overflow: hidden; 
    text-align: center;
    cursor: pointer;
    user-select: none; 
    -webkit-tap-highlight-color: transparent;
}

/* 2. АТМОСФЕРНЫЕ ЭФФЕКТЫ */
#particles-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
}

.dust-particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.vignette {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    box-shadow: inset 0 0 180px rgba(0,0,0,0.95);
    z-index: 3; pointer-events: none;
}

/* 3. СИСТЕМА СЛОЕВ */
.screen-layer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 10;
    padding: 30px;
    box-sizing: border-box;
}

.visible {
    opacity: 1;
}

/* 4. ГРАФИКА: ВИДЕНИЯ */
.img-vision {
    width: 250px; /* Чуть уменьшили для аккуратности */
    height: 250px;
    margin-bottom: 30px;
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 70%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 70%);
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.img-vision img {
    width: 100%; height: 100%; object-fit: cover;
    filter: sepia(10%) grayscale(50%) contrast(1.1);
    pointer-events: none; -webkit-user-drag: none; user-select: none; 
}

/* 5. ТИПОГРАФИКА */
.text-content {
    font-size: 1.05rem; /* Сделали текст мельче */
    line-height: 1.5; /* Компактный интервал */
    color: var(--dim-text); /* Более мягкий цвет для чтения */
    font-weight: 400;
    max-width: 500px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    margin: 0 auto;
}

h1 {
    font-size: 2.6rem; /* Заголовок адаптирован под новый шрифт */
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 600; /* Sans-serif смотрится лучше полужирным */
    color: var(--accent-color);
    margin: 15px 0;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

/* 6. КНОПКИ И ПОДСКАЗКИ */
.start-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 40px;
    border-radius: 8px; /* Скругление как в основной игре */
    font-size: 0.95rem;
    font-family: inherit;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 30px;
    transition: all 0.4s ease;
}

.start-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.click-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 1.5px;
    animation: pulseHint 3s infinite ease-in-out;
    z-index: 5;
    transition: opacity 1s;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.7; }
}