body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    background-image: url('../images/Frame 2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh;
    flex: 1;
    width: 100%;
}

h1 {
    font-size: 3em;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 1.5em;
    color: #e0e0e0;
    margin-bottom: 30px;
    margin-top: 0;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.download-link {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #fff;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.download-link:hover {
    background-color: #0056b3;
}

.download-link:active {
    background-color: #004085;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 1.1em;
    color: #fff;
    background-color: #0088cc;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 30vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.telegram-link:hover {
    background-color: #006ba3;
    transform: translateY(-2px);
}

.telegram-link:active {
    background-color: #005a8a;
    transform: translateY(0);
}

.telegram-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.android-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 16px 32px;
    font-size: 1.47em;
    color: #fff;
    background-color: #0088cc;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.android-link:hover {
    background-color: #006ba3;
    transform: translateY(-2px);
}

.android-link:active {
    background-color: #005a8a;
    transform: translateY(0);
}

.android-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.site-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 1.1em;
    color: #fff;
    background-color: #28a745;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.site-link:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.site-link:active {
    background-color: #1e7e34;
    transform: translateY(0);
}

.site-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer {
    margin-top: auto;
    padding: 40px 20px 20px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
    display: block;
    visibility: visible;
}

.footer-separator {
    color: #e0e0e0;
    margin: 0 10px;
}

.privacy-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.privacy-link:hover {
    color: #fff;
    text-decoration: underline;
}

.privacy-link:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
        padding: 0 20px;
        text-align: center;
    }

    p {
        font-size: 1.2em;
        padding: 0 20px;
        text-align: left;
    }

    .android-link {
        padding: 14px 24px;
        font-size: 1.2em;
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .android-icon {
        width: 28px;
        height: 28px;
    }

    .telegram-link {
        padding: 12px 20px;
        font-size: 1em;
        margin-left: 20px;
        margin-right: 20px;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .footer {
        padding: 30px 20px 20px;
    }

    .privacy-link {
        font-size: 0.9em;
    }
}

