* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at 50% 50%, #e6f7ff 0%, #ffffff 70%);
    position: relative;
    overflow: hidden;
}

/* Декоративные элементы фона */
.bg-decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}
.bg-1 {
    top: 10%;
    left: 10%;
    background: #4285f4;
    transform: rotate(30deg);
}
.bg-2 {
    bottom: 15%;
    right: 10%;
    background: #ff6b35;
    transform: rotate(-15deg);
}
.bg-3 {
    top: 40%;
    right: 20%;
    background: #3498db;
    transform: rotate(45deg);
}

.card {
    max-width: 100%;
    width: 100%;
    max-width: 480px;
    background: white;
    padding: 30px 35px;
    border-radius: 24px;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(230, 230, 230, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1;
    position: relative;
}

/* Стили для логотипа */
.logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    position: relative;
}
.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: #2c3e50;
    margin-bottom: 18px;
    font-size: 1.8em;
    font-weight: 700;
    position: relative;
    letter-spacing: -0.5px;
}
h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #4285f4, #3498db);
    margin: 15px auto;
    border-radius: 2px;
}

.contact-info {
    margin-bottom: 25px;
    text-align: left;
    padding-left: 15px;
}
.phone {
    display: block;
    margin: 8px 0;
    font-size: 1em;
    color: #2980b9;
    font-weight: 500;
}
.description {
    margin: 20px 0;
    font-style: italic;
    color: #555;
    font-size: 0.95em;
}
.btn-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 25px 0;
}
.btn {
    padding: 14px 22px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn-google {
    background: linear-gradient(135deg, #4285f4, #3367d6);
    color: white;
}
.btn-rustore {
    background: linear-gradient(135deg, #ff6b35, #e55a2a);
    color: white;
}
.btn-vk {
    background: linear-gradient(135deg, #4c75a3, #3a5f85);
    color: white;
}
.btn:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 5px 10px rgba(0, 0, 0, 0.15);
}


/* Адаптивность для маленьких экранов */
@media (max-width: 480px) {
    .card {
        padding: 25px 25px;
        border-radius: 20px;
    }
    .logo-container {
        width: 100px;
        height: 100px;
        margin: 0 auto 20px;
    }
    h1 {
        font-size: 1.5em;
    }
    .phone {
        font-size: 0.95em;
    }
    .description {
        font-size: 0.9em;
        margin: 15px 0;
    }
    .btn-container {
        gap: 10px;
    }
    .btn {
        font-size: 0.95em;
        padding: 12px 18px;
    }
    .contact-info {
        padding-left: 10px;
        margin-bottom: 20px;
    }
}

/* Дополнительные медиа-запросы для очень маленьких экранов (смартфоны в портретной ориентации) */
@media (max-width: 360px) {
    .card {
        padding: 20px 20px;
        border-radius: 16px;
    }
    .logo-container {
        width: 90px;
        height: 90px;
        margin: 0 auto 18px;
    }
    h1 {
        font-size: 1.3em;
        letter-spacing: -0.3px;
    }
    .phone {
        font-size: 0.9em;
        margin: 6px 0;
    }
    .description {
        font-size: 0.85em;
        margin: 12px 0;
    }
    .btn {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .contact-info {
        padding-left: 8px;
    }
    .bg-decoration {
        display: none; /* Скрываем декоративные элементы на очень маленьких экранах */
    }
}

/* Стили для планшетов (портретная и альбомная ориентация) */
@media (min-width: 768px) and (max-width: 1024px) {
    .card {
        max-width: 520px;
        padding: 35px 40px;
    }
    .logo-container {
        width: 130px;
        height: 130px;
    }
    h1 {
        font-size: 2em;
    }
    .btn {
        font-size: 1.05em;
        padding: 15px 24px;
    }
}