body {
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

.container {
    text-align: center;
    padding: 16px;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 32px;
}

.domainname {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
    color: #a00c0f;
    margin-top: 15px;
    margin-bottom: 15px;
}

.button {
    display: block;
    width: 60%;
    margin: 0 auto 16px;
    padding: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.telegram {
    background-color: #3b82f6;
}

.telegram:hover {
    background-color: #2563eb;
}

.whatsapp {
    background-color: #22c55e;
}

.whatsapp:hover {
    background-color: #16a34a;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.links a {
    color: #1d4ed8;
    text-decoration: none;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.links a:hover {
    text-decoration: underline;
}

/* Адаптация для мобильных устройств (до 767px) */
@media (max-width: 767px) {
    h1 {
        font-size: 1.5rem;
    }
    .domainname {
        font-size: 2rem;
    }
    .button {
        font-size: 1rem;
        padding: 8px;
    }
}

/* Адаптация для планшетов (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 1.75rem;
    }
    .domainname {
        font-size: 2.5rem;
    }
    .button {
        font-size: 1.125rem;
    }
}

/* Адаптация для десктопов (1024px и выше) */
@media (min-width: 1024px) {
    h1 {
        font-size: 2rem;
    }
    .domainname {
        font-size: 3rem;
    }
    .button {
        font-size: 1.25rem;
    }
}