*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0a0a0f;
    color: #e0e0e8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.bg-glow--1 {
    top: -200px;
    left: -100px;
    background: #6366f1;
}

.bg-glow--2 {
    bottom: -200px;
    right: -100px;
    background: #06b6d4;
}

canvas#bang {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.container {
    position: relative;
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    opacity: 0;
    transform: scale(0.85);
    animation: reveal 0.6s ease-out 0.3s forwards;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Language switcher */
.lang-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
}

.lang-switcher__current {
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: #c7d2fe;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
}

.lang-switcher__current:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.6);
}

.lang-switcher__list {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    min-width: 160px;
}

.lang-switcher__option {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    color: #9ca3b0;
    font-size: 0.85rem;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.lang-switcher__option:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #c7d2fe;
}

.lang-switcher__option--active {
    color: #6366f1;
}
