@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

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

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background: #000;
    font-family: 'Inter', sans-serif;
    color: white;
    overflow-x: hidden;
    overflow-y: auto;
}

canvas#canvas, canvas#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.ui-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
}

.glass-panel {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 40px;
    margin: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    max-width: 95vw;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Обновленная ликвид-кнопка */
.btn-liquid {
    position: relative;
    display: inline-block;
    padding: 12px 28px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid #00d4ff !important;
    border-radius: 14px;
    backdrop-filter: blur(15px);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

.btn-liquid:hover {
    background: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
    transform: scale(1.03);
}

/* Скин-превью */
.skin-head {
    width: 120px;
    height: 120px;
    image-rendering: pixelated;
    border: 3px solid #00d4ff;
    border-radius: 15px;
    margin-bottom: 20px;
}

.cloak-item {
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}
.cloak-item:hover { 
    background: rgba(0, 212, 255, 0.2); 
    border-color: #00d4ff; 
}

@media (max-width: 900px) {
    .glass-panel {
        padding: 30px 20px;
        border-radius: 25px;
        gap: 20px;
    }
}
