/* 프리미엄 지갑 모달 스타일 */
.wallet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    animation: fadeIn 0.3s ease;
}

.wallet-modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 50px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    text-align: center;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.wallet-modal h2 {
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(90deg, #4158D0, #C850C0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.wallet-option {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #4158D0;
    transform: translateY(-2px);
}

.wallet-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.metamask-icon {
    background: linear-gradient(135deg, #f6851b, #e2761b);
}

.tokenpocket-icon {
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.wallet-info h3 {
    color: #ffffff;
    margin: 0 0 5px 0;
    font-size: 20px;
}

.wallet-info p {
    color: #cccccc;
    margin: 0;
    font-size: 14px;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .wallet-modal-content {
        padding: 30px 20px !important;
        border-radius: 20px !important;
        max-width: 95% !important;
        width: 95% !important;
        margin: 20px auto !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }
    
    .wallet-modal h2 {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    .wallet-options {
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .wallet-option {
        padding: 15px !important;
        margin-bottom: 10px !important;
    }
    
    .wallet-icon {
        width: 50px !important;
        height: 50px !important;
        margin-right: 15px !important;
        font-size: 24px !important;
    }
    
    .wallet-info h3 {
        font-size: 16px !important;
    }
    
    .wallet-info p {
        font-size: 13px !important;
    }
    
    .wallet-modal-footer {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .wallet-modal-footer button {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

/* 태블릿 최적화 */
@media (min-width: 769px) and (max-width: 1024px) {
    .wallet-modal-content {
        padding: 40px 30px !important;
        max-width: 80% !important;
    }
}

/* 터치 최적화 */
@media (hover: none) and (pointer: coarse) {
    .wallet-option {
        min-height: 60px !important;
    }
    
    .wallet-modal-footer button {
        min-height: 44px !important;
    }
}

/* 보안 차단 모달 */
.security-block-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    color: white;
    font-family: 'Arial', sans-serif;
}

.security-block-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 60px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 90%;
}

.security-block-content i { font-size: 80px; margin-bottom: 30px; color: #ff6b6b; }
.security-block-content h1 { font-size: 36px; margin-bottom: 20px; font-weight: 700; }
.security-block-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

.security-signup-btn {
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}
.security-signup-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
