/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Основной фон - СЕРЫЙ С СИНЕВОЙ */
body {
#    background-color: #2b3038; /* Глубокий серо-синий цвет */
background-color: #434b4d;
    /* Сетка стала светлее, чтобы быть заметной на синеватом фоне */
    background-image: 
#        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
#        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    
    color: #e0e0e0; /* Светло-серый текст по умолчанию */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    min-height: 100vh;
    min-height: 100dvh; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

/* Фоновая машина Dodge */
body::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 60vh;
    background-image: url('dodge.png'); 
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    /* Машина темная, чтобы сливаться с серо-синим фоном */
    filter: grayscale(100%) brightness(0.4) contrast(1.2);
    opacity: 0.25; 
    z-index: 0;
    pointer-events: none;
}

/* Градиент снизу (от цвета фона к прозрачному) */
body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(43, 48, 56, 1) 0%, rgba(43, 48, 56, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Контейнер */
.start-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    max-width: 600px;
    z-index: 1;
    width: 100%;
}

/* Логотип */
.logo {
    width: 220px;
    max-width: 70vw;
    height: auto;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.4s ease;
    cursor: pointer;
    margin-bottom: 10px;
}

/* Заголовок */
h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: #ffffff; /* Белый цвет для "Автосервис" и "Шинсервис" */
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.3;
}

/* Желтый акцент для "Пика-чу" */
h1 span {
    color: #ffcc00; 
}

/* Текст описания */
p {
    font-size: 1.1rem;
    color: #b0b8c4; /* Светлый серо-голубой текст */
    line-height: 1.6;
    max-width: 450px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* Блок с телефоном */
.phone-number {
    margin: 10px 0 15px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.phone-number a {
    display: inline-block; 
    color: #ffffff !important; 
    font-size: 2.2rem; 
    font-weight: 900; 
    font-family: 'Arial Black', Impact, sans-serif; 
    text-decoration: none;
    letter-spacing: 1.5px;
    padding: 15px 35px; 
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05); /* Легкая светлая подложка */
    border: 2px solid #ffcc00; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Эффект при наведении (ПК) */
@media (hover: hover) and (pointer: fine) {
    .phone-number a:hover {
        background: #ffcc00;
        color: #111111 !important;
        box-shadow: 0 0 25px rgba(255, 204, 0, 0.5);
    }
    .logo:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

/* Эффект при нажатии (Android) */
.phone-number a:active {
    transform: scale(0.96);
    background: #ffcc00;
    color: #111111 !important;
}

/* Блок кнопок */
.buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

/* Кнопки */
button {
    background: #1c2026; /* Темная кнопка */
    color: #ffffff;
    border: 2px solid #3a4150;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
    font-family: inherit;
}

button.primary {
    background: #ffcc00;
    color: #111111;
    border-color: #ffcc00;
}

/* Эффект наведения для ПК */
@media (hover: hover) and (pointer: fine) {
    button:hover {
        background: #ffffff;
        color: #111111;
        border-color: #ffffff;
        box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }
    button.primary:hover {
        background: #e6b800;
        border-color: #e6b800;
    }
}

/* Эффект нажатия для Android */
button:active {
    transform: scale(0.97);
}

/* Мобильная адаптация */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    p { font-size: 1rem; }
    .buttons { flex-direction: column; width: 100%; max-width: 300px; }
    button { width: 100%; padding: 16px; }
    body::before { height: 45vh; opacity: 0.15; background-size: cover; }
}

@media (max-width: 400px) {
    .phone-number a {
        font-size: 1.7rem;
        padding: 12px 20px;
        letter-spacing: 0.5px;
    }
}
