body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 40px 30px;
    height: 400px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    pointer-events: none;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

.avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(52, 152, 219, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
    border-color: rgba(52, 152, 219, 0.8);
}

.nickname {
    font-size: 18px;
    color: #34495e;
    background: rgba(52, 152, 219, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.button {
    background: linear-gradient(145deg, #3498db, #2980b9);
    border: none;
    color: white;
    padding: 0;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.6);
}

.button:hover::before {
    width: 100%;
    height: 100%;
}

.button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.nickname.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        width: 280px;
        height: 350px;
        padding: 30px 25px;
    }
    
    .title {
        font-size: 24px;
        height: 100px;
    }
    
    .button {
        width: 100px;
        height: 100px;
        font-size: 20px;
    }
}
