body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #d4a5ff 0%, #ffccbc 25%, #a8e6cf 50%, #b3e5fc 75%, #d4a5ff 100%);
    background-size: 200% 200%;
    animation: gradient 25s ease infinite;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.language-selector {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
}

.language-selector select {
    background: rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 140px;
}

.language-selector select:focus {
    outline: none;
    border-color: #007bff;
}

.language-selector select option {
    background: #333;
    color: #fff;
}

.back-btn, .contacts-btn {
    background: rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover, .contacts-btn:hover {
    background: rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

main {
    width: 100%;
    max-width: 95vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    gap: 16px;
    padding: 80px 16px 16px 16px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.language-window {
    background: rgba(30, 30, 70, 0.3);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.language-window.mihail {
    flex-direction: column;
    justify-content: center;
}

.language-window.company {
    display: flex;
    justify-content: center;
    align-items: center;
}

.language-window.company .inner-content {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 2;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
}

.background-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.creator-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.inner-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

p {
    font-size: 13px;
    color: #555;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    main {
        padding: 100px 20px 20px 20px;
    }
    .content-wrapper {
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
    }
    .language-window {
        max-width: 600px;
    }
    .language-window.mihail {
        flex-direction: row;
        justify-content: space-between;
        height: 300px;
    }
    .background-container {
        width: 40%;
        margin-bottom: 0;
    }
    .inner-content {
        width: 55%;
    }
    .creator-photo {
        width: 120px;
        height: 120px;
    }
    .company-logo {
        width: 80px;
        height: 80px;
    }
    h1 {
        font-size: 24px;
    }
    p {
        font-size: 14px;
    }
}