* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0f0f0f;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 520px;
}

/* ===== Icon ===== */
.icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
}

.icon-wrap i {
    font-size: 1.8rem;
    color: #a0a0a0;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ===== Explanation text ===== */
.explanation {
    color: #808080;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

/* ===== Buttons group ===== */
.actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    background: transparent;
    color: #d4d4d4;
    border: 1px solid #3a3a3a96;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background: rgba(160, 160, 160, 0.15);
    color: #ffffff;
    border: 1px solid #3a3a3a00;
}

.btn-secondary {
    color: #a0a0a0;
    border: 1px solid #2a2a2a;
}

.btn-secondary:hover {
    background: rgba(160, 160, 160, 0.08);
    color: #e0e0e0;
    border: 1px solid #3a3a3a00;
}

/* ===== Contact box ===== */
.contact-box {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px;
}

.contact-box p {
    color: #808080;
    font-size: 0.85rem;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.contact-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    color: #c0c0c0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.0);
}

.contact-link i {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ===== Footer note ===== */
.footer-note {
    color: #4a4a4a;
    font-size: 0.75rem;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ===== Language switcher ===== */

.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    z-index: 1000;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.00);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    color: #f1f1f1;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.lang-btn:active {
    transform: scale(0.96);
}

.lang-btn i.fa-globe {
    font-size: 1.7rem;
    opacity: 0.9;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(20, 20, 22, 0.85);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.96);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    pointer-events: none;
    z-index: 1000;
}

.lang-switcher.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: #d0d0d0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: left;
    line-height: 1.2;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f1f1f1;
}

.lang-option.active {
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
}

/* ===== Scrollbar dark ===== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
    background-clip: padding-box;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 100px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
    background-clip: padding-box;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .icon-wrap {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    .icon-wrap i {
        font-size: 1.5rem;
    }
    .actions {
        flex-direction: column;
        gap: 10px;
    }
    .actions .btn {
        width: 100%;
        text-align: center;
    }
    .contact-links {
        flex-direction: column;
    }
    .contact-link {
        justify-content: center;
    }
}





/* ===== Fade-in animation ===== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container > * {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}