@font-face {
    font-family: 'BlackOpsOne';
    src: url('BlackOpsOne-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    background-color: #000;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Consolas', monospace;
    color: #ccc;
    overflow: hidden;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

.logo-text {
    font-family: 'BlackOpsOne', monospace;
    font-size: 28px;
    color: #dfdfdf;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-btn {
    color: #ccc;
    text-decoration: none;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s;
}

.lang-btn.active, .lang-btn:hover {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}

.lang-separator {
    margin: 0 5px;
}

.content {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    min-height: 0; /* Fix for flexbox overflow */
}

#info-ua, #info-en {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px 30px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 100%;
}

h1, h2, h3 {
    color: #eee;
}

footer {
    text-align: center;
    padding: 20px 0;
}

.download-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #c0392b;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-bottom: 20px;
}

.download-btn:hover {
    background-color: #e74c3c;
}

.author a {
    color: #ccc;
    text-decoration: none;
}

.author a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .logo-text {
        font-size: 22px;
    }

    #info-ua, #info-en {
        padding: 15px;
    }

    .download-btn {
        padding: 12px 25px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .logo-text {
        text-align: center;
        margin-bottom: 15px;
    }

    .lang-switcher {
        order: -1;
        margin-bottom: 15px;
    }
}
